Flashing eMMC on iMX93

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Flashing eMMC on iMX93

ソリューションへジャンプ
2,732件の閲覧回数
vbal
Contributor I


Hello !

I am currently working on a system that would be based on the i.MX93, I work with the i.MX 93 Evaluation Kit for now, and I have two questions :

  •  I can build the uboot bootloader and the .wic image with Yocto, flashing the wic on an SD card will work just fine, but if I flash the eMMC with dd , I will get several errors on dmesg, and the error fsl-se-fw se-fw2: Command Id[205], Response Failure = 0x29 continuously.
    With UUU I don't get those issues, but my board will not have USB and only SD card for updates/maintenance. Is there a way to flash through SD card easily ?
  • On the Yocto side, I could build an image with only the Open Embedded meta, and meta-freescale.
    Is meta-imx needed ? 

Thanks a lot !

ラベル(1)
0 件の賞賛
返信
1 解決策
2,611件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

meta-imx is need, you better use or modify based on yocto project NXP release.

I don't see same log when i use dd to flash mmc.

Best Regards
Zhiming

元の投稿で解決策を見る

0 件の賞賛
返信
7 返答(返信)
2,179件の閲覧回数
Frederic_Thierry_Adlink
Contributor I

Hello,

 

My answer arrives late but I just had the same error messages.

I solved it by unmounting mmcblk0 and 1 before using dd

 

Regards

 

 

0 件の賞賛
返信
2,680件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @vbal 

How do you flash emmc with dd? boot into rootfs with SD card?

 

 

0 件の賞賛
返信
2,667件の閲覧回数
vbal
Contributor I
Hi ! Thanks for your reply.

Yes I boot with the SD card, then I just run a command like :
dd if=/mount/MyWicFile.wic of=/dev/mmcblk0

When I make a binary dump to verify mmcblk0 it seems to be the same structure as the SD card, SPL starts at 0x8000 and FAT partition at 0x800000
0 件の賞賛
返信
2,612件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

meta-imx is need, you better use or modify based on yocto project NXP release.

I don't see same log when i use dd to flash mmc.

Best Regards
Zhiming

0 件の賞賛
返信
2,530件の閲覧回数
vbal
Contributor I
Thanks for your help !

I followed the procedure in the Linux guide, but the image was too big and I wanted to start from scratch with only linux-fscl.
I will give a try with meta-imx so, did you use the guide procedure and then dd the .wic into the eMMC ?

Interestingly, I tried buildroot and the kernel 6.6 creates the same issues with linux-imx as source, while 6.1 does not.

Thanks a lot again
0 件の賞賛
返信
2,480件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @vbal 

did you use the guide procedure and then dd the .wic into the eMMC ?

-->Yes, dd the imx-image-core-xxx.wic file from SD card.


Best Regards
Zhiming

0 件の賞賛
返信
2,446件の閲覧回数
vbal
Contributor I
I tested with the IMX_YOCTO_PROJECT_USERS_GUIDE procedure, and indeed it seems to work all fine.

With only the meta-freescale layer, I used Poky as a distro, while I used fsl-imx-wayland here. Probably something is needed in the distro that I did not have before.

I will start from there so, thanks a lot !
0 件の賞賛
返信