Hi, My image boots up to the following serial output message,
Ram5 Ram6 Copying LinuxBIOS to ram. Jumping to LinuxBIOS.
It says that it is jumpimg to LinuxBIOS, that means it has copied the images to RAM. So next step is to CALL(harwaremain). It is not jumping in to hardwaremain function.
From the linuxbios.map I found that address of hardwaremain function is
00000904 T hardwaremain
I have checked my DDR SDRAM register programming and initialization progams with specification. It looks ok to me. If you want I can send it for reference.
I want to verify that following option that I am using are correct are not,
Some configuration I am using are as follow,
I am not currently enabling MTRR. Currently I am look with the performance.
I am not supporting SMP now.
I also verified some of the DDR SDRAM register by read it back.
I am using 256 KB Flash ROM and 256 MB RAM. While burning the Flash I am burning the 65 KB linuxbios.strip file on FLASH ROM.
I have attached the makefile.settings along with this mail.
Can any one help me in resolving the problem ;-(
-Siva
On 14 Jan 2003, sivakumar wrote:
I have checked my DDR SDRAM register programming and initialization progams with specification. It looks ok to me. If you want I can send it for reference.
use dumpnorth to dump the northbridge, and compare your settings to the original BIOS settings.
I think you've got something wrong in your DRAM programming.
ron
Hi,
use dumpnorth to dump the northbridge, and compare your settings to the
original BIOS settings.
I have used dumpnorth in my code and got the REGISTER back.
Original BIOS settings means setting of some other BIOS other then LinuxBIOS. Is it possible to get the DRAM register values from Othe BIOS. I have AOPEN bios for my system.
dump northbridge: 00: 86 80 30 1a 06 00 90 20 04 00 00 06 00 00 00 00 10: 08 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 e4 00 00 00 00 00 00 00 00 00 00 00 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 15 00 00 60: 08 08 08 08 08 08 08 08 00 00 00 00 00 00 00 00 70: 10 00 00 00 00 00 00 00 05 02 03 00 00 00 00 00 80: 00 00 82 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 41 19 00 00 00 02 38 00 a0: 02 00 20 00 17 02 00 1f 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 44 40 50 11 00 01 05 08 00 00 00 00 00 00 00 00 d0: 02 28 00 0e 0b 00 00 33 af 01 31 b5 00 00 00 00 e0: 00 00 00 00 09 a0 04 91 00 00 00 00 00 00 00 00 f0: 00 00 00 00 74 f8 20 80 38 0f 00 00 04 00 00 00 Done.
THanks, SIVA
On Tue, 2003-01-14 at 21:26, Ronald G. Minnich wrote:
On 14 Jan 2003, sivakumar wrote:
I have checked my DDR SDRAM register programming and initialization progams with specification. It looks ok to me. If you want I can send it for reference.
use dumpnorth to dump the northbridge, and compare your settings to the original BIOS settings.
I think you've got something wrong in your DRAM programming.
ron
On 16 Jan 2003, sivakumar wrote:
Original BIOS settings means setting of some other BIOS other then LinuxBIOS. Is it possible to get the DRAM register values from Othe BIOS. I have AOPEN bios for my system.
to get the original BIOS settings, boot linux under the original BIOS and lspci -xxx -s 0:0.0
when I wrote dump_northbridge I made the output just like lspci -xxx to make diff easier.
ron
Thanks you !! I am already in that process.
-Siva
On Thu, 2003-01-16 at 10:41, Ronald G. Minnich wrote:
On 16 Jan 2003, sivakumar wrote:
Original BIOS settings means setting of some other BIOS other then LinuxBIOS. Is it possible to get the DRAM register values from Othe BIOS. I have AOPEN bios for my system.
to get the original BIOS settings, boot linux under the original BIOS and lspci -xxx -s 0:0.0
when I wrote dump_northbridge I made the output just like lspci -xxx to make diff easier.
ron
Hi,
Do I need to initialize the PAM (Programmable Attribute Map Register)?
Actually this register is used to do some memory mapping functionality.
When I was browsing the source code tree (in 440gx also) I found that in all the Northbridge raminit.inc , we are setting this register to default values (i.e., 0x00)
That means we are not worrying about the PAM during the RAM initialization. Is my assumption is correct?
Thanks, Siva
On Thu, 2003-01-16 at 10:41, Ronald G. Minnich wrote:
On 16 Jan 2003, sivakumar wrote:
Original BIOS settings means setting of some other BIOS other then LinuxBIOS. Is it possible to get the DRAM register values from Othe BIOS. I have AOPEN bios for my system.
to get the original BIOS settings, boot linux under the original BIOS and lspci -xxx -s 0:0.0
when I wrote dump_northbridge I made the output just like lspci -xxx to make diff easier.
ron
On 16 Jan 2003, sivakumar wrote:
Do I need to initialize the PAM (Programmable Attribute Map Register)?
it's a good idea. Some chipsets don't set to reasonable values and bad things can happen. At the same time I doubt this is your problem.
Actually this register is used to do some memory mapping functionality.
it's really for DOS memory layout compatibility.
That means we are not worrying about the PAM during the RAM initialization. Is my assumption is correct?
yes but it doesn't hurt to set it.
I think you're getting the idea of how to do this.
ron
Do I need to initialize the PAM (Programmable Attribute Map Register)?
it's a good idea. Some chipsets don't set to reasonable values and bad things can happen. At the same time I doubt this is your problem.
I think you're getting the idea of how to do this.
I haven't gone through the PAM register throughly, I need to read the specification Any tips on how to set the PAM register.
Also I have one question, along with this, I have some more registers like AGPCMD, AGPSTAT and etc.. to set the properties of the AGP port. Do I need to take care of these while configuring the DDR SDRAM.
-Siva
On Thu, 2003-01-16 at 20:37, Ronald G. Minnich wrote:
On 16 Jan 2003, sivakumar wrote:
Do I need to initialize the PAM (Programmable Attribute Map Register)?
it's a good idea. Some chipsets don't set to reasonable values and bad things can happen. At the same time I doubt this is your problem.
Actually this register is used to do some memory mapping functionality.
it's really for DOS memory layout compatibility.
That means we are not worrying about the PAM during the RAM initialization. Is my assumption is correct?
yes but it doesn't hurt to set it.
I think you're getting the idea of how to do this.
ron
sivakumar sivakumar.subramani@wipro.com writes:
Do I need to initialize the PAM (Programmable Attribute Map Register)?
it's a good idea. Some chipsets don't set to reasonable values and bad things can happen. At the same time I doubt this is your problem.
I think you're getting the idea of how to do this.
I haven't gone through the PAM register throughly, I need to read the specification
Any tips on how to set the PAM register.
Say that all memory is RAM. Except for possibly the legacy video hole. 0xa0000 - 0xc0000
Also I have one question, along with this, I have some more registers like AGPCMD, AGPSTAT and etc..
to set the properties of the AGP port. Do I need to take care of these while configuring the DDR SDRAM.
It should not be necessary.
Greetings,
Have a look at src/ram/ramtest.inc It is probably worthwhile to insert that before the uncompress and call it to see if the ram is REALLY there. The copy/uncompress to RAM does it blindly, so will happily 'succeed' even if there's no RAM there.
G'day, sjames
On 14 Jan 2003, sivakumar wrote:
Hi, My image boots up to the following serial output message,
Ram5 Ram6 Copying LinuxBIOS to ram. Jumping to LinuxBIOS.
It says that it is jumpimg to LinuxBIOS, that means it has copied the images to RAM. So next step is to CALL(harwaremain). It is not jumping in to hardwaremain function.
From the linuxbios.map I found that address of hardwaremain function is
00000904 T hardwaremain
I have checked my DDR SDRAM register programming and initialization progams with specification. It looks ok to me. If you want I can send it for reference.
I want to verify that following option that I am using are correct are not,
Some configuration I am using are as follow,
I am not currently enabling MTRR. Currently I am look with the performance.
I am not supporting SMP now.
I also verified some of the DDR SDRAM register by read it back.
I am using 256 KB Flash ROM and 256 MB RAM. While burning the Flash I am burning the 65 KB linuxbios.strip file on FLASH ROM.
I have attached the makefile.settings along with this mail.
Can any one help me in resolving the problem ;-(
-Siva