Comments (6)
thanks @lhl2617, recently we landed 1d35aa0, thus flashy shall be able to fix flashy.
from openbmc.
@lhl2617 I don't think w should rely on the new structures to detect the system as it won't work on the systems that are not having it implemented. This applies to golden images across the fleet.
from openbmc.
cc: @zhdaniel12 @kawmarco @amithash
Addendum
There are other issues I wish to discuss as well, most notably keeping flash utilities in harmony. Currently fw-util
is understandably the gold standard for up-and-coming platforms, and thus we'd need to figure out a way to keep flashy
etc. in sync. There are however differences in how flashy
and fw-util
works (esp vboot flashing--see
flashy
skips the 84K RO region, whereas fw-util
makes a new image and patches the image with the flash device's RO region).
Another issue is one that I've recently tackled in f4e9048 in response to f137c9a . An extra note that the flashy
fix is in fact redundant, as flashy
's validation is not tied to 32MB, and flashcp
(both flashy
's and the normal implementation) does a health check to make sure the size of the image is smaller than that of the device. The fw-util
change is likely in response to the check_image
implementation which assumes 32MB max image size (there is a calloc
for that exact size here to validate images). This is a blocker for >32MB image sizes, so I'm flagging this up as well to @amithash. I reckon a similar fix as to how @zhdaniel12 implemented the vboot-util
fix should suffice on newer platforms with bigger image sizes.
There was also a fbnd
-> northdome
issue: 6e7e782 & e2cf878
I think I wrote internal documentation about platform issues in the internal Wiki before I left, but I do not recall now.
In short, maintaining these tools with vague dependencies is hard, and responding to them passively would prove problematic in the long run. It'd be nice if we can discuss on how to deal with these problems.
Understandably, a lot of docs + tooling are internal--I will be starting in LDN at 19th July, and while unfortunately it seems that I will be unable to join the DUB/MPK based OpenBMC PE team, I'd be very happy to connect and jump in a meeting to discuss these issues.
from openbmc.
I researched further: perhaps flashy
should also have its own soc-util
?
from openbmc.
@zhdaniel12 Working on a fix :) Thanks!
from openbmc.
@lsiudut good point, I'm looking at it now. My plan was to fall back to the default one for AST2400/AST2500.
I can however read off the device tree as in 1d35aa0
from openbmc.
Related Issues (20)
- The return value of 'sscanf()' should be checked
- Removal of `yocto_repos.sh` breaks `sync_yocto.sh` script HOT 3
- Fetcher failure HOT 1
- Support aspeed 2600 HOT 3
- no limitation for "%s" while calling fscanf()
- Yocto Build time improvements? HOT 1
- Docs on ast2600 boot procedure HOT 3
- License Missing
- AST2600 Support HOT 2
- Eth0 fix missing for meta-fbtp build on Portwell Neptune Board HOT 1
- Unable to set hostname through DHCP HOT 1
- Redfish supportive HOT 1
- GitHub Actions Experiments HOT 1
- Is there any support for ast2600 HOT 1
- flashy: Golang status (Note to self) HOT 2
- Fboss and compute platform HOT 1
- openbmc-init-build-env error HOT 1
- flash image HOT 2
- Redfish: Https authentication
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openbmc.