Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boot failure when flashing compressed .wic image #424

Open
landonh12 opened this issue May 8, 2024 · 2 comments
Open

Boot failure when flashing compressed .wic image #424

landonh12 opened this issue May 8, 2024 · 2 comments

Comments

@landonh12
Copy link

landonh12 commented May 8, 2024

Hi,

I have a report of a failure to boot to Linux after flashing 8ULP EVK (A1) with a .wic.zst image.
The board successfully boots when a decompressed .wic image is used.
The image is an unchanged, standard yocto build of imx-image-multimedia.

Boot log after flashing .wic.zst:

U-Boot 2023.04+gf8a2983ec8+p0 (Mar 04 2024 - 07:25:04 +0000)

M33 Sync: OK
CPU:   i.MX8ULP(Dual 7) rev1.2 at 800MHz
CPU current temperature: 31
Reset cause: POR
Boot mode: Single boot
Model: NXP i.MX8ULP EVK
DRAM:  2 GiB
Core:  54 devices, 28 uclasses, devicetree: separate
MMC:   FSL_SDHC: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

[*]-Video Link 0 (720 x 1280)
	[0] display-controller@2e050000, video
	[1] dsi@2db00000, video_bridge
	[2] panel@0, panel
In:    serial
Out:   serial
Err:   serial
SEC0:  RNG instantiated
switch to partitions #0, OK
mmc0(part 0) is current device
UID 0x767b40ab,0xc94787d6,0x2c0535b6,0xca1dbf48
flash target is MMC:0
Net:   eth0: ethernet@29950000
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  2 ��� 1 ��� 0 
starting USB...
Bus usb@29900000: Port not available.
Bus usb@29920000: Port not available.
USB is stopped. Please issue 'usb start' first.
switch to partitions #0, OK
mmc0(part 0) is current device
** No partition table - mmc 0 **
Couldn't find partition mmc 0:1
Running BSP bootcmd ...
switch to partitions #0, OK
mmc0(part 0) is current device
** No partition table - mmc 0 **
Couldn't find partition mmc 0:1
Can't set block device
** No partition table - mmc 0 **
Couldn't find partition mmc 0:1
Can't set block device
Booting from net ...
ethernet@29950000 Waiting for PHY auto negotiation to complete......................................... TIMEOUT !
Could not initialize PHY ethernet@29950000
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10
BOOTP broadcast 11
BOOTP broadcast 12
BOOTP broadcast 13
BOOTP broadcast 14
BOOTP broadcast 15
BOOTP broadcast 16
BOOTP broadcast 17

Retry time exceeded; starting again
ethernet@29950000 Waiting for PHY auto negotiation to complete......................................... TIMEOUT !
Could not initialize PHY ethernet@29950000
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10
BOOTP broadcast 11
BOOTP broadcast 12
BOOTP broadcast 13
BOOTP broadcast 14
BOOTP broadcast 15
BOOTP broadcast 16
BOOTP broadcast 17

Retry time exceeded; starting again
WARN: Cannot load the DT
=> ls
ls - list files in a directory (default /)

Usage:
ls <interface> [<dev[:part]> [directory]]
    - List files in directory 'directory' of partition 'part' on
      device type 'interface' instance 'dev'.
=> mmc info
Device: FSL_SDHC
Manufacturer ID: 45
OEM: 0
Name: DA6032 
Bus Speed: 194641920
Mode: HS400ES (200MHz)
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: 29.1 GiB
Bus Width: 8-bit DDR
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 29.1 GiB WRREL
Boot Capacity: 4 MiB ENH
RPMB Capacity: 4 MiB ENH
Boot area 0 is not write protected
Boot area 1 is not write protected
=> 

Boot log after flashing .wic:

U-Boot 2023.04+gf8a2983ec8+p0 (Mar 04 2024 - 07:25:04 +0000)

M33 Sync: OK
CPU:   i.MX8ULP(Dual 7) rev1.2 at 800MHz
CPU current temperature: 32
Reset cause: POR
Boot mode: Single boot
Model: NXP i.MX8ULP EVK
DRAM:  2 GiB
Core:  54 devices, 28 uclasses, devicetree: separate
MMC:   FSL_SDHC: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

[*]-Video Link 0 (720 x 1280)
	[0] display-controller@2e050000, video
	[1] dsi@2db00000, video_bridge
	[2] panel@0, panel
In:    serial
Out:   serial
Err:   serial
SEC0:  RNG instantiated
switch to partitions #0, OK
mmc0(part 0) is current device
UID 0x767b40ab,0xc94787d6,0x2c0535b6,0xca1dbf48
flash target is MMC:0
Net:   eth0: ethernet@29950000
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  2 ��� 1 ��� 0 
starting USB...
Bus usb@29900000: Port not available.
Bus usb@29920000: Port not available.
USB is stopped. Please issue 'usb start' first.
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
36322 bytes read in 3 ms (11.5 MiB/s)
Working FDT set to 83000000
�7�[r�[999;999H�[6n�8No EFI system partition
No EFI system partition
Failed to persist EFI variables
BootOrder not defined
EFI boot manager: Cannot load any image
Running BSP bootcmd ...
switch to partitions #0, OK
mmc0(part 0) is current device
Failed to load 'boot.scr'
34877952 bytes read in 132 ms (252 MiB/s)
Booting from mmc ...
36322 bytes read in 8 ms (4.3 MiB/s)
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
Working FDT set to 83000000
   Using Device Tree in place at 0000000083000000, end 000000008300bde1
Working FDT set to 83000000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd040]
@allenxh
Copy link

allenxh commented May 8, 2024 via email

@landonh12
Copy link
Author

Hi @allenxh,

Yes, emmc_all was used. Here is the actual command that was run:
sudo uuu -b emmc_all imx-boot-imx8ulp-lpddr4-evk-sd.bin-flash_singleboot_m33 vinoth/imx-image-multimedia-imx8ulp-lpddr4-evk.rootfs-20240501134955.wic.zst

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants