public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] AT91 and u-boot tests
@ 2005-10-03 14:53 Marco Cavallini
  2005-10-03 19:32 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Marco Cavallini @ 2005-10-03 14:53 UTC (permalink / raw)
  To: u-boot

Reading the AT91 related thread I digged a bit and maybe I found something 
strange between u-boot-1.1.2 and 1.1.3 ?

I usually use u-boot-1.1.2 using the "usual Atmel procedure"(TM)
I removed T159 and booted,
loading loader.bin in ram with xmodem,
then it asked for the next file u-boot.bin
that has been succesfully loaded.
If I use u-boot-1.1.2 all is OK as with preinstalled 0.3.2

This is the result of my tests:
Board AT91RM9200DK
Kernel 2.6.13.2
u-boot always configured and compiled "as is" for at91rm9200dk

u-boot-1.1.2
------------
- running in ram : OK
- stored in flash with boot.bin as pre-loader
  and then u-boot as bootloader : OK
- stored in flash as unique bootloader : DOES NOT BOOT

u-boot-1.1.3
------------
- running in ram : DOES NOT BOOT
- stored in flash with boot.bin as pre-loader
  and then u-boot as bootloader : DOES NOT BOOT
- stored in flash as unique bootloader : OK BUT FAILS KERNEL UNCOMPRESSION

P.S. Looking into boot.bin sources seems that it required for
Master clock, PLL frequency and SDRAM very low level settings.

Hoping this could be useful :-)

Marco Cavallini
=====================================================
Koan s.a.s. - Software Engineering
Linux and WinCE solutions for Embedded and Real-Time Software
Klinux : the embedded distribution for industrial applications
  - Atmel AT91 ARM Third Party Consultant
  - Intel PCA Developer Network Member
  - Microsoft Windows Embedded Partner
Via Pascoli, 3  - 24121 Bergamo - ITALIA
Tel. (++39) 035-255.235 - Fax (++39) 178-223.9748
http://www.koansoftware.com  -  http://www.klinux.org
===================================================== 

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [U-Boot-Users] AT91 and u-boot tests
@ 2005-10-03 22:12 kentropy
  2005-10-03 22:20 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: kentropy @ 2005-10-03 22:12 UTC (permalink / raw)
  To: u-boot

> > u-boot always configured and compiled "as is" for at91rm9200dk
> 
> You are aware that you cannot use the  same  configuration  for  your
> tests?

I am doing the same,
what is the difference between these command sequence to generate u-boot using 1.1.2 and 1.1.3 without doing any further setting?
# make at91rm9200dk_config
# make
Should be the exactly the same

> > u-boot-1.1.3
> > ------------
> > - running in ram : DOES NOT BOOT
> > - stored in flash with boot.bin as pre-loader
> >   and then u-boot as bootloader : DOES NOT BOOT
> > - stored in flash as unique bootloader : OK BUT FAILS KERNEL UNCOMPRESSION
> > 

> Your message is not helpful as it is totally unclear  if  you  change
> the  configuration  (i.  e. with or without CONFIG_SKIP_LOWLEVEL_INIT
> and/or CONFIG_SKIP_RELOCATE_UBOOT #defined in your cofiguration which
> is *essential*. Please make sure to read the documentation (README).

A quick watch to lowlevel_init.S shows that something low level is done here too ;-)
However CONFIG_SKIP_LOWLEVEL_INIT and/or CONFIG_SKIP_RELOCATE_UBOOT are not set as default for at91-dk,
so why version 1.1.3 (and only this version) doesn't run in ram?
P.S. Manual read ;-)
http://www.denx.de/twiki/bin/view/DULG/CanUBootBeConfiguredSuchThatItCanBeStartedInRAM

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-10-03 22:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-03 14:53 [U-Boot-Users] AT91 and u-boot tests Marco Cavallini
2005-10-03 19:32 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2005-10-03 22:12 kentropy
2005-10-03 22:20 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox