IMX6Q - boot from eMMC

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

IMX6Q - boot from eMMC

1,622 Views
aydogmus
Contributor II

Hi, we have Imx6qsabre-sd based custom board, with ram 2 gb micron Ram and 4gb Micron eMMC. It can boot from sd card with our yocto image.

We want to boot from eMMC, in order to achieve this I have tried two method mainly:

1) I can write our yocto *****.sdcard image(same image with sdcard image) into eMMC with sdcard boot, but when I configure switches (1-2-4-6-7 on) it does not start from eMMC.

2) When I write u-boot.imx, dtb file, zImage and rootfs of sdcard image using Mfgtool, It does not boot from eMMC when I made switch configurations. In both try, It goes into download mode.

As far as I see, for both methods, partition sizes and start points differs from each other. Mfgtool work with imx6qpsabre-sd board fine and mksdcard.sh is same for all boards in Mfgtool, so its partition sizes should be true. I did not make any configuration on yocto layers for boot from eMMC, I am using same resources of sdcard. Is there any configurations for yocto or u-boot-fscl? In addition to this, when I write UBOOT_CONFIG = "emmc" into the local.conf file yocto does not generate u-boot.imx image. How should be partiton table for eMMC and what is jump address of rom.

Labels (4)
0 Kudos
1 Reply

699 Views
igorpadykov
NXP Employee
NXP Employee

Hi Abdulaziz

one can debug it using procedure described in

https://community.freescale.com/thread/307723

after fail attach jtag and check boot mode in register SRC_SBMR1,

check if ROM puts boot data at 0x907400. Check with oscilloscope emmc

lines. Sd image should work for emmc too.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos