From: Marco Cavallini <arm.linux@koansoftware.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] AT91 u-boot lowlevel init Dataflash
Date: Tue, 06 Jun 2006 10:38:40 +0200 [thread overview]
Message-ID: <44853F10.3060600@koansoftware.com> (raw)
In-Reply-To: <4485386D.5060908@schweigstill.de>
Andreas Schweigstill ha scritto:
> Dear Marco!
>
> Marco Cavallini schrieb:
>> Hi,
>> I am trying to use u-boot-1.1.4 with AT91RM9200 based board.
>> Using Parallel flash all works perfectly, but if I try using u-boot
>> stored in Dataflash i face to some problems and comparing two cases I
>> see that CPU clock are different.
>> Seems that is required a RomBoot provided by Atmel which launch u-boot.
>> Is it really necessary ?
>> Maybe I've miss an option that avoid RomBoot usage ?
>
> You can omit the RomBoot step if you are able to build an U-Boot which
> fits into ~12KB of the internal SRAM.
>
> RomBoot has to be adopted to your target hardware, especially for CPU
> clock and memory initialisation. The Atmel provided RomBoot can only be
> compiled with ARM ADS but there is also a GCC version available:
>
> http://www.teest.com/at91/romboot.tar.gz
>
Andreas
thank you for answering.
I can't and I don't want to store anything into internal SRAM.
I simply want to use Dataflash AT45xxx instead of Parallel AT49xxx
I digged and found that RomBoot leaves the CPU speed at its initial safe
state (slow).
Clocks: CPU 59 MHz, master 59 MHz, main 18.432 MHz
^^^^^^^^^^
Then I added board_late_init into at91rm9200dk.c and there I've set
PLLAR, PLLBR, MCKR like into lowlevel_init.S
Now my board boots with the desired clock speed.
Clocks: CPU 179 MHz, master 59 MHz, main 18.432 MHz
^^^^^^^^^^
BTW I wonder if could be useful (and appreciated) if I should merge
RomBoot settings into u-boot allowing u-boot to be the one and only
loader for Dataflash too.
Ciao
--
Marco Cavallini
Koan s.a.s. - Bergamo - ITALIA
Embedded and Real-Time Software Engineering
www.KoanSoftware.com | www.KaeilOS.com
next prev parent reply other threads:[~2006-06-06 8:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-05 16:43 [U-Boot-Users] AT91 u-boot lowlevel init Dataflash Marco Cavallini
2006-06-06 8:10 ` Andreas Schweigstill
2006-06-06 8:38 ` Marco Cavallini [this message]
2006-06-06 9:42 ` Marco Cavallini
2006-06-06 10:02 ` Peter Menzebach
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44853F10.3060600@koansoftware.com \
--to=arm.linux@koansoftware.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox