# U-Boot commands: program the Zynq-7000 QSPI -- TEMPLATE from release_zynq7k. # Fill the lengths, CRC32 and offsets from scripts/qspi_image.py --layout output # and the board's flash layout; keep the IP addresses as placeholders. # Paste one line at a time on the PS console after stopping autoboot, and check # every crc32 / cmp.b result. A failed tftpboot must stop the sequence: never # let stale DDR content be written. # BOOT.BIN len crc32 -> QSPI 0x0 # (bootenv) , erased -> default bootcmd # image.ub.qspi len crc32 -> QSPI setenv ipaddr setenv serverip tftpboot 0x10000000 BOOT.BIN crc32 0x10000000 tftpboot 0x11000000 image.ub.qspi crc32 0x11000000 sf probe 0 sf erase 0x0 sf write 0x10000000 0x0 sf read 0x12000000 0x0 cmp.b 0x10000000 0x12000000 crc32 0x12000000 sf erase sf erase sf write 0x11000000 sf read 0x13000000 cmp.b 0x11000000 0x13000000 crc32 0x13000000