Re: Loading initrd over serial line

From: David Woodhouse (dwmw2@infradead.org)
Date: Wed Aug 09 2000 - 03:45:47 EST


pavel@suse.cz said:
> This patch should load initrd over serial line. On r38xx it works for
> me, but kernel crashes after that and I do not know who to blame. It
> needs some ifdefs and it needs making some functions public...

> You'll need program that looks for 'X' and sends block of data to use
> this.

Cute, if somewhat sick.

It'd be far nicer to use ramfs, though. What I'd like to do is compile a
statically-linked combination of tar(1) and rz(1), which will untar the
tarball it receives into a fresh ramfs.

Q: If you don't have initrd, where do you put this binary?

A: In the kernel. Provide it with a set of pages which are to be put into
the user-space side of process #1, rather then exec'ing /sbin/init.

Also cute, and definitely sicker :)

--
dwmw2

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:18 EST