[coreboot] Early debugging

Igor Skochinsky skochinsky at mail.ru
Mon Dec 4 14:28:06 CET 2017


Hi Gergely,


>Понедельник,  4 декабря 2017, 13:45 +01:00 от Gergely Kiss <mail.gery at gmail.com>:
>
>Hi,
>
>I'm working on porting Coreboot to the ASUS AM1I-A motherboard and I'm a bit stuck.
>
>I could successfully build Coreboot but after flashing the ROM, my board looks to be bricked...
>
>Once powering on the board, the CPU fan spins up but then nothing happens, I can't see any output on the serial console (the connection was tested prior to flashing by running a getty on the COM port and it was working fine).
>
>The board is not fried as I can load back the vendor firmware and it boots up absolutely fine.
>
>I'd like to find out why Coreboot would not start but don't know what tool would be the most suitable for debugging.
>
>The chipset and the CPU is already supported by Coreboot but the SuperIO chip is not. It looks to me the serial interfaces of ITE chips work the same for all models so I believe using the common code for ITE SIO chips should work but I'm unsure (no datasheet available).

>Shall I use a PCIe serial interface card or rather try EHCI debugging? I'm afraid in case the boot process halts at some early stage (like before romstage) then I won't see any useful output using any of those.
>
>Using a POST card would be a better approach I think but my board has a single PCIe 4x slot which seems to be unsupported by POST cards I could find on the web (except one from a Chinese vendor but it costs about $1k which is way too expensive)

The 20-pin TPM connector on this board[1] looks really close to the legacy LPC one[2], so maybe try a POST card with LPC support?

[1]: http://dlcdnet.asus.com/pub/ASUS/mb/SocketAM1/AM1I-A/E8963_AM1I-A.pdf
[2]: https://www.usbid.com/datasheets/usbid/2000/2000-q1/lpc_mod_spec72.pdf  

>
>Here's my WIP code for reference:
>
>https://github.com/kissg1988/coreboot/tree/master/src/mainboard/asus/am1i-a
>
>Any idea how to proceed?
>
>Thanks,
>Gergely
>
>-- 
>coreboot mailing list:  coreboot at coreboot.org
>https://mail.coreboot.org/mailman/listinfo/coreboot

WBR, Igor
mailto:skochinsky at mail.ru


More information about the coreboot mailing list