* [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; 9+ 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] 9+ 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; 9+ 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] 9+ 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; 9+ 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] 9+ 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; 9+ 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] 9+ 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; 9+ 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] 9+ 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; 9+ 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] 9+ messages in thread
* [U-Boot] Loading Linux Image on AT91SAM9263-EK
[not found] <mailman.514.1234387939.8190.u-boot@lists.denx.de>
@ 2009-02-11 22:54 ` Derek Ou
0 siblings, 0 replies; 9+ messages in thread
From: Derek Ou @ 2009-02-11 22:54 UTC (permalink / raw)
To: u-boot
You can use U-boot to write the file to NAND as well. The address does
not matter as long
as your bootcmd is reading the kernel from the same address.
Please check your U-boot environment settings and your nand dump of the
NAND location
(0x200000). If you want to get help, post those information.
Derek
> Date: Wed, 11 Feb 2009 15:33:19 -0400
> From: Amandeep Bhullar <abhullar@techlinkentertainment.com>
> Subject: [U-Boot] Loading Linux Image on AT91SAM9263-EK
> To: dasfoo at yahoo.com
>
> 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] 9+ messages in thread
* [U-Boot] Loading Linux Image on AT91SAM9263-EK
@ 2013-05-09 14:02 pranav yamjala
2013-05-09 15:09 ` Bo Shen
0 siblings, 1 reply; 9+ messages in thread
From: pranav yamjala @ 2013-05-09 14:02 UTC (permalink / raw)
To: u-boot
I am trying to port linux on the same board as mentioned in the subject. I
want to know how to configure the crosscompiler to build uimage or an image
of the kernel. I have got the other requirements like at91bootstrap
boot.bin and u-boot.bin ready configured for the board. I have also found
root file system and configured it as a jffs2 ext. The kernel i am not able
to build as i dont know what crosscompiler to use.
I have used buildroot to get the above images but buildroot doesnt have the
option to configure for at91sam9263 (or does it ?? i didnt get one though)
Please advise how to proceed.
--
Yamjala Pranav
Electrical Engg
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] Loading Linux Image on AT91SAM9263-EK
2013-05-09 14:02 pranav yamjala
@ 2013-05-09 15:09 ` Bo Shen
0 siblings, 0 replies; 9+ messages in thread
From: Bo Shen @ 2013-05-09 15:09 UTC (permalink / raw)
To: u-boot
Hi Pranav,
On 05/09/2013 10:02 PM, pranav yamjala wrote:
> I am trying to port linux on the same board as mentioned in the subject. I
> want to know how to configure the crosscompiler to build uimage or an image
> of the kernel. I have got the other requirements like at91bootstrap
> boot.bin and u-boot.bin ready configured for the board. I have also found
> root file system and configured it as a jffs2 ext. The kernel i am not able
> to build as i dont know what crosscompiler to use.
For the cross compiler, you can use CodeSourcery toolchain or the
toolchain build from buildroot, you can choose the one you prefer.
Best Regards,
Bo Shen
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2013-05-09 15:09 UTC | newest]
Thread overview: 9+ 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
[not found] <mailman.514.1234387939.8190.u-boot@lists.denx.de>
2009-02-11 22:54 ` [U-Boot] Loading Linux Image on AT91SAM9263-EK Derek Ou
-- strict thread matches above, loose matches on Subject: below --
2013-05-09 14:02 pranav yamjala
2013-05-09 15:09 ` Bo Shen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox