booting completely from flash

Moderator: nferre

Posts: 1
Joined: Wed Jan 29, 2020 9:59 pm

booting completely from flash

Wed Jan 29, 2020 10:05 pm


I wonder if it is possible to hook up a QSPI Flash chipI to my SAMA5D27-SOM1 module instead of uSDCARD or MMC to boot the complete system?
Location: USA
Posts: 2033
Joined: Thu Apr 19, 2007 10:15 pm

Re: booting completely from flash

Thu Jan 30, 2020 11:49 pm

If the SoC can load & execute the second-stage boot program (e.g. AT91Bootstrap), then there's no reason to prevent the full boot sequence to load from just that one storage device, assuming the flash chip is large enough and/or you have reduced the the storage footprint of boot programs, the kernel, and rootfs.
You will probably have to look at compression schemes (that trade storage size for decompression time) and small root filesystems (such as cramfs, squashfs, or just use an initramfs).
IOW don't plan on using a Linux4SAM demo image or a default configuration.


Return to “SAMA5-based”

Who is online

Users browsing this forum: No registered users and 7 guests