This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
Re: Booting ELF image using redboot
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Subodh Nijsure <nijsure dot subodh at gmail dot com>
- Cc: ecos-devel at sourceware dot org
- Date: Fri, 24 Jul 2009 09:15:27 -0600
- Subject: Re: Booting ELF image using redboot
- References: <110c8b2e0907240804l7324ea44k74798fd1950a5f8@mail.gmail.com>
Subodh Nijsure wrote:
> 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.
Try leaving out the '-r' and '-b' options - ELF loading
should not need them.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------