aaron lwe wrote:
Corey Osgood <corey.osgood@gmail.com mailto:corey.osgood@gmail.com> wrote:
aaron lwe wrote: > On Dec 10, 2007 10:19 AM, Corey Osgood <corey.osgood@gmail.com <mailto:corey.osgood@gmail.com> > <mailto: corey.osgood@gmail.com <mailto:corey.osgood@gmail.com>>> wrote: > > aaron lwe wrote: > > Dear all, > > > > the via v-link bus is for data communication between northbridge and > > sourthbridge, > > if I just want to make dram work, do I need to configure the > v-link bus? > > > > thanks. > > No, vlink can be handled before or after ram init, and it isn't even > necessary, if no config is done it will default to the slowest > operating > mode (newer chipsets may bootstrap to higher modes, depending on > motherboard design). However, you do have to program the CPU bus > registers and all the various dram config registers before ram init. > Getting these settings right may be a real pain, depending on what > chipset you're dealing with. > > -Corey > > > Thanks Corey. I've been trying to make cn700 work, until now without luck. > I've programmed host bus and some dram controller registers, but not all. > how can I know which registers should be programmed and which needn't? > can you give me some advices? thanks. > I'm already nearly done with the cn700, please try the attached patch. I apologize if there's any cruft in there, I'm working on another project right this moment, so I don't have time for a good cleanup. -Corey
Thanks a lot, after a few times trying, I got a question. Does the IDE/Sata settings in auto.c has any effect on dram? If not, I would like first comment those code, 'cause I got an "IDE Controller not found!" error once booted and then die, which is wired. When I comment those code, I can successfully went to sdram configure functions. but the ram_check displayed many failures: LinuxBIOS-2.0.0.0-Normal Sun Dec 16 18:09:41 EST 2007 starting... Found good data, testing it 01 02 03 04 05 Test passed Enabling shadow ram Setting ram bank size to 0x40
Here's a problem, this should be 0x08 for 512MB. I have no idea how/why this happened. Also check that the MA Map type is correct.
-Corey