Kexec - Not working - Please help

HackCandy hackhell.candy at gmail.com
Thu Jan 29 18:26:14 CET 2009


Hi Werner,

--------------------- 
kexec -l --command-line="`cat /proc/cmdline`" zImage
kexec -e 
---------------------
The above commands work fine. That is, booting a different kernel
& the same Root File System (from where you execute kexec) works well. 

But when I try to use the RFS from SD card and executing the
kexec command (I m running kexec from RFS present in NAND flash)
using the following: Kernel panics saying

Unable to mount rootfs on unknown block(179,1)

--------------------- 
root at om-gta02:~# kexec -l --command-line="rootfstype=jffs2
root=/dev/mmcblk0p1 c
onsole=ttySAC2,115200 console=tty0 loglevel=4 regular_boot
mtdparts=physmap-flas
h:-(nor);neo1973-nand:0x00040000(u-boot),0x00040000(u-boot_env),0x00800000(kerne
l),0x000a0000(splash),0x00040000(factory),0x0f6a0000(rootfs)" zImage 
root at om-gta02:~# kexec -e  ==== Kernel Panics
--------------------- 

Please help.

-HHC.


Werner Almesberger wrote:
> 
> HackCandy wrote:
>> kexec -l zImage -append="root=/dev/mmcblk0p1" <==== Hangs here
> 
> It hangs ? That's odd.
> 
> This works for me:
> 
> kexec -l --command-line="`cat /proc/cmdline`" zImage
> kexec -e 
> 
> - Werner
> 
> _______________________________________________
> devel mailing list
> devel at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/devel
> 
> 

-- 
View this message in context: http://n2.nabble.com/Kexec---Not-working---Please-help-tp2233929p2240166.html
Sent from the Openmoko Devel mailing list archive at Nabble.com.




More information about the devel mailing list