* [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 14:53 [U-Boot-Users] AT91 and u-boot tests Marco Cavallini
@ 2005-10-03 19:32 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2005-10-03 19:32 UTC (permalink / raw)
To: u-boot
In message <001f01c5c82a$4e86b5c0$0600a8c0@kmobile> you wrote:
>
> u-boot always configured and compiled "as is" for at91rm9200dk
You are aware that you cannot use the same configuration for your
tests?
> 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.
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).
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Die ganzen Zahlen hat der liebe Gott geschaffen, alles andere ist
Menschenwerk... Leopold Kronecker
^ 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
* [U-Boot-Users] AT91 and u-boot tests
2005-10-03 22:12 kentropy
@ 2005-10-03 22:20 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2005-10-03 22:20 UTC (permalink / raw)
To: u-boot
In message <INT1OH$017AB14E924A133A473F2895B505ED00@libero.it> you wrote:
>
> 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?
The code and the default settings have changed.
> # make at91rm9200dk_config
> # make
> Should be the exactly the same
No.
> 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?
Because it is not configured for that.
> P.S. Manual read ;-)
> http://www.denx.de/twi> ki/bin/view/DULG/CanUBootBeConfiguredSuchThatItCanBeStartedInRAM
But it seems you ignore the message?
I give up here. Bye.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I have a theory that it's impossible to prove anything, but I can't
prove it.
^ 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