Patch series - add support for IGEP v2
Hi all,
These patches add support for IGEP v2 board to openembedded stable branch. Basically have been ported from development branch, please consider to adding.
Thanks in advance,
Enric
PATCH 1/5 u-boot 2009.08
From: Konrad Mattheis <[email protected]>
Hi,
I have this patch to get the new Version of u-boot working. Please could you apply this an the repository or tell me how I can do this.
bye
Konrad Mattheis
--- conf/checksums.ini | 4 ++++ recipes/u-boot/u-boot_2009.06.bb | 1 - recipes/u-boot/u-boot_2009.08.bb | 16 ++++++++++++++++ 3 files changed, 20 insertions(+), 1 deletions(-) create mode 100644 recipes/u-boot/u-boot_2009.08.bb
conf/checksums.ini +4 -0
@@ -29298,3 +29298,7 @@ sha256=f57c4e33eb2cdd87a6c2f01bfa4794340fbe61ea1a1cfc7dac3b6671e1dd22af md5=5f7b88ebb2bcd7e8044328482d079661 sha256=f57c4e33eb2cdd87a6c2f01bfa4794340fbe61ea1a1cfc7dac3b6671e1dd22af +[ftp://ftp.denx.de/pub/u-boot/u-boot-2009.08.tar.bz2] +md5=cd4788ea1c6ac4f9b100b888a1063a6b +sha256=858fd04efd5b98e99fd1a074998b1a8ac5fbd07b176de1d20d8eb148492d949d +
recipes/u-boot/u-boot_2009.06.bb +0 -1
@@ -3,7 +3,6 @@ require u-boot.inc DEFAULT_PREFERENCE = "-1" DEFAULT_PREFERENCE_mpc8315e-rdb = "1" -DEFAULT_PREFERENCE_at91sam9g20ek = "1" SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 "
recipes/u-boot/u-boot_2009.08.bb new file +16 -0
@@ -0,0 +1,16 @@ +PR = "r0" +require u-boot.inc + +DEFAULT_PREFERENCE = "-1" +DEFAULT_PREFERENCE_at91sam9g20ek = "1" + +SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 " + +TARGET_LDFLAGS = "" + +inherit base + +do_compile () { + oe_runmake ${UBOOT_MACHINE} + oe_runmake all +}
Signature · 1 line
1.5.4.3
PATCH 2/5 igep0020: Add IGEP v2 support to OE
From: Enric Balletbo i Serra <[email protected]>
--- conf/machine/igep0020.conf | 46 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 46 insertions(+), 0 deletions(-) create mode 100644 conf/machine/igep0020.conf
conf/machine/igep0020.conf new file +46 -0
@@ -0,0 +1,46 @@ +#@TYPE: Machine +#@NAME: IGEP0020 machine +#@DESCRIPTION: Machine configuration for the http://www.myigep.com/ IGEP v2.x boards +TARGET_ARCH = "arm" + +PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" +XSERVER = "xserver-xorg \ + xf86-input-evdev \ + xf86-input-mouse \ + xf86-video-omapfb \ + xf86-input-keyboard" + +# Only has DVI connector for external screen +GUI_MACHINE_CLASS = "bigscreen" + +require conf/machine/include/tune-cortexa8.inc + +PREFERRED_PROVIDER_virtual/kernel = "linux-igep2" + +# Increase this everytime you change something in the kernel +MACHINE_KERNEL_PR = "r0" + +KERNEL_IMAGETYPE = "uImage" + +IMAGE_FSTYPES += "tar.bz2 ubi" + +# Guesswork +SERIAL_CONSOLE = "115200 ttyS2" + +# do ubiattach /dev/ubi_ctrl -m 4 +# From dmesg: +# UBI: smallest flash I/O unit: 2048 +# UBI: logical eraseblock size: 129024 bytes +# from ubiattach stdout: +# UBI device number 0, total 1996 LEBs +MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996" + +# do ubiattach /dev/ubi_ctrl -m 4 +# from dmesg: +# UBI: smallest flash I/O unit: 2048 +# UBI: physical eraseblock size: 131072 bytes (128 KiB) +# UBI: sub-page size: 512 +UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512" + +# MACHINE_EXTRA_RRECOMMENDS = " omap3-sgx-modules " +MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
Signature · 1 line
1.5.4.3
PATCH 3/5 linux-igep2: Add 2.6.28.10 for IGEP v2 machine
From: Enric Balletbo i Serra <[email protected]>
--- conf/checksums.ini | 4 + conf/machine/include/omap3.inc | 2 +- .../linux-igep2-2.6.28.10-0/igep0020/defconfig | 2082 ++++++++++++++++++++ .../twl-asoc-fix-record.diff | 34 + recipes/linux/linux-igep2_2.6.28.10-0.bb | 17 + 5 files changed, 2138 insertions(+), 1 deletions(-) create mode 100644 recipes/linux/linux-igep2-2.6.28.10-0/igep0020/defconfig create mode 100644 recipes/linux/linux-igep2-2.6.28.10-0/twl-asoc-fix-record.diff create mode 100644 recipes/linux/linux-igep2_2.6.28.10-0.bb
conf/checksums.ini +4 -0
@@ -29302,3 +29302,7 @@ sha256=f57c4e33eb2cdd87a6c2f01bfa4794340fbe61ea1a1cfc7dac3b6671e1dd22af md5=cd4788ea1c6ac4f9b100b888a1063a6b sha256=858fd04efd5b98e99fd1a074998b1a8ac5fbd07b176de1d20d8eb148492d949d +[http://downloads.myigep.com/sources/kernel/linux-omap-2.6.28.10-igep0020b-0.tar.gz] +md5=c50ae11485ca9b2ee1612d531c5321d9 +sha256=f7a944bab388ed87d5535e21af52054917eb55999a654e1b2c160cbf0c1a8d5a +
conf/machine/include/omap3.inc +1 -1
@@ -1,7 +1,7 @@ require conf/machine/include/tune-cortexa8.inc PREFERRED_PROVIDER_virtual/kernel = "linux-omap" # Increase this everytime you change something in the kernel -MACHINE_KERNEL_PR = "r46" +MACHINE_KERNEL_PR = "r47" KERNEL_IMAGETYPE = "uImage"
recipes/linux/linux-igep2-2.6.28.10-0/igep0020/defconfig new file +2082 -0
2,082 lines not on this page · raw message
recipes/linux/linux-igep2-2.6.28.10-0/twl-asoc-fix-record.diff new file +34 -0
@@ -0,0 +1,34 @@ +From [email protected] Sat Dec 06 02:14:21 2008 +Date: Fri, 5 Dec 2008 16:46:34 -0800 +From: "Steve Sakoman" <[email protected]> +To: "[email protected]" <[email protected]> +Subject: [FYI PATCH] ASOC:TWL4030 Audio capture fix + +A couple of folks have noticed an issue with audio capture -- the +capture result is always silence. + +The patch below is a quick fix for those with this issue. There are +substantial changes to the codec driver that will be trickling down +from ASoC, and they deal with this issue differently. + +So consider this as a bandaid for those who don't want to wait for the +trickle down :-) + +Steve + + +diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c +index ee2f0d3..8b4aafb 100644 +--- a/sound/soc/codecs/twl4030.c ++++ b/sound/soc/codecs/twl4030.c +@@ -45,8 +45,8 @@ static const u8 twl4030_reg[TWL4030_CACHEREGNUM] = { + 0xc3, /* REG_OPTION (0x2) */ + 0x00, /* REG_UNKNOWN (0x3) */ + 0x00, /* REG_MICBIAS_CTL (0x4) */ +- 0x24, /* REG_ANAMICL (0x5) */ +- 0x04, /* REG_ANAMICR (0x6) */ ++ 0x34, /* REG_ANAMICL (0x5) */ ++ 0x14, /* REG_ANAMICR (0x6) */ + 0x0a, /* REG_AVADC_CTL (0x7) */ + 0x00, /* REG_ADCMICSEL (0x8) */ + 0x00, /* REG_DIGMIXING (0x9) */
recipes/linux/linux-igep2_2.6.28.10-0.bb new file +17 -0
@@ -0,0 +1,17 @@ +require linux.inc + +DESCRIPTION = "Linux kernel for OMAP processors" +KERNEL_IMAGETYPE = "uImage" + +COMPATIBLE_MACHINE = "igep0020" + +DEFAULT_PREFERENCE_igep0020 = "1" + +SRC_URI = "http://downloads.myigep.com/sources/kernel/linux-omap-2.6.28.10-igep0020b-0.tar.gz \ + file://defconfig" + +SRC_URI_append = " \ + file://twl-asoc-fix-record.diff;patch=1 \ +" + +S = "${WORKDIR}/linux-omap-2.6.28.10-igep0020b-0"
Signature · 1 line
1.5.4.3
PATCH 4/5 xserver-xf86-config: Add version for IGEP v2 board
From: Enric Balletbo i Serra <[email protected]>
--- .../xserver-xorg-conf/igep0020/xorg.conf | 29 ++++++++++++++++++++ recipes/xorg-xserver/xserver-xorg-conf_0.1.bb | 2 +- 2 files changed, 30 insertions(+), 1 deletions(-) create mode 100644 recipes/xorg-xserver/xserver-xorg-conf/igep0020/xorg.conf
recipes/xorg-xserver/xserver-xorg-conf/igep0020/xorg.conf new file +29 -0
@@ -0,0 +1,29 @@ +Section "Module" + Load "extmod" + Load "dbe" + Load "glx" + Load "freetype" + Load "type1" + Load "record" + Load "dri" +EndSection + +Section "Monitor" + Identifier "Builtin Default Monitor" +EndSection + +Section "Device" + Identifier "Builtin Default fbdev Device 0" + Driver "omapfb" +EndSection + +Section "Screen" + Identifier "Builtin Default fbdev Screen 0" + Device "Builtin Default fbdev Device 0" + Monitor "Builtin Default Monitor" +EndSection + +Section "ServerLayout" + Identifier "Builtin Default Layout" + Screen "Builtin Default fbdev Screen 0" +EndSection
recipes/xorg-xserver/xserver-xorg-conf_0.1.bb +1 -1
@@ -1,5 +1,5 @@ DESCRIPTION = "Machine specific xorg.conf files" -PR = "r4" +PR = "r5" SRC_URI = "file://xorg.conf"
Signature · 1 line
1.5.4.3
PATCH 5/5 netbase: Add version for IGEP v2 board
From: Enric Balletbo i Serra <[email protected]>
--- recipes/netbase/netbase/igep0020/interfaces | 5 +++++ recipes/netbase/netbase_4.21.bb | 2 +- 2 files changed, 6 insertions(+), 1 deletions(-) create mode 100644 recipes/netbase/netbase/igep0020/interfaces
recipes/netbase/netbase/igep0020/interfaces new file +5 -0
@@ -0,0 +1,5 @@ +# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) + +# The loopback interface +auto lo +iface lo inet loopback
recipes/netbase/netbase_4.21.bb +1 -1
@@ -2,7 +2,7 @@ DESCRIPTION = "This package provides the necessary \ infrastructure for basic TCP/IP based networking." SECTION = "base" LICENSE = "GPL" -PR = "r37" +PR = "r38" inherit update-rc.d
Signature · 1 line
1.5.4.3
Koen Kooi
NAKRe: [STABLE][PATCH 2/5] igep0020: Add IGEP v2 support to OE
In reply to Enric Balletbo i SerraQuoted 1 line · Enric Balletbo i Serra
From: Enric Balletbo i Serra<[email protected]>
NACK, please use the actual machine description from .dev.
regards,
Koen