Hi all experts!
My goal is to move my current design from sd card booting to emmc booting and I’m looking for a silver bullet recipe for migration.
Hardware: TE0720 on top of TE0703
These storage devices are available:
sdcard (SD0) 32GB
emmc (SD1) 7.3GiB
qspi 32MiB
If I'm not wrong these fileses are generated:
FPGA bitstream: system.bit 2.5 MB
FSBL: te_zynq_fsbl.elf 0.7 MB
U-BOOT: u-boot.bin 0.5 MB
Linux kernel: zImage 3.8 MB
rootfs: rootfs.bin 77 MB
I have several questions and the answers could lead to a complete migration from sd card boot to emmc boot:
a) Best practice: where to put which files?
My best guess:
bitstream + fsbl + uboot -> qspi
kernel + rootfs -> emmc
b) Recipe: what, how and where configure what, to accomplish this boot scheme and generate files accordingly?
c) Recipe for bootstraping on first commisioning in the factory.
By best guess: Boot a generic system from sdcard, partition emmc, copy files to emmc and copy files to qspi (how?). Any better way?
Bonus question for cherry on the cake:
d) Is it somehow possible to create a "unbrickable" A/B-scheme (like seen on android devices) to reduce risk of in-the-field updates?
If there are any know examples out there I haven't found, please point me to them.
Thank you in advance! Bye, Marc.