Yocto creation wic image, sdcard is not booting and ends in loop

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

Yocto creation wic image, sdcard is not booting and ends in loop

175 Views
Clemtos
Contributor I

Hi,

I created a .wic image using Yocto for imx-image-multimedia-imx6ulevk and when I flash it on my SDCard using dd, the card is not able to boot and ends looping when I start it up:

U-Boot 2022.04-lf_v2022.04+g1c881f4da8 (Jun 07 2022 - 05:16:02 +0000)

CPU: i.MX6ULL rev1.1 900 MHz (running at 396 MHz)
CPU: Commercial temperature grade (0C to 95C) at 41C
Reset cause: POR
Model: Freescale i.MX6 UltraLite 14x14 EVK Board
Board: MX6UL 14x14 EVK
DRAM: 512 MiB
Core: 63 devices, 18 uclasses, devicetree: separate
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

[*]-Video Link 0 (480 x 272)
[0] lcdif@21c8000, video
In: serial
Out: serial
Err: serial
data abort
pc : [<9eea1e2a>] lr : [<9eec0a51>]
reloc pc : [<87823e2a>] lr : [<87842a51>]
sp : 9de748a0 ip : 9de7488c fp : 87800020
r10: 00000017 r9 : 9de7bec0 r8 : 00000100
r7 : 021bc400 r6 : 9eecd9e5 r5 : 00000000 r4 : 9de7e9d0
r3 : ffffffff r2 : 02140000 r1 : 00006cc8 r0 : ffffffff
Flags: NzCv IRQs off FIQs off Mode SVC_32 (T)
Code: 1e03 9300 da0e 6822 (6853) b125
Resetting CPU ...

resetting ...

 

I tried using the default NXP image I received on the card with the board and just flash the rootfs partition and the zImage one, but I end up with another error as attached.

I'm not sure if all the dtb files, tee and uTee are correct but I used the one generated with the image.

Do I still need to flash a new u-boot, and how can I flash all the partitions separately and correctly ?

 

Thanks,

Labels (3)
0 Kudos
2 Replies

131 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

 

The problem is the kernel, do you able to compiler well the image-multmedia? since it looks like is not.

Regards

0 Kudos

129 Views
Clemtos
Contributor I

Hello,

I generated the new kernel with:

  • bitbake -c menuconfig virtual/kernel

  • bitbake -c savedefconfig virtual/kernel

And I copied it in one of the recipe-kernel appending with linux-imx_%.bbappend, then I ran:

  • Bitbake imx-image-multimedia

I was able to successfully created an image along with the zImage file, zImage--5.15.32+git0+fa6c316859-r0-imx6ulevk-20240401162457.bin

0 Kudos