ipaq-boot-params: h3600: use ttySA0 as default param
PATCH 1/3 ipaq-boot-params: h3600: use ttySA0 as default param
These machines use ttySA0,115200n8 (SA1100).
Signed-off-by Linus Walleij <[email protected]>
Signed-off-by Andrea Adami <[email protected]>
--- recipes-bsp/ipaq-boot-params/files/h3600/params | 1 + 1 file changed, 1 insertion(+) create mode 100644 recipes-bsp/ipaq-boot-params/files/h3600/params
recipes-bsp/ipaq-boot-params/files/h3600/params new file +1 -0
@@ -0,0 +1 @@ +set linuxargs "root=mtd1 noinitrd console=ttySA0,115200n8 console=tty0"
Signature · 1 line
1.8.1.5
PATCH 2/3 h3600.conf: update machine configuration
Signed-off-by Linus Walleij <[email protected]>
Signed-off-by Andrea Adami <[email protected]>
--- conf/machine/h3600.conf | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-)
conf/machine/h3600.conf +19 -11
@@ -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"
Signature · 1 line
1.8.1.5
PATCH 3/3 linux-yocto_3.10: initial commit of h3600 defconfig
In reply to Andrea AdamiSigned-off-by Linus Walleij <[email protected]>
Signed-off-by Andrea Adami <[email protected]>
--- .../linux/linux-yocto-3.10/h3600/defconfig | 72 ++++++++++++++++++++++ recipes-kernel/linux/linux-yocto-handhelds.inc | 6 ++ recipes-kernel/linux/linux-yocto_3.10.bbappend | 3 +- 3 files changed, 80 insertions(+), 1 deletion(-) create mode 100644 recipes-kernel/linux/linux-yocto-3.10/h3600/defconfig
recipes-kernel/linux/linux-yocto-3.10/h3600/defconfig new file +72 -0
@@ -0,0 +1,72 @@ +CONFIG_SYSVIPC=y +CONFIG_NO_HZ_IDLE=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_LOG_BUF_SHIFT=14 +CONFIG_BLK_DEV_INITRD=y +CONFIG_MODULES=y +# CONFIG_LBDAF is not set +# CONFIG_BLK_DEV_BSG is not set +# CONFIG_IOSCHED_DEADLINE is not set +# CONFIG_IOSCHED_CFQ is not set +CONFIG_ARCH_SA1100=y +CONFIG_SA1100_H3600=y +CONFIG_PCCARD=y +CONFIG_PCMCIA_SA1100=y +CONFIG_PREEMPT=y +CONFIG_ZBOOT_ROM_TEXT=0x0 +CONFIG_ZBOOT_ROM_BSS=0x0 +# CONFIG_CPU_FREQ_STAT is not set +CONFIG_FPE_NWFPE=y +CONFIG_NET=y +CONFIG_UNIX=y +CONFIG_INET=y +# CONFIG_IPV6 is not set +CONFIG_IRDA=m +CONFIG_IRLAN=m +CONFIG_IRNET=m +CONFIG_IRCOMM=m +# CONFIG_WIRELESS is not set +CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" +CONFIG_MTD=y +CONFIG_MTD_REDBOOT_PARTS=y +CONFIG_MTD_BLOCK=y +CONFIG_MTD_CFI=y +CONFIG_MTD_CFI_ADV_OPTIONS=y +CONFIG_MTD_CFI_GEOMETRY=y +# CONFIG_MTD_CFI_I1 is not set +CONFIG_MTD_CFI_INTELEXT=y +CONFIG_MTD_SA1100=y +CONFIG_BLK_DEV_LOOP=m +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_SIZE=8192 +CONFIG_IDE=y +CONFIG_BLK_DEV_IDECS=y +CONFIG_NETDEVICES=y +CONFIG_PCMCIA_PCNET=y +CONFIG_PPP=m +CONFIG_PPP_BSDCOMP=m +CONFIG_PPP_DEFLATE=m +CONFIG_PPP_ASYNC=m +# CONFIG_WLAN is not set +# CONFIG_KEYBOARD_ATKBD is not set +CONFIG_KEYBOARD_GPIO=y +# CONFIG_INPUT_MOUSE is not set +# CONFIG_SERIO is not set +CONFIG_SERIAL_SA1100=y +CONFIG_SERIAL_SA1100_CONSOLE=y +# CONFIG_HW_RANDOM is not set +# CONFIG_HWMON is not set +CONFIG_FB=y +CONFIG_FB_SA1100=y +# CONFIG_USB_SUPPORT is not set +CONFIG_EXT2_FS=y +CONFIG_MSDOS_FS=m +CONFIG_VFAT_FS=m +CONFIG_JFFS2_FS=y +CONFIG_JFFS2_SUMMARY=y +CONFIG_JFFS2_COMPRESSION_OPTIONS=y +CONFIG_JFFS2_LZO=y +CONFIG_CRAMFS=m +CONFIG_NFS_FS=y +CONFIG_NFSD=m +CONFIG_NLS=y
recipes-kernel/linux/linux-yocto-handhelds.inc +6 -0
@@ -1,6 +1,7 @@ KMACHINE_akita = "akita" KMACHINE_c7x0 = "c7x0" KMACHINE_collie = "collie" +KMACHINE_h3600 = "h3600" KMACHINE_poodle = "poodle" KMACHINE_spitz = "spitz" KMACHINE_tosa = "tosa"
@@ -20,6 +21,11 @@ SRC_URI_append_collie = " \ file://qvga/logo_linux_clut224.ppm.bz2 \ " +SRC_URI_append_h3600 = " \ + file://defconfig \ + file://qvga/logo_linux_clut224.ppm.bz2 \ + " + SRC_URI_append_poodle = " \ file://feature-top.scc \ file://qvga/logo_linux_clut224.ppm.bz2 \
recipes-kernel/linux/linux-yocto_3.10.bbappend +2 -1
@@ -1,6 +1,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-3.10:${THISDIR}/${PN}:${THISDIR}/files:" -COMPATIBLE_MACHINE .= "|akita|c7x0|collie|poodle|spitz|tosa" +COMPATIBLE_MACHINE .= "|akita|c7x0|collie|h3600|poodle|spitz|tosa" # Override kernel features #KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
@@ -8,6 +8,7 @@ COMPATIBLE_MACHINE .= "|akita|c7x0|collie|poodle|spitz|tosa" KERNEL_EXTRA_FEATURES_akita ?= "" KERNEL_EXTRA_FEATURES_c7x0 ?= "" KERNEL_EXTRA_FEATURES_collie ?= "" +KERNEL_EXTRA_FEATURES_h3600 ?= "" KERNEL_EXTRA_FEATURES_poodle ?= "" KERNEL_EXTRA_FEATURES_spitz ?= "" KERNEL_EXTRA_FEATURES_tosa ?= ""
Signature · 1 line
1.8.1.5
Quoted 15 lines · On Wednesday 09 October 2013 01:40:51 Andrea Adami wrote:
These machines use ttySA0,115200n8 (SA1100).
Signed-off-by Linus Walleij <[email protected]>Signed-off-by Andrea Adami <[email protected]>--- recipes-bsp/ipaq-boot-params/files/h3600/params | 1 + 1 file changed, 1 insertion(+) create mode 100644 recipes-bsp/ipaq-boot-params/files/h3600/params(quoted diff) +0
-0b/recipes-bsp/ipaq-boot-params/files/h3600/params new file mode 100644 index 0000000..edb83ac
recipes-bsp/ipaq-boot-params/files/h3600/params line 1
Quoted 1 line
recipes-bsp/ipaq-boot-params/files/h3600/params new file +1
-0@@ -0,0 +1 @@ +set linuxargs "root=mtd1 noinitrd console=ttySA0,115200n8 console=tty0"
These three patches and the other one they depended on have been merged. Hope to get a moment to try this stuff out on my h3600 soon.
Thanks!
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre