lkml.org 
[lkml]   [2000]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Loading initrd over serial line
Pavel Machek wrote:
> This patch should load initrd over serial line.

Arrrghhh!!!

Please, consider the following approach instead:
- add sufficient instrumentation to your architecture and boot loader
to load some initrd with your kernel
- make an initrd with, say, rz on it
- use this initrd to construct the initrd you're really going to use
- switch over to the new initrd using pivot_root

Advantages:
- no kernel hack needed
- you can use a real protocol, with error detection, sliding windows,
etc., e.g. Kermit or Zmodem
- you can also use a different destination than initrd, e.g. ramfs
may be more desirable

- Werner

--
_________________________________________________________________________
/ Werner Almesberger, ICA, EPFL, CH werner.almesberger@ica.epfl.ch /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/

-
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.498 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site