Patchwork [meta-handheld,2/3] h3600.conf: update machine configuration

login
register
mail settings
Submitter Andrea Adami
Date Oct. 8, 2013, 11:40 p.m.
Message ID <1381275653-25949-2-git-send-email-andrea.adami@gmail.com>
Download mbox | patch
Permalink /patch/59531/
State Accepted, archived
Headers show

Comments

Andrea Adami - Oct. 8, 2013, 11:40 p.m.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
 conf/machine/h3600.conf | 30 +++++++++++++++++++-----------
 1 file changed, 19 insertions(+), 11 deletions(-)

Patch

diff --git a/conf/machine/h3600.conf b/conf/machine/h3600.conf
index 5cd1a6c..fea565c 100644
--- a/conf/machine/h3600.conf
+++ b/conf/machine/h3600.conf
@@ -9,29 +9,37 @@  require conf/machine/include/tune-strongarm1100.inc
 
 # h3700, h3800 have 32, but let that be the bonus
 ROOT_FLASH_SIZE = "16"
-# h3630 have 32Mb only
-VOLATILE_STORAGE_SIZE = "64"
+# h3630 have 32Mb only, others should set this to 64
+VOLATILE_STORAGE_SIZE = "32"
 MACHINE_GUI_CLASS = "smallscreen"
 MACHINE_DISPLAY_WIDTH_PIXELS = "240"
 MACHINE_DISPLAY_HEIGHT_PIXELS = "320"
-MACHINE_FEATURES = "kernel26 touchscreen apm alsa irda usbgadget screen vfat"
+MACHINE_FEATURES = "touchscreen apm alsa irda usbgadget screen vfat ext2"
 
 #
 # Software/packages selection
 #
-PREFERRED_PROVIDER_virtual/kernel = "linux"
-PREFERRED_PROVIDER_xserver = "xserver-kdrive"
-PREFERRED_VERSION_udev = "164"
+PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
+KERNEL_IMAGETYPE ?= "zImage"
+# Compression level for 32MB RAM
+XZ_COMPRESSION_LEVEL = "-2e"
 
-IMAGE_FSTYPES = "tar.bz2 jffs2"
+INITRAMFS_FSTYPES ?= "cpio.gz cpio.lzma"
+
+IMAGE_DEVICE_TABLES = ""
+
+IMAGE_FSTYPES = "jffs2"
 MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "kernel ipaq-boot-params"
-MACHINE_EXTRA_RRECOMMENDS = "\
-                             kernel-module-micro"
+MACHINE_EXTRA_RDEPENDS = "mtd-utils mtd-utils-jffs2"
+
+MACHINE_EXTRA_RRECOMMENDS = ""
 
-EXTRA_IMAGECMD_jffs2 = "-e 0x40000 -p ; echo '${IMAGE_NAME}  ${IMAGE_NAME}.rootfs.jffs2 - root' >> ${DEPLOY_DIR_IMAGE}/reflash.ctl"
+ERASEBLOCKSIZE = "0x40000"
+EXTRA_IMAGECMD_jffs2 = "-p -l --eraseblock=${ERASEBLOCKSIZE}"
 
 #
 # Modules autoload and other boot properties
 #
-SERIAL_CONSOLE = "115200 ttySA0 vt100"
+CMDLINE = "console=ttySA0,115200n8 console=tty1 fbcon=rotate:1"
+SERIAL_CONSOLE = "115200 ttySA0"
 USE_VT = "0"