Skip to contentSkip to conversation

flash.bin from imx8mq_evk_defconfig does not start

DISCUSSION Heiko Thiery 2 participants 3 messages Mar 2, 2021

lore
Share & tools
lore
#0 lore raw

Hi all,

I try to build the current u-boot for the imx8mq EVK board with imx8mq_evk_defconfig.

I used the additional files "signed_hdmi_imx8m.bin" and "lpddr4_pmu_train_*" from the NXP firmware-imx v8.1 and a build of ATF v2.4.

I used "make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- flash.bin" to build the flash image and copied it with "dd if=flash.bin of=/dev/sda bs=1k seek=33" to the SD card. But unfortunately the board does not come up.

Do you have a glue what I miss here or is there a problem in the current state of the defconfig/u-boot?

Thank you

Signature · 1 line
Heiko
#1 lore raw

Hi Heiko,

Quoted 9 lines · Heiko Thiery

Hi all,

I try to build the current u-boot for the imx8mq EVK board with imx8mq_evk_defconfig.

I used the additional files "signed_hdmi_imx8m.bin" and "lpddr4_pmu_train_*" from the NXP firmware-imx v8.1 and a build of ATF v2.4.

Quoted 6 lines

I used "make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- flash.bin" to build the flash image and copied it with "dd if=flash.bin of=/dev/sda bs=1k seek=33" to the SD card. But unfortunately the board does not come up.

Do you have a glue what I miss here or is there a problem in the current state of the defconfig/u-boot?

Yes, I have fixed the boot issue on imx8mq-evk. These two commits are in Stefano's tree and will soon hit mainline:

https://source.denx.de/u-boot/custodians/u-boot-imx/-/commit/325bb40f2110c22beb8692ac1dcd9543b8539363

https://source.denx.de/u-boot/custodians/u-boot-imx/-/commit/5d42ea5535348c1e65abedfdf1241471f66d002b

Regards,

Fabio Estevam

#2 lore raw

Hi Fabrio,

Quoted 19 lines · Fabio Estevam

Hi Heiko,

Quoted 9 lines · Heiko Thiery

Hi all,

I try to build the current u-boot for the imx8mq EVK board with imx8mq_evk_defconfig.

I used the additional files "signed_hdmi_imx8m.bin" and "lpddr4_pmu_train_*" from the NXP firmware-imx v8.1 and a build of ATF v2.4.

Quoted 6 lines

I used "make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- flash.bin" to build the flash image and copied it with "dd if=flash.bin of=/dev/sda bs=1k seek=33" to the SD card. But unfortunately the board does not come up.

Do you have a glue what I miss here or is there a problem in the current state of the defconfig/u-boot?

Quoted 6 lines

Yes, I have fixed the boot issue on imx8mq-evk. These two commits are in Stefano's tree and will soon hit mainline:

https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsource.denx.de%2Fu-boot%2Fcustodians%2Fu-boot-imx%2F-%2Fcommit%2F325bb40f2110c22beb8692ac1dcd9543b8539363&data=04%7C01%7Cheiko.thiery%40kontron.com%7C43dd272b6bc2477ab77d08d8dd6bbbaf%7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0%7C637502802067538044%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=trVYPt%2FkBoGwDLWBF8qzV%2B2GffZMaIhrF2wsbrFMvTQ%3D&reserved=0

https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsource.denx.de%2Fu-boot%2Fcustodians%2Fu-boot-imx%2F-%2Fcommit%2F5d42ea5535348c1e65abedfdf1241471f66d002b&data=04%7C01%7Cheiko.thiery%40kontron.com%7C43dd272b6bc2477ab77d08d8dd6bbbaf%7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0%7C637502802067538044%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=IUcpSJ9zRqpuRcSoWbvUu0JHWX1xQ0A5Ov%2B%2FN0s%2F%2Be8%3D&reserved=0

After cherry-picking these patches now I'm able to start my board based on U-boot master.

Many thanks.

Signature · 1 line
Heiko