-
Notifications
You must be signed in to change notification settings - Fork 18
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
[FR][P8] support multiple SPI flash for one platform #6
Comments
I hope I did everything right. So
@tt1pjm, could you please read the SPI flash chip model you have? I guess it should be Micron chip. |
Hey @ildar, |
1. I got datasheet of your chip and confirmed that jedec manufacturer is 0x20, just as you wrote in tt1pjm/pinetime-rust-mynewt@3fb35bc
2. As I wrote, it's possible to support several chips in one mcuboot. You just need to add it to the list of well-known chips and use it in syscfg.yml, just as I did in my patch: #6 (comment)
3. would you confirm the bootloader works with your P8 as well as with mine? attaching the hex.
[mynewt.elf.hex.gz](https://github.com/JF002/pinetime-mcuboot-bootloader/files/6137280/mynewt.elf.hex.gz)
|
I flashed your bootloader above using OpenOCD. On restart all worked as expected and booted last loaded firmware. I've also tested a couple of OTA installs of firmware which also work as expected. |
very nice! thanks a lot for testing.
I plan to make OTA packages, would you be able to test?
|
Happy to help. I'll be taking a closer look at the newer bootloader/reloader compatibility with the P8 so keep posting your progress. |
apache/mynewt-core#2552 is now upstreamed.
|
@tt1pjm , you could add your P8's flash chip to mynewt-core, as I did for
PineTime:
ildar/mynewt-core@6555463
|
Flash chip for P8 now merged into mynewt-core: |
Multiple flash chips are allowed via #10 , see https://github.com/InfiniTimeOrg/pinetime-mcuboot-bootloader/pull/10/files#diff-1bcea6a127a33f80b40cfb7ecb5f8de407aaaaca084179d9e3d32904e9c40bdeR64 . P25Q32H support was upstreamed some time ago: apache/mynewt-core#2798 . |
While Colme P8 is one platform, it happens to have different SPI flash components.
The fixed
SPIFLASH_MANUFACTURER
looks excessive. Could that be flexible or ignored?The text was updated successfully, but these errors were encountered: