From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15211 invoked by alias); 5 Sep 2006 13:58:27 -0000 Received: (qmail 15202 invoked by uid 22791); 5 Sep 2006 13:58:26 -0000 X-Spam-Check-By: sourceware.org Received: from ms01.sssup.it (HELO sssup.it) (193.205.80.99) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 05 Sep 2006 13:58:24 +0000 Received: from [193.205.82.7] (HELO gandalf.sssup.it) by sssup.it (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 24065169; Tue, 05 Sep 2006 15:51:33 +0200 Received: from dhcp200.retis (dhcp200.retis [10.30.3.200]) by gandalf.sssup.it (8.12.10/8.12.10) with ESMTP id k85DrTuO029998; Tue, 5 Sep 2006 15:53:29 +0200 From: Claudio Scordino To: "Amitesh Singh" Date: Tue, 05 Sep 2006 13:58:00 -0000 User-Agent: KMail/1.8 Cc: ecos-discuss@sources.redhat.com References: <200609041234.38050.cloud.of.andor@gmail.com> <200609051509.40563.cloud.of.andor@gmail.com> <8ffb26ff0609050650s4798f7dbo1be1eb9eb7b11573@mail.gmail.com> In-Reply-To: <8ffb26ff0609050650s4798f7dbo1be1eb9eb7b11573@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609051558.19997.cloud.of.andor@gmail.com> Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Re: unable to execute linux kernel with Redboot X-SW-Source: 2006-09/txt/msg00024.txt.bz2 On Tuesday 05 September 2006 15:50, Amitesh Singh wrote: > On 9/5/06, Claudio Scordino 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. It worked !! (I never tried both the options at the same time). Your help was really precious. Many thanks, Claudio -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss