RE: Bootloader

From: Jamey Hicks <jamey.a.t.crl.dec.com>
Date: Thu Aug 03 2000 - 08:12:15 EDT

Robert,

To get the bootldr realigned with where we expect it to be, wrap the
exception jump table (the first 8 instructions) with an appropriate #ifdef
so that they are not compiled into the image. Then do an objcopy of the
aout bootldr to produce a straight binary, and copy the exception table onto
the resulting image with dd or something.

-Jamey

> -----Original Message-----
> From: Robert Swindells [mailto:rjs@fdy2.demon.co.uk]
> Sent: Wednesday, August 02, 2000 7:26 PM
> To: netbsd@handhelds.org
> Subject: [Netbsd] Bootloader
>
>
>
> I think I have got a bit further with getting the bootloader to work.
>
> I tried putting a bootloader built on NetBSD into flash on my Assabet
> board using the JTAG interface. I couldn't get a RAM based image to
> work on top of Angel.
>
> It gets up to the point where boot-sa11x0.s tests whether the code is
> running at the address where it was linked. My build is out by 0x20,
> so it tries to move around the flash image.
>
> I can flash the bootloader from v0.11 but it failed to write the Linux
> kernel to flash. I suspect the Assabet board uses a different flash
> device from the iPaq.
>
> I'll look at it some more on Friday.
>
> Robert
> _______________________________________________
> NetBSD mailing list
> NetBSD@handhelds.org
> http://handhelds.org/mailman/listinfo/netbsd
>
Received on Thu Aug 3 05:10:04 2000

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:46:07 EDT