public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
From: Subodh Nijsure <nijsure.subodh@gmail.com>
To: ecos-devel@sourceware.org
Subject: Booting ELF image using redboot
Date: Fri, 24 Jul 2009 15:04:00 -0000	[thread overview]
Message-ID: <110c8b2e0907240804l7324ea44k74798fd1950a5f8@mail.gmail.com> (raw)

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

             reply	other threads:[~2009-07-24 15:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-24 15:04 Subodh Nijsure [this message]
2009-07-24 15:15 ` Gary Thomas
2009-07-24 16:30   ` Subodh Nijsure
2009-07-26 16:33     ` Weqaar Janjua
2009-07-27 15:20       ` Subodh Nijsure
2009-07-27 18:17         ` Gary Thomas
2009-07-27 22:55           ` Weqaar Janjua

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=110c8b2e0907240804l7324ea44k74798fd1950a5f8@mail.gmail.com \
    --to=nijsure.subodh@gmail.com \
    --cc=ecos-devel@sourceware.org \
    /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).