[U-Boot-Users] U-Boot on LH7A400

Hi there,
Is anyone out there using a Sharp LH7A400 (http://logicpd.com) and UBoot. We are new to getting Linux working on this board and are wonderng which boot loader to use.
UBoot seems to be the choice :-) if anyone of you are using UBoot on these boards, can you please send us an image of the bootloader so we can give it a shot.
Any other resources are welcome, thanks for your time
Devraj

In message 1084503350.13053.63.camel@localhost you wrote:
Is anyone out there using a Sharp LH7A400 (http://logicpd.com) and UBoot. We are new to getting Linux working on this board and are wonderng which boot loader to use.
Patches were posted to the list 3 days ago. Search the archives.
Best regards,
Wolfgang Denk

Hello Frank!
Sorry, wrong function name. I've corrected in the second post. The problem happens in cpu/ppc4xx/sdram.c -> sdram_init().
OK. I wrote this code, so here a few comments.
We are using this code on a least 10 different PPC405 boards without any problems (even with 4 Mbytes of SDRAM).
When you stripped the code to 3 lines only you probably missed those lines:
... mtsdram0(mem_sdtr1, sdtr1); mtsdram0(mem_rtr, rtr);
Some of the sdram regs don't get initialized at all with your code! This could cause serious problems!
Some further questions:
Why did you change the code in the first place?
You speak of 8MBytes of SDRAM. Do you have 2 banks each 4MByte? This code only supports the first bank.
Best regards, Stefan Roese
participants (3)
-
Devraj Mukherjee
-
Stefan Roese
-
Wolfgang Denk