Josh | 7 Oct 08:43

AMD690GM-M2

Hi, I have an AMD690GM-M2.  I noticed that it  is listed on the wiki as a
potentially supportable desktop board.  I can confirm that, at least on
my board, the BIOS is socketed.  Unfortunately, I didn't notice until
after I got the board, that it doesn't have a serial port (or a parallel
port for that matter).  I guess that makes things more difficult.

If you want any more information on the board, please let me know.

Josh
00:00.0 Host bridge: ATI Technologies Inc RS690 Host Bridge
00:01.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (Internal gfx)
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 14)
00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS690 [Radeon X1200 Series]
(Continue reading)

Corey Osgood | 7 Oct 09:32

Re: AMD690GM-M2

On Tue, Oct 7, 2008 at 2:44 AM, Josh <zorn169 <at> gmail.com> wrote:
Hi, I have an AMD690GM-M2.  I noticed that it  is listed on the wiki as a
potentially supportable desktop board.  I can confirm that, at least on
my board, the BIOS is socketed.  Unfortunately, I didn't notice until
after I got the board, that it doesn't have a serial port (or a parallel
port for that matter).  I guess that makes things more difficult.

If you want any more information on the board, please let me know.

Josh


00:13.5 USB Controller [0c03]: ATI Technologies Inc SB600 USB Controller (EHCI) [1002:4386] (prog-if 20 [EHCI])
[...]
Capabilities: [e4] Debug port: BAR=1 offset=00e0

Not really more difficult, just more expensive. You'll need a USB debug port adapter to use for the console. Unless, of course, AMD is in the process of porting this board already, in which case you should be able to use VGA console once they're done.

-Corey
--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot
Jordan Crouse | 7 Oct 17:28
Favicon

Re: AMD690GM-M2

On 07/10/08 03:32 -0400, Corey Osgood wrote:
> On Tue, Oct 7, 2008 at 2:44 AM, Josh <zorn169 <at> gmail.com> wrote:
> 
> > Hi, I have an AMD690GM-M2.  I noticed that it  is listed on the wiki as a
> > potentially supportable desktop board.  I can confirm that, at least on
> > my board, the BIOS is socketed.  Unfortunately, I didn't notice until
> > after I got the board, that it doesn't have a serial port (or a parallel
> > port for that matter).  I guess that makes things more difficult.
> >
> > If you want any more information on the board, please let me know.
> >
> > Josh
> 
> 
> 
> 00:13.5 USB Controller [0c03]: ATI Technologies Inc SB600 USB
> Controller (EHCI) [1002:4386] (prog-if 20 [EHCI])
> > 	[...]
> > 	Capabilities: [e4] Debug port: BAR=1 offset=00e0
> >
> >
> Not really more difficult, just more expensive. You'll need a USB debug port
> adapter to use for the console. Unless, of course, AMD is in the process of
> porting this board already, in which case you should be able to use VGA
> console once they're done.

Just for future reference - we don't have access to most of our customer's
production platforms.  Usually we can only get our hands on our own
internal designs (and thats why we develop our code against them).  We are
happy to offer our help, of course, but we are not in the process of 
actively porting any production platforms.

Jordan

--

-- 
Jordan Crouse
Systems Software Development Engineer 
Advanced Micro Devices, Inc.

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Uwe Hermann | 7 Oct 12:27
Favicon

Re: AMD690GM-M2

On Tue, Oct 07, 2008 at 02:44:32AM -0400, Josh wrote:
> Hi, I have an AMD690GM-M2.  I noticed that it  is listed on the wiki as a
> potentially supportable desktop board.  I can confirm that, at least on
> my board, the BIOS is socketed.

Great, thanks! I updated the wiki.

> Unfortunately, I didn't notice until
> after I got the board, that it doesn't have a serial port (or a parallel
> port for that matter).  I guess that makes things more difficult.

I think there _is_ a serial port, see below.

> 00:00.0 Host bridge: ATI Technologies Inc RS690 Host Bridge
> 00:01.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (Internal gfx)
> 00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
> 00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
> 00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
> 00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
> 00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
> 00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
> 00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
> 00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 14)
> 00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
> 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
> 00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
> 00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
> 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
> 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
> 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
> 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
> 01:05.0 VGA compatible controller: ATI Technologies Inc RS690 [Radeon X1200 Series]
> 02:01.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
> 02:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet
(rev 10)

Good, both AMD RS690 and SB600 are supported.

> Calibrating delay loop... 290M loops per second. OK.
> No coreboot table found.
> WARNING: No chipset found. Flash detection will most likely fail.
> Found chip "Winbond W39V040B" (512 KB) at physical address 0xfff80000.

Good, the chip is supported by flashrom.

> superiotool r3511
> Found ITE IT8726F (id=0x8726, rev=0x1) at 0x2e
> No dump available for this Super I/O

Nice, first board with ITE IT8726F we've seen so far. Adding support
for this Super I/O should be trivial, there's a datasheet and it's
similar to most other ITE ones, of course.

The Super I/O itself _does_ support serial though. And, luckily, the
website says there's a serial header _on_ the board (no serial port per
se, but you can attach one there). The board should come with a serial
connector cable, I guess. The header is right below the PCI slots.

I think we can make this work, but we'll need your help.

Next step would be to get a second ROM chip, so that you can make a
backup of your BIOS using flashrom, and a PLCC extractor (optional).
If you're sure you have a backup chip stored somewhere safe, the fun
can begin :)

We might need some more info, e.g. the output of 'getpir' (a file called
irq_table.c) and 'mptable' output. Later, also 'superiotool -dV' but we
need to add IT8726F support to superiotool first...

HTH, Uwe.
--

-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Josh | 9 Oct 09:13

Re: AMD690GM-M2

Hi Uwe!

On Tue, 07 Oct 2008, Uwe Hermann wrote:

> On Tue, Oct 07, 2008 at 02:44:32AM -0400, Josh wrote:
...
> 
> I think there _is_ a serial port, see below.

Doh, you're right.  I thought it was supposed to have a serial port,
but didn't think of looking for the header on the board.  The board
didn't come with a connector cable, but at least that's cheap to buy.
... 

> Good, the chip is supported by flashrom.
I'm having troubling finding a place to buy a W39V040B chip in the US.
Looks like avnet.com is a good place to buy an alternative chip,
but I can't to find any information on how to pick a chip that is
compatible.  What criteria do I need to look at when picking out
a different chip.  While I'm at it, I'd like to go with a bigger
chip unless there is a reason not to.
> 
> > superiotool r3511
> > Found ITE IT8726F (id=0x8726, rev=0x1) at 0x2e
> > No dump available for this Super I/O
> 
> Nice, first board with ITE IT8726F we've seen so far. Adding support
> for this Super I/O should be trivial, there's a datasheet and it's
> similar to most other ITE ones, of course.
> 
> The Super I/O itself _does_ support serial though. And, luckily, the
> website says there's a serial header _on_ the board (no serial port per
> se, but you can attach one there). The board should come with a serial
> connector cable, I guess. The header is right below the PCI slots.
> 
> 
> I think we can make this work, but we'll need your help.
cool.

> Next step would be to get a second ROM chip, so that you can make a
> backup of your BIOS using flashrom, and a PLCC extractor (optional).
> If you're sure you have a backup chip stored somewhere safe, the fun
> can begin :)
> 
> We might need some more info, e.g. the output of 'getpir' (a file called
> irq_table.c) and 'mptable' output. Later, also 'superiotool -dV' but we
> need to add IT8726F support to superiotool first...

It didn't look too difficult, so I'm in the process of adding dump
support for IT8726F.  At first glance it seemed pretty similar to
IT8718F.  If I have any questions, I'll let you know.

Thanks,
Josh
Attachment (irq_tables.c): text/x-csrc, 2742 bytes
/* generated by MPTable, version 2.0.15*/
/* as modified by RGM for coreboot */
#include <console/console.h>
#include <arch/smp/mpspec.h>
#include <device/pci.h>
#include <string.h>
#include <stdint.h>

void *smp_write_config_table(void *v)
{
        static const char sig[4] = "PCMP";
        static const char oem[8] = "LNXI    ";
        static const char productid[12] = "P4DPE       ";
        struct mp_config_table *mc;

        mc = (void *)(((char *)v) + SMP_FLOATING_TABLE_LEN);
        memset(mc, 0, sizeof(*mc));

        memcpy(mc->mpc_signature, sig, sizeof(sig));
        mc->mpc_length = sizeof(*mc); /* initially just the header */
        mc->mpc_spec = 0x04;
        mc->mpc_checksum = 0; /* not yet computed */
        memcpy(mc->mpc_oem, oem, sizeof(oem));
        memcpy(mc->mpc_productid, productid, sizeof(productid));
        mc->mpc_oemptr = 0;
        mc->mpc_oemsize = 0;
        mc->mpc_entry_count = 0; /* No entries yet... */
        mc->mpc_lapic = LAPIC_ADDR;
        mc->mpe_length = 0;
        mc->mpe_checksum = 0;
        mc->reserved = 0;

        smp_write_processors(mc);

/*Bus:		Bus ID	Type*/
/*I/O APICs:	APIC ID	Version	State		Address*/
	smp_write_ioapic(mc, 2, 0x20, 0xfec00000);
	{
		device_t dev;
		struct resource *res;
		dev = dev_find_slot(1, PCI_DEVFN(0x1e,0));
		if (dev) {
			res = find_resource(dev, PCI_BASE_ADDRESS_0);
			if (res) {
				smp_write_ioapic(mc, 3, 0x20, res->base);
			}
		}
		dev = dev_find_slot(1, PCI_DEVFN(0x1c,0));
		if (dev) {
			res = find_resource(dev, PCI_BASE_ADDRESS_0);
			if (res) {
				smp_write_ioapic(mc, 4, 0x20, res->base);
			}
		}
                dev = dev_find_slot(4, PCI_DEVFN(0x1e,0));
                if (dev) {
			res = find_resource(dev, PCI_BASE_ADDRESS_0);
			if (res) {
				smp_write_ioapic(mc, 5, 0x20, res->base);
			}
                }
                dev = dev_find_slot(4, PCI_DEVFN(0x1c,0));
                if (dev) {
			res = find_resource(dev, PCI_BASE_ADDRESS_0);
			if (res) {
				smp_write_ioapic(mc, 8, 0x20, res->base);
			}
                }
	}
/*I/O Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
*//*Local Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#*/
MP Config Extended Table Entries:

Extended Table HOSED!
--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot
Darmawan Salihun | 9 Oct 14:30

Re: AMD690GM-M2

Hello,

On Thu, Oct 9, 2008 at 9:13 AM, Josh <zorn169 <at> gmail.com> wrote:
> Hi Uwe!
>
> On Tue, 07 Oct 2008, Uwe Hermann wrote:
>
>> On Tue, Oct 07, 2008 at 02:44:32AM -0400, Josh wrote:
> ...
>>
>> I think there _is_ a serial port, see below.
>
> Doh, you're right.  I thought it was supposed to have a serial port,
> but didn't think of looking for the header on the board.  The board
> didn't come with a connector cable, but at least that's cheap to buy.
> ...
>
>> Good, the chip is supported by flashrom.
> I'm having troubling finding a place to buy a W39V040B chip in the US.
> Looks like avnet.com is a good place to buy an alternative chip,
> but I can't to find any information on how to pick a chip that is
> compatible.  What criteria do I need to look at when picking out
> a different chip.  While I'm at it, I'd like to go with a bigger
> chip unless there is a reason not to.

You need a chip with the same capacity and same electrical characteristics,
i.e.  __access time and voltage level__. You can look for this
information in the
W39V040B datasheet. I think Winbond also provides a cross-reference
documentation that list the compatibilities of their flash ROMs with flash ROM
produced by other manufacturers.

I'm not sure if SB600 can decode the R/W access to Flash ROM bigger than
your current flash ROM. Maybe others can clarify?

>>
>> > superiotool r3511
>> > Found ITE IT8726F (id=0x8726, rev=0x1) at 0x2e
>> > No dump available for this Super I/O
>>
>> Nice, first board with ITE IT8726F we've seen so far. Adding support
>> for this Super I/O should be trivial, there's a datasheet and it's
>> similar to most other ITE ones, of course.
>>
>> The Super I/O itself _does_ support serial though. And, luckily, the
>> website says there's a serial header _on_ the board (no serial port per
>> se, but you can attach one there). The board should come with a serial
>> connector cable, I guess. The header is right below the PCI slots.
>>
>>
>> I think we can make this work, but we'll need your help.
> cool.
>
>> Next step would be to get a second ROM chip, so that you can make a
>> backup of your BIOS using flashrom, and a PLCC extractor (optional).
>> If you're sure you have a backup chip stored somewhere safe, the fun
>> can begin :)
>>
>> We might need some more info, e.g. the output of 'getpir' (a file called
>> irq_table.c) and 'mptable' output. Later, also 'superiotool -dV' but we
>> need to add IT8726F support to superiotool first...
>
> It didn't look too difficult, so I'm in the process of adding dump
> support for IT8726F.  At first glance it seemed pretty similar to
> IT8718F.  If I have any questions, I'll let you know.
>
> Thanks,
> Josh
>
> --
> coreboot mailing list: coreboot <at> coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot
>

--

-- 
Regards,

Darmawan Salihun
--------------------------------------------------------------------
-= Human knowledge belongs to the world =-

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Uwe Hermann | 9 Oct 17:38
Favicon

Re: AMD690GM-M2

On Thu, Oct 09, 2008 at 03:13:41AM -0400, Josh wrote:
> > Good, the chip is supported by flashrom.
> I'm having troubling finding a place to buy a W39V040B chip in the US.
> Looks like avnet.com is a good place to buy an alternative chip,
> but I can't to find any information on how to pick a chip that is
> compatible.  What criteria do I need to look at when picking out
> a different chip.  While I'm at it, I'd like to go with a bigger
> chip unless there is a reason not to.

There's a certain size limitation depending on the southbridge (SB600),
will have to check the datasheet (freely available).

> It didn't look too difficult, so I'm in the process of adding dump
> support for IT8726F.  At first glance it seemed pretty similar to
> IT8718F.  If I have any questions, I'll let you know.

Nice, thanks!

I've also ordered an AMD690GM-M2 so I'll be able to port/test in a few
days or so...

Uwe.
--

-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Chris Lingard | 11 Oct 21:05
Favicon

Re: AMD690GM-M2

Uwe Hermann wrote:
> On Thu, Oct 09, 2008 at 03:13:41AM -0400, Josh wrote:
>>> Good, the chip is supported by flashrom.
>> I'm having troubling finding a place to buy a W39V040B chip in the US.
>> Looks like avnet.com is a good place to buy an alternative chip,
>> but I can't to find any information on how to pick a chip that is
>> compatible.  What criteria do I need to look at when picking out
>> a different chip.  While I'm at it, I'd like to go with a bigger
>> chip unless there is a reason not to.
> 
> There's a certain size limitation depending on the southbridge (SB600),
> will have to check the datasheet (freely available).
> 
> 
>> It didn't look too difficult, so I'm in the process of adding dump
>> support for IT8726F.  At first glance it seemed pretty similar to
>> IT8718F.  If I have any questions, I'll let you know.
> 
> Nice, thanks!
> 
> I've also ordered an AMD690GM-M2 so I'll be able to port/test in a few
> days or so...
> 

I have 6 blank W39V040BPZ, that I can send out, I might buy that 
motherboard myself.  I just need a snail mail address, you can send that 
direct.

I owe you a chip Uwe

Chris Lingard

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Josh | 12 Oct 12:49

Re: AMD690GM-M2

Hi Uwe!

On Thu, 09 Oct 2008, Uwe Hermann wrote:

> On Thu, Oct 09, 2008 at 03:13:41AM -0400, Josh wrote:
> > It didn't look too difficult, so I'm in the process of adding dump
> > support for IT8726F.  At first glance it seemed pretty similar to
> > IT8718F.  If I have any questions, I'll let you know.
> 
> Nice, thanks!
I've got this pretty much done.  I just need to double check it and ask
a few questions when I am more awake.  

If you don't beat me too it, I'll try to add the IT8726F superio to
coreboot.  I'm going to use the IT8712F code as a starting point unless
you know of any problems with it.  It seems to be used in a few
supported boards.

> I've also ordered an AMD690GM-M2 so I'll be able to port/test in a few
> days or so...
Cool, that's great to hear.

Josh

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Peter Stuge | 9 Oct 18:40

Re: AMD690GM-M2

Josh wrote:
> > Good, the chip is supported by flashrom.
> 
> I'm having troubling finding a place to buy a W39V040B chip in the
> US. Looks like avnet.com is a good place to buy an alternative
> chip, but I can't to find any information on how to pick a chip
> that is compatible.  What criteria do I need to look at when
> picking out a different chip.

There are a few parameters that have to match;

* Package, usually one of:
 * DIP32 (for parallel)
 * PLCC32 (for parallel and LPC and FWH)
 * TSOP32 14mm (for parallel and LPC)
 * TSOP32 20mm (for parallel and LPC)
 * SO8 200mil (for SPI)
 * SO8 150mil (for SPI)
 * DIP8 (for SPI)
* Protocol, one of:
 * ISA (parallel)
 * LPC (serial 4-bit)
 * FWH (serial 4-bit)
 * SPI (serial 1-bit)
* Signalling
 * 5V (for parallel)
 * 3.3V (for LPC and FWH and SPI)

W39V040B is LPC, and available in PLCC32 and TSOP32. PLCC is much
more common.

Any other LPC PLCC flash chip will work.

> While I'm at it, I'd like to go with a bigger chip unless there is
> a reason not to.

As others mentioned this depends on how the (in this case LPC) bus
master can be configured. The southbridge needs to decode (bus
terminology for route or connect) the entire memory area that would
be occupied by a larger flash chip onto the LPC bus where the chip
is connected.

From the SB600 RRG it seems the full 4GB address range can be decoded
onto LPC in steps of 64k, meaning that you will be able to use as
large a flash chip as you can find.

I suggest trying to find one of two SST flash chips;

SST49LF016C-33-4C-NHE
or
SST49LF160C-33-4C-NHE

(66 instead of 33 is fine, but N in NHE means PLCC so is important)

If I remember correctly, one is LPC only and the other is combined
FWH/LPC, but I would like someone else to confirm this.

The data sheets on these two parts are unfortunately not at all
helpful.

These parts are both 16Mbit = 2Mbyte so you'll have some room for
using a Linux kernel as payload.

//Peter

--
coreboot mailing list: coreboot <at> coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Gmane