Skip to contentSkip to conversation

HID0 Register problem

U-Boot-Users sudhakar rajashekhara 2 participants 2 messages Jan 19, 2004

lore
Share & tools
lore
#0 lore raw

Hi All,

During porting of U-boot on mpc8280 (U-boot port of MPC8260ads as base) I am facing following problems. I was able to burn the u-boot onto the flash. The first part of intialization was fine ie board_init_f () including the SDRAM (256 MB) initialization.

The second part of initialization goes fine and we were able to get the U-boot prompt, provided we comment the portion which initializes the Hardware Implementation-dependent Registers (HID0). But when we enable this portion of code, U-boot hangs once it relocates itself to the RAM. In this condition, though U-boot configures HID0 register, still the value is ZERO.

IS this because of improper SDRAM initialization? How do I verify the burst mode operation of SDRAM? Is there any debug routine similar to mtest available for the same?

I also want to know whether anyone has flash driver for AMD29F160B CFI compliant flash?

regards,
Sudhakar.

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

#1 lore raw
Quoted 8 lines · In message <[email protected]> you wrote:

Implementation-dependent Registers (HID0). But when we enable this portion of code, U-boot hangs once it relocates itself to the RAM. In this condition, though U-boot configures HID0 register, still the value is ZERO.

IS this because of improper SDRAM initialization? How

Most probably yes.

Quoted 1 line

do I verify the burst mode operation of SDRAM? Is

Boot Linux.

Quoted 2 lines

there any debug routine similar to mtest available for the same?

No. Not yet. Please feel free to contribute one.

Best regards,

Wolfgang Denk

Signature · 6 lines
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Misquotation is, in fact, the pride and privilege of the  learned.  A
widely-read  man  never  quotes  accurately,  for  the rather obvious
reason that he has read too widely.
                - Hesketh Pearson _Common Misquotations_ introduction