diff options
-rw-r--r-- | conf/machine/a1200.conf | 5 | ||||
-rw-r--r-- | conf/machine/a780.conf | 5 | ||||
-rw-r--r-- | conf/machine/a910.conf | 5 | ||||
-rw-r--r-- | conf/machine/e680.conf | 5 | ||||
-rw-r--r-- | conf/machine/include/motorola-ezx-base.inc | 61 | ||||
-rw-r--r-- | conf/machine/rokre2.conf | 10 | ||||
-rw-r--r-- | conf/machine/rokre6.conf | 6 | ||||
-rw-r--r-- | recipes-bsp/ezx/ezx-gen-blob_git.bb | 41 | ||||
-rw-r--r-- | recipes-bsp/ezx/ezx-gpiotool_svn.bb | 24 | ||||
-rw-r--r-- | recipes-bsp/ezx/ezxd/ezxd.init | 83 | ||||
-rw-r--r-- | recipes-bsp/ezx/ezxd_svn.bb | 48 | ||||
-rw-r--r-- | recipes-bsp/ezx/files/remove-bogus-sed.patch | 15 | ||||
-rw-r--r-- | recipes-bsp/ezx/moto-boot-usb-native_git.bb | 27 | ||||
-rw-r--r-- | recipes-kernel/linux/openezx-kernel_git.bb | 47 |
14 files changed, 0 insertions, 382 deletions
diff --git a/conf/machine/a1200.conf b/conf/machine/a1200.conf deleted file mode 100644 index 1e736be..0000000 --- a/conf/machine/a1200.conf +++ /dev/null @@ -1,5 +0,0 @@ -#@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 deleted file mode 100644 index 9530de8..0000000 --- a/conf/machine/a780.conf +++ /dev/null @@ -1,5 +0,0 @@ -#@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 deleted file mode 100644 index 863c176..0000000 --- a/conf/machine/a910.conf +++ /dev/null @@ -1,5 +0,0 @@ -#@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/e680.conf b/conf/machine/e680.conf deleted file mode 100644 index 749f022..0000000 --- a/conf/machine/e680.conf +++ /dev/null @@ -1,5 +0,0 @@ -#@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/include/motorola-ezx-base.inc b/conf/machine/include/motorola-ezx-base.inc deleted file mode 100644 index 617c3d1..0000000 --- a/conf/machine/include/motorola-ezx-base.inc +++ /dev/null @@ -1,61 +0,0 @@ -# -# Hardware-based properties -# - -require conf/machine/include/tune-xscale.inc - -MACHINE_FEATURES = "alsa apm bluetooth keyboard phone screen touchscreen usbgadget usbhost vfat qvga" -MACHINE_FEATURES += " iwmmxt" - -PACKAGE_EXTRA_ARCHS_tune-xscale += "iwmmxt" - -#cat /proc/mtd -#dev: size erasesize name -#mtd0: 00020000 00008000 "Bootloader" -#mtd1: 000e0000 00020000 "Kernel" -#mtd2: 00580000 00020000 "VFM_Filesystem" -#mtd3: 00020000 00020000 "Logo" - -MACHINE_GUI_CLASS = "smallscreen" -MACHINE_DISPLAY_WIDTH_PIXELS = "240" -MACHINE_DISPLAY_HEIGHT_PIXELS = "320" - -# -# Software/packages selection -# -PREFERRED_PROVIDER_virtual/kernel ?= "openezx-kernel" - -IMAGE_FSTYPES ?= "jffs2" -JFFS2_ERASEBLOCK = "0x20000" -EXTRA_IMAGECMD_jffs2 = "--pad=14680064 --little-endian --eraseblock=${JFFS2_ERASEBLOCK}" - -# 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/rokre2.conf b/conf/machine/rokre2.conf deleted file mode 100644 index 534a37b..0000000 --- a/conf/machine/rokre2.conf +++ /dev/null @@ -1,10 +0,0 @@ -#@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 = "apm alsa bluetooth usbgadget usbhost keyboard screen qvga" -MACHINE_FEATURES += "iwmmxt" - diff --git a/conf/machine/rokre6.conf b/conf/machine/rokre6.conf deleted file mode 100644 index 044a65c..0000000 --- a/conf/machine/rokre6.conf +++ /dev/null @@ -1,6 +0,0 @@ -#@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/recipes-bsp/ezx/ezx-gen-blob_git.bb b/recipes-bsp/ezx/ezx-gen-blob_git.bb deleted file mode 100644 index 1b7647d..0000000 --- a/recipes-bsp/ezx/ezx-gen-blob_git.bb +++ /dev/null @@ -1,41 +0,0 @@ -DESCRIPTION = "Generic Blob [Bootloader] for the Motorola EZX platform" -SECTION = "bootloaders" -AUTHOR = "OpenEZX Team" -HOMEPAGE = "http://people.openezx.org/wyrm/gen-blob" -LICENSE = "GPL" -PROVIDES = "virtual/bootloader" -DEPENDS = "virtual/kernel" -SRCREV = "33d6abb6ae51cda8c8298ba63033cd11ea4b045c" -PV = "1.0.0+gitr${SRCPV}" -PR = "r0" -PE = "1" - -SRC_URI = "\ - git://git.openezx.org/gen-blob.git;protocol=git;branch=master \ - file://remove-bogus-sed.patch \ -" -S = "${WORKDIR}/git" - -inherit autotools - -EXTRA_OECONF = "\ - --with-board=lubbock \ - --with-cpu=pxa262 \ - --with-linux-prefix=${STAGING_KERNEL_DIR} \ - --enable-usb \ -" - -do_configure() { - gnu-configize - oe_runconf -} - -do_deploy() { - install -d ${DEPLOY_DIR_IMAGE} - install -m 0644 src/blob/blob-a780 ${DEPLOY_DIR_IMAGE}/gen-blob-for-1stgen.${SRCDATE} - install -m 0644 src/blob/blob-a1200 ${DEPLOY_DIR_IMAGE}/gen-blob-for-2ndgen.${SRCDATE} -} - -addtask deploy before do_build after do_compile - -PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/recipes-bsp/ezx/ezx-gpiotool_svn.bb b/recipes-bsp/ezx/ezx-gpiotool_svn.bb deleted file mode 100644 index ed733a2..0000000 --- a/recipes-bsp/ezx/ezx-gpiotool_svn.bb +++ /dev/null @@ -1,24 +0,0 @@ -DESCRIPTION = "Gpiotool can read/write gpio configuration from userspace." -SECTION = "devel" -LICENSE = "GPL" -HOMEPAGE = "http://www.openezx.org" -AUTHOR = "Harald Welte" -SRCREV = "1877" -PV = "${SRCPV}" -PR = "r1" - -SRC_URI = "svn://svn.openezx.org/trunk/src/userspace;module=gpiotool;protocol=http" -S = "${WORKDIR}/gpiotool" - -do_compile() { - for i in mmio.c gpiotool.c gpio.c - do - ${CC} ${CFLAGS} -c $i - done - ${CC} ${CFLAGS} ${LDFLAGS} -o ezx-gpiotool mmio.o gpiotool.o gpio.o -} - -do_install() { - install -d ${D}${sbindir} - install -m 0755 ezx-gpiotool ${D}${sbindir} -} diff --git a/recipes-bsp/ezx/ezxd/ezxd.init b/recipes-bsp/ezx/ezxd/ezxd.init deleted file mode 100644 index ba44942..0000000 --- a/recipes-bsp/ezx/ezxd/ezxd.init +++ /dev/null @@ -1,83 +0,0 @@ -#! /bin/sh -# -*- coding: utf-8 -*- -# init.d script for ezxd - -set -e - -DAEMON=/usr/bin/ezxd -NAME=ezxd -PIDDIR=/var/run/ezxd -PIDFILE=$PIDDIR/pid -DESC="ezxd server" - -test -x $DAEMON || exit 0 - -# Source defaults file; edit that file to configure this script. -ENABLED=1 -PARAMS="" -if [ -e /etc/default/ezxd ]; then - . /etc/default/ezxd -fi - -test "$ENABLED" != "0" || exit 0 - -start_it_up() -{ - if [ ! -d $PIDDIR ]; then - mkdir -p $PIDDIR - fi - if [ -e $PIDFILE ]; then - PIDDIR=/proc/$(cat $PIDFILE) - if [ -d ${PIDDIR} -a "$(readlink -f ${PIDDIR}/exe)" = "${DAEMON}" ]; then - echo "$DESC already started; not starting." - else - echo "Removing stale PID file $PIDFILE." - rm -f $PIDFILE - fi - fi - - echo -n "Starting $DESC: " - modprobe ohci-hcd - sleep 2 - modprobe moto-usb-ipc - modprobe ts27010mux - - start-stop-daemon --start --background --quiet --pidfile $PIDFILE \ - --exec $DAEMON -- --system $PARAMS - # We need to sleep here because opening the mux devices takes some time - sleep 15 - echo "$NAME." -} - -shut_it_down() -{ - echo -n "Stopping $DESC: " - start-stop-daemon --stop --quiet --pidfile $PIDFILE - - # We no longer include these arguments so that start-stop-daemon - # can do its job even given that we may have been upgraded. - # We rely on the pidfile being sanely managed - # --exec $DAEMON -- --system $PARAMS - echo "$NAME." - rm -f $PIDFILE -} - -case "$1" in - start) - start_it_up - ;; - stop) - shut_it_down - ;; - restart|force-reload) - shut_it_down - sleep 1 - start_it_up - ;; - *) - echo "Usage: /etc/init.d/$NAME {start|stop|restart|force-reload}" >&2 - exit 1 - ;; -esac - -exit 0 diff --git a/recipes-bsp/ezx/ezxd_svn.bb b/recipes-bsp/ezx/ezxd_svn.bb deleted file mode 100644 index 7b69454..0000000 --- a/recipes-bsp/ezx/ezxd_svn.bb +++ /dev/null @@ -1,48 +0,0 @@ -DESCRIPTION = "Open implementation of motorola's tapisrv, replaces opentapi" -LICENSE = "GPLv2+" -SECTION = "devel" -AUTHOR = "Daniel Ribeiro" - -SRCREV = "2513" -PV = "0.0+svnr${SRCPV}" -PR = "r4" -LIC_FILES_CHKSUM = "file://plugin.c;endline=19;md5=16da36fbb577507b411368f133ce2067" -SRC_URI = "svn://svn.openezx.org/trunk/src/userspace/;module=ezxd;protocol=http \ - file://ezxd.init \ - " - -inherit update-rc.d - -INITSCRIPT_NAME = "ezxd" -INITSCRIPT_PARAMS = "start 00 S ." - -S = "${WORKDIR}/${PN}" - -CFLAGS_append = " -DDEBUG -fPIC " - -TARGET_CC_ARCH += "${LDFLAGS} -fPIC" - -do_configure() { - # Comment out both CC and CROSS definitions - sed -i -e 's:^CC.*$:#\0:g' Makefile - sed -i -e 's:^CROSS.*$:#\0:g' Makefile -} - -fakeroot do_install() { - install -d ${D}/dev/input - mknod ${D}/dev/input/uinput c 10 223 - - install -d ${D}${bindir} - install -m 755 ezxd ${D}${bindir} - - install -d ${D}${libdir}/ezxd - install -m 755 *.so ${D}${libdir}/ezxd - - install -d ${D}${sysconfdir}/init.d - install -m 0600 ezxd.conf ${D}${sysconfdir}/ - install -m 0755 ${WORKDIR}/ezxd.init ${D}${sysconfdir}/init.d/ezxd -} - -FILES_${PN} += "/dev" -CONFFILES_${PN} += "${sysconfdir}/ezxd.conf" - diff --git a/recipes-bsp/ezx/files/remove-bogus-sed.patch b/recipes-bsp/ezx/files/remove-bogus-sed.patch deleted file mode 100644 index 8597ed9..0000000 --- a/recipes-bsp/ezx/files/remove-bogus-sed.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: gen-blob/configure -=================================================================== ---- gen-blob.orig/configure -+++ gen-blob/configure -@@ -1970,8 +1970,8 @@ - fi - - --CFLAGS=`echo $CFLAGS | sed 's/\ *-g\ */\ /'` --LDFLAGS=`echo $LDFLAGS | sed 's/\ *-g\ */\ /'` -+CFLAGS=`echo $CFLAGS` -+LDFLAGS=`echo $LDFLAGS` - CCAS=`echo $CC` - CCASFLAGS=`echo $CFLAGS -D__ASSEMBLY__ ` - diff --git a/recipes-bsp/ezx/moto-boot-usb-native_git.bb b/recipes-bsp/ezx/moto-boot-usb-native_git.bb deleted file mode 100644 index 5147d72..0000000 --- a/recipes-bsp/ezx/moto-boot-usb-native_git.bb +++ /dev/null @@ -1,27 +0,0 @@ -DESCRIPTION = "Boot a Motorola EZX device with a user supplied kernel" -DEPENDS = "virtual/libusb0-native virtual/kernel" -SECTION = "devel" -AUTHOR = "Team OpenEZX <openezx-devel@lists.openezx.org>" -LICENSE = "GPL" -SRCREV = "aeef3f44a1358fee15da193876e8ebc716dcd550" -PV = "0.3.0+gitr${SRCPV}" -PR = "r0" -PE = "1" - -SRC_URI = "git://git.openezx.org/moto-boot-usb.git;protocol=git;branch=master" -S = "${WORKDIR}/git" - -EXTRA_OECONF := '--with-kernel-dir="${STAGING_DIR}/${MACHINE_ARCH}${TARGET_VENDOR}-${TARGET_OS}/kernel"' - -inherit autotools native - -do_deploy() { - install -d ${DEPLOY_DIR_TOOLS} - install -m 0755 src/moto-boot-usb ${DEPLOY_DIR_TOOLS}/moto-boot-usb-${PV} -} - -do_install() { - : -} - -addtask deploy before do_build after do_compile diff --git a/recipes-kernel/linux/openezx-kernel_git.bb b/recipes-kernel/linux/openezx-kernel_git.bb deleted file mode 100644 index 03467d0..0000000 --- a/recipes-kernel/linux/openezx-kernel_git.bb +++ /dev/null @@ -1,47 +0,0 @@ -DESCRIPTION = "OpenEZX 2.6 Linux Development Kernel for the Motorola EZX GSM phones" -AUTHOR = "The OpenEZX Team <openezx-devel@lists.openezx.org>" -HOMEPAGE = "http://www.openezx.org" -SRCREV = "886b7c127040fe32b6780b11737af5ee83daf9b3" -KV = "2.6.38-oe" -PV = "${KV}+gitr${SRCREV}" -PR = "r0" - -require linux.inc - -# Make sure not to use thumb[-interworking] -ARM_INSTRUCTION_SET = "arm" -THUMB_INTERWORKING = "no" - -SRC_URI = "\ - git://git.openezx.org/openezx.git;protocol=git;branch=ezx/current \ -" -S = "${WORKDIR}/git" - -############################################################## -# The kernel image used to reside on a seperate flash partition -# It can be flashed from userspace, so we should package it anyways -# (flash_unlock /dev/mtdX && flash_eraseall /dev/mtdX && flashcp /boot/zImage /dev/mtdX) - -COMPATIBLE_HOST = "arm.*-linux" -COMPATIBLE_MACHINE = '(a780|e680|a910|a1200|rokre2|rokre6)' - -# Provide a fallback kernel command line, even if parameters should be given -# via boot_usb or gen-blob -CMDLINE = "console=tty1 root=/dev/mmcblk0p2 rootfstype=ext2 rootdelay=3 ip=192.168.0.202:192.168.0.200:192.168.0.200:255.255.255.0" -ARM_KEEP_OABI = "1" - -############################################################### -# module configs specific to this kernel -# -#module_autoload_pxaficp_ir = "pxaficp_ir" -#module_autoload_snd-pcm-oss = "snd-pcm-oss" - -do_configure_prepend() { - install -m 0644 ${S}/arch/arm/configs/ezx_defconfig ${WORKDIR}/defconfig -} - -# linux.inc overrides LOCAVERSION but we like to have one -do_compile_prepend() { - sed -i -e '/CONFIG_LOCALVERSION=/d' ${S}/.config - echo 'CONFIG_LOCALVERSION="-oe"' >>${S}/.config -} |