How to configure u-boot for emmc.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to configure u-boot for emmc.

3,869 次查看
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 项奖励
回复
6 回复数

3,856 次查看
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 项奖励
回复

3,849 次查看
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 项奖励
回复

3,847 次查看
joanxie
NXP TechSupport
NXP TechSupport

what bsp version do you use? let me reproduce this

 

0 项奖励
回复

3,844 次查看
emb-bharpay
Contributor I
Build with yocto version zeus 3.0
MACHINE=IMX8QMMEK
BSP Version = 5.4.47
 
Based on freescale-layer
0 项奖励
回复

3,702 次查看
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 项奖励
回复

3,704 次查看
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 项奖励
回复