[coreboot] Via EPIA-N(L) C3/CN400 Support - Help Wanted

bari bari at onelabs.com
Tue Jun 16 19:16:24 CEST 2009


Jon,

You can also send a patch for your cn400 tree to the list so everyone 
else can also help.

-Bari

Harrison, Jon (SELEX GALILEO, UK) wrote:
> Hi Bari,
> 
> Thanks for the offer of help. Although the CN400 is EOL'd it's in the
> Luke and I've got 20 odd -NL boards I'd like to do something with. I'd
> appreciate any pointers to you could give on any mandatory sequence
> required for the SDRAM Init.
> 
> I'm now fairly sure the build and link is OK, but I'm not so convinced
> that I've got the early SDRAM Init correct, seems to be a bit
> intermittent whether the verification works or not.
> 
> I've based what I've got on the epia-m/VT8623 northbridge code as it
> seems more like the CN400 than the CN700 does.
> 
> I can PM you my raminit.c code if you're willing to help.
> 
> Otherwise I have a few questions:
> 1/ Is there an equivalent of the CKE control sequence is for the CN400. 
> 2/ Is it necessary to toggle the DQS DLL adjust (d0f3 0x6B) after each
> setting of the DQS output delay parameter.
> 3/ Is there a specific host address required to issue SDRAM commands
> 4/ should the DIMM control (d0f3 0x48) be setup before or after the
> timing setup (any delays required).
> 
> Thanks,
> Jon
> 
> lspci for the -NL board below:: 
> 
> 00:00.0 Host bridge [0600]: VIA Technologies, Inc. CN400/PM880 Host
> Bridge [1106:0259]
> 00: 06 11 59 02 06 00 30 22 00 00 00 06 00 08 80 00
> 10: 08 00 00 e8 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 07 aa
> 30: 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00
> 
> 00:00.1 Host bridge [0600]: VIA Technologies, Inc. CN400/PM880 Host
> Bridge [1106:1259]
> 00: 06 11 59 12 06 00 00 02 00 00 00 06 00 00 00 00
> 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 
> 00:00.2 Host bridge [0600]: VIA Technologies, Inc. CN400/PM880 Host
> Bridge [1106:2259]
> 00: 06 11 59 22 06 00 00 02 00 00 00 06 00 00 00 00
> 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 
> 00:00.3 Host bridge [0600]: VIA Technologies, Inc. CN400/PM880 Host
> Bridge [1106:3259]
> 00: 06 11 59 32 06 00 00 02 00 00 00 06 00 00 00 00
> 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 
> 00:00.4 Host bridge [0600]: VIA Technologies, Inc. CN400/PM880 Host
> Bridge [1106:4259]
> 00: 06 11 59 42 06 00 00 02 00 00 00 06 00 00 00 00
> 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 
> 00:00.7 Host bridge [0600]: VIA Technologies, Inc. CN400/PM880 Host
> Bridge [1106:7259]
> 00: 06 11 59 72 06 00 00 02 00 00 00 06 00 00 00 00
> 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 30: 00 00 00 00 a0 00 00 00 00 00 00 00 00 00 00 00
> 
> 00:01.0 PCI bridge [0604]: VIA Technologies, Inc. VT8237 PCI Bridge
> [1106:b198]
> 00: 06 11 98 b1 07 01 30 02 00 00 04 06 00 00 01 00
> 10: 00 00 00 00 00 00 00 00 00 01 01 00 f0 00 20 e2
> 20: 00 f4 f0 f5 00 f0 f0 f3 00 00 00 00 00 00 00 00
> 30: 00 00 00 00 70 00 00 00 00 00 00 00 00 00 0e 00
> 
> 00:0f.0 IDE interface [0101]: VIA Technologies, Inc. VIA VT6420 SATA
> RAID Controller [1106:3149] (rev 80)
> 00: 06 11 49 31 07 00 90 02 80 8f 01 01 00 20 80 00
> 10: 01 b0 00 00 01 b4 00 00 01 b8 00 00 01 bc 00 00
> 20: 01 c0 00 00 01 c4 00 00 00 00 00 00 06 11 07 aa
> 30: 00 00 00 00 c0 00 00 00 00 00 00 00 0b 02 00 00
> 
> 00:0f.1 IDE interface [0101]: VIA Technologies, Inc.
> VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE [1106:0571] (rev
> 06)
> 00: 06 11 71 05 07 00 90 02 06 8a 01 01 00 20 00 00
> 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 01 c8 00 00 00 00 00 00 00 00 00 00 06 11 07 aa
> 30: 00 00 00 00 c0 00 00 00 00 00 00 00 ff 01 00 00
> 
> 00:10.0 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB
> 1.1 Controller [1106:3038] (rev 81)
> 00: 06 11 38 30 07 00 10 02 81 00 03 0c 08 20 80 00
> 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 01 cc 00 00 00 00 00 00 00 00 00 00 06 11 07 aa
> 30: 00 00 00 00 80 00 00 00 00 00 00 00 0a 01 00 00
> 
> 00:10.1 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB
> 1.1 Controller [1106:3038] (rev 81)
> 00: 06 11 38 30 07 00 10 02 81 00 03 0c 08 20 80 00
> 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 01 d0 00 00 00 00 00 00 00 00 00 00 06 11 07 aa
> 30: 00 00 00 00 80 00 00 00 00 00 00 00 0a 01 00 00
> 
> 00:10.2 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB
> 1.1 Controller [1106:3038] (rev 81)
> 00: 06 11 38 30 07 00 10 02 81 00 03 0c 08 20 80 00
> 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 01 d4 00 00 00 00 00 00 00 00 00 00 06 11 07 aa
> 30: 00 00 00 00 80 00 00 00 00 00 00 00 0b 02 00 00
> 
> 00:10.3 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB
> 1.1 Controller [1106:3038] (rev 81)
> 00: 06 11 38 30 07 00 10 02 81 00 03 0c 08 20 80 00
> 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 01 d8 00 00 00 00 00 00 00 00 00 00 06 11 07 aa
> 30: 00 00 00 00 80 00 00 00 00 00 00 00 0b 02 00 00
> 
> 00:10.4 USB Controller [0c03]: VIA Technologies, Inc. USB 2.0
> [1106:3104] (rev 86)
> 00: 06 11 04 31 17 00 10 02 86 20 03 0c 08 20 80 00
> 10: 00 00 00 f6 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 04 31
> 30: 00 00 00 00 80 00 00 00 00 00 00 00 0c 03 00 00
> 
> 00:11.0 ISA bridge [0601]: VIA Technologies, Inc. VT8237 ISA bridge
> [KT600/K8T800/K8T890 South] [1106:3227]
> 00: 06 11 27 32 87 00 10 02 00 00 01 06 00 00 80 00
> 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 07 aa
> 30: 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 00 00
> 
> 00:11.5 Multimedia audio controller [0401]: VIA Technologies, Inc.
> VT8233/A/8235/8237 AC97 Audio Controller [1106:3059] (rev 60)
> 00: 06 11 59 30 01 00 10 02 60 00 01 04 00 00 00 00
> 10: 01 dc 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 07 aa
> 30: 00 00 00 00 c0 00 00 00 00 00 00 00 0c 03 00 00
> 
> 00:12.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6102
> [Rhine-II] [1106:3065] (rev 78)
> 00: 06 11 65 30 07 00 10 02 78 00 00 02 08 20 00 00
> 10: 01 e0 00 00 00 10 00 f6 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 02 01
> 30: 00 00 00 00 40 00 00 00 00 00 00 00 0a 01 03 08
> 
> 01:00.0 VGA compatible controller [0300]: VIA Technologies, Inc. S3
> Unichrome Pro VGA Adapter [1106:3118] (rev 02)
> 00: 06 11 18 31 07 00 30 02 02 00 00 03 00 20 00 00
> 10: 08 00 00 f0 00 00 00 f4 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 18 31
> 30: 00 00 00 00 60 00 00 00 00 00 00 00 0a 01 02 00
> 
> ------------------------------
> 
> Message: 6
> Date: Mon, 08 Jun 2009 18:11:31 -0500
> From: bari <bari at onelabs.com>
> To: Jon Harrison <bothlyn at blueyonder.co.uk>
> Cc: coreboot at coreboot.org
> Subject: Re: [coreboot] Via EPIA-N(L) C3/CN400 Support - Help Wanted
> Message-ID: <4A2D9AA3.80200 at onelabs.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Jon Harrison wrote:
>> Hi Guys,
>>
>> I'm currently working on porting coreboot to the Via EPIA-N(L) i.e. 
>> C3/CN400/VT8237R/Winbond SuperIO.
> 
> I have a few SP13000's sitting in storage and all the docs but no time. 
> The cn400 is EOLed by VIA.
> 
> I may be of some help if you post an LSPCI and I may be able to answer a
> 
> few questions. The C3 and vt8327r is already supported.
> 
> -Bari
> 
> 
> 
> SELEX Sensors and Airborne Systems Limited
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
> A company registered in England & Wales.  Company no. 02426132
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
> 
> 




More information about the coreboot mailing list