[PATCH 0/1] x86: retire legacy (non-efi) boot ?

Ahmad Fatoum ahmad at a3f.at
Tue Mar 9 22:52:22 GMT 2021


barebox for legacy BIOS boot was reported broken on IRC nearly a year
ago. With the link error fixed, I can get some early debug output, but
barebox hangs early after when running under qemu-kvm:

  $ ./scripts/setupmbr/setupmbr -s 32 -m build/barebox-flash-image -d img && \
	kvm -drive format=raw,file=img -serial stdio -m 4G -cpu host -smp 2
  
  SeaBIOS (version 1.14.0-2)
  
  iPXE (http://ipxe.org) 00:03.0 CA00 PCI2.10 PnP PMM+07F8F4C0+07ECF4C0 CA00
  
  Booting from Hard Disk...
  BAREBOX JMP

With OSELAS.Toolchain-2013.12.3, but without the patch included here,
I can get a shell if I shrink down barebox, but no luck getting this
to work with a recent toolchain. There also seems to be some transient
issue that's triggered by the barebox size.

I'd assume that because no one stepped up to fix this so far, no one
cares and we could drop legacy BIOS boot support altogether.
New platforms should be using EFI anyway. Thoughts?

Cheers,
Ahmad Fatoum (1):
  x86: lib: fix link error for legacy (non-EFI) boot

 arch/x86/lib/barebox.lds.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.30.0




More information about the barebox mailing list