public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] u-boot for ARM
@ 2009-01-23 15:38 Amandeep Bhullar
  2009-01-24  1:54 ` Roman Mashak
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Amandeep Bhullar @ 2009-01-23 15:38 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] u-boot for ARM
  2009-01-23 15:38 [U-Boot] u-boot for ARM Amandeep Bhullar
@ 2009-01-24  1:54 ` Roman Mashak
       [not found]   ` <8c09713c0901231814k3e41acfck3bb3de282dbee6c5@mail.gmail.com>
  2009-01-24 20:38 ` Pink Boy
  2009-01-25  9:06 ` [U-Boot] u-boot for ARM Jean-Christophe PLAGNIOL-VILLARD
  2 siblings, 1 reply; 6+ messages in thread
From: Roman Mashak @ 2009-01-24  1:54 UTC (permalink / raw)
  To: u-boot

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.

-- 
Roman Mashak

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] u-boot for ARM
       [not found]   ` <8c09713c0901231814k3e41acfck3bb3de282dbee6c5@mail.gmail.com>
@ 2009-01-24  9:23     ` Roman Mashak
  0 siblings, 0 replies; 6+ messages in thread
From: Roman Mashak @ 2009-01-24  9:23 UTC (permalink / raw)
  To: u-boot

2009/1/24, Jerry Zhang <jerry.scofield@gmail.com>:
> Obviously you know nothing about the "make".
> 1)Read the Readme of the make tool first
> 2) then figure out "How the  u-boot building process  works; how the
> Makefile serve the building of your .bin"
>  3) Build your bin.

Obviously, either you're responding wrong person.

-- 
Roman Mashak

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] u-boot for ARM
  2009-01-23 15:38 [U-Boot] u-boot for ARM Amandeep Bhullar
  2009-01-24  1:54 ` Roman Mashak
@ 2009-01-24 20:38 ` Pink Boy
  2009-02-11 19:33   ` [U-Boot] Loading Linux Image on AT91SAM9263-EK Amandeep Bhullar
  2009-01-25  9:06 ` [U-Boot] u-boot for ARM Jean-Christophe PLAGNIOL-VILLARD
  2 siblings, 1 reply; 6+ messages in thread
From: Pink Boy @ 2009-01-24 20:38 UTC (permalink / raw)
  To: u-boot


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
---

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] u-boot for ARM
  2009-01-23 15:38 [U-Boot] u-boot for ARM Amandeep Bhullar
  2009-01-24  1:54 ` Roman Mashak
  2009-01-24 20:38 ` Pink Boy
@ 2009-01-25  9:06 ` Jean-Christophe PLAGNIOL-VILLARD
  2 siblings, 0 replies; 6+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2009-01-25  9:06 UTC (permalink / raw)
  To: u-boot

On 11:38 Fri 23 Jan     , Amandeep Bhullar wrote:
> Hello All,

I think you need to read this website

http://www.linux4sam.org

and the u-boot README and docs as doc/README.at91

Best Regards,
J.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] Loading Linux Image on AT91SAM9263-EK
  2009-01-24 20:38 ` Pink Boy
@ 2009-02-11 19:33   ` Amandeep Bhullar
  0 siblings, 0 replies; 6+ messages in thread
From: Amandeep Bhullar @ 2009-02-11 19:33 UTC (permalink / raw)
  To: u-boot

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_NandFlash_demo_Memory 
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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-02-11 19:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-23 15:38 [U-Boot] u-boot for ARM Amandeep Bhullar
2009-01-24  1:54 ` Roman Mashak
     [not found]   ` <8c09713c0901231814k3e41acfck3bb3de282dbee6c5@mail.gmail.com>
2009-01-24  9:23     ` Roman Mashak
2009-01-24 20:38 ` Pink Boy
2009-02-11 19:33   ` [U-Boot] Loading Linux Image on AT91SAM9263-EK Amandeep Bhullar
2009-01-25  9:06 ` [U-Boot] u-boot for ARM Jean-Christophe PLAGNIOL-VILLARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox