Subject: Re: New sparc64 netboot image available



On Mon, 2017-04-03 at 23:43 +0200, John Paul Adrian Glaubitz wrote:
> On 04/03/2017 11:38 PM, Aaro Koskinen wrote:
> > The image that is loaded by "boot net" is the boot.img file, and
> > the
> > kernel there is uncompressed.
>
> Hmm, then something must be decompressing the kernel image then. When
> d-i is building the cdrom and netboot images, it installs the kernel
> image from the kernel-image-$VERSION.udeb and that one contains a
> compressed kernel.
>
> Will look into that later, maybe we don't really need it. I'm testing
> the other patch first that Frans suggested.

If kernel size still >10 Mb, from tftpboot.sh, add sparc* ;-).

case "$arch" in
    arm* | i386 | mips | mipsel)
cp $kernel $tftpimage.tmp
;;
    *)
echo "uncompressing kernel"
gzip -cd $kernel > $tftpimage.tmp
;;
esac

But please be sure, and check first, are elftoaout & piggyback64 really
able handling such an compressed kernel?

https://sources.debian.net/src/sparc-utils/1.9-4/

Thanks,


Frans van Berckel

...



Programming list archiving by: Enterprise Git Hosting