From: Paul Sokolovsky Date: Sun, 10 Feb 2008 22:37:29 +0000 (+0000) Subject: linux-handhelds-2.6: Record teh fact that flash booting should be done with root... X-Git-Tag: Release-2010-05/1~7705 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e20762710bc6192195a5a771d4fae5a32339f3b;p=openembedded.git linux-handhelds-2.6: Record teh fact that flash booting should be done with root=mtdN * Per discussion on the list, reminding that root=/dev/mtdblockN form is deprecated (requires mtdblock builtin for the sole purpose of looking up mtd device thru block layer). * Add that to generated sample HaRET config - after all, that's the bootloader with most device coverage, so users of other bootloaders are expected to be familiar with it still. --- diff --git a/packages/linux/linux-handhelds-2.6.inc b/packages/linux/linux-handhelds-2.6.inc index 0db5e93974..81af72e413 100644 --- a/packages/linux/linux-handhelds-2.6.inc +++ b/packages/linux/linux-handhelds-2.6.inc @@ -98,6 +98,11 @@ set cmdline "root=/dev/mmcblk0p2 rootdelay=10 console=ttyS0,115200n8 console=tty # 192.168.y.y - 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" +## Choice 5 - Boot from MTD partition, for devices with lots of flash +# to have both WinCE and Linux there. Note the value of root param, +# that's how it should be, not "/dev/mtdblockN". +# set cmdline "root=mtdN console=ttyS0,115200n8 console=tty0" + bootlinux EOF }