From: "Amitesh Singh" <singh.amitesh@gmail.com>
To: "Claudio Scordino" <cloud.of.andor@gmail.com>
Cc: ecos-discuss@sources.redhat.com
Subject: [ECOS] Re: unable to execute linux kernel with Redboot
Date: Tue, 05 Sep 2006 13:51:00 -0000 [thread overview]
Message-ID: <8ffb26ff0609050650s4798f7dbo1be1eb9eb7b11573@mail.gmail.com> (raw)
In-Reply-To: <200609051509.40563.cloud.of.andor@gmail.com>
On 9/5/06, Claudio Scordino <cloud.of.andor@gmail.com> wrote:
> On Monday 04 September 2006 13:14, Amitesh Singh wrote:
> > Hi
> > I am assuming that ur RootFS lives in RAM.
> > RedBoot>load -r -v -b 0x01600000
> > RedBot> load -r -v -b 0x00800000 ramdisk.gz
> > RedBoot> exec -b 0x01600000 -l 0x10000 -c "console=ttyS0,115200
> > root=/dev/ram0 initrd=0x00800000,8M mem=32M@0x00000000"
> >
> > Note: 8M is ur RamDisk size and 32M is ur SD RAM size.
> >
> > Let me know if it works.
>
>
> It worked and I was able to succcesfully run a big-endian kernel :) Many
> thanks.
>
> I also tried to execute a little-endian kernel on the target, using the
> "-x" option of the exec command, but it didn't work.
>
> Many thanks,
>
> Claudio
>
>
Hi,
Cool,its good to know that it worked for Big-endian kernel. :)
For little endian kernel.
use Swab to byteswap the image before executing the kernel.
1)load the kernel
2)byteswap the kernel using swab command
3)execute it using exec command with -x switch.
It should work.
Good Luck
Amitesh
http://www.amitesh.info
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next prev parent reply other threads:[~2006-09-05 13:51 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-04 10:34 [ECOS] " Claudio Scordino
2006-09-04 11:14 ` [ECOS] " Amitesh Singh
[not found] ` <200609051509.40563.cloud.of.andor@gmail.com>
2006-09-05 13:51 ` Amitesh Singh [this message]
2006-09-05 13:58 ` Claudio Scordino
2006-09-06 6:58 ` [ECOS] little mistake in redboot.cdl? Wang Cui
2006-09-07 5:42 ` [ECOS] How to build a executed-in-flash application? Wang Cui
2006-09-07 7:38 ` Andrew Lunn
2006-09-07 9:35 ` wang cui
2006-09-07 9:43 ` Andrew Lunn
2006-09-08 2:53 ` wang cui
2006-09-07 13:38 ` Bart Veer
2006-09-08 1:22 ` wang cui
2006-09-04 15:08 ` [ECOS] Re: Re: unable to execute linux kernel with Redboot Mark Salter
2006-09-05 0:53 ` [ECOS] Multiple code images in flash Laurie Gellatly
2006-09-05 7:37 ` Bart Veer
2006-09-05 8:48 ` Ilija Koco
2006-09-05 9:31 ` Bart Veer
2006-09-05 11:25 ` Laurie Gellatly
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=8ffb26ff0609050650s4798f7dbo1be1eb9eb7b11573@mail.gmail.com \
--to=singh.amitesh@gmail.com \
--cc=cloud.of.andor@gmail.com \
--cc=ecos-discuss@sources.redhat.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).