[U-Boot] u-boot for ARM

Hello All,
I have an Atmel AT91SAM9263 evaluation board with an arm926ejs based processor. I want to configure U-boot for this and want to have a USB device boot option available too. Though the U-boot will be in NAND Flash but i want the board to boot from a USB device like a USB Flash drive etc.
I was reading the README and it talks about configuring a large number of options. Where do I define these options? In which file?
if i just give the command $ make arm926ejs_config if comes with a message make: *** No rule to make target 'arm926ejs_config'. Stop.
Can anybody help me in how to obtain a .bin file for my processor that i can load in NANDFlash and use this U-boot.
Many Thanks
Aman.

Hello
2009/1/24 Amandeep Bhullar abhullar@techlinkentertainment.com:
I was reading the README and it talks about configuring a large number of options. Where do I define these options? In which file?
if i just give the command $ make arm926ejs_config if comes with a message make: *** No rule to make target 'arm926ejs_config'. Stop.
That's correct, 'make' is unable to find such target. You must specify the target corresponding to your board, for example "make davinci_dvevm_config", i.e. prefix preceding '_config' normally indicate a platform's name.

Amandeep Bhullar sez,
I have an Atmel AT91SAM9263 evaluation board with an arm926ejs based processor. I want to configure U-boot for this and want to have a USB device boot option available too. Though the U-boot will be in NAND Flash but i want the board to boot from a USB device like a USB Flash drive etc.
Sounds like an adventure!
I was reading the README and it talks about configuring a large number of options. Where do I define these options? In which file?
For your board the file with many of the defines is.
include\configs\at91sam9263ek.h
if i just give the command $ make arm926ejs_config if comes with a message make: *** No rule to make target 'arm926ejs_config'. Stop.
You need to type, make at91sam9263ek_config make
Also it's a good idea to have the environment variable
CROSS_COMPILE
Set to point to your tool chain, as in
CROSS_COMPILE=\opt\mytoolchaintool\arm-elf-
where the directory
\opt\mytoolchaintool\
Contains your tools, such as arm-elf-gcc etc etc.
Can anybody help me in how to obtain a .bin file for my processor that i can load in NANDFlash and use this U-boot.
Can't help there, don't know if it's possible. I do know that you can boot out of NOR (parallel) and Atmel Dataflash (Serial). I would suggest building the standard u-boot and learn how it works and then go from there.
Mr Foo ---

Hi All,
I have Atmel AT91SAM9263 Evlauation kit and want to load Linux-2.6.27 on it. Here is what I did:
1. Downloaded Linux-2.6.27 and followed instructions on http://www.linux4sam.org/twiki/bin/view/Linux4SAM/LinuxKernel to build the Linux kernel. I used cross tool chain arm-none-linux-gnueabi- 2. As a result i got file "vmlinux". 3. Converted it to binary using the command - arm-none-linux-gnueabi-objcopy -O binary -R .note -R .comment -S vmlinux linux.bin 4. Since U-boot uses only uImage, I gave command - mkimage -A arm -O linux -C none -T kernel -a 200000 -e 200000 -n linux-2.6 -d linux.bin uImage This gave me the uImage file. I used Load address and entry point as 0x200000 because it is suggested at http://www.linux4sam.org/twiki/bin/view/Linux4SAM/GettingStarted#Linux4SAM_N... that linux kernel should be at 0x200000 to boot from NANDFLASH. /Please comment if I built the image uImage file right?/
Now I want to use this Linux image on the AT91SAM9263-EK board. I use the Atmel tool SAM-BA v2.7. I erased the NANDFlash. Loaded Bootstrap and u-boot at the said addresses. It goes to U-boot prompt fine. The evluation kit is connected through serial port and I use hyperterminal. I get the U-boot prompt.
I have questions about loading the Linux Image. Do I just use SAM-BA v2.7 tool and send file uImage to address 0x200000? I tied that and I got Error: Cant get kernel image.
Any help will be appreciated !!
Aman.

On 11:38 Fri 23 Jan , Amandeep Bhullar wrote:
Hello All,
I think you need to read this website
and the u-boot README and docs as doc/README.at91
Best Regards, J.
participants (4)
-
Amandeep Bhullar
-
Jean-Christophe PLAGNIOL-VILLARD
-
Pink Boy
-
Roman Mashak