From b1cb3dec64aa744280b886927ec476b885c831f5 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Sun, 24 Jul 2011 19:12:32 +0100 Subject: initial commit of meta-handheld Populate the repository with files from OpenEmbedded at revision 45edf621296daf150c72b876d720861235e5762e - no changes, only rearranged the directory structure to match the new oe-core style and added COPYING.MIT and README. Signed-off-by: Paul Eggleton --- conf/layer.conf | 13 +++ conf/machine/a1200.conf | 5 ++ conf/machine/a780.conf | 5 ++ conf/machine/a910.conf | 5 ++ conf/machine/akita.conf | 23 +++++ conf/machine/borzoi.conf | 2 + conf/machine/boxer.conf | 2 + conf/machine/c7x0.conf | 26 ++++++ conf/machine/collie.conf | 16 ++++ conf/machine/corgi.conf | 3 + conf/machine/e680.conf | 5 ++ conf/machine/h1910.conf | 31 +++++++ conf/machine/h1940.conf | 30 +++++++ conf/machine/h2200.conf | 48 +++++++++++ conf/machine/h3600.conf | 38 +++++++++ conf/machine/h3800.conf | 8 ++ conf/machine/h3900.conf | 37 ++++++++ conf/machine/h4000.conf | 47 +++++++++++ conf/machine/h5000.conf | 45 ++++++++++ conf/machine/husky.conf | 2 + conf/machine/hx4700.conf | 77 +++++++++++++++++ conf/machine/include/LAB-settings.inc | 8 ++ conf/machine/include/motorola-ezx-base.inc | 74 ++++++++++++++++ conf/machine/include/palm.inc | 85 +++++++++++++++++++ conf/machine/include/tune-arm920t.inc | 4 + conf/machine/include/tune-arm926ejs.inc | 7 ++ conf/machine/include/tune-sh3.inc | 3 + conf/machine/include/tune-strongarm.inc | 11 +++ conf/machine/include/tune-xscale.inc | 9 ++ conf/machine/include/zaurus.inc | 131 +++++++++++++++++++++++++++++ conf/machine/jornada56x.conf | 15 ++++ conf/machine/jornada6xx.conf | 22 +++++ conf/machine/jornada7xx.conf | 23 +++++ conf/machine/palmld.conf | 37 ++++++++ conf/machine/palmt650.conf | 20 +++++ conf/machine/palmt680.conf | 14 +++ conf/machine/palmtc.conf | 14 +++ conf/machine/palmtt.conf | 17 ++++ conf/machine/palmtt2.conf | 2 + conf/machine/palmtt3.conf | 9 ++ conf/machine/palmtt5.conf | 15 ++++ conf/machine/palmtx.conf | 29 +++++++ conf/machine/palmz31.conf | 20 +++++ conf/machine/palmz71.conf | 14 +++ conf/machine/palmz72.conf | 21 +++++ conf/machine/poodle.conf | 14 +++ conf/machine/rokre2.conf | 10 +++ conf/machine/rokre6.conf | 6 ++ conf/machine/rx1950.conf | 28 ++++++ conf/machine/rx3000.conf | 40 +++++++++ conf/machine/shepherd.conf | 3 + conf/machine/simpad.conf | 23 +++++ conf/machine/spitz.conf | 29 +++++++ conf/machine/terrier.conf | 2 + conf/machine/tosa.conf | 14 +++ 55 files changed, 1241 insertions(+) create mode 100644 conf/layer.conf create mode 100644 conf/machine/a1200.conf create mode 100644 conf/machine/a780.conf create mode 100644 conf/machine/a910.conf create mode 100644 conf/machine/akita.conf create mode 100644 conf/machine/borzoi.conf create mode 100644 conf/machine/boxer.conf create mode 100644 conf/machine/c7x0.conf create mode 100644 conf/machine/collie.conf create mode 100644 conf/machine/corgi.conf create mode 100644 conf/machine/e680.conf create mode 100644 conf/machine/h1910.conf create mode 100644 conf/machine/h1940.conf create mode 100644 conf/machine/h2200.conf create mode 100644 conf/machine/h3600.conf create mode 100644 conf/machine/h3800.conf create mode 100644 conf/machine/h3900.conf create mode 100644 conf/machine/h4000.conf create mode 100644 conf/machine/h5000.conf create mode 100644 conf/machine/husky.conf create mode 100644 conf/machine/hx4700.conf create mode 100644 conf/machine/include/LAB-settings.inc create mode 100644 conf/machine/include/motorola-ezx-base.inc create mode 100644 conf/machine/include/palm.inc create mode 100644 conf/machine/include/tune-arm920t.inc create mode 100644 conf/machine/include/tune-arm926ejs.inc create mode 100644 conf/machine/include/tune-sh3.inc create mode 100644 conf/machine/include/tune-strongarm.inc create mode 100644 conf/machine/include/tune-xscale.inc create mode 100644 conf/machine/include/zaurus.inc create mode 100644 conf/machine/jornada56x.conf create mode 100644 conf/machine/jornada6xx.conf create mode 100644 conf/machine/jornada7xx.conf create mode 100644 conf/machine/palmld.conf create mode 100644 conf/machine/palmt650.conf create mode 100644 conf/machine/palmt680.conf create mode 100644 conf/machine/palmtc.conf create mode 100644 conf/machine/palmtt.conf create mode 100644 conf/machine/palmtt2.conf create mode 100644 conf/machine/palmtt3.conf create mode 100644 conf/machine/palmtt5.conf create mode 100644 conf/machine/palmtx.conf create mode 100644 conf/machine/palmz31.conf create mode 100644 conf/machine/palmz71.conf create mode 100644 conf/machine/palmz72.conf create mode 100644 conf/machine/poodle.conf create mode 100644 conf/machine/rokre2.conf create mode 100644 conf/machine/rokre6.conf create mode 100644 conf/machine/rx1950.conf create mode 100644 conf/machine/rx3000.conf create mode 100644 conf/machine/shepherd.conf create mode 100644 conf/machine/simpad.conf create mode 100644 conf/machine/spitz.conf create mode 100644 conf/machine/terrier.conf create mode 100644 conf/machine/tosa.conf (limited to 'conf') diff --git a/conf/layer.conf b/conf/layer.conf new file mode 100644 index 0000000..7a2441b --- /dev/null +++ b/conf/layer.conf @@ -0,0 +1,13 @@ +# Layer configuration for meta-handheld layer +# Copyright 2011 Intel Corporation + +# We have a conf and classes directory, prepend to BBPATH to prefer our versions +BBPATH := "${LAYERDIR}:${BBPATH}" + +# We have a recipes directory, add to BBFILES +BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "meta-handheld" +BBFILE_PATTERN_meta-handheld := "^${LAYERDIR}/" +BBFILE_PRIORITY_meta-handheld = "7" + diff --git a/conf/machine/a1200.conf b/conf/machine/a1200.conf new file mode 100644 index 0000000..1e736be --- /dev/null +++ b/conf/machine/a1200.conf @@ -0,0 +1,5 @@ +#@TYPE: Machine +#@NAME: Motorola EZX A1200 +#@DESCRIPTION: Machine configuration for the Motorola GSM phone A1200 + +require conf/machine/include/motorola-ezx-base.inc diff --git a/conf/machine/a780.conf b/conf/machine/a780.conf new file mode 100644 index 0000000..9530de8 --- /dev/null +++ b/conf/machine/a780.conf @@ -0,0 +1,5 @@ +#@TYPE: Machine +#@NAME: Motorola EZX A780 +#@DESCRIPTION: Machine configuration for the Motorola GSM phone A780 + +require conf/machine/include/motorola-ezx-base.inc diff --git a/conf/machine/a910.conf b/conf/machine/a910.conf new file mode 100644 index 0000000..863c176 --- /dev/null +++ b/conf/machine/a910.conf @@ -0,0 +1,5 @@ +#@TYPE: Machine +#@NAME: Motorola EZX A910 +#@DESCRIPTION: Machine configuration for the Motorola GSM phone A910 + +require conf/machine/include/motorola-ezx-base.inc diff --git a/conf/machine/akita.conf b/conf/machine/akita.conf new file mode 100644 index 0000000..ae089a1 --- /dev/null +++ b/conf/machine/akita.conf @@ -0,0 +1,23 @@ +#@TYPE: Machine +#@NAME: Sharp Zaurus SL-C1000 +#@DESCRIPTION: Machine configuration for the Sharp Zaurus SL-C1000 device + +require conf/machine/include/zaurus.inc +require conf/machine/include/tune-xscale.inc + +PACKAGE_EXTRA_ARCHS += "iwmmxt" +MACHINE_FEATURES += "iwmmxt" + +# NAND factory-default +# mtdparts=sharpsl-nand:7168k@0k(smf),59392k@7168k(root),-(home) +ROOT_FLASH_SIZE = "58" + +MACHINE_GUI_CLASS = "bigscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "640" +MACHINE_DISPLAY_HEIGHT_PIXELS = "480" +MACHINE_DISPLAY_ORIENTATION = "270" +MACHINE_DISPLAY_PPI = "216" + +UBOOT_MACHINE = "akita_config" +UBOOT_ENTRYPOINT = "0xA1000000" +UBOOT_LOADADDRESS = "${UBOOT_ENTRYPOINT}" diff --git a/conf/machine/borzoi.conf b/conf/machine/borzoi.conf new file mode 100644 index 0000000..d037a1f --- /dev/null +++ b/conf/machine/borzoi.conf @@ -0,0 +1,2 @@ +WARNING:="${@bb.fatal('\n*\n*\n* Sorry, There is no dedicated configuration for the Sharp SL-C3100,\n* because \ +its very similar to the SL-C3000. Use MACHINE = \"spitz\".\n*\n*\n')}" diff --git a/conf/machine/boxer.conf b/conf/machine/boxer.conf new file mode 100644 index 0000000..f5afc14 --- /dev/null +++ b/conf/machine/boxer.conf @@ -0,0 +1,2 @@ +WARNING:="${@bb.fatal('\n*\n*\n* Sorry, There is no dedicated configuration for the Sharp SL-C860,\n* because \ +it really is just a Sharp SL-C760 with a different case color. Use MACHINE = \"c7x0\".\n*\n*\n')}" diff --git a/conf/machine/c7x0.conf b/conf/machine/c7x0.conf new file mode 100644 index 0000000..f5ec132 --- /dev/null +++ b/conf/machine/c7x0.conf @@ -0,0 +1,26 @@ +#@TYPE: Machine +#@NAME: Sharp Zaurus SL-C7x0 +#@DESCRIPTION: Machine configuration for the Sharp Zaurus SL-C700, Sharp Zaurus SL-C750, Sharp Zaurus SL-C760, Sharp Zaurus SL-C860 devices + +require conf/machine/include/zaurus.inc +require conf/machine/include/tune-xscale.inc + +# NAND factory-default +# SL-C700 (corgi) mtdparts=sharpsl-nand:7168k@0k(smf),25600k@7168k(root),-(home) +# SL-C750 (Shepherd) mtdparts=sharpsl-nand:7168k@0k(smf),25600k@7168k(root),-(home) +# SL-C760 (Husky) mtdparts=sharpsl-nand:7168k@0k(smf),54272k@7168k(root),-(home) +# SL-C860 (Boxer) mtdparts=sharpsl-nand:7168k@0k(smf),54272k@7168k(root),-(home) + +# There isn't an unique size valid for all models, +# please set the right value in your local.conf +ROOT_FLASH_SIZE = "25" + +MACHINE_GUI_CLASS = "bigscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "640" +MACHINE_DISPLAY_HEIGHT_PIXELS = "480" +MACHINE_DISPLAY_ORIENTATION = "0" +MACHINE_DISPLAY_PPI = "216" + +UBOOT_MACHINE = "corgi_config" +UBOOT_ENTRYPOINT = "0xA0008000" +UBOOT_LOADADDRESS = "${UBOOT_ENTRYPOINT}" diff --git a/conf/machine/collie.conf b/conf/machine/collie.conf new file mode 100644 index 0000000..a0d710c --- /dev/null +++ b/conf/machine/collie.conf @@ -0,0 +1,16 @@ +#@TYPE: Machine +#@NAME: Sharp Zaurus SL-5000, Sharp Zaurus SL-5500 +#@DESCRIPTION: Machine configuration for the SA1100 based Sharp Zaurus SL-5000 and SL-5500 devices + +require conf/machine/include/zaurus.inc +require conf/machine/include/tune-strongarm.inc + +ROOT_FLASH_SIZE = "14" +# actually 14680064 +EXTRA_IMAGECMD_jffs2 = "--pad=14680064 --little-endian --eraseblock=0x20000 -n" + +MACHINE_GUI_CLASS = "smallscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "240" +MACHINE_DISPLAY_HEIGHT_PIXELS = "320" +MACHINE_DISPLAY_ORIENTATION = "270" +MACHINE_DISPLAY_PPI = "114" diff --git a/conf/machine/corgi.conf b/conf/machine/corgi.conf new file mode 100644 index 0000000..8055af0 --- /dev/null +++ b/conf/machine/corgi.conf @@ -0,0 +1,3 @@ +WARNING:="${@bb.fatal('\n*\n*\n* Sorry, There is no dedicated configuration for the Sharp SL-C700,\n* because \ +of the similarities of the clamshell series. Use MACHINE = \"c7x0\".\n*\n*\n')}" + diff --git a/conf/machine/e680.conf b/conf/machine/e680.conf new file mode 100644 index 0000000..749f022 --- /dev/null +++ b/conf/machine/e680.conf @@ -0,0 +1,5 @@ +#@TYPE: Machine +#@NAME: Motorola Motorola EZX E680, Motorola EZX E680i +#@DESCRIPTION: Machine configuration for the Motorola GSM phones E680, and E680i + +require conf/machine/include/motorola-ezx-base.inc diff --git a/conf/machine/h1910.conf b/conf/machine/h1910.conf new file mode 100644 index 0000000..43d23d8 --- /dev/null +++ b/conf/machine/h1910.conf @@ -0,0 +1,31 @@ +#@TYPE: Machine +#@NAME: HP iPAQ H1910/H1915 +#@DESCRIPTION: Machine configuration for the HP iPAQ H1910/H1915 + +# +# Hardware-based properties +# +TARGET_ARCH = "arm" + +require conf/machine/include/tune-xscale.inc + +VOLATILE_STORAGE_SIZE = "64" +ROOT_FLASH_SIZE = "16" +MACHINE_GUI_CLASS = "smallscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "240" +MACHINE_DISPLAY_HEIGHT_PIXELS = "320" +MACHINE_FEATURES = "kernel26 touchscreen apm alsa irda usbgadget screen vfat" + +# +# Software/packages selection +# +PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6" +PCMCIA_MANAGER = "pcmciautils" +PREFERRED_PROVIDER_xserver = "xserver-kdrive" + +EXTRA_IMAGECMD_h1910_jffs2 = "-e 0x4000 -p -n" + +# +# Modules autoload and other boot properties +# +SERIAL_CONSOLE = "115200 ttyS0 vt100" diff --git a/conf/machine/h1940.conf b/conf/machine/h1940.conf new file mode 100644 index 0000000..19e7662 --- /dev/null +++ b/conf/machine/h1940.conf @@ -0,0 +1,30 @@ +#@TYPE: Machine +#@NAME: h1940 +#@DESCRIPTION: Machine configuration for the HP iPAQ h1930 and h1940 + +TARGET_ARCH = "arm" + +# Set preferred providers +PREFERRED_PROVIDER_xserver = "xserver-kdrive" +PREFERRED_PROVIDER_virtual/kernel = "linux" + +KERNEL_IMAGETYPE = "uImage" +UBOOT_LOADADDRESS = "0x30108000" +UBOOT_ENTRYPOINT = "0x30108000" + +# Set features for task-base +MACHINE_GUI_CLASS = "smallscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "240" +MACHINE_DISPLAY_HEIGHT_PIXELS = "320" +MACHINE_FEATURES = "kernel26 touchscreen apm bluetooth irda usbgadget screen vfat" + + +# Some extra configuration +VOLATILE_STORAGE_SIZE = "64" +ROOT_FLASH_SIZE = "32" +SERIAL_CONSOLE = "115200 ttySAC2 vt100" +USE_VT = "0" + +# tune for armv4t +require conf/machine/include/tune-arm920t.inc + diff --git a/conf/machine/h2200.conf b/conf/machine/h2200.conf new file mode 100644 index 0000000..abc1772 --- /dev/null +++ b/conf/machine/h2200.conf @@ -0,0 +1,48 @@ +#@TYPE: Machine +#@NAME: HP iPAQ h22xx +#@DESCRIPTION: Machine configuration for the HP iPAQ h22xx + +# +# Hardware-based properties +# +TARGET_ARCH = "arm" + +#Compile with armv5te optimizations, incompatible with armv4(t) cpus +require conf/machine/include/tune-xscale.inc + +#Set some hints for metadata +VOLATILE_STORAGE_SIZE = "64" +ROOT_FLASH_SIZE = "32" +MACHINE_GUI_CLASS = "smallscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "240" +MACHINE_DISPLAY_HEIGHT_PIXELS = "320" +MACHINE_FEATURES = "kernel26 touchscreen apm alsa pcmcia bluetooth irda usbgadget screen vfat" + +# +# Software/packages selection +# +PCMCIA_MANAGER = "pcmciautils" +PREFERRED_PROVIDER_xserver = "xserver-kdrive" +PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6" + +MACHINE_ESSENTIAL_EXTRA_RDEPENDS = " h2200-bootloader " +MACHINE_EXTRA_RDEPENDS = " udev-hostap-cs-vcc-workaround " +MACHINE_EXTRA_RRECOMMENDS = "\ + kernel-module-snd-h2200-audio \ + kernel-module-i2c-pxa \ + " + +EXTRA_IMAGECMD_jffs2 = "--pad --eraseblock=0x4000" + +# +# Modules autoload and other boot properties +# +module_autoload_snd-pcm-oss = "snd-pcm-oss" +module_autoload_snd-mixer-oss = "snd-mixer-oss" +module_autoload_snd-h2200-audio = "snd-h2200-audio" +module_autoload_g_ether = "g_ether" + +SERIAL_CONSOLE = "115200 ttyS0 vt100" +USE_VT = "0" + +require conf/machine/include/LAB-settings.inc diff --git a/conf/machine/h3600.conf b/conf/machine/h3600.conf new file mode 100644 index 0000000..7bbb223 --- /dev/null +++ b/conf/machine/h3600.conf @@ -0,0 +1,38 @@ +#@TYPE: Machine +#@NAME: Compaq iPAQ 36xx,Compaq iPAQ 37xx,Compaq iPAQ 38xx +#@DESCRIPTION: Machine configuration for the Compaq iPAQ 36xx, Compaq iPAQ 37xx and Compaq iPAQ 38xx devices + +# +# Hardware-based properties +# +TARGET_ARCH = "arm" + +require conf/machine/include/tune-strongarm.inc + +# h3700, h3800 have 32, but let that be the bonus +ROOT_FLASH_SIZE = "16" +# h3630 have 32Mb only +VOLATILE_STORAGE_SIZE = "64" +MACHINE_GUI_CLASS = "smallscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "240" +MACHINE_DISPLAY_HEIGHT_PIXELS = "320" +MACHINE_FEATURES = "kernel26 touchscreen apm alsa irda usbgadget screen vfat" + +# +# Software/packages selection +# +PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6" +PCMCIA_MANAGER = "pcmciautils" +PREFERRED_PROVIDER_xserver = "xserver-kdrive" + +MACHINE_EXTRA_RDEPENDS = "ipaq-boot-params" +MACHINE_EXTRA_RRECOMMENDS = "\ + kernel-module-micro" + +EXTRA_IMAGECMD_jffs2 = "-e 0x40000 -p ; echo '${IMAGE_NAME} ${IMAGE_NAME}.rootfs.jffs2 - root' >> ${DEPLOY_DIR_IMAGE}/reflash.ctl" + +# +# Modules autoload and other boot properties +# +SERIAL_CONSOLE = "115200 ttySA0 vt100" +USE_VT = "0" diff --git a/conf/machine/h3800.conf b/conf/machine/h3800.conf new file mode 100644 index 0000000..a13ed48 --- /dev/null +++ b/conf/machine/h3800.conf @@ -0,0 +1,8 @@ +#@TYPE: Machine +#@NAME: Compaq iPAQ 38xx +#@DESCRIPTION: Machine configuration for the Compaq iPAQ 38xx devices + +#this machine will be primarily focussed on the 2.6 port +MACHINE_FEATURES = "kernel26 touchscreen apm alsa pcmcia bluetooth irda usbgadget screen vfat" + +require conf/machine/h3600.conf diff --git a/conf/machine/h3900.conf b/conf/machine/h3900.conf new file mode 100644 index 0000000..a403008 --- /dev/null +++ b/conf/machine/h3900.conf @@ -0,0 +1,37 @@ +#@TYPE: Machine +#@NAME: HP iPAQ h39xx +#@DESCRIPTION: Machine configuration for the HP iPAQ h39xx + +# +# Hardware-based properties +# +TARGET_ARCH = "arm" + +require conf/machine/include/tune-xscale.inc + +ROOT_FLASH_SIZE = "32" +VOLATILE_STORAGE_SIZE = "64" +MACHINE_GUI_CLASS = "smallscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "240" +MACHINE_DISPLAY_HEIGHT_PIXELS = "320" +MACHINE_FEATURES = "kernel26 touchscreen apm alsa irda bluetooth usbgadget screen vfat" + +# +# Software/packages selection +# +PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6" +PCMCIA_MANAGER = "pcmciautils" +PREFERRED_PROVIDER_xserver = "xserver-kdrive" + +MACHINE_EXTRA_RDEPENDS = "kernel ipaq-boot-params" + +# +# Modules autoload and other boot properties +# +module_autoload_snd-pcm-oss = "snd-pcm-oss" +module_autoload_g_ether = "g_ether" + +SERIAL_CONSOLE = "115200 ttyS0 vt100" +USE_VT = "0" + +require conf/machine/include/LAB-settings.inc diff --git a/conf/machine/h4000.conf b/conf/machine/h4000.conf new file mode 100644 index 0000000..6c84a13 --- /dev/null +++ b/conf/machine/h4000.conf @@ -0,0 +1,47 @@ +#@TYPE: Machine +#@NAME: HP iPAQ h4xxx +#@DESCRIPTION: Machine configuration for the HP iPAQ h4xxx + +# +# Hardware-based properties +# +TARGET_ARCH = "arm" + +require conf/machine/include/tune-xscale.inc + +ROOT_FLASH_SIZE = "32" +VOLATILE_STORAGE_SIZE = "64" +MACHINE_GUI_CLASS = "smallscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "240" +MACHINE_DISPLAY_HEIGHT_PIXELS = "320" +MACHINE_FEATURES = "kernel26 touchscreen apm alsa irda bluetooth wifi usbgadget screen vfat" + +# +# Software/packages selection +# +PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6" +PCMCIA_MANAGER = "pcmciautils" +PREFERRED_PROVIDER_xserver = "xserver-kdrive" + +MACHINE_EXTRA_RDEPENDS = "tiinit acx-firmware ${PCMCIA_MANAGER}" +MACHINE_EXTRA_RRECOMMENDS = "kernel-module-snd-h4000-audio \ + kernel-module-i2c-pxa \ + kernel-module-h4000-bt \ + kernel-module-h4000-pcmcia \ + kernel-module-acx \ + keymaps \ + " + +# +# Modules autoload and other boot properties +# +module_autoload_snd-pcm-oss = "snd-pcm-oss" +module_autoload_snd-mixer-oss = "snd-mixer-oss" +module_autoload_snd-h4000-audio = "snd-h4000-audio" +module_autoload_g_ether = "g_ether" +module_conf_acx = "blacklist acx" + +SERIAL_CONSOLE = "115200 ttyS0 vt100" +USE_VT = "0" + +require conf/machine/include/LAB-settings.inc diff --git a/conf/machine/h5000.conf b/conf/machine/h5000.conf new file mode 100644 index 0000000..73fbf17 --- /dev/null +++ b/conf/machine/h5000.conf @@ -0,0 +1,45 @@ +#@TYPE: Machine +#@NAME: Compaq iPAQ 51xx, Compaq iPAQ 54xx, Compaq iPAQ 55xx +#@DESCRIPTION: Machine configuration for the Compaq iPAQ 51xx, Compaq iPAQ 54xx, and Compaq iPAQ 55xx devices + +# +# Hardware-based properties +# +TARGET_ARCH = "arm" + +require conf/machine/include/tune-xscale.inc + +ROOT_FLASH_SIZE = "32" +VOLATILE_STORAGE_SIZE = "64" +MACHINE_GUI_CLASS = "smallscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "240" +MACHINE_DISPLAY_HEIGHT_PIXELS = "320" +MACHINE_FEATURES = "kernel26 touchscreen apm alsa pcmcia bluetooth irda wifi usbgadget usbhost screen vfat" + +# +# Software/packages selection +# +PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6" +PREFERRED_PROVIDER_xserver = "xserver-kdrive" +EXTRA_IMAGECMD_jffs2 = "-e 0x40000 -p ; echo '${IMAGE_NAME} ${IMAGE_NAME}.rootfs.jffs2 - root' >> ${DEPLOY_DIR_IMAGE}/reflash.ctl" + +# Ship complete set of modules ('kernel-modules') for easier debug purposes +MACHINE_EXTRA_RDEPENDS = "kernel ipaq-boot-params" +MACHINE_EXTRA_RRECOMMENDS = " kernel-modules \ + kernel-module-h5400-lcd \ + kernel-module-h5400-battery \ + kernel-module-h5400-bt \ + kernel-module-snd-soc-h5000 \ + kernel-module-i2c-pxa \ + at76c503a-modules" + +# +# Modules autoload and other boot properties +# +module_autoload_snd-pcm-oss = "snd-pcm-oss" +module_autoload_snd-mixer-oss = "snd-mixer-oss" +module_autoload_snd-soc-h5000 = "snd-soc-h5000" +module_autoload_g_ether = "g_ether" + +SERIAL_CONSOLE = "115200 ttyS0 vt100" +USE_VT = "0" diff --git a/conf/machine/husky.conf b/conf/machine/husky.conf new file mode 100644 index 0000000..fae9540 --- /dev/null +++ b/conf/machine/husky.conf @@ -0,0 +1,2 @@ +WARNING:="${@bb.fatal('\n*\n*\n* Sorry, There is no dedicated configuration for the Sharp SL-C760,\n* because \ +of the similarities of the clamshell series. Use MACHINE = \"c7x0\".\n*\n*\n')}" diff --git a/conf/machine/hx4700.conf b/conf/machine/hx4700.conf new file mode 100644 index 0000000..474454a --- /dev/null +++ b/conf/machine/hx4700.conf @@ -0,0 +1,77 @@ +#@TYPE: Machine +#@NAME: HP iPAQ hx47xx +#@DESCRIPTION: Machine configuration for the hx4700 iPAQ with a pxa27x CPU + +# +# Hardware-based properties +# +TARGET_ARCH = "arm" +PACKAGE_EXTRA_ARCHS = " iwmmxt " + +IMAGE_FSTYPES += "jffs2" + +# Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm. +require conf/machine/include/tune-xscale.inc + +# Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first +#require conf/machine/include/tune-iwmmxt.inc + +ROOT_FLASH_SIZE = "80" +VOLATILE_STORAGE_SIZE = "64" +MACHINE_GUI_CLASS = "bigscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "480" +MACHINE_DISPLAY_HEIGHT_PIXELS = "640" +MACHINE_DISPLAY_ORIENTATION = "0" +MACHINE_DISPLAY_PPI = "200" +MACHINE_FEATURES = "alsa apm bluetooth irda kernel26 pcmcia screen touchscreen usbgadget wifi vfat" +MACHINE_FEATURES += "iwmmxt" + +# +# Software/packages selection +# +PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6" +PCMCIA_MANAGER = "pcmciautils" +MODUTILS = "26" + +XSERVER = "xserver-kdrive-w100" + +PREFERRED_VERSION_orinoco-modules = "0.15rc1" + +MACHINE_EXTRA_RDEPENDS = "tiinit acx-firmware" +MACHINE_EXTRA_RRECOMMENDS = "\ + kernel-module-i2c-pxa \ + kernel-module-pxa27x-voltage \ + kernel-module-pxa27x-voltage-max158xx \ + kernel-module-acx \ + kernel-module-hx4700-acx \ + kernel-module-hx4700-bt \ + kernel-module-snd-hx4700-audio \ + keymaps" + +#write out a reflash.ctl with the appriate entries for the rootfs, the ones for the kernel should already be there +EXTRA_IMAGECMD_jffs2 = "; sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \ + -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \ + -e 256KiB -p ; echo '${IMAGE_NAME} ${IMAGE_NAME}.rootfs.jffs2 - root' >> ${DEPLOY_DIR_IMAGE}/reflash.ctl" + + +# +# Modules autoload and other boot properties +# +module_autoload_evdev = "evdev" +module_autoload_hx4700_power = "hx4700_power" +module_autoload_pcmcia = "pcmcia" +module_autoload_hx4700_pcmcia = "hx4700_pcmcia" +module_autoload_asic3_mmc = "asic3_mmc" +module_autoload_mmc_block = "mmc_block" +module_autoload_hx4700_ts = "hx4700_ts" +module_autoload_hx4700_navpt = "hx4700_navpt" +module_autoload_hx4700_bt = "hx4700_bt" +module_autoload_snd-hx4700_audio = "snd-hx4700_audio" +module_autoload_snd-pcm-oss = "snd-pcm-oss" +module_autoload_snd-mixer-oss = "snd-mixer-oss" +module_autoload_pxa27x_udc = "pxa27x_udc" + +#FIXME: this should be controlled by a userspace utility later. +module_autoload_g_ether = "g_ether" + +SERIAL_CONSOLE = "115200 ttyS0" diff --git a/conf/machine/include/LAB-settings.inc b/conf/machine/include/LAB-settings.inc new file mode 100644 index 0000000..d0100c9 --- /dev/null +++ b/conf/machine/include/LAB-settings.inc @@ -0,0 +1,8 @@ +# +# Settings for LAB (Linux As Bootloader) support. +# Machines which support (or want to support) LAB, +# include this. +# + +# LAB can only resolve relative symlinks +#ROOTFS_POSTPROCESS_COMMAND += "make_zimage_symlink_relative; " diff --git a/conf/machine/include/motorola-ezx-base.inc b/conf/machine/include/motorola-ezx-base.inc new file mode 100644 index 0000000..ea1b0eb --- /dev/null +++ b/conf/machine/include/motorola-ezx-base.inc @@ -0,0 +1,74 @@ +# use this for overrides +MACHINE_CLASS = "motorola-ezx" + +# +# Hardware-based properties +# +TARGET_ARCH = "arm" + +# Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm. +require conf/machine/include/tune-xscale.inc + +# Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first +#require conf/machine/include/tune-iwmmxt.inc + +#cat /proc/mtd +#dev: size erasesize name +#mtd0: 00020000 00008000 "Bootloader" +#mtd1: 000e0000 00020000 "Kernel" +#mtd2: 00580000 00020000 "VFM_Filesystem" +#mtd3: 00020000 00020000 "Logo" + +ROOT_FLASH_SIZE = "24" +MACHINE_GUI_CLASS = "smallscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "240" +MACHINE_DISPLAY_HEIGHT_PIXELS = "320" +MACHINE_DISPLAY_ORIENTATION = "0" +MACHINE_DISPLAY_PPI = "180" +MACHINE_FEATURES = "alsa apm bluetooth kernel26 keyboard phone screen touchscreen usbgadget usbhost vfat" +MACHINE_FEATURES += " iwmmxt" + +# Comment this out if you change to tune-iwmmxt.inc above +PACKAGE_EXTRA_ARCHS += "iwmmxt" + +# +# Software/packages selection +# +PREFERRED_PROVIDER_virtual/kernel ?= "openezx-kernel" +MODUTILS = "26" +XSERVER = "xserver-kdrive-fbdev" +PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive" + +IMAGE_FSTYPES ?= "jffs2" +EXTRA_IMAGECMD_jffs2 = "--pad=14680064 --little-endian --eraseblock=0x20000 -n" + +# In order to enable UIBIFS add "uibi and ubifs" +#IMAGE_FSTYPES += "ubi ubifs" + +# From dmesg: +# UBI: smallest flash I/O unit: 1 +# UBI: logical eraseblock size: 131072 bytes +# from ubiattach stdout: +# UBI device number 0, total 1996 LEBs +MKUBIFS_ARGS = "-m 1 -e 130944 -c 487" + +# from dmesg: +# UBI: smallest flash I/O unit: 1 +# UBI: physical eraseblock size: 131072 bytes (128 KiB) +# UBI: sub-page size: 512 +UBINIZE_ARGS = "-m 1 -p 128KiB " + + +EXTRA_IMAGEDEPENDS += "moto-boot-usb-native ezx-gen-blob" + +IMAGE_INSTALL_append += "\ + kernel-module-ohci-hcd \ + kernel-module-moto-usb-ipc \ + kernel-module-ts27010mux \ +" + +# Ezxd needs to be started very early so we need the mux devices in static /dev +IMAGE_DEVICE_TABLES = "files/device_table-minimal.txt \ + files/device_table-ezx.txt" + +SERIAL_CONSOLE = "115200 ttyS0" diff --git a/conf/machine/include/palm.inc b/conf/machine/include/palm.inc new file mode 100644 index 0000000..5394855 --- /dev/null +++ b/conf/machine/include/palm.inc @@ -0,0 +1,85 @@ +# +# Hardware-based properties +# + +TARGET_ARCH = "arm" + +SERIAL_CONSOLE = "115200 ttyS0" + +# Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm. +require conf/machine/include/tune-xscale.inc + +MACHINE_FEATURES = "kernel26 touchscreen apm alsa bluetooth irda usbgadget screen ext2 vfat" + +# +# Software/packages selection +# + +PREFERRED_PROVIDER_virtual/kernel = "linux-hackndev-2.6" + +PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive" + +module_autoload_sa1100-rtc = "sa1100-rtc" +module_autoload_snd-ac97-bus = "snd-ac97-bus" +module_autoload_apm_power = "apm_power" +module_autoload_backlight = "backlight" +module_autoload_battery = "battery" +module_autoload_bcm2035_uart = "bcm2035_uart" +module_autoload_gpioed = "gpioed" +module_autoload_gpioed-ng = "gpioed-ng" +module_autoload_lcd = "lcd" +module_autoload_led-class = "led-class" +module_autoload_leds-palmld = "leds-palmld" +module_autoload_ledtrig-heartbeat = "ledtrig-heartbeat" +module_autoload_ledtrig-hwtimer = "ledtrig-hwtimer" +module_autoload_ledtrig-timer = "ledtrig-timer" +module_autoload_palmld_battery = "palmld-battery" +module_autoload_palmld_ide = "palmld-ide" +module_autoload_palmld_pcmcia = "palmld-pcmcia" +module_autoload_pcmcia = "pcmcia" +module_autoload_pcmcia_core = "pcmcia-core" +module_autoload_pda_power = "pda_power" +module_autoload_pxa2xx_core = "pxa2xx-core" +module_autoload_snd = "snd" +module_autoload_snd-ac97-codec = "snd-ac97-codec" +module_autoload_snd-mixer-oss = "snd-mixer-oss" +module_autoload_snd-page-alloc = "snd-page-alloc" +module_autoload_snd-pcm = "snd-pcm" +module_autoload_snd-pcm-oss = "snd-pcm-oss" +module_autoload_snd-pxa2xx-pcm = "snd-pxa2xx-pcm" +module_autoload_snd-pxa2xx-ac97 = "snd-pxa2xx-ac97" +module_autoload_snd-seq = "snd-seq" +module_autoload_snd-seq-device = "snd-seq-device" +module_autoload_seq-midi-event = "seq-midi-event" +module_autoload_snd-seq-oss = "snd-seq-oss" +module_autoload_snd-timer = "snd-timer" +module_autoload_soundcore = "soundcore" +module_autoload_wm97xx-ts = "wm97xx-ts" +module_autoload_pxa27x-keyboard = "pxa27x-keyboard" +module_autoload_palmtx_battery = "palmtx_battery" +module_autoload_palmz72_battery = "palmz72_battery" +module_autoload_i2c-dev = "i2c-dev" +module_autoload_i2c-pxa = "i2c-pxa" + + +MACHINE_EXTRA_RRECOMMENDS = "\ + kernel-module-ac97-bus \ + kernel-module-apm-power \ + kernel-module-backlight \ + kernel-module-battery \ + kernel-module-led-class \ + kernel-module-lcd \ + kernel-module-gpioed \ + kernel-module-gpioed-ng \ + kernel-module-external-power \ + kernel-module-snd \ + kernel-module-snd-ac97-codec \ + kernel-module-snd-page-alloc \ + kernel-module-snd-pcm \ + kernel-module-snd-seq \ + kernel-module-snd-seq-device \ + kernel-module-snd-seq-midi-event \ + kernel-module-snd-seq-oss \ + kernel-module-snd-timer \ + kernel-module-soundcore \ + " diff --git a/conf/machine/include/tune-arm920t.inc b/conf/machine/include/tune-arm920t.inc new file mode 100644 index 0000000..fee5c58 --- /dev/null +++ b/conf/machine/include/tune-arm920t.inc @@ -0,0 +1,4 @@ +FEED_ARCH = "armv4t" +BASE_PACKAGE_ARCH = "armv4t" +TARGET_CC_ARCH = "-march=armv4t -mtune=arm920t" +PACKAGE_EXTRA_ARCHS += "armv4 armv4t" diff --git a/conf/machine/include/tune-arm926ejs.inc b/conf/machine/include/tune-arm926ejs.inc new file mode 100644 index 0000000..f41e460 --- /dev/null +++ b/conf/machine/include/tune-arm926ejs.inc @@ -0,0 +1,7 @@ +FEED_ARCH = "armv5te" +PACKAGE_EXTRA_ARCHS += "armv4 armv4t armv5te" +# For gcc 3.x you need: +#TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ejs" +# For gcc 4.x you need: +TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ej-s" +BASE_PACKAGE_ARCH = "armv5te" diff --git a/conf/machine/include/tune-sh3.inc b/conf/machine/include/tune-sh3.inc new file mode 100644 index 0000000..32801a6 --- /dev/null +++ b/conf/machine/include/tune-sh3.inc @@ -0,0 +1,3 @@ +TARGET_CC_ARCH = "-ml -m3" +FEED_ARCH = "sh3" +BASE_PACKAGE_ARCH = "sh3" diff --git a/conf/machine/include/tune-strongarm.inc b/conf/machine/include/tune-strongarm.inc new file mode 100644 index 0000000..ac584e3 --- /dev/null +++ b/conf/machine/include/tune-strongarm.inc @@ -0,0 +1,11 @@ +# This machine lists common configuration options for Strongarm devices +# gcc does not differentiate between the different Strongarm versions, so neither do we +# http://lists.linuxtogo.org/pipermail/openembedded-devel/2008-January/004031.html + +TARGET_CC_ARCH = "-march=armv4 -mtune=strongarm" +FEED_ARCH = "armv4" +BASE_PACKAGE_ARCH = "armv4" +PACKAGE_EXTRA_ARCHS += "armv4" + +ARM_INSTRUCTION_SET = "arm" +THUMB_INTERWORK = "no" diff --git a/conf/machine/include/tune-xscale.inc b/conf/machine/include/tune-xscale.inc new file mode 100644 index 0000000..f0f58bc --- /dev/null +++ b/conf/machine/include/tune-xscale.inc @@ -0,0 +1,9 @@ +# this depends on fact that for ARM the TARGET_ARCH is 'arm' for little endian and 'armeb' for bigendian +# this is the case as of now for all arm machines in OE. + +FEED_ARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('TARGET_ARCH', d, 1) == 'arm']}" + +TARGET_CC_ARCH = "-march=armv5te -mtune=xscale" +TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale" +PACKAGE_EXTRA_ARCHS += "${@['armv4b armv4tb armv5teb', 'armv4 armv4t armv5te'][ bb.data.getVar('TARGET_ARCH', d, 1) == 'arm']}" +BASE_PACKAGE_ARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('TARGET_ARCH', d, 1) == 'arm']}" diff --git a/conf/machine/include/zaurus.inc b/conf/machine/include/zaurus.inc new file mode 100644 index 0000000..0bbed6e --- /dev/null +++ b/conf/machine/include/zaurus.inc @@ -0,0 +1,131 @@ +######################## +# Zaurus common settings +######################## + +ERASEBLOCKSIZE = "0x4000" +ERASEBLOCKSIZE_akita = "0x20000" + +# Warning! SL-C3000 has "0x4000" (16MiB NAND) +# C3100 and C3200 have same 128MiB NAND device as akita +ERASEBLOCKSIZE_spitz = "0x20000" + +IMAGE_FSTYPES += "jffs2 tar.gz" + +# kernel now supports favourlzo +IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime -m favourlzo \ + --output=${T}/${IMAGE_NAME}.rootfs.jffs2 --pad --little-endian --eraseblock=${ERASEBLOCKSIZE} -n \ + && sumtool -i ${T}/${IMAGE_NAME}.rootfs.jffs2 \ + -o ${T}/${IMAGE_NAME}.rootfs.jffs2.summary \ + --eraseblock=${ERASEBLOCKSIZE} -l -p; \ + cat ${T}/${IMAGE_NAME}.rootfs.jffs2 > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2; \ + rm ${T}/${IMAGE_NAME}.rootfs.jffs2; \ + cat ${T}/${IMAGE_NAME}.rootfs.jffs2.summary > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.summary.jffs2; \ + rm ${T}/${IMAGE_NAME}.rootfs.jffs2.summary;" + +EXTRA_IMAGEDEPENDS += "zaurus-installer" + +IMAGE_DEVICE_TABLES = "files/device_table-minimal.txt \ + files/device_table_add-scsi.txt \ + files/device_table_add-loop.txt \ + " + +######### +# xserver (FIXME: xserver-xorg is in testing on spitz) +######### + +PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive" +XSERVER = "xserver-kdrive-fbdev" + +# c7x0 uses kdrive-imageon_1.2.0 +PREFERRED_PROVIDER_virtual/xserver_c7x0 = "xserver-kdrive-imageon" +XSERVER_c7x0 = "xserver-kdrive-imageon" + +# collie uses kdrive-fbdev +PREFERRED_PROVIDER_virtual/xserver_collie = "xserver-kdrive" +XSERVER_collie = "xserver-kdrive-fbdev" + +# FIXME xserver-kdrive 1.3.0.0 is still the only working version ? +PREFERRED_PROVIDER_virtual/xserver_akita = "xserver-kdrive-1300" +XSERVER_akita = "xserver-kdrive-1300-fbdev" + +# spitz uses xserver-xorg +PREFERRED_PROVIDER_virtual/xserver_spitz = "xserver-xorg" +XSERVER_spitz = "xserver-xorg xf86-video-fbdev xf86-input-keyboard xf86-input-mouse xf86-input-evdev" +PREFERRED_PROVIDER_virtual/libgl_spitz = "mesa-dri" + + +######## +# kernel +######## + +PREFERRED_PROVIDER_virtual/kernel = "linux" + +# Default bootloader expects "zImage", use "uImage" for u-boot +# Note: kexecboot can boot both kind of images +ZAURUS_KERNEL_IMAGETYPE ?= "zImage" +KERNEL_IMAGETYPE = "${ZAURUS_KERNEL_IMAGETYPE}" + +# sane defaults for devices with only 32Mb RAM +XZ_COMPRESSION_LEVEL = "-7" +LZMA_COMPRESSION_LEVEL = "-8" + +# kernel bootlogo +LOGO_SIZE = '${@base_conditional("GUI_MACHINE_CLASS", "bigscreen", "vga", "qvga", d)}' + +################ +# machine tuning +################ + +TARGET_ARCH = "arm" + +SERIAL_CONSOLE = "115200 ttyS0" +SERIAL_CONSOLE_collie = "115200 ttySA0" + +PCMCIA_MANAGER ?= "pcmciautils" + +CMDLINE_akita = "console=ttyS0,115200n8 console=tty1 fbcon=rotate:1" +CMDLINE_c7x0 = "console=ttyS0,115200n8 console=tty1" +CMDLINE_collie = "console=ttySA0,115200n8 console=tty1 mem=64M fbcon=rotate:1" +CMDLINE_poodle = "console=ttyS0,115200n8 console=tty1 fbcon=rotate:1" +CMDLINE_spitz = "console=ttyS0,115200n8 console=tty1 fbcon=rotate:1" +CMDLINE_tosa = "console=ttyS0,115200n8 console=tty1" + +MACHINE_FEATURES = "kernel26 apm alsa pcmcia irda usbgadget keyboard touchscreen screen vfat ext2" +MACHINE_FEATURES_append_akita = " usbhost" +MACHINE_FEATURES_append_spitz = " usbhost" +MACHINE_FEATURES_append_tosa = " usbhost wifi " + +MACHINE_EXTRA_RDEPENDS = "zaurusd mtd-utils nandlogical" +MACHINE_EXTRA_RDEPENDS_collie = "zaurusd" + +# Still actual? OHCI suspend/resume fixup +# MACHINE_EXTRA_RRECOMMENDS_tosa = "apm-tosa-suspendfix" + +################################## +# build kexecboot kernel while +# making sure rootfs is compatible +################################## + +require conf/machine/include/initramfs-kexecboot.inc + +# FIXME +# blindly import from linux-rp.inc (2.6.2x) +# +module_autoload_pxaficp_ir = "pxaficp_ir" +module_autoload_snd-pcm-oss = "snd-pcm-oss" +module_autoload_pcmcia_core = "pcmcia_core" +module_autoload_pxa2xx_cs = "pxa2xx_cs" +module_autoload_ohci-hcd_tosa = "ohci-hcd" +module_autoload_snd-soc-corgi_c7x0 = "snd-soc-corgi" +module_autoload_snd-soc-spitz_akita = "snd-soc-spitz" +module_autoload_snd-soc-spitz_spitz = "snd-soc-spitz" +module_autoload_snd-soc-poodle_poodle = "snd-soc-poodle" +module_autoload_locomo-spi_collie = "locomo-spi" +module_autoload_mmc_block_collie = "mmc_block" +module_autoload_mmc_spi = "mmc-spi" +module_autoload_locomokbd_collie = "locomokbd" +module_autoload_sa1100-cs_collie = "sa1100_cs" +module_autoload_collie-ts_collie = "collie-ts" +module_autoload_leds-locomo_collie = "leds-locomo" +module_autoload_power_collie = "power" +# Fixme ? module-snd for tosa diff --git a/conf/machine/jornada56x.conf b/conf/machine/jornada56x.conf new file mode 100644 index 0000000..72fff1e --- /dev/null +++ b/conf/machine/jornada56x.conf @@ -0,0 +1,15 @@ +#@TYPE: Machine +#@NAME: HP Jornada 56x +#@DESCRIPTION: Machine configuration for the SA1100 based HP Jornada 56x palmtop computer + +TARGET_ARCH = "arm" +PREFERRED_PROVIDER_xserver = "xserver-kdrive" +PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6" +PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross" +BOOTSTRAP_EXTRA_RDEPENDS = "kernel kernel-modules module-init-tools" + +EXTRA_IMAGECMD_jornada56x_jffs2 = "-e 0x40000 -p" + +SERIAL_CONSOLE = "115200 ttySA0" + +require conf/machine/include/tune-strongarm.inc diff --git a/conf/machine/jornada6xx.conf b/conf/machine/jornada6xx.conf new file mode 100644 index 0000000..0b32184 --- /dev/null +++ b/conf/machine/jornada6xx.conf @@ -0,0 +1,22 @@ +#@TYPE: Machine +#@NAME: HP Jornada 680 +#@DESCRIPTION: Machine configuration for the HITACHI SH3 based HP Jornada 6xx palmtop computer + +TARGET_ARCH = "sh3" + +require conf/machine/include/tune-sh3.inc + +MACHINE_FEATURES = "kernel26 alsa pcmcia irda keyboard touchscreen screen vfat" +MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" + +PREFERRED_PROVIDER_virtual/kernel = "linux-jlime-jornada6xx" +PREFERRED_VERSION_linux-jlime-jornada6xx = "2.6.17" + +PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive" +PREFERRED_VERSION_xserver-kdrive = "1.3.0.0" + +XSERVER = "xserver-kdrive-fbdev" + +PCMCIA_MANAGER = "pcmciautils" + +SYSVINIT_ENABLED_GETTYS = "1 2" diff --git a/conf/machine/jornada7xx.conf b/conf/machine/jornada7xx.conf new file mode 100644 index 0000000..d444cb9 --- /dev/null +++ b/conf/machine/jornada7xx.conf @@ -0,0 +1,23 @@ +#@TYPE: Machine +#@NAME: HP Jornada 7xx +#@DESCRIPTION: Machine configuration for the SA1110 based HP Jornada 7xx palmtop computer + +TARGET_ARCH = "arm" + +require conf/machine/include/tune-strongarm.inc + +PREFERRED_PROVIDER_virtual/kernel = "linux-jlime-jornada7xx" +PCMCIA_MANAGER = "pcmciautils" +MACHINE_FEATURES = "kernel26 apm alsa pcmcia irda keyboard touchscreen screen vfat" +MACHINE_EXTRA_RDEPENDS = "kernel-modules bluez-dtl1-workaround" + +PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive" +PREFERRED_VERSION_xserver-kdrive = "1.3.0.0" +XSERVER = "xserver-kdrive-fbdev" + +#screeninfo +MACHINE_GUI_CLASS = "smallscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "640" +MACHINE_DISPLAY_HEIGHT_PIXELS = "240" + +SYSVINIT_ENABLED_GETTYS = "1 2 3 4 5 6" diff --git a/conf/machine/palmld.conf b/conf/machine/palmld.conf new file mode 100644 index 0000000..bbeaf3a --- /dev/null +++ b/conf/machine/palmld.conf @@ -0,0 +1,37 @@ +#@TYPE: Machine +#@NAME: Palm LifeDrive +#@DESCRIPTION: Machine configuration for the Palm LifeDrive + +require conf/machine/include/palm.inc + +ROOT_FLASH_SIZE = "100" + +MACHINE_GUI_CLASS = "bigscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "320" +MACHINE_DISPLAY_HEIGHT_PIXELS = "480" +MACHINE_FEATURES += "pcmcia wifi" +MACHINE_FEATURES += "iwmmxt" + + +MACHINE_EXTRA_RRECOMMENDS += "\ + kernel-module-bcm2035-uart \ + kernel-module-leds-palmld \ + kernel-module-ledtrig-heartbeat \ + kernel-module-ledtrig-hwtimer \ + kernel-module-ledtrig-timer \ + kernel-module-palmld-battery \ + kernel-module-palmld-ide \ + kernel-module-palmld-pcmcia \ + kernel-module-pcmcia-core \ + kernel-module-pda-power \ + kernel-module-pxa2xx-core \ + kernel-module-snd-pxa2xx-ac97 \ + kernel-module-snd-pxa2xx-pcm \ + " + +# +# Modules autoload and other boot properties +# + +module_conf_wm97xx-ts = "options wm97xx-ts pil=2" + diff --git a/conf/machine/palmt650.conf b/conf/machine/palmt650.conf new file mode 100644 index 0000000..f81ade3 --- /dev/null +++ b/conf/machine/palmt650.conf @@ -0,0 +1,20 @@ +#@TYPE: Machine +#@NAME: Palm Treo 650 +#@DESCRIPTION: Machine configuration for the Palm Treo 650 + +require conf/machine/include/palm.inc + +ROOT_FLASH_SIZE = "100" + +SERIAL_CONSOLE = "115200 ttyS1" + +GUI_MACHINE_CLASS = "bigscreen" + +MACHINE_EXTRA_RRECOMMENDS += "kernel-module-snd-pxa2xx-ac97 \ + kernel-module-pxa27x-keyboard \ + kernel-module-wm97xx-ts \ + " + +MACHINE_EXTRA_RDEPENDS += "palmt650-keyboard-modmap" + +module_autoload_g_ether = "g_ether" diff --git a/conf/machine/palmt680.conf b/conf/machine/palmt680.conf new file mode 100644 index 0000000..b984667 --- /dev/null +++ b/conf/machine/palmt680.conf @@ -0,0 +1,14 @@ +#@TYPE: Machine +#@NAME: Palm Treo 680 +#@DESCRIPTION: Machine configuration for the Palm Treo 680 + +require conf/machine/include/palm.inc + +ROOT_FLASH_SIZE = "100" + +SERIAL_CONSOLE = "115200 ttyS0" + +GUI_MACHINE_CLASS = "bigscreen" + +MACHINE_EXTRA_RRECOMMENDS += "kernel-module-pxa27x-keyboard \ + kernel-module-wm97xx-ts" diff --git a/conf/machine/palmtc.conf b/conf/machine/palmtc.conf new file mode 100644 index 0000000..28db830 --- /dev/null +++ b/conf/machine/palmtc.conf @@ -0,0 +1,14 @@ +#@TYPE: Machine +#@NAME: Palm TC +#@DESCRIPTION: Machine configuration for the Palm Tungsten C + +require conf/machine/include/palm.inc + +MACHINE_FEATURES += "wifi" + +ROOT_FLASH_SIZE = "100" + +SERIAL_CONSOLE = "115200 ttyS0" + +GUI_MACHINE_CLASS = "bigscreen" + diff --git a/conf/machine/palmtt.conf b/conf/machine/palmtt.conf new file mode 100644 index 0000000..4326af9 --- /dev/null +++ b/conf/machine/palmtt.conf @@ -0,0 +1,17 @@ +#@TYPE: Machine +#@NAME: Palm Tungsten T +#@DESCRIPTION: Machine configuration for Palm Tungsten T/T2 + +TARGET_ARCH = "arm" + +MACHINE_GUI_CLASS = "bigscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "320" +MACHINE_DISPLAY_HEIGHT_PIXELS = "320" + +PREFERRED_PROVIDER_xserver = "xserver-kdrive" +PREFERRED_PROVIDER_virtual/kernel = "linux-palm-omap1" + +SERIAL_CONSOLE ?= "115200 ttyS0" +EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x40000" + +require conf/machine/include/tune-arm926ejs.inc diff --git a/conf/machine/palmtt2.conf b/conf/machine/palmtt2.conf new file mode 100644 index 0000000..2c62a04 --- /dev/null +++ b/conf/machine/palmtt2.conf @@ -0,0 +1,2 @@ +WARNING:="${@bb.fatal('\n*\n*\n* Sorry, There is no dedicated configuration for the Palm Tungsten T2,\n* because \ +its very similar to the Palm Tungsten T. Use MACHINE = \"palmtt\".\n*\n*\n')}" diff --git a/conf/machine/palmtt3.conf b/conf/machine/palmtt3.conf new file mode 100644 index 0000000..3834feb --- /dev/null +++ b/conf/machine/palmtt3.conf @@ -0,0 +1,9 @@ +#@TYPE: Machine +#@NAME: Palm Tungsten|T3 +#@DESCRIPTION: Machine configuration for the Palm Tungsten|T3 + +require conf/machine/include/palm.inc + +ROOT_FLASH_SIZE = "100" + +SERIAL_CONSOLE = "115200 ttyS3" diff --git a/conf/machine/palmtt5.conf b/conf/machine/palmtt5.conf new file mode 100644 index 0000000..997c157 --- /dev/null +++ b/conf/machine/palmtt5.conf @@ -0,0 +1,15 @@ +#@TYPE: Machine +#@NAME: Palm Tungsten T5 +#@DESCRIPTION: Machine configuration for the Palm Tungsten T5 + +require conf/machine/include/palm.inc + +ROOT_FLASH_SIZE = "100" + +SERIAL_CONSOLE = "115200 ttyS0" + +GUI_MACHINE_CLASS = "bigscreen" + +MACHINE_EXTRA_RRECOMMENDS += "kernel-module-pxa27x-keyboard \ + kernel-module-wm97xx-ts \ + kernel-module-palmt5-battery" diff --git a/conf/machine/palmtx.conf b/conf/machine/palmtx.conf new file mode 100644 index 0000000..e1991c8 --- /dev/null +++ b/conf/machine/palmtx.conf @@ -0,0 +1,29 @@ +#@TYPE: Machine +#@NAME: Palm TX +#@DESCRIPTION: Machine configuration for the Palm TX + +require conf/machine/include/palm.inc + +MACHINE_GUI_CLASS = "bigscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "320" +MACHINE_DISPLAY_HEIGHT_PIXELS = "480" +MACHINE_FEATURES += "pcmcia wifi" + +ROOT_FLASH_SIZE = "100" + +SERIAL_CONSOLE = "115200 ttyS0" + +MACHINE_EXTRA_RRECOMMENDS += "kernel-module-pxa27x-keyboard \ + kernel-module-wm97xx-ts \ + kernel-module-palmtx-battery \ + kernel-module-palmtx-border \ + kernel-module-bcm2035-uart \ + kernel-module-palmtx-pcmcia \ + kernel-module-pcmcia-core \ + kernel-module-pda-power \ + kernel-module-pxa2xx-core \ + kernel-module-snd-pxa2xx-ac97 \ + kernel-module-snd-pxa2xx-pcm" + + +module_autoload_g_ether = "g_ether" diff --git a/conf/machine/palmz31.conf b/conf/machine/palmz31.conf new file mode 100644 index 0000000..9fb5f7e --- /dev/null +++ b/conf/machine/palmz31.conf @@ -0,0 +1,20 @@ +#@TYPE: Machine +#@NAME: Palm Zire 31 +#@DESCRIPTION: Machine configuration for the Palm Zire 31 + +require conf/machine/include/palm.inc + +ROOT_FLASH_SIZE = "16" +MACHINE_GUI_CLASS = "smallscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "160" +MACHINE_DISPLAY_HEIGHT_PIXELS = "160" + +SERIAL_CONSOLE = "115200 ttyS0" + +MACHINE_EXTRA_RRECOMMENDS += "kernel-module-i2c-pxa \ + kernel-module-i2c-algo-pxa \ + kernel-module-i2c-dev \ + kernel-module-wm97xx-ts \ + kernel-module-palmz31-battery" + +module_autoload_g_ether = "g_ether" diff --git a/conf/machine/palmz71.conf b/conf/machine/palmz71.conf new file mode 100644 index 0000000..0a7f274 --- /dev/null +++ b/conf/machine/palmz71.conf @@ -0,0 +1,14 @@ +#@TYPE: Machine +#@NAME: Palm Zire 71 +#@DESCRIPTION: Machine configuration for Palm Zire 71 + +TARGET_ARCH = "arm" + +PREFERRED_PROVIDER_xserver = "xserver-kdrive" +PREFERRED_PROVIDER_virtual/kernel = "linux-palm-omap1" +PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross" + +SERIAL_CONSOLE ?= "115200 ttyS0" +EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x40000" + +require conf/machine/include/tune-arm926ejs.inc diff --git a/conf/machine/palmz72.conf b/conf/machine/palmz72.conf new file mode 100644 index 0000000..9766434 --- /dev/null +++ b/conf/machine/palmz72.conf @@ -0,0 +1,21 @@ +#@TYPE: Machine +#@NAME: Palm Zire 72 +#@DESCRIPTION: Machine configuration for the Palm Zire 72 + +require conf/machine/include/palm.inc + +ROOT_FLASH_SIZE = "100" +MACHINE_GUI_CLASS = "bigscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "320" +MACHINE_DISPLAY_HEIGHT_PIXELS = "320" + +SERIAL_CONSOLE = "115200 ttyS0" + +MACHINE_EXTRA_RRECOMMENDS += "kernel-module-i2c-pxa \ + kernel-module-i2c-algo-pxa \ + kernel-module-i2c-dev \ + kernel-module-wm97xx-ts \ + kernel-module-palmz72-battery" + +module_autoload_g_ether = "g_ether" + diff --git a/conf/machine/poodle.conf b/conf/machine/poodle.conf new file mode 100644 index 0000000..d1bcb15 --- /dev/null +++ b/conf/machine/poodle.conf @@ -0,0 +1,14 @@ +#@TYPE: Machine +#@NAME: Sharp Zaurus SL-B500, Sharp Zaurus SL-5600 +#@DESCRIPTION: Machine configuration for the PXA250 based Sharp Zaurus SL-B500 and SHarp Zaurus SL-5600 devices + +require conf/machine/include/zaurus.inc +require conf/machine/include/tune-xscale.inc + +ROOT_FLASH_SIZE = "22" + +MACHINE_GUI_CLASS = "smallscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "240" +MACHINE_DISPLAY_HEIGHT_PIXELS = "320" +MACHINE_DISPLAY_ORIENTATION = "270" +MACHINE_DISPLAY_PPI = "114" diff --git a/conf/machine/rokre2.conf b/conf/machine/rokre2.conf new file mode 100644 index 0000000..1a99c87 --- /dev/null +++ b/conf/machine/rokre2.conf @@ -0,0 +1,10 @@ +#@TYPE: Machine +#@NAME: Motorola EZX ROKR E2 +#@DESCRIPTION: Machine configuration for the Motorola GSM Phone ROKR E2 + +require conf/machine/include/motorola-ezx-base.inc + +# there is no touchscreen +MACHINE_FEATURES = "kernel26 apm alsa bluetooth usbgadget usbhost keyboard screen" +MACHINE_FEATURES += "iwmmxt" + diff --git a/conf/machine/rokre6.conf b/conf/machine/rokre6.conf new file mode 100644 index 0000000..044a65c --- /dev/null +++ b/conf/machine/rokre6.conf @@ -0,0 +1,6 @@ +#@TYPE: Machine +#@NAME: Motorola EZX ROKR E6 +#@DESCRIPTION: Machine configuration for the Motorola GSM Phone ROKR E6 + +require conf/machine/include/motorola-ezx-base.inc + diff --git a/conf/machine/rx1950.conf b/conf/machine/rx1950.conf new file mode 100644 index 0000000..d43a2dc --- /dev/null +++ b/conf/machine/rx1950.conf @@ -0,0 +1,28 @@ +#@TYPE: Machine +#@NAME: HP iPAQ rx1950 +#@DESCRIPTION: Machine configuration for the HP iPAQ rx1950 + +# +# Hardware-based properties +# +TARGET_ARCH = "arm" + +# Samsung S3C2xxx CPU +require conf/machine/include/tune-arm920t.inc + +ROOT_FLASH_SIZE = "64" +VOLATILE_STORAGE_SIZE = "64" +MACHINE_GUI_CLASS = "smallscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "240" +MACHINE_DISPLAY_HEIGHT_PIXELS = "320" +MACHINE_FEATURES = "kernel26 touchscreen apm alsa irda wifi usbgadget screen vfat" + +# +# Software/packages selection +# +PREFERRED_PROVIDER_virtual/kernel = "linux" +PREFERRED_VERSION_linux = "2.6.35" +PCMCIA_MANAGER = "pcmciautils" + +SERIAL_CONSOLE = "115200 ttyS0 vt100" +USE_VT = "0" diff --git a/conf/machine/rx3000.conf b/conf/machine/rx3000.conf new file mode 100644 index 0000000..83c8820 --- /dev/null +++ b/conf/machine/rx3000.conf @@ -0,0 +1,40 @@ +#@TYPE: Machine +#@NAME: HP iPAQ rx3xxx +#@DESCRIPTION: Machine configuration for the HP iPAQ rx3xxx + +# +# Hardware-based properties +# +TARGET_ARCH = "arm" + +# Samsung S3C2xxx CPU +require conf/machine/include/tune-arm920t.inc + +ROOT_FLASH_SIZE = "32" +VOLATILE_STORAGE_SIZE = "64" +MACHINE_GUI_CLASS = "smallscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "240" +MACHINE_DISPLAY_HEIGHT_PIXELS = "320" +MACHINE_FEATURES = "kernel26 touchscreen apm alsa irda bluetooth wifi usbgadget screen vfat" + +# +# Software/packages selection +# +PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6" +PCMCIA_MANAGER = "pcmciautils" +PREFERRED_PROVIDER_xserver = "xserver-kdrive" + +MACHINE_EXTRA_RDEPENDS = "tiinit acx-firmware" +MACHINE_EXTRA_RRECOMMENDS = "kernel-module-acx \ + " + +# +# Modules autoload and other boot properties +# +module_autoload_snd-pcm-oss = "snd-pcm-oss" +module_autoload_g_ether = "g_ether" + +SERIAL_CONSOLE = "115200 ttyS0 vt100" +USE_VT = "0" + +require conf/machine/include/LAB-settings.inc diff --git a/conf/machine/shepherd.conf b/conf/machine/shepherd.conf new file mode 100644 index 0000000..1541712 --- /dev/null +++ b/conf/machine/shepherd.conf @@ -0,0 +1,3 @@ +WARNING:="${@bb.fatal('\n*\n*\n* Sorry, There is no dedicated configuration for the Sharp SL-C750,\n* because \ +of the similarities of the clamshell series. Use MACHINE = \"c7x0\".\n*\n*\n')}" + diff --git a/conf/machine/simpad.conf b/conf/machine/simpad.conf new file mode 100644 index 0000000..c1fc402 --- /dev/null +++ b/conf/machine/simpad.conf @@ -0,0 +1,23 @@ +#@TYPE: Machine +#@NAME: SIEMENS SIMpad SL4, SIEMENS SIMpad CL4, SIEMENS SIMpad SLC, Telekom T-Sinus PAD +#@DESCRIPTION: Machine configuration for the SA1100 based SIEMENS SIMpad and Telekom T-Sinus PAD devices + +TARGET_ARCH = "arm" + +MACHINE_FEATURES = "apm pcmcia irda screen touchscreen vfat kernel26" + +PREFERRED_PROVIDER_virtual/kernel = "linux" +PCMCIA_MANAGER ?= "pcmciautils" + +require conf/machine/include/tune-strongarm.inc + +ROOT_FLASH_SIZE = "16" +EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000" + +GUI_MACHINE_CLASS = "bigscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "800" +MACHINE_DISPLAY_HEIGHT_PIXELS= "600" +SERIAL_CONSOLE = "ttySA0 115200 vt100" +USE_VT = "0" + +PREFERRED_PROVIDER_xserver = "xserver-kdrive" diff --git a/conf/machine/spitz.conf b/conf/machine/spitz.conf new file mode 100644 index 0000000..4019bca --- /dev/null +++ b/conf/machine/spitz.conf @@ -0,0 +1,29 @@ +#@TYPE: Machine +#@NAME: Sharp Zaurus SL-C3000 +#@DESCRIPTION: Machine configuration for the Sharp Zaurus SL-C3000 device + +require conf/machine/include/zaurus.inc +require conf/machine/include/tune-xscale.inc + +MACHINE_FEATURES += "iwmmxt" +PACKAGE_EXTRA_ARCHS += "iwmmxt" + +# NAND factory-default +# SL-C3000 (spitz) mtdparts=sharpsl-nand:7168k@0k(smf),5120k@7168k(root),-(home) +# SL-C3100 (borzoi) mtdparts=sharpsl-nand:7168k@0k(smf),32768k@7168k(root),-(home) +# SL-C3200 (terrier) mtdparts=sharpsl-nand:7168k@0k(smf),44032k@7168k(root),-(home) + +# There isn't an unique size valid for all models, +# please set the right value in your local.conf +ROOT_FLASH_SIZE ?= "5" + +MACHINE_GUI_CLASS = "bigscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "640" +MACHINE_DISPLAY_HEIGHT_PIXELS = "480" +MACHINE_DISPLAY_ORIENTATION = "270" +MACHINE_DISPLAY_PPI = "216" + +# spitz and akita share same u-boot machine +UBOOT_MACHINE = "akita_config" +UBOOT_ENTRYPOINT = "0xA1000000" +UBOOT_LOADADDRESS = "${UBOOT_ENTRYPOINT}" diff --git a/conf/machine/terrier.conf b/conf/machine/terrier.conf new file mode 100644 index 0000000..ca6a20d --- /dev/null +++ b/conf/machine/terrier.conf @@ -0,0 +1,2 @@ +WARNING:="${@bb.fatal('\n*\n*\n* Sorry, There is no dedicated configuration for the Sharp SL-C3200,\n* because \ +its very similar to the SL-C3000/SL-C3100. Use MACHINE = \"spitz\".\n*\n*\n')}" diff --git a/conf/machine/tosa.conf b/conf/machine/tosa.conf new file mode 100644 index 0000000..ab12b8b --- /dev/null +++ b/conf/machine/tosa.conf @@ -0,0 +1,14 @@ +#@TYPE: Machine +#@NAME: Sharp Zaurus SL-6000 +#@DESCRIPTION: Machine configuration for the PXA255 based Sharp Zaurus SL-6000 device + +require conf/machine/include/zaurus.inc +require conf/machine/include/tune-xscale.inc + +ROOT_FLASH_SIZE = "28" + +MACHINE_GUI_CLASS = "bigscreen" +MACHINE_DISPLAY_WIDTH_PIXELS = "480" +MACHINE_DISPLAY_HEIGHT_PIXELS = "640" +MACHINE_DISPLAY_ORIENTATION = "0" +MACHINE_DISPLAY_PPI = "200" -- cgit 1.2.3-korg