aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
AgeCommit message (Collapse)AuthorFilesLines
2018-07-18Activate missing kernel options for 4aRonan Le Martret1-0/+4
* without this options the kernel command "make oldconfig" can deactivate SND_ALOOP Change-Id: I132a1109da81aeb470a845e70f2084f57ad47a95 BUG-AGL: SPEC-1591 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-07-12Revert "linux-ti-staging moved on to 4.14"Jan-Simon Moeller1-0/+1
Too early. Need to wait for https://gerrit.automotivelinux.org/gerrit/#/c/15127/ This reverts commit 57fa6f2599942b87af20ae8791eeb40bec5569ef. Change-Id: Ie6eabc56c3b5f4af77c944b5eb15e0d36f719756
2018-07-12linux-ti-staging moved on to 4.14Jan-Simon Möller1-1/+0
Thus remove the linux-agl-4.9.inc. Change-Id: I4d3172a58f4bf3e44201b50c183294356d52a3b0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-11linux-yocto: kernel: backport pn533_usb fix from upstreamMatt Ranostay2-0/+148
Backport pn533_usb incorect stack use from linux-next kernel Bug-AGL: SPEC-1544 Change-Id: Idc3614f0aedc47a6d69523bf4b8b817b4ed62f55 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-07-11meta-agl-bsp: linux: add NFC configuration fragmentMatt Ranostay2-0/+37
Add various NFC options to kernel configuration Bug-AGL: SPEC-1554 Change-Id: I94c985421a3b78466d44140ebadcec5c50166212 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-07-09Fix folder name to use entry in BBFILE_COLLECTIONSJan-Simon Möller6-0/+0
Thus meta-agl-bsp/meta-agl-profile-graphical needs to be meta-agl-bsp/meta-aglprofilegraphical Bug-AGL: SPEC-1552 Change-Id: I9a504a3e6c090ca8a8dea108a11c0394c0a27b14 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-04Fixing DCAN nodes addressesKhouloud Touil2-1/+24
Fix the DT node addresses to match the reg property addresses, which were verified to match the TRM Change-Id: I1ec1d52b48aa2af7d74779bf0eb6f30bc7a4a6cc Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2018-07-04linux-intel: nfc: backport pn533_usb stack fixMatt Ranostay2-0/+148
pn533_usb based NFC devices wouldn't work on recent x86 builds, and requires a patchset from the upstream kernel Bug-AGL: SPEC-1553 Change-Id: I8113cccd1afc027b80495272bfa8aca42aec7691 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-07-04Set CAN modulesKhouloud Touil1-0/+2
Add the C_CAN and the C_CAN_PLATFORM modules to be built as a kernel modules, those modules supports the Bosch D_CAN and C_CAN peripheral IPs Change-Id: If5657ba12bb5fc5c2ad1e06554a89255fddd4745 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2018-07-04Enabling the DCAN2 interfaceKhouloud Touil2-0/+49
Modify the DTS file, to add the proper pinmux for the DCAN2 and enable it Change-Id: I21d233eab71d062484f322e8dd0f16df34f6fe76 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2018-07-02kernel: enable 4A-specific config option snd-aloopStephane Desneux2-0/+5
4A requires some specific options in the linux kernel, like CONFIG_SND_ALOOP for softmixer. This patch adds a config fragment to the default linux kernel recipe. This is a copy of what has been done on EE: * https://gerrit.automotivelinux.org/gerrit/#/c/14303/ * https://gerrit.automotivelinux.org/gerrit/#/c/14561/ Change-Id: I5f8879f4ac1b3685f6d801b385d9b0ce9f17f9c7 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-06-28[GEN3 KF] Configure GPS deviceRonan Le Martret3-0/+36
* For the Renesas Gen3 extention board Kingfisher, we must specify the GPS device for gpsd service. * Create a new machine type kingfisher. Bug-AGL: SPEC-1538 Change-Id: If6b7e49f6a006218e57c58e15855e0d65eb849cd Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-06-11[RCARGEN3] Update Renesas Rcar Gen3 BSP to 3.7Ronan Le Martret1-2/+2
Tested with agl-demo-platform image on: * M3+KF * H3+KF Test results: | Component | Status | |---------------------------------------------------------|------------| | Wifi (U52) | ok | | BT HCI (U52) | ok | | BT Audio(U52) | not tested | | USB2.0(host)(CN13) | not tested | | USB2.0(func)(CN13) | not tested | | USB2.0(on-the-go)(CN13) | not tested | | USB3.0(CN2) | fail | | Multichan Audio(SSI3,4) hphone(CN 32,33) lineout(CN12) | not tested | | CSI : Expansion Board (CN10) | not tested | | CSI : Expansion Board (CN11) | not tested | | CSI : Raspberry Pi camera(CN48) | not tested | | Video Input CMOS camera(CN29) | not tested | | HDMI out(CN49) | ok | | LVDS out(CN7) | not tested | | Radio (CN42, 43) | ok | | Gyro, Accel | ok | | GPS (CN16) | ok | | Serial (CN4) | not tested | | CAN(CN17, 18) | ok | | SD (CN47) | fail | | Mini PCIe(CN15) | not tested | | M.2 key M (CN5) | not tested | | MOST (CN22) | not tested | Change-Id: I0779cd6440bf1e8fc958f127aee3c3979da603bb Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-06-06kern-tools-native: fix fragments merging scriptStephane Desneux2-0/+40
When concatenating kernel config fragments, if a fragment file doesn't end with a carriage return, then the last config option of the fragment and the first one of the next fragment are on the same line in the result file. This leads to misconfiguration because some options are not taken into account. This commit includes a patch that will add a \n in the result file after each fragment. Bug-AGL: SPEC-1475 Change-Id: I52d13b42909f56f4608860af865a80d0d9b2579e Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-05-313rd part of the layer/profile rework [1/2]Jan-Simon Möller18-17/+87
This is the last larger commit in this series and deals with the graphical part. We introduce the graphical profiles: - meta-agl-profile-graphical -- meta-agl-profile-graphical-html5 -- meta-agl-profile-graphical-qt5 Notable changes: - weston-ini-conf moved to the meta-agl-bsp layer. Most BSPs have bbappends, so we need to have the recipes present (but unused) even in the console images. - new image: agl-image-boot = terminal-only + network + package-manaager. Ready for using package-feeds - new image/sdk: agl-image-minimal-crosssdk - agl-service-mediaplayer has a dependency on weston, thus it cannot be in the 'core'. Moved it to profile-graphical. - The wayland-ivi-extension moved to the agl-demo-platform. - The app-framework layer included and pulled 'web-runtime' as dependency. This broke console-only images. This has been moved to be in meta-agl-demo only for now. - added and massaged the agl-features. - found and added a useful script 'oe-depends-dot' that helps to work with the dot files (produced with bitbake -g) Todo: - we'll need another pass through the packagegroups. The dependencies for the layers/profiles are now sorted-out but we might have to add/shuffle a few packages. For further details, see meta-agl/docs/profiles.md. v2: fix meta-agl/meta-security/conf/layer.conf - the immediate expansion previously used in there caused some recipes not being added to BBFILES. v3: fix packagegroup renaming (packagegroup-agl-devel -> packagegroup-agl-core-devel) v4: fix missing packagegroup inclusion (tnx Jose, Scott, Stephane) v5: fix missing packagegroup inclusion v6: explicitely put profile-graphical-qt5 on-top of profile-graphical v7: re-add 'procps' when agl-devel feature is on Bug-AGL: SPEC-145 Change-Id: I24cdcd1118932758d0c55d333338238f2a770877 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-05-30Fix kernel .config file configurationRonan Le Martret1-1/+1
* A missing carriage return at the end of a cfg will break the kernel .config Bug-AGL: SPEC-1475 EE-MUST-FIX Change-Id: Ie0bc472153ae73b41c495161f83acba57d812b9a Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-05-28Merge "linux-linaro-qcomlt: delete bbappend of db820c"Jan-Simon Moeller1-3/+0
2018-05-28Merge "dragonboard-410c: update 96boards-tools recipe"Jan-Simon Moeller1-1/+1
2018-05-28linux-linaro-qcomlt: delete bbappend of db820cYuya Ono1-3/+0
This bbappend no longer is needed because related bb has been removed by below commit. http://git.yoctoproject.org/cgit/cgit.cgi/meta-qcom/commit/?id=267fa80fea2d3 Change-Id: I3d7943c2a2048078b210adbadf30a3bdb59206a9 Signed-off-by: Yuya Ono <Ono.Yuya@ap.MitsubishiElectric.co.jp>
2018-05-28dragonboard-410c: update 96boards-tools recipeYuya Ono1-1/+1
Update 96boards-tools recipe for dragonboard-410c. This recipe is ported from meta-96boards layer(rocko). https://github.com/96boards/meta-96boards/ Change-Id: I4a56bddabebfde48ee2a25e180d6ed452b5e0e38 Signed-off-by: Yuya Ono <Ono.Yuya@ap.MitsubishiElectric.co.jp>
2018-05-22Enable I2C-TINY-USB and LEDS-BLINKM drivers for AGL demonstratorYordan Dimitrov2-0/+6
To extent the demonstrator we need to support an I2C adaptor and RGB LED. Change-Id: I1816ee9a7acf4699d1639b4954422df9ca8f452e Signed-off-by: Yordan Dimitrov <y.dimitrov.14@gmail.com>
2018-05-14Temporary fix for -nogfx target during layer reorgJan-Simon Möller1-0/+3
This fix is needed to unbreak the build due to a parsing error in the nogfx target (qt5 not enabled but bbappends present). Change-Id: I9da2a5854849c147c7917c75b5783b755b9130f1 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-24[RCARGEN3] Remove bluez PACKAGECONFIG featureRonan Le Martret1-0/+1
- The PACKAGECONFIG value "experimental" was remove recently (Upgrade Bluez version 5.43 -> 5.44). (From poky): feacb428b055fd714eb1b15402023f4a726dce54 -PACKAGECONFIG[experimental] = "--enable-experimental,--disable-experimental," - So we can remove "experimental" feature to avoid yocto Warning. Bug-AGL: SPEC-1398 Change-Id: Ibd96a788bd0c4e0d9bc6959012bbbf839d890e9d Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-04-13Merge "[RCAR] Update Rcar gen3 BSP to 3.6"Jan-Simon Moeller1-2/+2
2018-04-12[RCAR] Update Rcar gen3 BSP to 3.6Ronan Le Martret1-2/+2
Bug-AGL: SPEC-1359 Change-Id: Id3b2327f93f325bca81bb464c31c13b59eda366f Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-04-10Merge "Rework how we pass arguments to QEMU, provide a wks.in file"Jan-Simon Moeller2-5/+17
2018-04-10[Rcar] Remove valgrind recipes from meta-rcarRonan Le Martret1-0/+1
* valgrind was backport in meta-rcar from cogent (unidentified reason). In some builds environement, the build of this recipes failed (issue hardly reproductible). So remove valgrind backported recipes should resolve the build issue and upstream recipes from yocto will be used. Bug-AGL: SPEC-1374 Change-Id: I1bc3d065badd1e2cd35b2a7b1a3c5fb43c357c06 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-04-06Merge "Add hci uart ko cfg for rpi3 on board bluetooth"Jan-Simon Moeller2-0/+16
2018-04-05Rework how we pass arguments to QEMU, provide a wks.in fileTom Rini2-5/+17
- The official hook for changing the resolution we tell QEMU is UVESA_MODE so change agl_qemux86-64.inc to set the value there rather than override the whole of QB_KERNEL_CMDLINE_APPEND. - Make agl_qemux86-64.inc further append what's needed to QB_KERNEL_CMDLINE_APPEND as APPEND isn't used in the filesystem images we create anymore. - Create a directdisk.wks.in file that will (a) use --use-uuid and not force /boot to be looked for on /dev/sda1 (when it will _NOT_ be) and (b) evaluate QB_KERNEL_CMDLINE_APPEND to determine what the bootargs to the kernel will be. Change-Id: I49894d70e6c0010e0907b72f19fcc8fb0917e34a Bug-AGL: SPEC-1301 Signed-off-by: Tom Rini <trini@konsulko.com>
2018-04-04Merge "Adapt repository priorities in preparation of the profiles"Jan-Simon Moeller1-1/+1
2018-04-04Adapt repository priorities in preparation of the profilesJan-Simon Möller1-1/+1
The profiles need a clear priorization of the layers. Especially the core layers need a high prio in this context. Apply a prio of 70 to core/essential layers and of 60 to BSP, netboot and smack. Change-Id: I24a59daadab4c98ffbcb799cc784e84e87ac7d23 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-03Make better use of UUIDs on Intel platform wks filesTom Rini2-4/+4
- Stop using --ondisk XXX in the wks files, that enforces using USB/SATA/etc as /etc/fstab will be referencing these devices. - Pass --use-uuid for the boot partition - Update mkefi-agl.sh and mkabl-agl.sh to modify the final fstab to use the PARTUUID they create rather than the PARTUUID of the resulting wic file. Change-Id: I450ba77805fdb83e31411ea48b25aad415fa8a69 Bug-AGL: SPEC-1300 Signed-off-by: Tom Rini <trini@konsulko.com>
2018-04-03Add hci uart ko cfg for rpi3 on board bluetoothPhong Tran2-0/+16
Enable HCI UART for fixing current lacking of hci-uart.ko which made brcm43438.service fails to start. Change-Id: I0905820daa4bc1b36f2677f2f685f17a71fe11e6 Signed-off-by: Phong Tran <tranmanphong@gmail.com>
2018-03-29Merge "Merge branch 'sandbox/ronan/rocko_kf'"Jan-Simon Moeller11-9/+388
2018-03-26most: delete bbappend for removing skb_put_data patchKotaro Hashimoto1-5/+0
This bbappend no longer is needed because skb_put_data patch issue was solved by below commit. https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL/meta-agl-demo.git;a=commit;h=23492d46ea0fd81aa05528ad423bb5e1a10e111b Change-Id: I9615367030a26d6af16b4c46ce47da7c49a03a5d Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
2018-03-26Merge "wayland: weston-ini-conf: change virtual.cfg to 1080p and rotate 270 ↵Jan-Simon Moeller1-2/+3
degrees"
2018-03-20remove unused opencv folderHarunobu Kurokawa1-0/+1
Change-Id: I115096811662403f34846f434fbc7772024c1634 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2018-03-20si-tools: FM configuration improvementsHarunobu Kurokawa2-0/+192
This commit is removed from meta-renesas-rcar-gen3 ==== commit a5dfadaa3931977a221e0508354e9ab97482b9ab Author: Scott Murray <scott.murray@konsulko.com> Date: Thu Dec 21 20:46:30 2017 -0500 ==== Some changes to allow integration with the AGL radio binding and improve FM configuration with some tweaks and additional configuration options. Changes include: - Add command-line option for selecting FM band plan. The default band plan is US / Canada. - Add command-line options for setting FM scanning valid SNR and RSSI thresholds to allow tweaking sensitivity in poor radio environments. - Increased seeking scan timeout to 3 seconds, which seems to improve behavior in poor radio environments where powerful stations may be far apart. - Removed explicit setting of FM_SOFTMUTE_SNR_LIMITS, as it seemed like it might be resulting in odd muting behavior when scanning. - Changed initial FM frequency if not specified to the minimum of the band plan. Change-Id: I5d8c95947489b83384babb50285b76d3de45214a Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2018-03-20[AGL] ulcb: Disable build-in most driverHarunobu Kurokawa2-1/+11
Kingfisher has MedlaLB Interface for most, kernel tree has most driver as build-in driver. So these configs is enabled. Howemver AGL use most driver in gerrit repository. So AGL should be disable it. Change-Id: Ia46500d58fc16f348a098c58f5e807cf37913e5e Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2018-03-20ti-bt: add a systemd unit and enableMatt Porter2-0/+25
We need to provide a systemd unit for UIM to be started at boot. We also do not want the blacklist that Cogent has created, so delete that. Bug-AGL: SPEC-1175 Change-Id: Ia35a6007722d4e42a7a76fe9d8d26b90b073f73b Signed-off-by: Matt Porter <mporter@konsulko.com> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2018-03-20Preserve HDMI naming for kingficher boardRonan Le Martret3-0/+91
Change-Id: Id1b6b88e606d0a102eefbdb9c8deae2dfe0cf73b Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2018-03-20Update BBMASK for ulcb boardRonan Le Martret3-9/+2
* We don't need to black list rcar BSP recipes any more. Change-Id: If7081b8cfa2ae936f6ed9f957054fd57a45cc968 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-03-20Add kingficher supportRonan Le Martret1-0/+67
Change-Id: I75b9ced887249380a6164296b73acaaca91e3060 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-03-13wayland: weston-ini-conf: change virtual.cfg to 1080p and rotate 270 degreesMatt Ranostay1-2/+3
Rotate screen to horizontal orientation allow 1080p output that mirrors a LCD panel Change-Id: I7b8a6a9841b726f68087a4f5bb18ed80517e4e9a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-03-13re-enable gobject-introspectionMartin Kelly2-4/+0
In commit f9a285987c5c956d445efeea6c60f258534fe57b, we disabled gobject-introspection due to a build error as part of the Rocko transition. However, the only build errors were on qemu, which were caused by not emulating SSE4.2 (see poky commit 5b2b343453e805be013e721d079bc24de946f28b for details). Emulate SSE4.2 in qemu and re-enable gobject-introspection. Change-Id: I073db2c37623bb8ba6b7809ca0c3bba5213001e2 Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-03-13Merge "dra7xx-evm, beaglebone: Switch to sdimage-bootpart-uuid for wic"Jan-Simon Moeller3-1/+8
2018-03-09Merge "Add db-820c as community board"Jan-Simon Moeller2-0/+5
2018-03-08Fix image class for cyclone5 until fixed upstreamJan-Simon Möller1-2/+3
This change is to be merged upstream. Meanwhile fix the build by using high-prio layer. Change-Id: Iaf9b08b1ea314d9c298639372dd4a7d1c15e83f0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-03-08dra7xx-evm, beaglebone: Switch to sdimage-bootpart-uuid for wicTom Rini3-1/+8
Introduce a new wks file, sdimage-bootpart-uuid.wks that differs from sdimage-bootpart.wks in that it uses --use-uuid rather than --ondisk as PARTUUID is more portable and we do not use busybox mount in our images. Bug-AGL: SPEC-1336 Change-Id: Ib98d1e49406f8b8ac13c3947f4efbc4360cf9865 Signed-off-by: Tom Rini <trini@konsulko.com>
2018-03-07Add db-820c as community boardJan-Simon Möller2-0/+5
Add templates for the db-820c as community board alongside the 410c. Only works with rocko/master. v2: - fixed 96board-tools inclusion - added kernel bbappend Change-Id: I411505ae0aeb5939338bb94f5db04c2572fc6612 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>