aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-raspberrypi
AgeCommit message (Collapse)AuthorFilesLines
2017-10-12weston-ini-conf: Make this track variables correctly for signaturesTom Rini1-0/+2
bitbake does not know to track values that are found and used via getVarFlags() without them being otherwise refernced and tracked in ways that are otherwise caught. Further given that we use multiple levels of varflags here we need to be explicit in their tracking. Add all variables that we use to varflags where they are added to the metadata. Bug-AGL: SPEC-939 Change-Id: I32cf16c4354d733e086c6ea9a845934beff94715 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11255 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-18Add uvc.cfg for usb video class kernel configurezheng_wenlong1-0/+3
Add uvc.cfg into meta-agl-bsp/recipes-kernel, Then include this cfg in each board bbappend. See: https://gerrit.automotivelinux.org/gerrit/#/c/10803/ Change-Id: I5faebefef3560a27496103e1ad4a1ca70377a1ba Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10893 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-08Upgrade to pyroChanghyeok Bae16-2475/+1
u-boot: v2017.01 dlt-daemon: Remove gzipnative inheritance - gzipnative.bbclass is removed in pyro branch. - See ab0f46400c113c0d893be872727a67739d5e794d in poky. gpm: Remove bbappend file - upstream(meta-openembedded) is using git(v1.99.7) and this is not required anymore. gnutls: Remove bbappend file - The patch is already applied in upstream. agl-image-minimal: Remove ROOTFS_PKGMANAGE_BOOTSTRAP - ROOTFS_PKGMANAGE_BOOTSTRAP is removed in upstream. - Please see 529244ee212fe14019e35a5f163fab705ddbf141 in poky. freetype: Change hash value for v2.7.1 binary shadow: Remove shadow_%.bbappend - It's already applied upstream poky. Remove nativesdk-packagegroup-sdk-host.bbappend - It's already applied in upstream poky. faac: Remove bbappend file - It's already applied meta-openembedded upstream. pulseaudio: Change bbappend naming - Upstream yocto provides pulseaudio v10.0. weston: re-create patch to apply new version (v2.0.0) - Remove 0001-compositor-drm.c-Launch-without-input-devices.patch because it's already applied in new version. mesa: Remove 12.0.3 recipe and fix build error for qemux86-64 - Yocto upstream supports 17.0.2 and v12.0.3 is not required anymore in raspberrypi - Error: | configure: error: --enable-gallium-llvm selected but llvm-config is not found wayland-ivi-extension: Upgrade to latest master version - Due to weston upgrade, wayland-ivi-extension should be upgraded. packagegroup-ivi-common-core-multimedia: Remove alsa-lib - alsa-lib has empty package and it's not required anymore. Add agl-driver and agl-passenger in group and passwd - Parsing Error: agl-users: groupname agl-passenger does not have a static ID defined. poky-agl.conf: Change gstreamer default version to v1.10.x - Yocto upstream moves gstreamer to v1.10.4. af-main: Fix build error - Error: file /usr/local conflicts between attempted installs of af-main-1.0-r0.corei7_64 and base-files-3.0.14-r89.qemux86_64 intel-corei7-64: Change gstreamer-vaapi-1.0 name - gstreamer-vaapi-1.0 is moved to oe-core and its name is changed to gstreamer1.0-vaapi. linux-raspberrypi: Drop 4.4 bbappend - The upstream meta-raspberrypi doesn't support v4.4 anymore. - CVE patches are not required anymore. glibc: Remove bbappend - The bug-20116 is already applied in 2.25 cynara,security-manager: Fix build error - cynara: Replace bb.data to d - security-manager: Temporarily use 'no' in APPLY variable u-boot-ota: Add SRC_URI - In pyro, SRC_URI and S is moved from .inc to .bb linux-yocto: Remove 4.8 and 4.4 bbappend - Yocto 2.3 (Pyro) doesn't support v4.8 kernel anymore. - CVE patches in meta-agl-bsp are already applied in Yocto 2.3. tcf-agent: Remove bbappend file - This change is merged to upstream poky (pyro) bluez5: Remove recipe and add .bbappend - Yocto 2.3 (Pyro) already has same version. - bluetooth.conf file is added in .bbappend python-pycrypto: Remove recipe - meta-openembedded (Pyro) already has same version. meta-agl-bsp/classes/image.bbclass: Arrange for pyro - image.bbclass is taken from poky/meta/classes/image.bbclass and only changed IMAGE_TYPE_vm variable. libsoup: Fix native build error temporarily v2 (jsmoeller): meta-agl-bsp/meta-ti: - workaround patches in meta-ti/recipes-arago/gstreamer/gstreamer1.0-plugins-bad_%.bbappend - fix old python code in meta-ti/recipes-arago/ipumm-fw/ipumm-fw_3.00.13.00.bb - workaround patches in meta-ti/recipes-arago/weston/weston_%.bbappend - make specific to dra7xx-evm: -- meta-ti/recipes-bsp/alsa-state/alsa-state.bbappend -- meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend -- rename meta-ti/recipes-multimedia/pulseaudio/pulseaudio/dra7xx-evm-set-default-sink-source.patch -- rename meta-ti/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend TODO/FIXME's in: - meta-agl-bsp/meta-ti/recipes-arago/gstreamer/gstreamer1.0-plugins-bad_%.bbappend - meta-agl-bsp/meta-ti/recipes-arago/weston/weston_%.bbappend - meta-agl-bsp/meta-ti/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend - meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend Bug-AGL: SPEC-646 Change-Id: I4162ae887d3334e9102575e3724483aa25f4bd9c Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10457
2017-06-29Fix CVE-2017-1000364 by backporting the patches for rpi3Jan-Simon Möller9-0/+2053
Backport of patches from upstream for 4.4 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.4.74&id=4b359430674caa2c98d0049a6941f157d2a33741 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.4.74&id=f41512c6acb71c63cf4e3bd50934365ae2a23891 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.4.74&id=1f2284fac2180d7a9442c796d9755e3ce7ab0bd9 Backport of patches from upstream for 4.9 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=cfc0eb403816c5c4f9667d959de5e22789b5421e - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=5d10ad6297260e9b85e7645ee544a6115bb229e4 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=ce7fe8595902c3f03ef528c2dc1928b3f4b67fcf Bug-AGL: SPEC-705 Change-Id: If330fb7de09ab00f84d35a1e4c5343f958fcbf56 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9857 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Leon Anavi <leon.anavi@konsulko.com>
2017-06-28Add CAN drivers by default to AGL boardsRomain Forlot1-6/+39
v2 (jsmoeller): Add append files for boards that need special handling. Change-Id: I172b71be6e825aa6399f22899e9b6eaacc86e72b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9791 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2017-04-26meta-agl-bsp/meta-raspberrypi: Upgrade to v12.0.3Changhyeok Bae6-9/+267
Yocto morty has mesa 12.0.1 but it has a bug for vc4 driver. The bug is fixed in v12.0.2 and yocto upstream provides v12.0.3. This commit is taking from https://github.com/GENIVI/meta-genivi-dev/commit/e9c013951feb5c78519da04513ab79baf400264e. Bug-AGL: SPEC-445 Change-Id: Idfd0878f3549c20eac77ae680a65347ec851bd94 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9253 Reviewed-by: Changhyeok Bae <changhyeok.bae@lge.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-04-24Switch to meta-updaterAnton Gerasimov4-0/+49
Replace SOTA-related sections with includes, moved u-boot-ota common to minnowboard and qemu to meta-agl-bsp Change-Id: I0629a63154ff90bd712f621297b886505a2f462c Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9189 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-04-19Use weston-init to startup westonRonan Le Martret2-21/+0
* weston.service should not be a part of weston recipes * remove weston.service from AGL weston recipes * yocto upstream uses the recipe weston-init to startup weston * customize weston-start with sed - remove openvt - add option to weston-launch * customize weston.service with sed - add option for weston * unified the weston startup beteween AGL BSPs * remove fix on the AGL BSP Bug-AGL: SPEC-452 Bug-AGL: SPEC-310 Change-Id: I12722826abdc004214d289961e900c36528ec6e3 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-30Generate weston.ini dynamicallyRonan Le Martret3-25/+4
* remove weston-intel.ini * add new package weston-ini-conf * the list of the sections of weston.ini is described in variable flags WESTONSECTION * each section is described in variable flags WESTONSECTION * each output screen is described in agl_screen variable Bug-AGL: SPEC-477 Change-Id: I3d25ab49018e3842c916993ba8b9bcc2428d5170 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-23Removed wl-shell-emulator from AGLRonan Le Martret1-1/+1
Since CES2017, AGL doesn't use 'layer-add-surfaces' command. wl-shell-emultor.so is only required by 'layer-add-surfaces'. So we can remove wl-shell-emultor from AGL. Bug-AGL: SPEC-341 Change-Id: I0cad29ff1534e8d3fd4b94f8a13490b9fa19918e Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-02-14raspberrypi-linux: add smack patchset to 4.9 bbappendMatt Ranostay3-75/+78
Breakout smack patchset files definitions into both 4.4 and 4.9 bbappends since the later only needs one of the patches. Issue: SPEC-443 Change-Id: I04afcaf55da2f9aa735e6798ba60a00ba0838726 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-01-26Jump kernel of rasb3 from V4.4.16 to V4.4.43Ronan1-4/+0
* Fix build for AGL Change-Id: I2f799daab05dd295397d2ae05b7e9ab1d707128c Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2017-01-06Apply bluetooth/smack patches also to rpi kernelJan-Simon Möller5-0/+208
This changeset patches the rpi with the needed changes to allow bluetooth to work together with smack. The patches were developed for porter and are a backport of patches submitted for 4.10+ . Bug-AGL: SPEC-293 Change-Id: I96d04a709de6ad7843840d9ae154f041173948a2 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-01-02Add entry for official pi touchscreen over DSI portJan-Simon Möller1-0/+6
This change add support for the official touchscreen that is connected throught the DSI-1 port to the board. Change-Id: If85490ca69310922b8bf314681d1d8459995c61e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-12-29rpi-config: add configurable CMA low and high water marksMatt Ranostay1-0/+8
For dynamically allocating of CMA blocks the low and high water marks settings determine when the GPU requests or releases memory from the CPU. Change-Id: Iad494c101fec0884bb687c5ea51c9657b7c17bd9 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2016-12-29linux-raspberrypi: add ENABLE_CMA options to kernel command lineMatt Ranostay1-0/+3
Add ENABLE_CMA setting that enables required kernel configuration to allow the dynamic CMA to function. Change-Id: I0b0ab0fd7fd64454ea3cc9a89344a98897838e11 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2016-12-28meta-raspberrypi: disable debug loggingScott Murray1-1/+1
Set CMDLINE_DEBUG in linux-raspberrypi_4.4.bbappend to disable the debug logging by the kernel and systemd that was spamming the console. As a side benefit, this noticeably speeds up booting. Change-Id: Ic99b1626ea20a27d3d157bcb952ec30cd50baeb2 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2016-12-15weston-raspberrypi.ini: Add commented out mode for GeChic 1502iScott Murray1-0/+2
Add the commented out mode line for using the GeChic 1502i in 1080p so that it's easy to enable it for the CES demo setup. Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Idcdf25188d3391403ee29c5bda7568c652b4c730
2016-11-28weston-raspberrypi.ini: Fix Weston configurationsLeon Anavi1-1/+6
Fix Weston configurations for Raspberry Pi 2/3 and run it in IVI shell. Following these changes start_ALS2016_ivi-shell.sh works again. Bug-AGL: SPEC-268 Change-Id: Ief75dfc078a42aba65161783b2a7beef23115e33 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-11-25Use IVI-shell instead of desktop-shell as default in weston.iniBocklage, Jens1-5/+3
Using IVI-shell as default for following platforms: - QEMU - Renesas - Raspberry Pi The IVI-shell is needed to run the CES 2017 demo. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-17weston.sh: Set XDG_RUNTIME_DIR to /run/user/0Leon Anavi1-1/+1
Set XDG_RUNTIME_DIR for Raspberry Pi in weston.sh to /run/user/0. Bug-AGL: SPEC-310 Change-Id: I283ee98ae17a54aa3e6a4c8574ab9debe1b21fbb Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-11-16Add support for CES 2017 demo hardwareScott Murray1-0/+10
Add kernel config fragments to enable support for the TP-Link TL-W722N USB Wifi adapter on both Turbot and Porter, and RTL2832U DVB USB adapter on Porter. v2 (jsmoeller): Adapt linux-yocto bits and add rpi3 + vayu - moving linux-yocto appends catches all the linux-yocto boards - adding the fragments to the other boards likewise - yet todo: sabre, wandboard v3 (jsmoeller): remove leftover file:// Change-Id: Ic2c3255d9383ccfe8b24d034ef43779d120c5ee1 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-11-02Bugfix: conditional append instead of appending to overrideAnton Gerasimov1-1/+1
Change-Id: I337876d9d5311618efd3e5a627724801de0acd6c Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-10-31Move RPi specific bbappends to meta-agl-bspAnton Gerasimov2-0/+5
Bug-AGL: SPEC-254 Change-Id: I1904b7e9ec09d5e9f5acc7a3d4671da9e2dccbb3 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-10-31Use kernel_configure_variable in append for rpiJan-Simon Möller2-43/+46
This changeset simplifies the configuration of the rpi kernel by using kernel_configure_variable in do_configure_append. Due to an upstream bug, we need to repeat the final configuration call. We also enable BLK_DEV_RAM, BLK_DEV_NBD and SMACK. For this we also define an OVERRIDE for netboot. v2: add conditional appends for netboot, sota, smack by using overrides. Change-Id: I2a4a8fae6989246d715fc2fc71bb4c251f423bdb Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-09-27mesa_%.bbappend: Remove dependency from libomxilLeon Anavi1-1/+1
Remove proprietary components such as libomxil which require setting LICENSE_FLAGS_WHITELIST = "commercial". Bug-AGL: SPEC-254 Change-Id: I93afadcaf70de8c0af23466efa7a4e3ef45d20b6 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-09-26weston: Set XDG_RUNTIME_DIR for Raspberry PiLeon Anavi2-0/+12
Set environment variable XDG_RUNTIME_DIR and fix Weston on Raspberry Pi 2/3 through script /etc/profile.d/weston.sh. Change-Id: Ie561623641f287e1ec911a5813c2cff225af4977 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-09-25weston: Use drm-backend.so for Raspberry PiLeon Anavi2-0/+23
Replace weston.ini configration for Raspberry Pi and use drm-backend.so as a backend for Weston. Change-Id: I8acedd63fc0a124e4f369609270094c76b7e7f88 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-09-25meta-raspberrypi: AGL support for Raspberry PiLeon Anavi5-0/+113
Yocto/OE layer that extends the recipes for mesa and the supported Linux kernel for Raspberry Pi for successful build of AGL with Wayland, Weston and Qt. It is based on the existing ports of Tizen and GENIVI Development Platform for Raspberry Pi. Change-Id: Icfed9e888c2abaf26c14ab402d0a90215862afbd Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>