From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14218 invoked by alias); 24 Jul 2009 15:04:34 -0000 Received: (qmail 14210 invoked by uid 22791); 24 Jul 2009 15:04:34 -0000 X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_24,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from rv-out-0708.google.com (HELO rv-out-0708.google.com) (209.85.198.247) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 24 Jul 2009 15:04:27 +0000 Received: by rv-out-0708.google.com with SMTP id b17so453053rvf.48 for ; Fri, 24 Jul 2009 08:04:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.139.2 with SMTP id m2mr2464410rvd.187.1248447864848; Fri, 24 Jul 2009 08:04:24 -0700 (PDT) Date: Fri, 24 Jul 2009 15:04:00 -0000 Message-ID: <110c8b2e0907240804l7324ea44k74798fd1950a5f8@mail.gmail.com> Subject: Booting ELF image using redboot From: Subodh Nijsure To: ecos-devel@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2009-07/txt/msg00013.txt.bz2 I am new to using redboot and I need some help. This is x86 platform. On this platform I can boot the bzImage but not the ELF format linux image. Example if I have following boot script my board boots fine. load -v -r -m disk -b 0x200000 hda2:bzImage exec -b 0x200000 -l 0x300000 -c "console=ttyS0,115200 ip=dhcp root=/dev/nfs (some env specific stuff) " However I can not get redboot to load the ELF image I see message ( Bootsector magic not found (0x8954 @ 0x002001fe) (Not this vmlinux was produced by build process that created bzImage that works) load -v -r -m disk -b 0x200000 hda2:vmlinux exec -b 0x200000 -l 0x300000 -c "console=ttyS0,115200 ip=dhcp root=/dev/nfs (some env specific stuff) " Bootsector magic not found (0x8954 @ 0x002001fe) Reason I am trying to boot ELF image is I am trying to use wraplinux utility to wrap kernel and initrd, wraplinux produce Would appreciate any pointers as to what parameters I need to fix for load/exec when loading ELF file. /Subodh