Hi,
In order to flash U-boot to SD card the following two commands are given:
sudo dd if=SPL of=/dev/sdc bs=1k seek=1
sudo dd if=u-boot.img of=/dev/sdc bs=1k seek=69
I understand the seek=1 in the first command which is to satisfy the 0x400 offset requirement of SD card (https://github.com/lentinj/u-boot/blob/master/doc/README.imximage). How about seek=69 in the second command? Can this offset be changed? If not where is the requirement documented?
Thanks!
Hello,
Yes it can be changed it depends on how you build your SPL, you may take a look here:
https://source.codeaurora.org/external/imx/uboot-imx/tree/include/configs/imx6_spl.h?h=lf_v2022.04
Answering your original question 69 is the offset for uboot if SPL is used in the above file is explained as well.
Best regards,
Aldo.