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

Re: PA-RISC/HPPA netboot lifimage generation



Hello Richard,

* Richard Hirst <rhirst@linuxcare.com> [2004-01-17 20:44]:
| On Sat, Jan 10, 2004 at 07:23:39PM +0100, Thorsten Sauter wrote:
| > * Richard Hirst <rhirst@linuxcare.com> [2004-01-10 17:51]:
| > | The SEGV is in "frontend", looks like a null pointer deref.  I switched
| > | to text frontend, fixed d-i to actually make a lifimage for netboot (I
| > | guess you created yours manually?), and tried again.  I havn't submitted
| > | my change yet.
| > 
| > I have created a new target in boot/arch/linux-hppa caled netboot.lif.
| > But I haven't commited it yet. I'm not sure, that this is the right
| > place.
| 
| I created a 2 line file, build/config/type/netboot-hppa containing
| 
| 
| # FLOPPY_SIZE value is not relevant, but it needs to exist so that palo gets run
| FLOPPY_SIZE=1440
| 
| 
| After that, "make TYPE=netboot" produces a lifimage, from the existing
| $(IMAGE) target in make/arch/linux-hppa.  Output is dest/netboot-image.img
| 
| 
| Thorsten, shall I submit this, or will it interfere with what you are
| doing?

I have done it in the following way:

build/make/arch/linux-hppafimage: $(INITRD)
palo -f /dev/null $(foreach NAME,$(KERNELNAME),-k $(DEST)/$(NAME)) -r $^ \
	-s dest/netboot.lif -c " TERM=linux console=tty initrd=netboot-initrd.gz
	ramdisk_size=8192 root=/dev/rd/0 initrd=0/linuxrc devfs=mount,all rw"

But I guess your solution is better, so please commit your changes.

Bye
Thorsten

Attachment: signature.asc
Description: Digital signature


Reply to: