Dear Paul,
i've tried to turn on logging on serial console with:
serial --port=0xA0019000 --speed=115200 --word=8 --parity=no --stop=1 terminal_input --append serial terminal_output --append serial
added to grub.cfg, but it does not work.
The thing I found: Quark soc has HSUART connected to MMIO32 at 0xA0019000, but GRUB expects serial to be at standard IO port e.g.: 0x03F8
Is there a way to make use MMIO32 serial with GRUB?
In SeaBIOS I can choose MMIO32 port at building stage with CONFIG_DEBUG_SERIAL_MMIO and CONFIG_DEBUG_SERIAL_MEM_ADDRESS and it works.
Kind regards, Ł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