i.MX8QXP RevC SD card flash.bin seek offset 32k vs 33k

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8QXP RevC SD card flash.bin seek offset 32k vs 33k

Jump to solution
728 Views
petero5
Contributor III

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

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX8-Boot-process-and-creating-a-bootab...

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

Tags (2)
0 Kudos
1 Solution
710 Views
joanxie
NXP TechSupport
NXP TechSupport

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

View solution in original post

0 Kudos
3 Replies
696 Views
petero5
Contributor III

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/...

0 Kudos
691 Views
joanxie
NXP TechSupport
NXP TechSupport

sorry, it's my typo, I mean user guide, I attach here, you can refer to chapter 4.3.4
Copying a bootloader image

711 Views
joanxie
NXP TechSupport
NXP TechSupport

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

0 Kudos