public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Loading Linux Image on AT91SAM9263-EK
  2009-01-24 20:38 [U-Boot] u-boot for ARM Pink Boy
@ 2009-02-11 19:33 ` Amandeep Bhullar
  0 siblings, 0 replies; 4+ 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] 4+ 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; 4+ 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] 4+ 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; 4+ 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] 4+ messages in thread

* [U-Boot] Loading Linux Image on AT91SAM9263-EK
  2013-05-09 14:02 [U-Boot] Loading Linux Image on AT91SAM9263-EK pranav yamjala
@ 2013-05-09 15:09 ` Bo Shen
  0 siblings, 0 replies; 4+ 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] 4+ messages in thread

end of thread, other threads:[~2013-05-09 15:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-09 14:02 [U-Boot] Loading Linux Image on AT91SAM9263-EK pranav yamjala
2013-05-09 15:09 ` Bo Shen
     [not found] <mailman.514.1234387939.8190.u-boot@lists.denx.de>
2009-02-11 22:54 ` Derek Ou
  -- strict thread matches above, loose matches on Subject: below --
2009-01-24 20:38 [U-Boot] u-boot for ARM Pink Boy
2009-02-11 19:33 ` [U-Boot] Loading Linux Image on AT91SAM9263-EK Amandeep Bhullar

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