Messages in this thread | | | Date | Tue, 25 Feb 2003 21:24:57 +0000 | From | Russell King <> | Subject | Re: zImage now holds vmlinux, System.map and config in sections. (fwd) |
| |
On Tue, Feb 25, 2003 at 12:00:14PM -0800, H. Peter Anvin wrote: > Followup to: <20030225092520.A9257@flint.arm.linux.org.uk> > By author: Russell King <rmk@arm.linux.org.uk> > In newsgroup: linux.dev.kernel > > > > On Tue, Feb 25, 2003 at 07:28:46AM +0100, Mikael Starvik wrote: > > > >I don't know linker scripts very well. > > > >Can this be done for all architectures? > > > >I'd like to see a solution that is arch-independent. > > > > > > In embedded systems it is probably not desirable to keep > > > System.map and config in zImage (takes too much valuable space). > > > > Agreed - zImage is already around 1MB on many ARM machines, and since > > loading zImage over a serial port using xmodem takes long enough > > already, this is one silly feature I'll definitely keep out of the > > ARM tree. > > > > Isn't that what "strip" is for?
zImage on ARM is a binary blob without any formatting. The first instruction to be executed is at the start of the file. Perfect for loading directly into flash or RAM via whatever boot loader or debugger you choose.
-- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |