[oe-commits] org.oe.dev compulab-pxa270 2.6.22: add kernel cmdline for jffs2 rootfs

cbrake commit openembedded-commits at lists.openembedded.org
Wed Sep 26 22:06:23 UTC 2007


compulab-pxa270 2.6.22: add kernel cmdline for jffs2 rootfs
note, this still works with the initramfs as well as the 
initramfs will always be mounted if present

Author: cbrake at openembedded.org
Branch: org.openembedded.dev
Revision: d7d3b38b67a8d342bd29e546556fc4cc0b2476f8
ViewMTN: http://monotone.openembedded.org/revision/info/d7d3b38b67a8d342bd29e546556fc4cc0b2476f8
Files:
1
conf/machine/compulab-pxa270.conf
packages/linux/compulab-pxa270-2.6.22/defconfig
packages/linux/compulab-pxa270_2.6.22.bb
Diffs:

#
# mt diff -r8915c66257098f0ab7ea6664fbdff0a6045c0cfb -rd7d3b38b67a8d342bd29e546556fc4cc0b2476f8
#
# 
# 
# patch "conf/machine/compulab-pxa270.conf"
#  from [d0b2bdcee6336807789b64884c493d4acaa001b9]
#    to [030387a4a7a870fe4a02783a30be65b1b9752695]
# 
# patch "packages/linux/compulab-pxa270-2.6.22/defconfig"
#  from [037354620ee5de504af2f39ec87ae79ad9fa9ed2]
#    to [d155fb708abb99c0c5650a59a1ab6918302581a6]
# 
# patch "packages/linux/compulab-pxa270_2.6.22.bb"
#  from [8f823d59a8117e729491647c974718decdea1d69]
#    to [972387e153cfc5285e3c718e97c02bad8279ecb7]
# 
============================================================
--- conf/machine/compulab-pxa270.conf	d0b2bdcee6336807789b64884c493d4acaa001b9
+++ conf/machine/compulab-pxa270.conf	030387a4a7a870fe4a02783a30be65b1b9752695
@@ -52,5 +52,8 @@ MACHINE_FEATURES = "kernel26 pcmcia usbh
 # now, when you build the image, a cpio.gz will be generated
 # that can be used as an initramfs.  You can boot into this image and then
 # program the main rootfs jffs2 image in NAND flash using mtd-utils
+# you can select booting the initramfs, or the main nand rootfs by using
+# the "ramdisk on", or "ramdisk off" commands in the bootloader
+#
 
 
============================================================
--- packages/linux/compulab-pxa270-2.6.22/defconfig	037354620ee5de504af2f39ec87ae79ad9fa9ed2
+++ packages/linux/compulab-pxa270-2.6.22/defconfig	d155fb708abb99c0c5650a59a1ab6918302581a6
@@ -220,7 +220,7 @@ CONFIG_ZBOOT_ROM_BSS=0x0
 #
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
-CONFIG_CMDLINE="console=ttyS1,38400 monitor=8 bpp=16 mem=64M mtdparts=physmap-flash.0:256k(boot)ro,0x180000(kernel),-(root);cm-x270-nand:64m(app),-(data) rdinit=/sbin/init"
+CONFIG_CMDLINE="console=ttyS1,38400 monitor=8 bpp=16 mem=64M mtdparts=physmap-flash.0:256k(boot)ro,0x180000(kernel),-(root);cm-x270-nand:64m(app),-(data) rdinit=/sbin/init root=mtd3 rootfstype=jffs2"
 # CONFIG_XIP_KERNEL is not set
 # CONFIG_KEXEC is not set
 
============================================================
--- packages/linux/compulab-pxa270_2.6.22.bb	8f823d59a8117e729491647c974718decdea1d69
+++ packages/linux/compulab-pxa270_2.6.22.bb	972387e153cfc5285e3c718e97c02bad8279ecb7
@@ -30,7 +30,7 @@ COMPATIBLE_MACHINE = "compulab-pxa270"
 COMPATIBLE_HOST = 'arm.*-linux'
 COMPATIBLE_MACHINE = "compulab-pxa270"
 
-CMDLINE = "console=${CMX270_CONSOLE_SERIAL_PORT},38400 monitor=8 bpp=16 mem=64M mtdparts=physmap-flash.0:256k(boot)ro,0x180000(kernel),-(root);cm-x270-nand:64m(app),-(data) rdinit=/sbin/init"
+CMDLINE = "console=${CMX270_CONSOLE_SERIAL_PORT},38400 monitor=8 bpp=16 mem=64M mtdparts=physmap-flash.0:256k(boot)ro,0x180000(kernel),-(root);cm-x270-nand:64m(app),-(data) rdinit=/sbin/init root=mtd3 rootfstype=jffs2"
 
 inherit kernel
 inherit package






More information about the Openembedded-commits mailing list