Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: 1.1.4 U-boot in AT91RM9200EK
PostPosted: Fri Feb 02, 2007 1:03 pm 
Offline

Joined: Fri Feb 02, 2007 11:48 am
Posts: 1
Hi,

I have downloaded a patched version of the U-boot 1.1.4 for the AT91RM9200 EK board from an Atmel FTP site. I have also downloaded a cross compiler from Codesourcery. The name of this cross compiler is arm-none-linux-gnueabi-gcc. I use Linux Ubuntu and in the .basrc file I add the path (export) where the binaries of the cross tool chain are, after that I save it and I close the shell. In the Makefile of the u-boot I change the name of the cross compiler for the ARM architecture:

ifeq ($(ARCH),arm)
CROSS_COMPILE = arm-none-linux-gnueabi-

After that, I configure the board with 'make at91rm9200ek_config' and finally 'make all'. It compiles without any erro, only warnings and I obtain the file 'u-boot-at91rm9200ek.gz' (54,6 KB) after doing 'gzip -c u-boot.bin > u-boot-at91rm9200ek.gz'. Then I take this file and I download it to the Flash Memory:

tftp 20000000 u-boot-at91rm9200ek.gz
protect off 10010000 1001ffff
erase 10010000 1001ffff
cp.b 20000000 10010000 ffff
protect on 10010000 1001ffff

It doesn't occur any error when I'm copying the file to Flash Memory. When I restart the board in the EXT position of the BMS, a red LED switch on and appear the message:


Uboot>


boot 1.0 (Aug 8 2003 - 12:29:00)


Uncompressing image...

And nothing else happens. After that I follow the Flash memory recovery procedure and I download the 1.1.1 u-boot whose binary files are in the CD of the board. In this way I don't have to compile anything.

I don't know what I do wrong. If someone knows, please answer me.

Thanks in advance,

Javier


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 31, 2007 3:53 pm 
Offline

Joined: Fri May 11, 2007 6:15 pm
Posts: 1
It is caused propably by a lack of pre-boot loader (bootstrap) which is based below u-boot section (on 0x10000000 to 0x10001fff). I've the same problem 3 weeks ago, try to search for boot.bin file on the cdrom included to ek board.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: