kernel2.6.14 で CONFIG_EMBEDDED_RAMDISK

どうもメニューに出てこないと思ったら、Kconfigに入ってないよ。

# vi /usr/src/linux/arch/sh/Kconfig
以下追記。
menu "SH initrd options"
depends on BLK_DEV_INITRD

config EMBEDDED_RAMDISK
bool "Embed root filesystem ramdisk into the kernel"

config EMBEDDED_RAMDISK_IMAGE
string "Filename of gziped ramdisk image"
depends on EMBEDDED_RAMDISK
default "ramdisk.gz"
help
This is the filename of the ramdisk image to be built into the
kernel. Relative pathnames are relative to arch/mips/ramdisk/.
The ramdisk image is not part of the kernel distribution; you must
provide one yourself.

endmenu

出てきた。

# make menuconfig
SH initrd options --->
  [*] Embed root filesystem ramdisk into the kernel
  (ramdisk.gz) Filename of gziped ramdisk image

作ったconfigにも入っている。

# grep RAMDISK .config
CONFIG_EMBEDDED_RAMDISK=y
CONFIG_EMBEDDED_RAMDISK_IMAGE="ramdisk.gz"

入ってないのは、SHではなんか問題があるからなのかな???