lkml.org 
[lkml]   [2000]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Loading initrd over serial line
Date

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/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.130 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site