From: Peter Menzebach <pm-ub@mw-itcon.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Replacing AT91 u-boot
Date: Tue, 04 Oct 2005 11:37:31 +0200 [thread overview]
Message-ID: <43424D5B.5070307@mw-itcon.de> (raw)
In-Reply-To: <INMS8J$2142277E56B095AE5F8745868A53E29F@libero.it>
kentropy wrote:
> Hello,
> I'm sorry but I am still facing to problems trying to replace the existing u-boot-0.3.2 with the latest 1.1.3 on a at91rm9200dk board.
> I built u.boot
> make at91rm9200dk_config
> make
> then I reomved R159 from the board and booted,
> then I sent loader.bin (found on Atmel website)
>
> then I send the just builded u-boot.bin
> but at this point the AT91 system freezes showing few random characters on the serial console.
>
> If I use the original u-boot.bin 0.3.2 everything is ok,
> what am I missing ?
>
I am starting here, because later in the thread was to much mismatch
between the 2 different ways to boot the system:
1. Booting u-boot from the parallel flash
The board is delivered with this option. Here it should be possible to
simply replace u-boot in the parallel flash. Please check the serial and
PLL settings.
2. Booting from serial dataflash (romboot, u-boot, kernel, rootfs in
dataflash)
Principle shown in:
http://www.atmel.com/dyn/resources/prod_documents/doc6067.pdf
Only for this procedure you have to remove R159!
Here *no* program can be executed directly, since the flash is *serial*.
Here we have a multi-stage boot process:
1. Internal ROM services are finding ARM vector in dataflash and start
downloading "romboot.bin" from serial dataflash to SRAM
2. romboot starts and sets up processor, RAM+serial
3. romboot loads u-boot from serial dataflash to RAM
4. romboot starts u-boot
5. u-boot loads+starts uImage from serial dataflash to RAM and starts it
(bug in common/cmd_bootm.c, patch:
http://sourceforge.net/tracker/index.php?func=detail&aid=1072345&group_id=65938&atid=512789)
6. rootfs can be jffs2 in dataflash, newest mtd sources from mtd cvs needed
The romboot delivered by Atmel didn't set up the PLLs correctly, I don't
know, if they corrected it on their website. A replacement for
romboot.bin compilable with gnuc is here:
http://www.mw-itcon.de/patches/romboot.tgz
Please check always memory addresses, PLL and serial settings in the
configs of romboot, u-boot and kernel.
I can definitely confirm, that u-boot-1.1.2 works fine in that case. If
needed, I can send you the u-boot config.
Hope, that helps a step further...
Peter
next prev parent reply other threads:[~2005-10-04 9:37 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-30 13:02 [U-Boot-Users] Replacing AT91 u-boot kentropy
2005-09-30 13:27 ` Wolfgang Denk
2005-10-04 9:36 ` Peter Menzebach
2005-10-04 9:37 ` Peter Menzebach [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-10-01 7:42 kentropy
2005-10-01 12:24 kentropy
2005-10-01 12:58 ` Wolfgang Denk
2005-10-01 22:01 kentropy
2005-10-01 22:53 ` Wolfgang Denk
2005-10-01 22:30 kentropy
2005-10-01 22:57 ` Wolfgang Denk
2005-10-02 7:36 kentropy
2005-10-02 8:44 ` Wolfgang Denk
2005-10-02 14:52 kentropy
2005-10-02 19:58 ` Wolfgang Denk
2005-10-02 20:47 kentropy
2005-10-02 21:56 ` Wolfgang Denk
2005-10-02 22:15 ` Andrey P. Vasilyev
2005-10-03 8:58 kentropy
2005-10-03 9:42 ` Wolfgang Denk
2005-10-03 10:28 kentropy
2005-10-03 13:13 ` Mirco Fuchs
2005-10-03 13:26 kentropy
2005-10-04 9:52 kentropy
2005-10-13 17:23 ` 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=43424D5B.5070307@mw-itcon.de \
--to=pm-ub@mw-itcon.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.