Yocto Harpoon demo on eMMC

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

Yocto Harpoon demo on eMMC

Jump to solution
208 Views
khang_letruong
Senior Contributor III

Hi Forum, CC @JosephAtNXP,

Recently, I was able to run the Harpoon demo on the iMX8MP-EVK as well as an iMX8MN based custom board. Both require that the yocto harpoon image to be flashed to and executed from the micro-SD card.

I would like to have you advice on what should be done/modified in order to run the harpoon demo on the eMMC, please ?

Thanks in advance,

Khang

 

Labels (1)
0 Kudos
Reply
1 Solution
134 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi @khang_letruong,

You are right, usdhc3 interface is disabled in 8MP and 8MN, you could patch NXP BSP (the linked files) but the added layer would be in lower layers than Harpoon.

The best option is to act upon Harpoon layer, either in the patch that includes such DTS from NXP BSP or create another patch as this one enabling usdhc3. You could quickly confirm enabling the node in that patch and rebuilding.

Keep in mind that you cannot do that on EVK, but on your custom board.

Regards

View solution in original post

0 Kudos
Reply
4 Replies
174 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

You would need to flash the image (the one you copy using dd CLI command) to eMMC, you can do it using UUU, download latest release and decompress the image until you have a .wic image (instead of .wic.zst).

$ sudo uuu -b emmc_all <image>.wic
> uuu -b emmc_all <image>.wic

Regards

0 Kudos
Reply
162 Views
khang_letruong
Senior Contributor III

Hi @JosephAtNXP ,

I know perfectly how to flash to and boot from the eMMC. Also, you might have noticed that I tested with both iMX8MP-EVK and our custom iMX8MN-based board. They work very well with normal Linux (without jailhouse mode).

I found the following discussion about Harpoon and eMMC confirming the limitation.

Regards,

K.

0 Kudos
Reply
135 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi @khang_letruong,

You are right, usdhc3 interface is disabled in 8MP and 8MN, you could patch NXP BSP (the linked files) but the added layer would be in lower layers than Harpoon.

The best option is to act upon Harpoon layer, either in the patch that includes such DTS from NXP BSP or create another patch as this one enabling usdhc3. You could quickly confirm enabling the node in that patch and rebuilding.

Keep in mind that you cannot do that on EVK, but on your custom board.

Regards

0 Kudos
Reply
95 Views
khang_letruong
Senior Contributor III

Hi @JosephAtNXP ,

Your suggestion was really useful. I am now able to get the demo working on the eMMC.

Thanks and best regards,

Khang.