[prev in list] [next in list] [prev in thread] [next in thread]
List: linuxbios
Subject: [coreboot] Re: Intel Galileo: U-Boot hangs with *No working controllers found*
From: Åukasz JeleÅ <deerjelen () gmail ! com>
Date: 2022-12-13 7:29:21
Message-ID: 2e2359da-c14d-9e96-c594-c5b56d0ce69f () gmail ! com
[Download RAW message or body]
Dear Paul,
Unfortunatelly EDK2 does not work.
SeaBios works after setting serial port address with:
config option 'CONSOLE_UART_BASE_ADDRESS' to 0xA0019000
previously CONSOLE_UART_BASE_ADDRESS was empty, so SeaBIOS didn't know
where to log data
Now the log from Galileo looks like this:
```
[DEBUG] Jumping to boot code at 0x000fd25b(0x0fe8d000)
SeaBIOS (version rel-1.16.0-0-gd239552)
BUILD: gcc: (coreboot toolchain v2022-09-18_c8870b1334) 11.2.0 binutils:
(GNU Binutils) 2.37
SeaBIOS (version rel-1.16.0-0-gd239552)
BUILD: gcc: (coreboot toolchain v2022-09-18_c8870b1334) 11.2.0 binutils:
(GNU Binutils) 2.37
Found coreboot cbmem console @ fece000
Found mainboard Intel Galileo
Relocating init from 0x000e0460 to 0x0fe03ac0 (size 54432)
Found CBFS header at 0xffe0022c
multiboot: eax=feb4f58, ebx=feb4f24
boot order:
1: /rom@img/grub2
2:
Found 15 PCI devices (max PCI bus is 01)
Copying SMBIOS from 0x0fe51000 to 0x000f67c0
Copying SMBIOS 3.0 from 0x0fe51020 to 0x000f67a0
Copying ACPI RSDP from 0x0fe69000 to 0x000f6770
table(50434146)=0x0fe692f0 (via xsdt)
Using pmtimer, ioport 0x1008
table(324d5054)=0x0fe69480 (via xsdt)
WARNING - Timeout at wait_reg8:81!
Scan for VGA option rom
No VGA found, scan for other display
Turning on vga text mode console
SeaBIOS (version rel-1.16.0-0-gd239552)
WARNING - internal error detected at pci_enable_membar:186!
WARNING - internal error detected at pci_enable_membar:186!
WARNING - Timeout at i8042_flush:71!
All threads complete.
WARNING - internal error detected at pci_enable_membar:186!
All threads complete.
Searching bootorder for: HALT
Found 0 lpt ports
Found 0 serial ports
Searching bootorder for: /rom@img/grub2
Scan for option roms
Searching bootorder for: HALT
Space available for UMB: c0000-ed000, f5fe0-f6770
Returned 262144 bytes of ZoneHigh
e820 map has 5 items:
0: 0000000000000000 - 000000000009fc00 = 1 RAM
1: 000000000009fc00 - 00000000000a0000 = 2 RESERVED
2: 00000000000f0000 - 0000000000100000 = 2 RESERVED
3: 0000000000100000 - 000000000fe51000 = 1 RAM
4: 000000000fe51000 - 0000000100000000 = 2 RESERVED
enter handle_19:
NULL
Booting from CBFS...
Run img/grub2
Calling addr 0x00009000
```
> GRUB can also log to the serial console, so it would still be worth a
try.
OK, I'll try to get logs over serial port from GRUB
Thanks for your support,
Łukasz
On 13.12.2022 08:01, Paul Menzel wrote:
> Dear Łukasz,
>
>
> Thank you for your continuous updates.
>
>
> Am 13.12.22 um 04:56 schrieb Łukasz Jeleń:
>
>> I think GRUB does not work because it needs a VGA:
>> https://www.coreboot.org/SeaBIOS#Adding_sgabios_support
>>
>> and Galileo does not have one.
>
> Do you mean a Video BIOS/VGA Option ROM port? Doesn’t SeaBIOS also
> need one?
>
> GRUB can also log to the serial console, so it would still be worth a
> try.
>
>> I've build coreboot with payload 'GRUB atop SeaBIOS', then add
>> vgaroms/sgabios.bin to coreboot.rom, but it still does not show
>> anything.
>
> As SeaBIOS is the primary payload, that means, it is loaded first, and
> it didn’t work before, it’s unfortunately the expected result.
>
>> I've managed to build EDK2 -> I had to install "nasm" on my host
>> machine.
>> I thought EDK2 will use nasm that was build by coreboot.
>
> Interesting. No idea, if it’s a bug with the coreboot toolchain.
>
> But, you left out the most important part: Does it work with EDK2, you
> built?
>
>
> Kind regards,
>
> Paul
_______________________________________________
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-leave@coreboot.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic