Re: [OpenWrt-Devel] initramfs support

2012-04-07 Thread michael-dev
Hi, Am 06.04.2012 10:16, schrieb Florian Fainelli: You are supposed to set the kernel command-line to contain init=/etc/preinit for initramfs to work. I tried init=/bin/sh as well as init=/sbin/init and it failed with PANIC: cannot mount root device. Though, looking through the code of linux

Re: [OpenWrt-Devel] initramfs support

2012-04-06 Thread Florian Fainelli
Hi, Le 04/05/12 21:46, michael-dev a écrit : Hi, enabling the cpio target (e.g. initramfs not embedded within the elf image, required for example by p1020wlan tftp boot due to u-boot memory constraints), the archive is lacking /init . This results in the kernel panicking because rootfs cannot b

[OpenWrt-Devel] initramfs support

2012-04-05 Thread michael-dev
Hi, enabling the cpio target (e.g. initramfs not embedded within the elf image, required for example by p1020wlan tftp boot due to u-boot memory constraints), the archive is lacking /init . This results in the kernel panicking because rootfs cannot be mounted. However, I see /init in the stag