Hi
https://www.nxp.com/docs/en/user-guide/i.MX_BSP_Porting_Guide_Linux.pdf
"3.1.1 How to build U-Boot in standalone environment" says:
dd if=<boot_image> of=/dev/sd<x> bs=1k seek=<offset> conv=fsync
"Where: offset is: 33 - for i.MX 8"
i.e. 33k
Flash image
sudo dd if=iMX8QX/flash.bin of=/dev/mmcblkX bs=1k seek=32
"Remember from the information above that the i.MX8 will search for the image at 32k on the SD card, that is why we are flashing it there."
Why does one document say 33k and the other 32k please?
Is 33 a typo?
Or when is 32 valid and when is 33 valid?
Thank you
-- Peter
Solved! Go to Solution.
refer to the data sheet,
1 - for i.MX 6 or i.MX 7
•
33 - for i.MX 8QuadMax A0, i.MX 8QuadXPlus A0, and i.MX 8M Quad, and i.MX 8M Mini
•
32 - for i.MX 8QuadXPlus B0, i.MX 8QuadMax B0, i.MX 8DualX, i.MX 8DXL, i.MX 8M Nano, i.MX 8M Plus, and i.MX 8ULP
Thank you very much.
Couldn't find it in the Data Sheet (IMX8QXPAEC).
But did find bootloader_mmc_offset()
https://github.com/nxp-imx/uboot-imx/blob/bb6108298df3bf43bf89428b78725ef72de876d8/drivers/fastboot/...
refer to the data sheet,
1 - for i.MX 6 or i.MX 7
•
33 - for i.MX 8QuadMax A0, i.MX 8QuadXPlus A0, and i.MX 8M Quad, and i.MX 8M Mini
•
32 - for i.MX 8QuadXPlus B0, i.MX 8QuadMax B0, i.MX 8DualX, i.MX 8DXL, i.MX 8M Nano, i.MX 8M Plus, and i.MX 8ULP