Current u-boot crashes on sandbox build

Simon Glass sjg at chromium.org
Wed Jan 29 01:23:22 CET 2025


Hi Scott,

On Mon, 27 Jan 2025 at 12:24, Scott Franco <sfranco at axiado.com> wrote:
>
> scott-franco at scott-franco-ThinkPad-P15-Gen-2i:~/projects/u-boot$ ./u-boot
> Bloblist at b000 not found (err=-2)
>
>
> U-Boot 2024.10 (Jan 24 2025 - 17:24:46 -0800)
>
> DRAM:  256 MiB
> Core:  28 devices, 14 uclasses, devicetree: board
> NAND:  0 MiB
> MMC:
> Loading Environment from nowhere... OK
> Warning: device tree node '/config/environment' not found
> In:    serial
> Out:   serial,vidconsole
> Err:   serial,vidconsole
> Net:   No ethernet found.
>
> Hit any key to stop autoboot:  0
> Scanning for bootflows in all bootdevs
> Seq  Method       State   Uclass    Part  Name                      Filename
> ---  -----------  ------  --------  ----  ------------------------  ----------------
> Scanning global bootmeth 'efi_mgr':
> No EFI system partition
> No EFI system partition
> Failed to persist EFI variables
> Missing TPMv2 device for EFI_TCG_PROTOCOL
> Missing RNG device for EFI_RNG_PROTOCOL
> Hunting with: simple_bus
> Found 2 extension board(s).
> Hunting with: mmc
> Hunting with: nvme
> Hunting with: qfw
> Hunting with: scsi
> scanning bus for devices...
> Hunting with: spi_flash
> Hunting with: virtio
> Scanning bootdev 'qfw_sandbox.bootdev':
> Segmentation fault (core dumped)
>
> Host details:
>
> Ubuntu 24.04 LTS
> scott-franco-ThinkPad-P15-Gen-2i
>
> Build:
>
>
> make sandbox_defconfig
>
> The failure was seen on release versions back until v2024.01, which worked.

Thanks for the report.

Are you definitely using this source?

f919c3a889f (HEAD, tag: v2024.10) Prepare v2024.10

I am not seeing the crash on Ubuntu 24.04:

$ /tmp/b/sandbox/u-boot
Bloblist at b000 not found (err=-2)


U-Boot 2024.10 (Jan 28 2025 - 17:19:42 -0700)

DRAM:  256 MiB
Core:  28 devices, 14 uclasses, devicetree: board
NAND:  0 MiB
MMC:
Loading Environment from nowhere... OK
Warning: device tree node '/config/environment' not found
In:    serial,cros-ec-keyb,usbkbd
Out:   serial,vidconsole
Err:   serial,vidconsole
Net:   No ethernet found.

Hit any key to stop autoboot:  0
Scanning for bootflows in all bootdevs
Seq  Method       State   Uclass    Part  Name                      Filename
---  -----------  ------  --------  ----  ------------------------
----------------
Scanning global bootmeth 'efi_mgr':
No EFI system partition
No EFI system partition
Failed to persist EFI variables
Missing TPMv2 device for EFI_TCG_PROTOCOL
Missing RNG device for EFI_RNG_PROTOCOL
Hunting with: simple_bus
Found 2 extension board(s).
Hunting with: mmc
Hunting with: nvme
Hunting with: qfw
Hunting with: scsi
scanning bus for devices...
Hunting with: spi_flash
Hunting with: virtio
Scanning bootdev 'qfw_sandbox.bootdev':
loading kernel to address 1000000 size 63a1 initrd 2000000 size 7ffd
  0  qfw          ready   qfw          0  qfw
** Booting bootflow 'qfw' with qfw
Booting is not supported on the sandbox.
Unrecognized zImage
Boot failed (err=-5)
  1  sandbox      ready   qfw          0  <NULL>
** Booting bootflow '<NULL>' with sandbox
Boot method 'sandbox' failed and will not be retried
Hunting with: ide
Hunting with: usb
No USB controllers found
Hunting with: ethernet
No ethernet found.
No more bootdevs
---  -----------  ------  --------  ----  ------------------------
----------------
(2 bootflows, 2 valid)
=>


Could you please try running with gdb to see where the problem is?

Regards,
Simon

>
>


More information about the U-Boot mailing list