Questions about MCUBoot secondary image slot on SDHC card

I've been searching threads on this topic on DevZone and I found a couple that concluded that MCUBoot can work with external SPI flashes, but not with an SD card.

Is that still the case?

I can currently fit two images in my processor, but I don't have as much free space for future changes as I'd like (The code compiles to 415788 bytes of flash and the default image size is 499200, which is 83.29% full). So I'd like to make the SD card work, but if it's a huge can of worms maybe we're ok. 

Anyway, if I commit to modifying MCUBoot files, it seems like if I just replace all instances of reading or writing flash with my own SD card read/write functions it shouldn't be terribly complicated, right?

Thanks,

Glen

Parents
  • Hello,

    I've been searching threads on this topic on DevZone and I found a couple that concluded that MCUBoot can work with external SPI flashes, but not with an SD card.

    MCUboot won't support booting from an SD card, and I think this is because MCUboot expects a firmware image inside the flash memory, or, I would say, MCUboot is not designed to fetch and execute the firmware image from an SD card. See the limitation inside the bootloader section.

    Kind Regards,

    Abhijith

Reply
  • Hello,

    I've been searching threads on this topic on DevZone and I found a couple that concluded that MCUBoot can work with external SPI flashes, but not with an SD card.

    MCUboot won't support booting from an SD card, and I think this is because MCUboot expects a firmware image inside the flash memory, or, I would say, MCUboot is not designed to fetch and execute the firmware image from an SD card. See the limitation inside the bootloader section.

    Kind Regards,

    Abhijith

Children
No Data
Related