Re: Loading initrd over serial line

From: almesber@lrc.di.epfl.ch
Date: Mon Aug 14 2000 - 06:06:41 EST


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/



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