-
Notifications
You must be signed in to change notification settings - Fork 17
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
Readme clarifications #10
Comments
I noticed another issue. You wrote this:
I didn't get what it has to do with erasing and looked into it a bit. I found out that the erase sector is not a limit (at least on the STM32, but I can't imagine why it would be target specific). Important is the combination of
This differs from target to target. One must check the interrupt table and round it up to the nearest factor of two. E.g. for STM32F42xxx, the interrupt table size is 0x1A8, so it must be aligned to 0x200 (512 bytes). Indeed, it works when I set Please correct me if I got something wrong. |
Thanks! 😄
When I originally started working with mcuboot, the documentation was (and probably still is) a bit light. Most of what I understand about mcuboot is from working wit/reading the code and trial-and-error. It was my impression that the imgtool would only add the trailing TLV information if you specified the Ultimately, I'd like to make some sort of tool that visualizes all the memory regions (either GUI or text-based in CLI) when using mcuboot + Mbed. There's a lot of configuration that can go wrong, especially when you start adding things like KVStore regions and stuff. Additionally, as you've noticed, mcuboot integration has been added to the Mbed-OS roadmap. I'm planning to work with the Mbed team to move this up from Q4. So hopefully as that work progresses things will become better documented and much easier to use 😁 @boraozgen How would you change the README? |
I'll see if I can come up with a PR for the readme this week. Do you also agree on the second issue? |
Firstly I would like to thank again for the writeup, it was one of the best guides to get started with Mcuboot.
I noticed a minor misinformation though. The
--pad
flag is not actually needed when preparing the primary application. It works fine without the option, furthermore it reduces the image size, which in turn reduces the amount of sectors to be copied when swapping.Also in the imgtool docs it says:
It does not seem to be a prerequisite for the primary image. What was the reason you added this option?
The text was updated successfully, but these errors were encountered: