flash.bin from imx8mq_evk_defconfig does not start

Heiko Thiery heiko.thiery at kontron.com
Tue Mar 2 15:08:11 CET 2021


Hi Fabrio,

On 3/2/21 12:09 PM, Fabio Estevam wrote:
> Hi Heiko,
> 
> On Tue, Mar 2, 2021 at 6:01 AM Heiko Thiery <heiko.thiery at kontron.com> wrote:
>>
>> 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?
> 
> 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.

-- 
Heiko


More information about the U-Boot mailing list