Wind River Support Network


LIN1021-337 : binary: " Failed to load '1/' " output while booting bcm-2xxx-rpi4 image with qemu

Created: May 25, 2021    Updated: Aug 1, 2021
Resolved Date: Jul 20, 2021
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: BSP, Userspace


$qemu-system-aarch64 -machine virt -cpu cortex-a57 -device virtio-net-device,netdev=net0 -netdev user,id=net0 -m 512 -bios qemu-u-boot-bcm-2xxx-rpi4.bin -nographic -drive id=disk0,file=boot-image-qemu.hddimg,if=none,format=raw -device virtio-blk-device,drive=disk0
 *** U-Boot Boot Menu ***

     Boot Primary volume A
     Boot Rollback
     Re-install from ostree_repo
     U-Boot console

  Press UP/DOWN to move, ENTER to select

==Booting default A==
Failed to load '1/'
20777463 bytes read in 3091 ms (6.4 MiB/s)
24175104 bytes read in 1653 ms (13.9 MiB/s)
Moving Image from 0x40080000 to 0x40200000, end=419d0000
## Loading init Ramdisk from Legacy Image at 43000000 ...
   Image Name:   initramfs-ostree-image-bcm-2xxx-
   Created:      2021-05-18   4:11:47 UTC
   Image Type:   AArch64 Linux RAMDisk Image (uncompressed)
   Data Size:    20777399 Bytes = 19.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Steps to Reproduce

1. Get the bcm-2xxx-rpi4 target-full image and sdk for binary release
2. Extract sdk and source env
3. Boot target full image with sdk qemu  tools:
runqemu  or  qemu-system-aarch64 -machine 
Live chat