Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

supporting uImage #10

Open
DO1FJN opened this issue Apr 18, 2024 · 0 comments
Open

supporting uImage #10

DO1FJN opened this issue Apr 18, 2024 · 0 comments

Comments

@DO1FJN
Copy link

DO1FJN commented Apr 18, 2024

I've written a similar ESP32 loader as part of a STM32 firmware.

For me a practical solutions was to wrap all bin files within uImage header+crc (I my case w/o compression). Because of my limited time I can't add this now.

A valid image can be easy generated like

mkimage -A xtensa -C none -T firmware -a 10000 -e 10000 -nFACTORY <ImageName> -d<BinaryImage.bin> <uImageName>

If no flash address is given, your esputil can check if a uImage header is present - no need to use a fixed file suffix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant