public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Amandeep Bhullar <abhullar@techlinkentertainment.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Loading Linux Image on AT91SAM9263-EK
Date: Wed, 11 Feb 2009 15:33:19 -0400	[thread overview]
Message-ID: <499327FF.5010802@techlinkentertainment.com> (raw)
In-Reply-To: <78599.75604.qm@web31809.mail.mud.yahoo.com>

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.

  reply	other threads:[~2009-02-11 19:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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   ` Amandeep Bhullar [this message]
2009-01-25  9:06 ` 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=499327FF.5010802@techlinkentertainment.com \
    --to=abhullar@techlinkentertainment.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox