Re: Make ipconfig.c work as a loadable module.

Arnaldo Carvalho de Melo
2003-03-09T04:35:14Z

Em Fri, Mar 07, 2003 at 12:54:36PM +0000, Alan Cox escreveu:
> On Fri, 2003-03-07 at 07:15, Michael Mueller wrote:
> > Hi Alan,
> > Sorry, but I must join Russel here. I have atleast one machine which has
> > a bootloader able to load exactly one file only. There is currently no
> > way to load an initrd. It would need to implement the whole (BOOTP+)TFTP
> > stuff again, just to get the initrd. So I was quite happy linux 2.4
> > still knows about mounting a NFS root filesystem without user-space
> > help.
>
> Just glue the initrd to the kernel. This is not rocket science

arch/sparc/boot/piggyback.c

Simple utility to make a single-image install kernel with initial ramdisk
for Sparc tftpbooting without need to set up nfs.

Copyright (C) 1996 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
Pete Zaitcev <zaitcev@yahoo.com> endian fixes for cross-compiles, 2000.

- Arnaldo