In message <[EMAIL PROTECTED]>
Russell King - ARM Linux Admin <[EMAIL PROTECTED]> wrote:
> Timothy Baldwin writes:
[snip]
> > linux/arch/arm/boot/compressed/vmlinux
>
> Ok, if you do an arm-linux-nm on this, find the address of the
> following symbols, eg:
>
> 10008000 T _start
> 10013420 D input_data
>
> Find the offset between input_data and _start, ie 0x10013420 - 0x10008000
> = 0xb420
>
> Then, use dd to extract the gzipped data from the zImage, eg:
>
> dd if=zImage of=zImg.gz bs=1 skip=46112
>
> Using gunzip, gunzip the resulting zImg.gz file. If the gunzip is
> successful, the zImage file contains a valid gzip, else it doesn't.
>
> Try this both with -Ttext and without, however I believe that you
> will find in all cases a valid gzip file in there.
You believe correctly. Further investigation shows that IscaFS was
incorrectly reading files written by binutils (but not cp). It seems
my confidence in IscaFS was misplaced, I will be submitting a bug
report.
I recitified this by copying the kernel to RISC OS via a MS-DOS formmated
floppy, however I now get a crc error when trying to boot a compressed
kernel.
BTW, the machine in question is 20M DRAM + 1M VRAM Risc PC with RISC OS 3.7
and an ARM610 processor.
[snip]
--
http://www.reinhouse.freeserve.co.uk/
PGP key fingerprint = D6 FA 76 1D 68 F6 7B 96 F4 BC F2 62 D2 02 62 8E
Read the uk newsgroups? Then read uk.net.news.announce
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]