[coreboot] Serial input / output with SeaBIOS 1.11.0

Piotr Król piotr.krol at 3mdeb.com
Fri Feb 16 02:11:08 CET 2018


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512



On 01/18/2018 10:38 PM, Piotr Kubaj via coreboot wrote:
> Hi,

Hi Piotr,

> 
> I've upgraded my coreboot to tag 4.7. As a payload I use SeaBIOS. I
> want to use the new feature of serial communication from SeaBIOS.
> The issue I have is that there's only serial output (meaning I can
> see the SeaBIOS menu on serial), but pressing any key on keyboard
> via serial doesn't do anything - I can only control SeaBIOS via
> keyboard plugged directly to the board, not via serial.
> 
> Does anyone have the same issue? I use AsRock E350M1 board. I
> didn't create a custum SeaBIOS config, I just use the default one.

I'm not sure if you solved your issue, but on BayTrail I saw the same
issue. Giving SeaBIOS information where default serial IO memory is
worked for me. You can do it using cbfstool and modifying existing
coreboot.rom:

./cbfstool coreboot.rom add-int -i 0x3f8 -n etc/sercon-port

Please note that in rare cases address of your serial may be
different. You can verify it when booting Linux and checking dmesg:

[2:09:31] pietrushnic:~ $ sudo dmesg|grep ttyS0
[    0.627278] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200)
is a 16550A

I believe BSD has alternative. Typical addresses are:

ttyS0 address 0x3f8
ttyS1 address 0x2f8
ttyS2 address 0x3e8
ttyS3 address 0x2e8

Hope this help.

Best Regards,
- -- 
Piotr Król
Embedded Systems Consultant
https://3mdeb.com | @3mdeb_com
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE4DCbLYWmfoRjKeNLsu5x6WeqnkwFAlqGL6wACgkQsu5x6Weq
nkx8YhAAhyf0MSsM7BxbJsaYc68WZW96fRPzhEaKyL0E3RxQ/e/jku/lS+JcbpPr
GG+6VzV8RT2RZ4bBcJB1yQxDI1eaofZV/57GAoSHcgB7ZlffE0Mnmn5LI8mmOcUR
IX0HcZL65MRHhg5Md1V6laERDVCGS0gX5qlTMayUt+WUKuYE4Te1+E5D7eBrbnwr
CF2/kiEHr7QH2qlJnVw2vi7OCslSS0quJDN55uSaFa4qUaN4hSWw2lkf6Xm2GNxU
dtGpaNxxYakcv3boq3Q9LZDV0OGG6SYcUFaG4j+67qpqfsix1GXY+T/NlIe92UxL
QCRMSlGm9M/Qb8OWD9NbTBn16b6uRO1YlMLfzDYzc1cSz3zICZ73ujjFP5MXy5i3
pYB3uQPIkPqT6mbhR39CSkc8GNtJ1XcN50ATSThL10xtF2768EzBL7lPRVKEHdeU
sVrM6GeoNvw1raTRujzefWXHXYr7HFdxq5C9403UjG+6fTWuSlXdsXTHu5EPZ9PS
ig6zlvb3QVWfcBFho6qbsvxCL8o9RhUPcZad00UrjExV7KDTk39rKVr+UCuZSkc4
z6a18YgW0rl1thPsxC02HzRuHgTM8apJSyZX6vizO37XO/BB5kThF+006MG4ZA38
nYZNGQ/LlqHSI6JqBrzoiN97IcyTVd6NkVsnaLZCZgZnjdKBp08=
=8u1c
-----END PGP SIGNATURE-----



More information about the coreboot mailing list