All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-handheld][PATCH 1/3] ipaq-boot-params: h3600: use ttySA0 as default param
@ 2013-10-08 23:40 Andrea Adami
  2013-10-08 23:40 ` [meta-handheld][PATCH 2/3] h3600.conf: update machine configuration Andrea Adami
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andrea Adami @ 2013-10-08 23:40 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Linus Walleij

These machines use ttySA0,115200n8 (SA1100).

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
 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

diff --git a/recipes-bsp/ipaq-boot-params/files/h3600/params b/recipes-bsp/ipaq-boot-params/files/h3600/params
new file mode 100644
index 0000000..edb83ac
--- /dev/null
+++ b/recipes-bsp/ipaq-boot-params/files/h3600/params
@@ -0,0 +1 @@
+set linuxargs "root=mtd1 noinitrd console=ttySA0,115200n8 console=tty0"
-- 
1.8.1.5



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [meta-handheld][PATCH 2/3] h3600.conf: update machine configuration
  2013-10-08 23:40 [meta-handheld][PATCH 1/3] ipaq-boot-params: h3600: use ttySA0 as default param Andrea Adami
@ 2013-10-08 23:40 ` Andrea Adami
  2013-10-08 23:40 ` [meta-handheld][PATCH 3/3] linux-yocto_3.10: initial commit of h3600 defconfig Andrea Adami
  2013-10-09 17:10 ` [meta-handheld][PATCH 1/3] ipaq-boot-params: h3600: use ttySA0 as default param Paul Eggleton
  2 siblings, 0 replies; 4+ messages in thread
From: Andrea Adami @ 2013-10-08 23:40 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Linus Walleij

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(-)

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"
-- 
1.8.1.5



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [meta-handheld][PATCH 3/3] linux-yocto_3.10: initial commit of h3600 defconfig
  2013-10-08 23:40 [meta-handheld][PATCH 1/3] ipaq-boot-params: h3600: use ttySA0 as default param Andrea Adami
  2013-10-08 23:40 ` [meta-handheld][PATCH 2/3] h3600.conf: update machine configuration Andrea Adami
@ 2013-10-08 23:40 ` Andrea Adami
  2013-10-09 17:10 ` [meta-handheld][PATCH 1/3] ipaq-boot-params: h3600: use ttySA0 as default param Paul Eggleton
  2 siblings, 0 replies; 4+ messages in thread
From: Andrea Adami @ 2013-10-08 23:40 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Linus Walleij

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
 .../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

diff --git a/recipes-kernel/linux/linux-yocto-3.10/h3600/defconfig b/recipes-kernel/linux/linux-yocto-3.10/h3600/defconfig
new file mode 100644
index 0000000..2b4adc5
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto-3.10/h3600/defconfig
@@ -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
diff --git a/recipes-kernel/linux/linux-yocto-handhelds.inc b/recipes-kernel/linux/linux-yocto-handhelds.inc
index 119086f..90026ee 100644
--- a/recipes-kernel/linux/linux-yocto-handhelds.inc
+++ b/recipes-kernel/linux/linux-yocto-handhelds.inc
@@ -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 \
diff --git a/recipes-kernel/linux/linux-yocto_3.10.bbappend b/recipes-kernel/linux/linux-yocto_3.10.bbappend
index 537bf37..12810ba 100644
--- a/recipes-kernel/linux/linux-yocto_3.10.bbappend
+++ b/recipes-kernel/linux/linux-yocto_3.10.bbappend
@@ -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 ?= ""
-- 
1.8.1.5



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [meta-handheld][PATCH 1/3] ipaq-boot-params: h3600: use ttySA0 as default param
  2013-10-08 23:40 [meta-handheld][PATCH 1/3] ipaq-boot-params: h3600: use ttySA0 as default param Andrea Adami
  2013-10-08 23:40 ` [meta-handheld][PATCH 2/3] h3600.conf: update machine configuration Andrea Adami
  2013-10-08 23:40 ` [meta-handheld][PATCH 3/3] linux-yocto_3.10: initial commit of h3600 defconfig Andrea Adami
@ 2013-10-09 17:10 ` Paul Eggleton
  2 siblings, 0 replies; 4+ messages in thread
From: Paul Eggleton @ 2013-10-09 17:10 UTC (permalink / raw)
  To: Andrea Adami, Linus Walleij; +Cc: openembedded-devel

On Wednesday 09 October 2013 01:40:51 Andrea Adami wrote:
> These machines use ttySA0,115200n8 (SA1100).
> 
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
> ---
>  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
> 
> diff --git a/recipes-bsp/ipaq-boot-params/files/h3600/params
> b/recipes-bsp/ipaq-boot-params/files/h3600/params new file mode 100644
> index 0000000..edb83ac
> --- /dev/null
> +++ b/recipes-bsp/ipaq-boot-params/files/h3600/params
> @@ -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

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-09 17:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-08 23:40 [meta-handheld][PATCH 1/3] ipaq-boot-params: h3600: use ttySA0 as default param Andrea Adami
2013-10-08 23:40 ` [meta-handheld][PATCH 2/3] h3600.conf: update machine configuration Andrea Adami
2013-10-08 23:40 ` [meta-handheld][PATCH 3/3] linux-yocto_3.10: initial commit of h3600 defconfig Andrea Adami
2013-10-09 17:10 ` [meta-handheld][PATCH 1/3] ipaq-boot-params: h3600: use ttySA0 as default param Paul Eggleton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.