Wednesday, August 18, 2010

RedBoot exec command options

RedBoot> help exec
Execute an image - with MMU off
exec [-w timeout] [-b [-l ]]
[-r [-s ]]
[-c "kernel command line"] [-t ] []
RedBoot>

So:

exec -w 1 -c "init=/linuxrc root=1f01 rootfstype=jffs2 console=ttymxc0,115200 ro panic=1"

gives:
1 second timeout,
linux cmdline:
init=/linuxrc root=1f01 rootfstype=jffs2 console=ttymxc0,115200 ro panic=1

=> root fs is at FLASH address 0x1F01 ?

No comments: