[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sparc netboot



(added debian-boot to the cc: list)

Thomas,

Blargh.  My machine won't let me do a netboot for my final test.  Ah
well.  It has problems synchronising with the hub sometimes and I have
to run to meet my wife for dinner.

unifont.bgf is generated based on what's needed.  I don't understand why
they should be that much different - much less why the cdrom one is
*smaller*.

If you want to play with what I've got, apply this patch to tftpboot:

RCS file: /cvsroot/d-i/debian-installer/build/tftpboot.sh,v
retrieving revision 1.8
diff -u -p -r1.8 tftpboot.sh
--- tftpboot.sh 9 Feb 2004 00:38:54 -0000       1.8
+++ tftpboot.sh 13 Feb 2004 23:18:43 -0000
@@ -62,7 +62,7 @@ case "$arch" in
     sparc)
        elftoaout -o $tftpimage $tftpimage.tmp
        case $tftpimage in
-           *sun4u*) piggyback=piggyback64 ;;
+           *sparc64*) piggyback=piggyback64 ;;
            *) piggyback=piggyback ;;
        esac
        # Piggyback appends the ramdisk to the a.out image in-place

And grab http://people.debian.org/~jbailey/config.tgz - I've changed
almost everything in the sparc section.

Particularily:

I'm generating separate tftpboot images for sparc32 and sparc64 using
tftpboot.sh until tilo works properly again.

I've started generating the miniiso bits that ths says are The Way Of
The Future.

The generated image in dest/sparc64/netboot actually will run as well as
anything else has so far.  If you do a:

boot net init=/bin/sh

You can walk around the filesystem and see that it's all there, run
things, etc.

I'll be away from my Sparc all weekend, so hopefully this will help
other people.  I'd like to commit what I have for the config/ tree, but
I want a couple more people to look at it first.

For those who want to play along, my nightly snapshot for Sparc will
include this patch.

Tks,
Jeff Bailey

On Fri, Feb 13, 2004 at 09:01:15PM +0100, Thomas Poindessous wrote:
> Hi,
> 
> about the problem with the "bus error", I think it's coming from the
> file unifont.bgf
> it's the only file which is different between the two initrd.
> 
> I did that :
> 
> mount -o loop initrd-netboot /mnt
> cp -a /mmt/ /tmp/new/
> cp unifont-cdrom.bgf /tmp/new
> genromfs -f initrd.netboot -d /tmp/new/
> 
> and this initrd works !
> 
> I will try to find why, but since I must leave for 3h, I thought you
> would be interessed.
> 
> -- 
> Thomas Poindessous



Reply to: