diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2012-08-15 18:11:34 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2012-08-15 18:11:34 +0200 |
commit | 9618437052db27491d9628be818c0e6709dcf9b3 (patch) | |
tree | bf77dc68992172df6ec039a57ec4a1cd0db93da0 | |
parent | 27856e71c4133815a4797ae5d84f14d57f820926 (diff) |
L4T R15, oe-core Image V2.0Beta1
30 files changed, 1196 insertions, 58 deletions
diff --git a/buildconf/bblayers.conf b/buildconf/bblayers.conf index 6909a3e..60329ee 100644 --- a/buildconf/bblayers.conf +++ b/buildconf/bblayers.conf @@ -24,7 +24,7 @@ BSPLAYERS ?= " \ BBLAYERS ?= " \ ${TOPDIR}/../stuff/meta-angstrom \ - ${BASELAYERS}\ ${BSPLAYERS} \ + ${BASELAYERS}\ ${TOPDIR}/../stuff/openembedded-core/meta \ " diff --git a/buildconf/local.conf b/buildconf/local.conf index 50f6da5..91b7ccb 100644 --- a/buildconf/local.conf +++ b/buildconf/local.conf @@ -17,12 +17,12 @@ # These two options control how much parallelism BitBake should use. The first # option determines how many tasks bitbake should run in parallel: # -BB_NUMBER_THREADS = "2" +BB_NUMBER_THREADS = "4" # # The second option controls how many processes make should run in parallel when # running compile tasks: # -PARALLEL_MAKE = "-j 2" +PARALLEL_MAKE = "-j 4" # # For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would # be appropriate for example. @@ -82,9 +82,8 @@ MACHINE ?= "colibri-t20" # # The default is a tmp directory under TOPDIR. # +#TMPDIR = "/mnt/sdb1/tegradev/oe-core/build/out" TMPDIR = "${TOPDIR}/out" - - # # Package Management configuration # diff --git a/conf/machine/colibri-t20.conf b/conf/machine/colibri-t20.conf index 1dcb93e..3c6a1b1 100644 --- a/conf/machine/colibri-t20.conf +++ b/conf/machine/colibri-t20.conf @@ -22,28 +22,8 @@ MACHINE_GUI_CLASS = "bigscreen" PREFERRED_PROVIDER_lxde-icon-theme_colibri-t20 = "lxde-icon-theme" PREFERRED_PROVIDER_lxsession-lite_colibri-t20 = "lxsession" -#PREFERRED_PROVIDER_gdbserver_colibri-t20 = "gdbserver" -#PREFERRED_PROVIDER_libgobject-2.0_colibri-t20 = "glib-2.0" -#PREFERRED_PROVIDER_libgmodule-2.0_colibri-t20 = "glib-2.0" -#PREFERRED_PROVIDER_libgthread-2.0_colibri-t20 = "glib-2.0" -#PREFERRED_PROVIDER_libgio-2.0_colibri-t20 = "glib-2.0" -#PREFERRED_VERSION_libgobject-2.0_colibri-t20 = "2.30.1" -#PREFERRED_VERSION_libgmodule-2.0_colibri-t20 = "2.30.1" -#PREFERRED_VERSION_libgthread-2.0_colibri-t20 = "2.30.1" -#PREFERRED_VERSION_libgio-2.0_colibri-t20 = "2.30.1" - -#PREFERRED_VERSION_samba_colibri-t20 = "3.6.1" -#PREFERRED_VERSION_glib-2.0_colibri-t20 = "2.30.1" -#PREFERRED_VERSION_glib-2.0-native_colibri-t20 = "2.30.1" -#PREFERRED_VERSION_gtk+_colibri-t20 = "2.24.8" -#PREFERRED_VERSION_gtk+-native_colibri-t20 = "2.24.8" -#PREFERRED_VERSION_pango_colibri-t20 = "1.29.4" -#PREFERRED_VERSION_pango-native_colibri-t20 = "1.29.4" - -#ANGSTROM_GCC_VERSION_colibri-t20 = "4.4.4" -#fix for csl 4.4.1 toolchain not beeing recent enough -#PREFERRED_VERSION_eglibc ?= "2.10" -#PREFERRED_VERSION_eglibc-initial ?= "2.10" +PREFERRED_PROVIDER_virtual/psplash = "psplash-angstrom" +PREFERRED_PROVIDER_psplash-support = "psplash-angstrom" MACHINE_FEATURES = "kernel26 screen usbgadget usbhost vfat ext2 alsa touchscreen ethernet" EXTRA_IMAGEDEPENDS += "u-boot" diff --git a/recipes-bsp/alsa-state/alsa-state.bbappend b/recipes-bsp/alsa-state/alsa-state.bbappend new file mode 100644 index 0000000..2065b80 --- /dev/null +++ b/recipes-bsp/alsa-state/alsa-state.bbappend @@ -0,0 +1,3 @@ +PRINC = "6" + +FILESEXTRAPATHS_prepend := "${THISDIR}/alsa-state/:" diff --git a/recipes-bsp/alsa-state/alsa-state/colibri-t20/asound.state b/recipes-bsp/alsa-state/alsa-state/colibri-t20/asound.state new file mode 100644 index 0000000..7d61d15 --- /dev/null +++ b/recipes-bsp/alsa-state/alsa-state/colibri-t20/asound.state @@ -0,0 +1,922 @@ +state.colibrit20wm971 { + control.1 { + iface MIXER + name 'Speaker Playback Volume' + value.0 24 + value.1 24 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 31' + } + } + control.2 { + iface MIXER + name 'Speaker Playback Switch' + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.3 { + iface MIXER + name 'Headphone Playback Volume' + value.0 24 + value.1 24 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 31' + } + } + control.4 { + iface MIXER + name 'Headphone Playback Switch' + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.5 { + iface MIXER + name 'PCM Playback Volume' + value.0 24 + value.1 24 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 31' + } + } + control.6 { + iface MIXER + name 'Speaker Playback ZC Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.7 { + iface MIXER + name 'Speaker Playback Invert Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.8 { + iface MIXER + name 'Headphone Playback ZC Switch' + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.9 { + iface MIXER + name 'Mono Playback ZC Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.10 { + iface MIXER + name 'Mono Playback Volume' + value 24 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 31' + } + } + control.11 { + iface MIXER + name 'Mono Playback Switch' + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.12 { + iface MIXER + name 'ALC Target Volume' + value 11 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 15' + } + } + control.13 { + iface MIXER + name 'ALC Hold Time' + value 0 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 15' + } + } + control.14 { + iface MIXER + name 'ALC Decay Time' + value 3 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 15' + } + } + control.15 { + iface MIXER + name 'ALC Attack Time' + value 2 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 15' + } + } + control.16 { + iface MIXER + name 'ALC Function' + value None + comment { + access 'read write' + type ENUMERATED + count 1 + item.0 None + item.1 Left + item.2 Right + item.3 Stereo + } + } + control.17 { + iface MIXER + name 'ALC Max Volume' + value 7 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 7' + } + } + control.18 { + iface MIXER + name 'ALC ZC Timeout' + value 0 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 3' + } + } + control.19 { + iface MIXER + name 'ALC ZC Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.20 { + iface MIXER + name 'ALC NG Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.21 { + iface MIXER + name 'ALC NG Type' + value 'Constant Gain' + comment { + access 'read write' + type ENUMERATED + count 1 + item.0 'Constant Gain' + item.1 Mute + } + } + control.22 { + iface MIXER + name 'ALC NG Threshold' + value 31 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 31' + } + } + control.23 { + iface MIXER + name 'Mic Headphone Volume' + value 4 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 7' + } + } + control.24 { + iface MIXER + name 'ALC Headphone Volume' + value 5 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 7' + } + } + control.25 { + iface MIXER + name 'Out3 Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.26 { + iface MIXER + name 'Out3 ZC Switch' + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.27 { + iface MIXER + name 'Out3 Volume' + value 31 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 31' + } + } + control.28 { + iface MIXER + name 'PCBeep Bypass Headphone Volume' + value 5 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 7' + } + } + control.29 { + iface MIXER + name 'PCBeep Bypass Speaker Volume' + value 5 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 7' + } + } + control.30 { + iface MIXER + name 'PCBeep Bypass Phone Volume' + value 5 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 7' + } + } + control.31 { + iface MIXER + name 'Aux Playback Headphone Volume' + value 5 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 7' + } + } + control.32 { + iface MIXER + name 'Aux Playback Speaker Volume' + value 5 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 7' + } + } + control.33 { + iface MIXER + name 'Aux Playback Phone Volume' + value 5 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 7' + } + } + control.34 { + iface MIXER + name 'Phone Volume' + value 7 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 15' + } + } + control.35 { + iface MIXER + name 'Line Capture Volume' + value.0 23 + value.1 23 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 31' + } + } + control.36 { + iface MIXER + name 'Capture 20dB Boost Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.37 { + iface MIXER + name 'Capture to Phone 20dB Boost Switch' + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.38 { + iface MIXER + name '3D Upper Cut-off Switch' + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.39 { + iface MIXER + name '3D Lower Cut-off Switch' + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.40 { + iface MIXER + name '3D Playback Volume' + value 0 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 15' + } + } + control.41 { + iface MIXER + name 'Bass Control' + value 'Linear Control' + comment { + access 'read write' + type ENUMERATED + count 1 + item.0 'Linear Control' + item.1 'Adaptive Boost' + } + } + control.42 { + iface MIXER + name 'Bass Cut-off Switch' + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.43 { + iface MIXER + name 'Tone Cut-off Switch' + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.44 { + iface MIXER + name 'Playback Attenuate (-6dB) Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.45 { + iface MIXER + name 'Bass Volume' + value 0 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 15' + } + } + control.46 { + iface MIXER + name 'Treble Volume' + value 0 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 15' + } + } + control.47 { + iface MIXER + name 'Capture ADC Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.48 { + iface MIXER + name 'Capture Volume Steps' + value.0 '+1.5dB Steps' + value.1 '+1.5dB Steps' + comment { + access 'read write' + type ENUMERATED + count 2 + item.0 '+1.5dB Steps' + item.1 '+0.75dB Steps' + } + } + control.49 { + iface MIXER + name 'Capture Volume' + value.0 48 + value.1 48 + comment { + access 'read write' + type INTEGER + count 2 + range '0 - 63' + } + } + control.50 { + iface MIXER + name 'Capture ZC Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.51 { + iface MIXER + name 'Mic 1 Volume' + value 23 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 31' + } + } + control.52 { + iface MIXER + name 'Mic 2 Volume' + value 23 + comment { + access 'read write' + type INTEGER + count 1 + range '0 - 31' + } + } + control.53 { + iface MIXER + name 'Mic 20dB Boost Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.54 { + iface MIXER + name 'Speaker Mixer PCBeep Bypass Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.55 { + iface MIXER + name 'Speaker Mixer Aux Playback Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.56 { + iface MIXER + name 'Speaker Mixer Phone Bypass Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.57 { + iface MIXER + name 'Speaker Mixer Line Bypass Switch' + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.58 { + iface MIXER + name 'Speaker Mixer PCM Playback Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.59 { + iface MIXER + name 'Phone Mixer PCBeep Bypass Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.60 { + iface MIXER + name 'Phone Mixer Aux Playback Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.61 { + iface MIXER + name 'Phone Mixer Line Bypass Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.62 { + iface MIXER + name 'Phone Mixer PCM Playback Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.63 { + iface MIXER + name 'Phone Mixer Mic 1 Sidetone Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.64 { + iface MIXER + name 'Phone Mixer Mic 2 Sidetone Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.65 { + iface MIXER + name 'Right HP Mixer PCBeep Bypass Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.66 { + iface MIXER + name 'Right HP Mixer Aux Playback Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.67 { + iface MIXER + name 'Right HP Mixer Phone Bypass Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.68 { + iface MIXER + name 'Right HP Mixer Line Bypass Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.69 { + iface MIXER + name 'Right HP Mixer PCM Playback Switch' + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.70 { + iface MIXER + name 'Right HP Mixer Mic Sidetone Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.71 { + iface MIXER + name 'Left HP Mixer PCBeep Bypass Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.72 { + iface MIXER + name 'Left HP Mixer Aux Playback Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.73 { + iface MIXER + name 'Left HP Mixer Phone Bypass Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.74 { + iface MIXER + name 'Left HP Mixer Line Bypass Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.75 { + iface MIXER + name 'Left HP Mixer PCM Playback Switch' + value true + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.76 { + iface MIXER + name 'Left HP Mixer Mic Sidetone Switch' + value false + comment { + access 'read write' + type BOOLEAN + count 1 + } + } + control.77 { + iface MIXER + name 'Differential Source' + value Mic + comment { + access 'read write' + type ENUMERATED + count 1 + item.0 Mic + item.1 Line + } + } + control.78 { + iface MIXER + name 'Mic Select Source' + value 'Mic 1' + comment { + access 'read write' + type ENUMERATED + count 1 + item.0 'Mic 1' + item.1 Differential + item.2 'Mic 2' + item.3 Stereo + } + } + control.79 { + iface MIXER + name 'Right Capture Select' + value Mic + comment { + access 'read write' + type ENUMERATED + count 1 + item.0 Mic + item.1 NC + item.2 NC + item.3 'Speaker Mixer' + item.4 Line + item.5 'Headphone Mixer' + item.6 'Phone Mixer' + item.7 Phone + } + } + control.80 { + iface MIXER + name 'Left Capture Select' + value Mic + comment { + access 'read write' + type ENUMERATED + count 1 + item.0 Mic + item.1 NC + item.2 NC + item.3 'Speaker Mixer' + item.4 Line + item.5 'Headphone Mixer' + item.6 'Phone Mixer' + item.7 Phone + } + } + control.81 { + iface MIXER + name 'Capture Phone Mux' + value Mute + comment { + access 'read write' + type ENUMERATED + count 1 + item.0 Stereo + item.1 Left + item.2 Right + item.3 Mute + } + } + control.82 { + iface MIXER + name 'Speaker Mux' + value 'Speaker Mix' + comment { + access 'read write' + type ENUMERATED + count 1 + item.0 'Speaker Mix' + item.1 'Headphone Mix' + } + } + control.83 { + iface MIXER + name 'Out3 Mux' + value Left + comment { + access 'read write' + type ENUMERATED + count 1 + item.0 Left + item.1 VREF + item.2 'Left + Right' + item.3 Mono + } + } + control.84 { + iface MIXER + name 'ALC Sidetone Mux' + value None + comment { + access 'read write' + type ENUMERATED + count 1 + item.0 Stereo + item.1 Left + item.2 Right + item.3 None + } + } +} diff --git a/recipes-bsp/alsa-state/alsa-state/gaga b/recipes-bsp/alsa-state/alsa-state/gaga new file mode 100644 index 0000000..6c604cf --- /dev/null +++ b/recipes-bsp/alsa-state/alsa-state/gaga @@ -0,0 +1 @@ +hu
\ No newline at end of file diff --git a/recipes-bsp/u-boot/u-boot_2011.06.bbappend b/recipes-bsp/u-boot/u-boot_2011.06.bbappend index ec7b4f6..27c3c61 100644 --- a/recipes-bsp/u-boot/u-boot_2011.06.bbappend +++ b/recipes-bsp/u-boot/u-boot_2011.06.bbappend @@ -34,8 +34,8 @@ PV_colibri-t30 = "${PR}+gitr${SRCREV}" # internal SVN ##################################################################################################################### S = "${WORKDIR}/bootloader/u-boot" -SRCREV_COLIBRI = "320" -SRC_URI_COLIBRI = "svn://tegradev:tegra123!@mammut.toradex.int:8090/colibri_tegra_linux/trunk;module=bootloader/u-boot;rev=${SRCREV_COLIBRI};proto=http \ +SRCREV_COLIBRI = "321" +SRC_URI_COLIBRI = "svn://tegradev:tegra123!@mammut.toradex.int:8090/colibri_tegra_linux/trunk;module=bootloader/u-boot;rev=${SRCREV_COLIBRI};protocol=http \ " ##################################################################################################################### diff --git a/recipes-kernel/linux/linux-colibri-t20_git.bb b/recipes-kernel/linux/linux-colibri-t20_git.bb index d3c0d7d..a461544 100644 --- a/recipes-kernel/linux/linux-colibri-t20_git.bb +++ b/recipes-kernel/linux/linux-colibri-t20_git.bb @@ -7,7 +7,10 @@ LINUX_VERSION ?= "3.1.10" #L4T R15 first run #SRCREV = "4f48c4961b86b4df1bcb4b1b535bc1c3d158b5af" #L4T R15, optimized config, bcm4329 warnings removed -SRCREV = "b562b12b12ba303d5ceca17b347d8c506e18f7f4" +#SRCREV = "b562b12b12ba303d5ceca17b347d8c506e18f7f4" +#Nand timings for 1.1, asix driver update, asix driver patch autodetach +SRCREV = "4dec0ae6f55768ba0acef97ff2c67f7d5d4663fe" + PV = "${LINUX_VERSION}+gitr${SRCREV}" PR = "V2.0b1" diff --git a/recipes-lxde/lxde-common/lxde-common-0.5.5/panel-buttons.patch b/recipes-lxde/lxde-common/lxde-common-0.5.5/panel-buttons.patch new file mode 100644 index 0000000..45bd988 --- /dev/null +++ b/recipes-lxde/lxde-common/lxde-common-0.5.5/panel-buttons.patch @@ -0,0 +1,14 @@ +--- lxde-common-0.5.5/lxpanel/panel.in~ 2011-07-29 16:04:03.000000000 +0200 ++++ lxde-common-0.5.5/lxpanel/panel.in 2012-07-27 14:19:20.661190542 +0200 +@@ -53,7 +53,10 @@ + id=pcmanfm.desktop + } + Button { +- id=firefox.desktop ++ id=mozilla-firefox.desktop ++ } ++ Button { ++ id=lxterminal.desktop + } + } + } diff --git a/recipes-lxde/lxde-common/lxde-common_0.5.5.bbappend b/recipes-lxde/lxde-common/lxde-common_0.5.5.bbappend index d4b5b35..e63cf4b 100644 --- a/recipes-lxde/lxde-common/lxde-common_0.5.5.bbappend +++ b/recipes-lxde/lxde-common/lxde-common_0.5.5.bbappend @@ -1,10 +1,9 @@ -PRINC = "1" +PRINC = "2" WALLPAPER-MACHINE = "toradex-neutral.png" WALLPAPER-MACHINE_colibri-t20 = "toradex-t20.png" WALLPAPER-MACHINE_colibri-t30 = "toradex-t30.png" -THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" -FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}-${PV}"], d)}:" +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" SRC_URI += " \ file://autostart.patch \ @@ -15,6 +14,7 @@ SRC_URI += " \ file://desktop.conf \ file://defaults.list \ file://hdmiaudio.sh \ + file://panel-buttons.patch \ " do_install_append () { diff --git a/recipes-lxde/lxdm/lxdm/configfiles.patch b/recipes-lxde/lxdm/lxdm/configfiles.patch index 37ed74d..7ac93cb 100644 --- a/recipes-lxde/lxdm/lxdm/configfiles.patch +++ b/recipes-lxde/lxdm/lxdm/configfiles.patch @@ -1,6 +1,6 @@ diff -ur lxdm-0.4.1/data.orig//lxdm.conf lxdm-0.4.1/data/lxdm.conf --- lxdm-0.4.1/data.orig//lxdm.conf 2011-07-29 15:44:51.000000000 +0200 -+++ lxdm-0.4.1/data/lxdm.conf 2011-12-31 12:22:46.000000000 +0100 ++++ lxdm-0.4.1/data/lxdm.conf 2012-07-25 17:50:13.101251148 +0200 @@ -1,6 +1,6 @@ [base] ## uncomment and set autologin username to enable autologin @@ -9,6 +9,35 @@ diff -ur lxdm-0.4.1/data.orig//lxdm.conf lxdm-0.4.1/data/lxdm.conf ## uncomment and set timeout to enable timeout autologin, ## the value should >=5 +@@ -16,7 +16,7 @@ + # xauth_path=/tmp + + ## greeter used to welcome the user +-greeter=/usr/local/libexec/lxdm-greeter-gtk ++greeter=/usr/libexec/lxdm-greeter-gtk + + [server] + ## arg used to start xserver, not fully function +diff -Naur --exclude temp lxdm-0.4.1-r3.orig/lxdm-0.4.1/data/lxdm.conf.in lxdm-0.4.1-r3/lxdm-0.4.1/data/lxdm.conf.in +--- lxdm-0.4.1/data/lxdm.conf.in 2012-07-25 10:47:22.681189278 +0200 ++++ lxdm-0.4.1/data/lxdm.conf.in 2012-07-25 17:49:49.861217834 +0200 +@@ -1,6 +1,6 @@ + [base] + ## uncomment and set autologin username to enable autologin +-# autologin=dgod ++autologin=root + + ## uncomment and set timeout to enable timeout autologin, + ## the value should >=5 +@@ -16,7 +16,7 @@ + # xauth_path=/tmp + + ## greeter used to welcome the user +-greeter=@FULL_LIBEXECDIR@/lxdm-greeter-gtk ++greeter=/usr/libexec/lxdm-greeter-gtk + + [server] + ## arg used to start xserver, not fully function diff -ur lxdm-0.4.1/data.orig//PostLogout.in lxdm-0.4.1/data/PostLogout.in --- lxdm-0.4.1/data.orig//PostLogout.in 2011-07-29 15:42:33.000000000 +0200 +++ lxdm-0.4.1/data/PostLogout.in 2011-12-31 12:21:41.000000000 +0100 diff --git a/recipes-lxde/lxdm/lxdm/fix_event_check_bug_caused_cpu_100.patch b/recipes-lxde/lxdm/lxdm/fix_event_check_bug_caused_cpu_100.patch new file mode 100644 index 0000000..f0ca23b --- /dev/null +++ b/recipes-lxde/lxdm/lxdm/fix_event_check_bug_caused_cpu_100.patch @@ -0,0 +1,25 @@ +From d4e41ecb36a1ea29482b75674d804bb0f05540b2 Mon Sep 17 00:00:00 2001 +From: dgod <dgod.osa@gmail.com> +Date: Sun, 25 Dec 2011 15:23:19 +0800 +Subject: [PATCH] fix event check bug caused cpu 100% + +--- + src/lxcom.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/lxcom.c b/src/lxcom.c +index 02763eb..18ee12e 100644 +--- a/src/lxcom.c ++++ b/src/lxcom.c +@@ -89,7 +89,7 @@ static gboolean lxcom_prepare (GSource *source,gint *timeout) + + static gboolean lxcom_check(GSource *source) + { +- return TRUE; ++ return (((LXComSource*)source)->poll.revents&G_IO_IN)?TRUE:FALSE; + } + + static gboolean lxcom_dispatch (GSource *source,GSourceFunc callback,gpointer user_data) +-- +1.7.4.1 + diff --git a/recipes-lxde/lxdm/lxdm_0.4.1.bbappend b/recipes-lxde/lxdm/lxdm_0.4.1.bbappend index ce46a81..57589d9 100644 --- a/recipes-lxde/lxdm/lxdm_0.4.1.bbappend +++ b/recipes-lxde/lxdm/lxdm_0.4.1.bbappend @@ -1,11 +1,11 @@ -PRINC = "1" +PRINC = "2" -THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" -FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:" +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI += " \ file://missingAM_GLIB_GNU_GETTEXT.patch \ file://configfiles.patch \ + file://fix_event_check_bug_caused_cpu_100.patch \ " pkg_postinst_${PN}() { # Register up as default dm diff --git a/recipes-lxde/lxpanel/lxpanel_0.5.8.bbappend b/recipes-lxde/lxpanel/lxpanel_0.5.8.bbappend new file mode 100644 index 0000000..5c21d6a --- /dev/null +++ b/recipes-lxde/lxpanel/lxpanel_0.5.8.bbappend @@ -0,0 +1,4 @@ +PRINC = "1" + +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + diff --git a/recipes/base-files/base-files_3.0.14.bbappend b/recipes/base-files/base-files_3.0.14.bbappend index ca35824..6772d6b 100644 --- a/recipes/base-files/base-files_3.0.14.bbappend +++ b/recipes/base-files/base-files_3.0.14.bbappend @@ -1,4 +1,3 @@ -PRINC = "3" +PRINC = "4" -THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" -FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:" +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" diff --git a/recipes/images/angstrom-lxde-image.bb b/recipes/images/angstrom-lxde-image.bb index f875074..fc936db 100644 --- a/recipes/images/angstrom-lxde-image.bb +++ b/recipes/images/angstrom-lxde-image.bb @@ -4,7 +4,11 @@ DESCRIPTION = "Image based on the LXDE desktop" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" -PR = "r1" +PV = "V2.0" +PR = "r3" + +#create the deployment directory-tree +require trdx-image-fstype.inc #create the file /etc/timestamp IMAGE_PREPROCESS_COMMAND = "rootfs_update_timestamp" @@ -18,19 +22,19 @@ IMAGE_LINGUAS = "en-us" #MAYBE WE WILL NEED THESE ALSO: # xorg-minimal-fonts xserver-xorg-multimedia-modules xserver-xorg-utils -IMAGE_SPLASH = "psplash-angstrom" -PREFERRED_PROVIDER_psplash-support = "psplash-angstrom" -PREFERRED_PROVIDER_virtual/psplash = "psplash-angstrom" - DISTRO_UPDATE_ALTERNATIVES ??= "" ROOTFS_PKGMANAGE_PKGS ?= '${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${ROOTFS_PKGMANAGE} ${DISTRO_UPDATE_ALTERNATIVES}", d)}' -CONMANPKGS = "" -#CONMANPKGS ?= "connman connman-plugin-loopback connman-plugin-ethernet connman-plugin-wifi connman-systemd connman-gnome" +#CONMANPKGS = "" +CONMANPKGS ?= "connman connman-plugin-loopback connman-plugin-ethernet connman-plugin-wifi connman-systemd connman-gnome" CONMANPKGS_libc-uclibc = "" DEPENDS += "gst-plugins-good gst-plugins-bad gst-plugins-ugly" +#deploy the OpenGL ES headers to the sysroot +DEPENDS += "nvsamples" + + # Additional X libs not pulled in by any package \ # xtrans libxevie \ @@ -68,8 +72,10 @@ zeroconf \ IMAGE_INSTALL += " \ ${IMAGE_INSTALL_CLASSIC} \ + virtual-psplash \ angstrom-task-boot \ task-basic \ + udev-extra-rules \ ${CONMANPKGS} \ ${ROOTFS_PKGMANAGE_PKGS} \ timestamp-service \ @@ -86,7 +92,6 @@ IMAGE_INSTALL += " \ xhost \ xset \ \ - ${IMAGE_SPLASH} \ ${XSERVER} \ xrandr \ xrdb \ @@ -113,6 +118,7 @@ IMAGE_INSTALL += " \ gst-plugins-base-theora \ gst-plugins-base-videotestsrc \ gst-plugins-base-vorbis \ + gst-plugins-good-isomp4 \ gst-plugins-good-matroska \ gst-plugins-good-rtp \ gst-plugins-good-udp \ @@ -121,12 +127,15 @@ IMAGE_INSTALL += " \ gst-plugins-good-wavparse \ gst-plugins-ugly-asf \ libpcre \ + libpcreposix \ libxcomposite \ - firefox \ - flash-plugins \ + alsa-states \ " -# gst-plugin-qtdemux +# firefox at the moment segfaults +# firefox \ +# flash-plugins \ + # gst-plugin-mpegdemux require lx.inc diff --git a/recipes/images/console-trdx-image.bb b/recipes/images/console-trdx-image.bb index 5531579..5425dc9 100644 --- a/recipes/images/console-trdx-image.bb +++ b/recipes/images/console-trdx-image.bb @@ -4,11 +4,17 @@ DESCRIPTION = "Image booting to a console" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" +PV = "ConsoleV2.0" +PR = "r3" + +#create the deployment directory-tree +require trdx-image-fstype.inc + #create the file /etc/timestamp IMAGE_PREPROCESS_COMMAND = "rootfs_update_timestamp" #IMAGE_LINGUAS = "" -#IMAGE_LINGUAS = "en-us" +IMAGE_LINGUAS = "en-us" #IMAGE_LINGUAS = "de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in" #ROOTFS_POSTPROCESS_COMMAND += 'install_linguas; ' @@ -17,7 +23,8 @@ ZZAPSPLASH = ' ${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "", DISTRO_UPDATE_ALTERNATIVES ??= "" ROOTFS_PKGMANAGE_PKGS ?= '${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${ROOTFS_PKGMANAGE} ${DISTRO_UPDATE_ALTERNATIVES}", d)}' -CONMANPKGS ?= "connman connman-plugin-loopback connman-plugin-ethernet connman-plugin-wifi connman-systemd" +CONMANPKGS = "" +#CONMANPKGS ?= "connman connman-plugin-loopback connman-plugin-ethernet connman-plugin-wifi connman-systemd connman-gnome" CONMANPKGS_libc-uclibc = "" diff --git a/recipes/images/files/burnflash.tar.bz2 b/recipes/images/files/burnflash.tar.bz2 Binary files differnew file mode 100644 index 0000000..8d0c33b --- /dev/null +++ b/recipes/images/files/burnflash.tar.bz2 diff --git a/recipes/images/trdx-extra.inc b/recipes/images/trdx-extra.inc index ed0c367..6058ffc 100644 --- a/recipes/images/trdx-extra.inc +++ b/recipes/images/trdx-extra.inc @@ -29,6 +29,7 @@ IMAGE_INSTALL += " \ joe \ minicom \ ldd \ + lsof \ mtd-utils \ update-modules \ \ diff --git a/recipes/images/trdx-image-fstype.inc b/recipes/images/trdx-image-fstype.inc new file mode 100644 index 0000000..2ffb8f4 --- /dev/null +++ b/recipes/images/trdx-image-fstype.inc @@ -0,0 +1,26 @@ +#create the deployment directory-tree + +BURNFLASH := "${THISDIR}/files/burnflash.tar.bz2" +S = "${WORKDIR}/burnflash" +IMAGE_ROOTFS = "${WORKDIR}/T20_LinuxImage${PV}/rootfs" + +do_rootfs_prepend() { + tar -C ${WORKDIR} -xf ${BURNFLASH} + mkdir -p ${IMAGE_ROOTFS} + cp -pPr ${S}/* ${IMAGE_ROOTFS}/../ +} + +do_rootfs_append() { + # put u-boot, kernel into the bin directories, remove the kernel from the rootfs/boot + rm ${IMAGE_ROOTFS}/boot/uImage* + cp -pP ${DEPLOY_DIR_IMAGE}/uImage* ${IMAGE_ROOTFS}/../bin/ + mv ${IMAGE_ROOTFS}/../bin/uImage-${MACHINE}.bin ${IMAGE_ROOTFS}/../bin/uImage + + cp -pP ${DEPLOY_DIR_IMAGE}/u-boot* ${IMAGE_ROOTFS}/../bin/ + rm ${IMAGE_ROOTFS}/../bin/u-boot-hsmmc-${MACHINE}.bin + mv ${IMAGE_ROOTFS}/../bin/u-boot-${MACHINE}.bin ${IMAGE_ROOTFS}/../bin/u-boot.bin + + #create tarball + DATE=`date +%Y%m%d` + cd ${WORKDIR}; tar -cjvf ${DEPLOY_DIR_IMAGE}/T20_LinuxImage${PV}_${DATE}.tar.bz2 T20_LinuxImage${PV} +} diff --git a/recipes/trdx-nv-binaries/files/colibri-t20/base.tgz b/recipes/trdx-nv-binaries/files/colibri-t20/base.tgz Binary files differindex 11b1595..44190ce 100644 --- a/recipes/trdx-nv-binaries/files/colibri-t20/base.tgz +++ b/recipes/trdx-nv-binaries/files/colibri-t20/base.tgz diff --git a/recipes/trdx-nv-binaries/files/colibri-t20/nvgstapps.tgz b/recipes/trdx-nv-binaries/files/colibri-t20/nvgstapps.tgz Binary files differindex 7492c0e..3ee91d4 100644 --- a/recipes/trdx-nv-binaries/files/colibri-t20/nvgstapps.tgz +++ b/recipes/trdx-nv-binaries/files/colibri-t20/nvgstapps.tgz diff --git a/recipes/trdx-nv-binaries/files/colibri-t20/restricted_codecs.tbz2 b/recipes/trdx-nv-binaries/files/colibri-t20/restricted_codecs.tbz2 Binary files differindex 6647b2d..ed6c9f4 100644 --- a/recipes/trdx-nv-binaries/files/colibri-t20/restricted_codecs.tbz2 +++ b/recipes/trdx-nv-binaries/files/colibri-t20/restricted_codecs.tbz2 diff --git a/recipes/trdx-nv-binaries/files/nvsamples-oe.patch b/recipes/trdx-nv-binaries/files/nvsamples-oe.patch new file mode 100644 index 0000000..001c162 --- /dev/null +++ b/recipes/trdx-nv-binaries/files/nvsamples-oe.patch @@ -0,0 +1,51 @@ +diff -Naur nvsamples-1.0-r0.orig/nvsamples/make/nvdefs.mk nvsamples-1.0-r0/nvsamples/make/nvdefs.mk +--- nvsamples/make/nvdefs.mk.orig 2011-12-07 10:22:49.000000000 +0100 ++++ nvsamples/make/nvdefs.mk 2012-07-07 12:37:13.000000000 +0200 +@@ -1,4 +1,4 @@ +-NV_TOPDIR = $(HOME)/nvsamples ++NV_TOPDIR = $(WORKDIR)/nvsamples + NV_PLATFORM_DIR = $(NV_TOPDIR) + NV_KERNDIR = $(NV_TOPDIR)/../kernel + +@@ -42,17 +42,13 @@ + NV_PLATFORM_CPPFLAGS += -DKD + endif + +-NV_PLATFORM_LDFLAGS = ++NV_PLATFORM_LDFLAGS = -L/usr/X11R6.4/lib -lX11 -lICE -lSM + + NV_PLATFORM_SDK_INC_DIR = $(NV_TOPDIR)/include + NV_PLATFORM_SDK_LIB_DIR = $(NV_TOPDIR)/lib-target +-ROOTFS_LIB_DIR = $(NV_TOPDIR)/../T20_LinuxImageV1.0Beta4/rootfs/usr/lib + + NV_PLATFORM_SDK_INC = -I$(NV_PLATFORM_SDK_INC_DIR) +-NV_PLATFORM_SDK_LIB = -L$(NV_PLATFORM_SDK_LIB_DIR) \ +- -L$(ROOTFS_LIB_DIR) \ +- -Xlinker -rpath-link \ +- -Xlinker $(ROOTFS_LIB_DIR) ++NV_PLATFORM_SDK_LIB = -L$(NV_PLATFORM_SDK_LIB_DIR) + NV_PLATFORM_OPT = -Os -O2 + NV_PLATFORM_MATHLIB = -lm + NV_PLATFORM_THREADLIB = -lpthread +@@ -80,13 +76,13 @@ + + # compiler utilities + +-CROSSBIN = $(NV_TOPDIR)/../arm-2009q3/bin/arm-none-linux-gnueabi- +-CC = $(CROSSBIN)gcc +-CXX = $(CROSSBIN)g++ +-LD = $(CROSSBIN)gcc +-AR = $(CROSSBIN)ar +-RANLIB = $(CROSSBIN)ranlib +-STRIP = $(CROSSBIN)strip ++CROSSBIN = arm-angstrom-linux-gnueabi- ++CC ?= $(CROSSBIN)gcc ++CXX ?= $(CROSSBIN)g++ ++LD = $(CC) ++AR ?= $(CROSSBIN)ar ++RANLIB ?= $(CROSSBIN)ranlib ++STRIP ?= $(CROSSBIN)strip + + NV_CGDIR = $(NV_TOPDIR)/utils/Cg + HEXIFY = $(NV_CGDIR)/hexify.pl +Datei nvsamples-1.0-r0.orig/pseudo/pseudo.socket ist ein socket wÀhrend Datei nvsamples-1.0-r0/pseudo/pseudo.socket ein socket ist. diff --git a/recipes/trdx-nv-binaries/nvsamples.bb b/recipes/trdx-nv-binaries/nvsamples.bb new file mode 100644 index 0000000..d24b82e --- /dev/null +++ b/recipes/trdx-nv-binaries/nvsamples.bb @@ -0,0 +1,47 @@ +SECTION = "graphical/utils" +DESCRIPTION = "Nvidia samples for OpenGL ES, OpenGL ES headers" +LICENSE = "CLOSED" +DEPENDS = "trdx-nv-binaries" +RDEPENDS = "trdx-nv-binaries" + +PR = "r0" + +SRC_URI = "http://developer.toradex.com/files/toradex-dev/uploads/media/Colibri/Linux/Samples/nvsamples.tar.bz2 \ + file://nvsamples-oe.patch \ +" + +S = "${WORKDIR}/nvsamples" + +SRC_URI[md5sum] = "240b0beb0056dde2e6ac1538dc8b6684" +SRC_URI[sha256sum] = "2638beea80fd85fdc5f9443e6959c210e275e627f662266cd404ce7c68b0806d" + +#no gnu_hash in NVIDIA binaries, skip QA for this package +INSANE_SKIP_${PN} = "dev-so ldflags" + +FILES_${PN} += " \ + /home/root/textures/* \ +" + +do_compile () { + cd ${S}/samples/opengles2 + oe_runmake clean + oe_runmake WORKDIR=${WORKDIR} +} + +do_install () { +# install the sample code + install -d ${D}${bindir} + install -d ${D}/home/root/textures + install -m 0755 ${S}/samples/opengles2/ctree/ctree ${D}${bindir} + install -m 0644 ${S}/samples/opengles2/ctree/textures/* ${D}/home/root/textures + install -m 0755 ${S}/samples/opengles2/bubble/bubble ${D}${bindir} + install -m 0644 ${S}/samples/opengles2/bubble/textures/* ${D}/home/root/textures + install -m 0755 ${S}/samples/opengles2/gears/gears ${D}${bindir} + +# export OpenGL ES headers + for dir in EGL GLES2 KD KHR OpenMAX/il OpenMAX/ilclient + do + install -d ${D}${includedir}/$dir + install -m 0644 ${S}/include/$dir/* ${D}${includedir}/$dir + done +}
\ No newline at end of file diff --git a/recipes/trdx-nv-binaries/trdx-nv-binaries.bb b/recipes/trdx-nv-binaries/trdx-nv-binaries.bb index a9aa513..ee9c8e1 100644 --- a/recipes/trdx-nv-binaries/trdx-nv-binaries.bb +++ b/recipes/trdx-nv-binaries/trdx-nv-binaries.bb @@ -1,6 +1,6 @@ DESCRIPTION = "binary files from Nvidia along with there configuration" LICENSE = "CLOSED" -PR = "r3" +PR = "r4" PACKAGE_ARCH = "${MACHINE_ARCH}" @@ -49,6 +49,7 @@ do_install_colibri-t20 () { install -m 0644 ${WORKDIR}/mimeapps.list ${D}//home/root/.local/share/applications/ install -m 0644 ${WORKDIR}/nvgstplayer.desktop ${D}/home/root/.local/share/applications/ ln -s libpcre.so.0.0.1 ${D}/usr/lib/libpcre.so.3 + ln -s libpcreposix.so.0.0.0 ${D}/usr/lib/libpcreposix.so.3 ln -s tegra_drv.abi11.so ${D}/usr/lib/xorg/modules/drivers/tegra_drv.so ln -s libGLESv2.so ${D}/usr/lib//libGLESv2.so.2 ln -s libEGL.so ${D}/usr/lib/libEGL.so.1 diff --git a/recipes/xorg-xserver/files/crash-hack.patch b/recipes/xorg-xserver/files/crash-hack.patch new file mode 100644 index 0000000..0053a10 --- /dev/null +++ b/recipes/xorg-xserver/files/crash-hack.patch @@ -0,0 +1,11 @@ +--- xorg-server-1.11.2/miext/damage/damage.c~ 2011-04-24 06:54:03.000000000 +0200 ++++ xorg-server-1.11.2/miext/damage/damage.c 2012-07-27 12:12:00.012473812 +0200 +@@ -596,6 +596,8 @@ + ScreenPtr pScreen = pDst->pDrawable->pScreen; + PictureScreenPtr ps = GetPictureScreen(pScreen); + damageScrPriv(pScreen); ++ //ugly hack, the xserver crashes when gtk programs use some fancy font rendering, this prevents this ++ maskFormat = 0; + + if (checkPictureDamage (pDst)) + { diff --git a/recipes/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes/xorg-xserver/xserver-xf86-config_0.1.bbappend index 1615df3..883a3c2 100644 --- a/recipes/xorg-xserver/xserver-xf86-config_0.1.bbappend +++ b/recipes/xorg-xserver/xserver-xf86-config_0.1.bbappend @@ -1,5 +1,3 @@ -PRINC = "2" - -THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" -FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:" +PRINC = "3" +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" diff --git a/recipes/xorg-xserver/xserver-xorg_1.10.1.bbappend b/recipes/xorg-xserver/xserver-xorg_1.10.1.bbappend new file mode 100644 index 0000000..77e6079 --- /dev/null +++ b/recipes/xorg-xserver/xserver-xorg_1.10.1.bbappend @@ -0,0 +1,4 @@ +# Ugly temporary hack to have Xserver not segfaulting +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" + +SRC_URI += "file://xserver-instrumented.patch;pnum=2" diff --git a/recipes/xorg-xserver/xserver-xorg_1.11.2.bbappend b/recipes/xorg-xserver/xserver-xorg_1.11.2.bbappend new file mode 100644 index 0000000..44ae424 --- /dev/null +++ b/recipes/xorg-xserver/xserver-xorg_1.11.2.bbappend @@ -0,0 +1,4 @@ +# Ugly temporary hack to have Xserver not segfaulting +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" + +SRC_URI += "file://crash-hack.patch" |