This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: redboot booting linux on i386 pc ..
- From: Srinivasa R Kanduru <skanduru at gmail dot com>
- To: Srinivasa R Kanduru <skanduru at gmail dot com>, ecos-discuss at sources dot redhat dot com
- Date: Thu, 20 Jan 2005 10:40:27 -0800
- Subject: Re: [ECOS] redboot booting linux on i386 pc ..
- References: <8871d74a05011918025da91037@mail.gmail.com> <20050120082307.GF14079@lunn.ch>
- Reply-to: Srinivasa R Kanduru <skanduru at gmail dot com>
I couldn't find 'exec' for i386, but there is an equivalent command
'linux' patched by Ian
in last quarter, but for some reason not seen in the latest sources.
The link to the patch is:
http://sources.redhat.com/ml/ecos-patches/2004-10/msg00124.html
The file redboot_linux_exec.c needs the header file
<pkgconf/hal_i386_pc.h> otherwise it won't compile. With this change
it works like a charm and I was able to boot bzImage.
In my case it was a bad serial cable which caused it not to work.
But there are still problems with serial console. The pc screen is
selected as the default console. If I switch to channel 0 (ttyS0) to
which I connected it only prints whatever is in the buffer if I had
keyed in earlier and freezes.
Moreover the gdb session that I had thru' ethernet did not work
non-intrusively. I had to quit the gdb session to connect to redboot.
Is there something I am missing ?
Thanks !!
On Thu, 20 Jan 2005 09:23:07 +0100, Andrew Lunn <andrew@lunn.ch> wrote:
> On Wed, Jan 19, 2005 at 06:02:47PM -0800, Srinivasa R Kanduru wrote:
> > Hi,
> >
> > I am new to eCos and have been playing around with ecos/redboot to
> > boot vmlinux off the net. Redboot boots up fine and the networking is
> > configured. I can load vmlinux using tftp protocol. The output on the
> > monitor shows up like this:
> >
> > RAM: 0x100000-0x040ffc00, [0x0018efd0-0x01000000] available
> >
> > I have changed the start address of the kernel to be at 2 MB so as not
> > to crash redboot. After loading the kernel it prints ..
> >
> > Entry point 0xc0205000, address range : 0xc0200000-0xc03bdec0
> >
> > Now if I do 'go 0xc0205000', it gives an error message
>
> It is always a good idea to read the manual.
>
> http://ecos.sourceware.org/docs-latest/redboot/exec-command.html
>
> Andrew
>
--
Regards,
Srinivasa Kanduru
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss