[U-Boot-Users] CSB637

My problem is that u-boot hangs - here's the relevant info:
I'm using a csb637 developement board and serial dataflash. When the board is powered up, the boot loader on the serial dataflash is run. I use the boot loader to save u-boot into dataflash and then run u-boot by copying u-boot into sdram (0x21f00000) and jumping to that location. I should mention that before the boot loader jumps to sdram, it resets all registers and re-initiliazes the PLL. Is this how u-boot is supposed to be run?
If the above is correct, I believe that the problem may be the u-boot build that I'm using. I started off with u-boot-1.1.3 and applied all the patches found on the newsgroup. Is this what others did?
Thanks, Farrah

"Farrah Rashid" farrah_rashid@hotmail.com schreibt:
I'm using a csb637 developement board and serial dataflash. When the board is powered up, the boot loader on the serial dataflash is run. I use the boot loader to save u-boot into dataflash and then run u-boot by copying u-boot into sdram (0x21f00000) and jumping to that location. I should mention that before the boot loader jumps to sdram, it resets all registers and re-initiliazes the PLL. Is this how u-boot is supposed to be run?
No.
The CSB637 does not have any serial dataflash (at least not the board I have access to), so U-Boot is supposed to reside in NOR flash (starting at address 0).
See also http://www.denx.de/twiki/bin/view/DULG/CanUBootBeConfiguredSuchThatItCanBeSt...
Cheers Anders

The CSB637 does not have any serial dataflash (at least not the board I have access to), so U-Boot is supposed to reside in NOR flash (starting at address 0).
Yes, the CSB637 doesn't have serial dataflash but I added it. So can U-boot just reside in the dataflash at address 0 or do I need to make modifications to it first?
See also http://www.denx.de/twiki/bin/view/DULG/CanUBootBeConfiguredSuchThatItCanBeSt...
Yes, I saw that earlier. I just found it strange that the ATMEL boot loaders are designed for U-Boot and run U-Boot by copying it from dataflash to SDRAM and then jumping to address 0.
Cheers, Farrah

In message BAY102-F135F19728A7622BE317E819B9C0@phx.gbl you wrote:
Yes, I saw that earlier. I just found it strange that the ATMEL boot loaders are designed for U-Boot and run U-Boot by copying it from dataflash to SDRAM and then jumping to address 0.
I cannot comment what any ATLEM boot loaders do. U-Boot can be used with such a configuration, but tthis is not how it was designed or what I recommend.
Best regards,
Wolfgang Denk

"Farrah Rashid" farrah_rashid@hotmail.com schreibt:
See also http://www.denx.de/twiki/bin/view/DULG/CanUBootBeConfiguredSuchThatItCanBeSt...
Yes, I saw that earlier. I just found it strange that the ATMEL boot loaders are designed for U-Boot and run U-Boot by copying it from dataflash to SDRAM and then jumping to address 0.
Well, then you'll have to check how Atmel has configured U-Boot for the at91rm9200dk board (which allegedly operates in the way you decribe) and modify the configuration of your csb637 accordingly.
BTW, why not just boot out of NOR flash?
Cheers Anders
participants (3)
-
Anders Larsen
-
Farrah Rashid
-
Wolfgang Denk