From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11988 invoked by alias); 5 Sep 2006 13:51:08 -0000 Received: (qmail 11980 invoked by uid 22791); 5 Sep 2006 13:51:08 -0000 X-Spam-Check-By: sourceware.org Received: from ug-out-1314.google.com (HELO ug-out-1314.google.com) (66.249.92.174) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 05 Sep 2006 13:51:01 +0000 Received: by ug-out-1314.google.com with SMTP id o2so1937925uge for ; Tue, 05 Sep 2006 06:50:59 -0700 (PDT) Received: by 10.66.219.11 with SMTP id r11mr3623199ugg; Tue, 05 Sep 2006 06:50:59 -0700 (PDT) Received: by 10.67.101.20 with HTTP; Tue, 5 Sep 2006 06:50:58 -0700 (PDT) Message-ID: <8ffb26ff0609050650s4798f7dbo1be1eb9eb7b11573@mail.gmail.com> Date: Tue, 05 Sep 2006 13:51:00 -0000 From: "Amitesh Singh" To: "Claudio Scordino" Cc: ecos-discuss@sources.redhat.com In-Reply-To: <200609051509.40563.cloud.of.andor@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200609041234.38050.cloud.of.andor@gmail.com> <8ffb26ff0609040414q4390bd23w403dedfbda8e5fa2@mail.gmail.com> <200609051509.40563.cloud.of.andor@gmail.com> X-IsSubscribed: yes 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/msg00023.txt.bz2 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. 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