This is an old revision of the document!
thinking about how to find the best way I have some ideas but I need to check all
master@universe:/tmp/uboot$ sfdisk --dump /dev/sda
label: gpt
label-id: 73987B6B-4974-4C94-A3E8-58AB2EB7A946
device: /dev/sda
unit: sectors
first-lba: 34
last-lba: 31116254
/dev/sda1 : start= 2048, size= 16384, type=F808D051-1602-4DCD-9452-F9637FEFC49A, uuid=B750E44E-833F-4A30-C38C-B117241D84D4, name="uboot"
U-Boot SPL board init U-Boot SPL 2017.09 (May 12 2023 - 11:40:17) Failed to set cpub01 Failed to set cpub23 I2c2 speed: 100000Hz MCU: boot mode 0x20: 1, flag 0x92: 3 MCU: boot flag < 83 board_boot_order: /chosen found, using spl_boot_device() !!! same-as-spl: +++ /mmc@fe2e0000: !!! /mmc@fe2c0000: !!! /mmc@fe2e0000: !!! /spi@fe2b0000/flash@1: Trying to boot from MMC1 :: 0 Trying fit image at 0x4000 sector Not fit magic Trying fit image at 0x5000 sector Not fit magic
Rebuild EFI boot as FIT image and write to 0x4000 sector
dd if=/dev/sda skip=2048 count=3440 seek=$((0x4000)) of=/dev /mmcblk0