Hello Dave,

From this link I found the set of PCI device IDs that AMD uses for these chips
on page 10:

http://support.amd.com/TechDocs/51810_16h_00h-0Fh_Rev_Guide.pdf

The choices are 0x9830 - 0x983A and 0x983D.  Our IMB-A180 uses 9834.

So I marched through the numbers and 0x9835 worked on the Display Port
that the new board supports.

I should have tried your suggestion first.  This is probably why my wife
tells me that I don't listen.
;-)

Anyway, thanks for your help!  We now have debugging available on the VGA.

Now I have to find out why it does not recognize boot media on the USB ports.
It does see the keyboard though.



Best regards,

Mark Mason
Engineering Design Team


Mark,
I captured a port 80 log from a design similar to the IMB-a180 board and it looks identical.
My guess (if what you are hoping to see is graphics output) is that the graphics PCI ID doesn't
match the vga bios ID. We normally let seabios load the video bios. Maybe you could add some
code to dump out the graphics device ID for device 0:1.0. On my system I get 1002:9835. The
video bios rom image in CBFS would need that ID in it, or the rom would need to be stored in
CBFS in the generic "vgaroms/" folder (e.g. vgaroms/my_vbios.rom).

Dave



On Fri, May 30, 2014 at 1:50 PM, Kyösti Mälkki <kyosti.malkki@gmail.com> wrote:
On 05/30/2014 09:19 PM, Mark C. Mason wrote:

We are bringing up a modified IMB-A180 design, and coreboot appears
to be running off the rails (resets to 0xfffffff0 consistently).

There is only one dimm in the 0 socket, so NUMBER_DIMMS_SUPPORTED
is 1 in buildOpts.c, and devicetree.cb has only i2c address 0xA0.
This appears to work.

There is no superIO, and hence no serial port (yet; I will add a USB
based debugger soon),
and this has been removed from devicetree.cb.

I'm in the process of finding and mapping all the post codes, but
any wisdom from the community would be appreciated at this point.

The post codes are below; it appears to be getting pretty far along
(though I am
new to  coreboot and this may be optimistic).

The questions I have are:

     - what is going on at the end?
     - has dimm memory been successfully configured and is in use?
     - should the vga console be functional at this time?  (no sign of
life there)

It always resets to 0xfffffff0 at the same point at the end of the post
codes.

Thanks in advance,

Mark Mason
Engineering Design Team


0004600 55 64 e2 e3 65 ab e2 e3 e6 e7 cd ff e2 e3 ce e6
0004620 e6 e6 e7 ec e2 e3 ed e6 e7 b8 cf e6 e7 e4 e4 e5
0004640 e4 e5 9b 9c 9e 9d 7a 7b f8
0004651


Decode the last three with this:
   src/include/console/post_codes.h

Seems to be loading and jumping to payload. Note that some payloads configurations will hit watchdog and reset in 60 seconds if they cannot find boot media.

You can apply the attached patch as a quick hack I recently made to send coreboot console text to IO port 0x3f8 without any actual UART hardware.

If necessary, you can also disable any POST displays in menuconfig, and change this patch to use IO 0x80. But listening on IO 0x3f8 may give you output from payload too.

I'd recommend the USB debug method for any further serious work.

Kyösti

--
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot