How to configure u-boot for emmc.

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

How to configure u-boot for emmc.

3,204 Views
emb-bharpay
Contributor I
Hello Team,
 
I have done the following implementation to configure u-boot for emmc:
$ echo "UBOOT_CONFIG = \"emmc\"" >> conf/local.conf
 
which gives the error that I have attached with this query.
 
For resolving that error I have done the following changes in imx8qmmek.conf.
 
UBOOT_CONFIG ??= "emmc"
UBOOT_CONFIG[emmc] = " imx8qm_mek_defconfig,sdcard"
 
Given the following command:
bitbake -c compile -f u-boot-imx
bitbake -c deploy u-boot-imx
bitbake core-image-minimal
After that my image get build successfully.
But now the issue is that instead of "imx-boot-imx8qmmek-emmc.bin-flash_spl", yocto is building " imx-boot-imx8qmmek-emmc.bin-flash_spl_flexspi" which I am not able to flash on the target.
 
 

Can anyone help me with this?

FYI: Using iMX8QM-MEK board.

 

Thanks & Regards,

Payal

 

 

0 Kudos
6 Replies

3,191 Views
joanxie
NXP TechSupport
NXP TechSupport

do you mean you couldn't find "imx-boot-imx8qmmek-emmc.bin-flash_spl" if you build the new uboot? you only can find " imx-boot-imx8qmmek-emmc.bin-flash_spl_flexspi" ??

 

0 Kudos

3,184 Views
emb-bharpay
Contributor I

Yes, only "imx-boot-imx8qmmek-emmc.bin-flash_spl_flexspi" is there. It is not generating "imx-boot-imx8qmmek-emmc.bin-flash_spl"

0 Kudos

3,182 Views
joanxie
NXP TechSupport
NXP TechSupport

what bsp version do you use? let me reproduce this

 

0 Kudos

3,179 Views
emb-bharpay
Contributor I
Build with yocto version zeus 3.0
MACHINE=IMX8QMMEK
BSP Version = 5.4.47
 
Based on freescale-layer
0 Kudos

3,037 Views
joanxie
NXP TechSupport
NXP TechSupport

I built imx-image-full for imx8qm. I add UBOOT_CONFIG[emmc] = " imx8qm_mek_defconfig,sdcard" in the imx8qmmek.conf, then use the command

"

"bitbake imx-image-full -c cleanall

bitbake imx-image-full "

I didn't reproduce this issue on my side, pls try again

 

0 Kudos

3,039 Views
joanxie
NXP TechSupport
NXP TechSupport
Spoiler
I built imx-image-full for imx8qm. I add UBOOT_CONFIG[emmc] = " imx8qm_mek_defconfig,sdcard" in the imx8qmmek.conf, then use the command

"

"bitbake imx-image-full -c cleanall

bitbake imx-image-full "

I didn't reproduce this issue on my side, pls try again

0 Kudos