From 386e2cf361e6a6f78c2cc9acf7f545f0ff147c1d Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Tue, 25 Sep 2007 23:56:38 +0000 Subject: linux-handhelds-2.6: Generate sample HaRET boot script just like reflash.ctl. --- packages/linux/linux-handhelds-2.6.inc | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'packages/linux/linux-handhelds-2.6.inc') diff --git a/packages/linux/linux-handhelds-2.6.inc b/packages/linux/linux-handhelds-2.6.inc index b2a71a84be..47c32a4a24 100644 --- a/packages/linux/linux-handhelds-2.6.inc +++ b/packages/linux/linux-handhelds-2.6.inc @@ -60,8 +60,42 @@ do_deploy() { # format: # name file md5sumfile destination echo "${MACHINE}-kernel-${DATETIME} ${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME} - kernel" >> ${DEPLOY_DIR_IMAGE}/reflash.ctl + gen_haret_startup } do_deploy[dirs] = "${S}" addtask deploy before do_package after do_install + + +gen_haret_startup() { + cat >${DEPLOY_DIR_IMAGE}/startup.txt <.rootfs.cpio.gz" +#set cmdline "rdinit=/sbin/init console=ttyS0,115200n8 console=tty0" + +## Choice 4 - Boot via NFS over USB networking (must be kernel-builtin) +# 192.168.x.x - Server address (the other side) +# 192.168.x.x - Handheld's address +#set cmdline "root=/dev/nfs nfsroot=192.168.x.x: ip=192.168.y.y:192.168.x.x:192.168.x.x:255.255.255.0:pda:usb0 console=ttyS0,115200n8 console=tty0" + +bootlinux +EOF +} -- cgit v1.2.3