Add maemo-kexec helper scripts for booting maemo from openwrt on the Nokia n810.
[packages.git] / utils / maemo-kexec / files / sbin / boot-maemo
diff --git a/utils/maemo-kexec/files/sbin/boot-maemo b/utils/maemo-kexec/files/sbin/boot-maemo
new file mode 100755 (executable)
index 0000000..6bcd8b1
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -e
+/usr/sbin/kexec --load /boot/maemo.zImage --append "root=1f03 rootfstype=jffs2 ro console=tty0 console=ttyMTD5"
+/usr/sbin/kexec --exec