Dear Paul,

I ran newest GRUB2 atop SeaBIOS. It contains MMIO serial patch.

I also provided etc/grub.cfg in the coreboot payload


Last readable serial output output is:

'
Run img/grub2
Calling addr 0x00009000
'

and after ~1s i get those bytes:
0x88 0x88 0x0C 0x0A 0x0A 0x00

I assume those bytes comes from GRUB


Kind regards,

Łukasz


W dniu 6.02.2023 o 14:54, Paul Menzel pisze:
Dear Łukasz,


Am 03.02.23 um 10:24 schrieb Łukasz Jeleń:

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?

I just know of the patches posted to the mailing list [1], but never dealt with that topic.

In SeaBIOS I can choose MMIO32 port at building stage with CONFIG_DEBUG_SERIAL_MMIO and CONFIG_DEBUG_SERIAL_MEM_ADDRESS and it works.

Where does it fail with SeaBIOS?


Kind regards,

Paul


[1]: https://lists.gnu.org/archive/html/grub-devel/2022-12/msg00261.html
_______________________________________________
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org

Reply via email to