summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-10-26arm-trusted-firmware: build 1rank firmware when MACHINE=agl-refhw-h3Scott Murray2-1/+13
Tweak the arm-trusted-firmware bbappend to build the extra 1rank firmware when building standalone with MACHINE=agl-refhw-h3, and also add an anonymous python snippet to disable the default firmware configurations from the base recipe in that situation as well, as they are not useful. Bug-AGL: SPEC-4115 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I4697476b08c9dfc722cc8e97c837786874869262
2021-10-26Enable buffered-mode for accel/gyro sensorsHiroyuki Ishii1-7/+10
During asm330lhh's driver initialization, there is a kernel message which indicates failure of mapping irq like following: irq: type mismatch, failed to map hwirq-39 for interrupt-controller@f1010000! This is because of wrong statement in agl-refhw-common.dtsi and results disabling buffered-mode of asm330lhh. With this change, the irq can be correctly mapped and buffered-mode is enabled, i.e. buffer directory comes up like following: /sys/devices/platform/soc/e66d0000.i2c/i2c-3/3-006a/iio:device<n>/buffer * Updates from Scott Murray: - Changes merged into the main reference hardware patch as discussed in Gerrit. - st,drdy-int-pin declaration added to mark int1 pin as explicitly used, matching other users of the driver. - i2c3 bus speed increased to 400 KHz. The ASM330LHH is the only device on it and is 400 KHz capable, which testing bears out. If any of the higher ODRs will be used in buffered mode, this seems desirable. BUG-AGL: SPEC-4098 Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I598b1195a20d9e4611d2e505779ebeebfcbd8757
2021-10-20Add support for 16Gbit/1rank DRAM version of the AGL reference hardwareYoshiki Ito2-0/+8
The AGL reference hardware which is numbered 100 or above has 16Gbit/1rank DRAM. If you use the reference hardware described above, please flash the firmware with the suffix "-agl-refhw-4x2g-1rank". Bug-AGL: SPEC-4115 Signed-off-by: Yoshiki Ito <ito.yoshiki001@jp.panasonic.com> Change-Id: Id13458b431451dce4cda717f35a05a6a56cf3d81
2021-09-24Fix CAN transceivers GPIO hog definitionsScott Murray1-3/+3
Update reference hardware support kernel patch to fix enabling the vehicle board CAN transceivers, I mistakenly set them to output-high instead of output-low when creating the GPIO hog definitions. The pins need to be low to disable standby mode on the transceivers. Bug-AGL: SPEC-4073 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I882bdac8c30e42a2271c169e3cf888a6505093de
2021-09-09Add WLAN card supportScott Murray8-11/+428
This is loosely based on the contents of the tar file provided with the WLAN cards (AGL_Refhw_sample_software_KK_20210225.tar.gz) with updates for BSP v4.7.0 and other fixes. Changes: - Kernel patches and configuration update to enable the TI WL1837 module. As opposed to the original changes from Panasonic or the Kingfisher support, the HCI LL driver is used instead of the older ti-st + btwilink combination, since the the latter are deprecated and are removed in kernel 5.5. - As part of the above the sound configuration in the devicetree has been reworked to support the WL1837 BT audio. This includes dropping the HDMI1 audio configuration from the original Salvator-X devicetree, as it conflicts with the SSI used for the ak4613 in the reference hardware. - Recipes added for wlconf (from meta-ti) and ti-bt-firmware (loosely derived from the meta-rcar-gen3-adas version). The TI-TFL license used by ti-bt-firmware has been added in a top-level "licenses" directory and that added to LICENSE_PATH in layer.conf to satisfy the license packaging QA checking. Bug-AGL: SPEC-4071 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib17fc01331efe0f49a90f7a8b223ec88b33b44f7
2021-09-09Enable vehicle board CAN transceiversScott Murray1-5/+19
Update reference hardware support kernel patch to enable the vehicle board CAN transceivers by pulling them out of standby mode on power on. Bug-AGL: SPEC-4073 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I3f4f13fb261f9a2770b73e9f9d48240577357a70
2021-08-27Fix wrong USB1 pin settingito.yoshiki0011-1/+1
Since GP6_26 is used as USB1_PWEN, a collision occurs in the PFC settings and the HSCIF2 is not working. Also, GP6_27 is not used as USB1_OVC, and overcurrent detection is not working. This patch fixes the incorrect pin settings for usb1 as described above. Bug-AGL: SPEC-3658 Signed-off-by: ito.yoshiki001 <ito.yoshiki001@jp.panasonic.com> Change-Id: If488a7d5ca4be0f3469a98f332821aead911e050
2021-07-21arm-trusted-firmware: Update patch overrideScott Murray1-1/+1
The override for the FDT deletion patch needs to be rcar-gen3 instead of agl-refhw-h3 so it will work when building with MACHINE=h3ulcb in the AGL build as well as when building standalone. Bug-AGL: SPEC-3916 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I87e61017bb753ecbe9904b4ecf0afd3d0824d8be
2021-07-14arm-trusted-firmware: Fix BL2 fail on Renesas BSP 4.7.0.vasyl2-0/+147
Backport [1] to fix boot error: NOTICE: BL2: Cannot set compatible string, board unsupported [1]: https://github.com/renesas-rcar/arm-trusted-firmware/commit/3ebd371fa1b1137ddee85b1825d1c1ce31c719d1 Bug-AGL: SPEC-3916 Change-Id: I5289437e71140d16a9e3505733b6423ec79ffe81 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2021-07-13Update READMEScott Murray1-1/+3
Update meta-renesas branch information in README to document that the v4.7.0 BSP release is what has been tested and is recommended. Bug-AGL: SPEC-3992 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia36b3be81ab7bfb285c020bb76249d2737e00312
2021-06-30arm-trusted-firmware: Enable building in AGL buildScott Murray2-154/+225
Leverage the reworked extra_opl_ipt hook in the rcar3 BSP's arm-trusted-firmware recipe as of BSP v4.7.0 to enable building the reference hardware flavor of the firmware as an extra firmware version when building with MACHINE=h3ulcb. This will then enable working inside the AGL build which combines the reference hardware support into its h3ulcb build to avoid needing an extra platform build. Support for building standalone with MACHINE=agl-refhw-h3 has been retained for potential use outside of the full AGL build. The firmware documentation has been reworked to document the build and flashing procedure for both types of build. Based on initial prototype by Vasyl Vavrychuk at: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-refhw/+/26352 Bug-AGL: SPEC-3916 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I5f74450851aeb4cb015a21e234709eca2014f378
2021-04-11Update sound device namemarlin_12.90.0marlin/12.90.0lamprey_11.92.0lamprey_11.91.0lamprey/11.92.0lamprey/11.91.0jellyfish_10.0.3jellyfish/10.0.312.90.011.92.011.91.010.0.3Scott Murray1-11/+8
Match change back to "ak4613" from "rcar-sound" for ULCB in BSP 4.70 so ALSA and WirePlumber configuration for ULCB will be picked up. Bug-AGL: SPEC-3878 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I50241c7fb991078e5df69ebc5ba845beda1b7157
2020-12-22README: Fix typo: h3uclb -> h3ulcbkoi_10.93.0koi_10.92.0koi/10.93.0koi/10.92.010.93.010.92.0sandbox/scottm/next-honisterVasyl Vavrychuk1-1/+1
Bug-AGL: SPEC-3708 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Change-Id: Ib81192a42fd055fc6fca9498a0027ed3977b2d59
2020-12-07Update READMEkoi_10.91.0koi/10.91.010.91.0Scott Murray1-9/+8
Update top-level README to match the change to a "agl-refhw-h3" feature in meta-agl that was integrated for Kooky Koi, and to remove the note about HDMI issues, as they have been resolved. Bug-AGL: SPEC-3708 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ic3e398abd47b0a79c8f0cb5847ebca2018fb924c
2020-11-25linux-renesas: update driver for asm330lhh accel & gyrojellyfish_10.0.1jellyfish/10.0.110.0.1Raquel Medina3-2116/+3
Enable upstream kernel driver for asm330lhh: st_lsm6dsx, and remove kernel driver st_asm330lhh introduced previously via patch: * update kernel config fragment to select st_lsm6dsx; * update yocto recipe to remove patch adding st_asm330lhh driver. Bug-AGL: SPEC-3658 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I05e86130aab729f848ff18178fe74923c290ae00
2020-11-16Update agl refhw patches for kernel 5.4Raquel Medina2-122/+74
Rework agl refhw patches to apply to agl master branch (linux-renesas v5.4/rcar-4.0.0). Bug-AGL: SPEC-3658 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I0d69179c9acb9a28c9381c42927bda70a7589d61
2020-11-04Add dw-hdmi CEC IRQ muting patchScott Murray2-0/+26
Add patch with fix for dw-hdmi IRQ issues provided by Kato Kazuomi from Panasonic. This resolves the WARNING backtraces related to an unhandled IRQ on boot and reading HDMI EDID. Bug-AGL: SPEC-3658 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I6103bbec094d63ccabcb1ec273b73d8a5c114a84
2020-10-29Enable CONFIG_DRM_LOAD_EDID_FIRMWAREScott Murray1-0/+2
Update reference hardware kernel configuration fragment to enable CONFIG_DRM_LOAD_EDID_FIRMWARE. This will allow using it as a workaround for the HDMI EDID issues in a pinch. Bug-AGL: SPEC-3658 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I5616cdb19b694c5fa701e59916b91960b517a26a
2020-10-26Update firmware documentationScott Murray1-8/+8
Changes: - Add missing "optee-os" to bitbake command line for building the required firmware. - Reorganize the firmware table to have the columns in the order that the information is needed for the EM_W commands. Bug-AGL: SPEC-3658 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-10-26arm-trusted-firmware: add EL2 boot patch from meta-agl-bspScott Murray2-0/+32
To generate a-t-f binaries equivalent to what is built for the other H3 based boards in the AGL build process, add the KVM enabling patch that is added by meta-agl-bsp. It is still unclear if there is a straightforward path to working the separate a-t-f build for the reference hardware into the AGL h3ulcb build, so this duplication seems like a necessary evil for now. Bug-AGL: SPEC-3658 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-10-21Add .gitreviewScott Murray1-0/+5
Add .gitreview file to enable "git review" command. Bug-AGL: SPEC-3658 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-10-21Rework for AGL UCB integrationScott Murray10-982/+1955
Changes include: - The provided kernel patches have been reworked to not modify the salvator-x(s) devicetree source, but to introduce new files for the reference hardware instead. There is some possibility that the reference hardware devicetree could be based off the the salvator-x with some work and perhaps splitting of the salvator-x source, but for now the aim is to avoid breaking the salvator-x(s) with the reference hardware changes. - The modifications to the r8a7795 pinctrl driver have been replaced with a splitting of the USB interface OVC pins into their own pin groups, which has previously been done for other older Renesas hardware. This allows booting the reference hardware off of the same kernel as other H3 boards, at the expense of minor devicetree modifications for them (e.g. h3ulcb). There is likely some more work required if this needs to be upstreamed, as the ulcb.dtsi changes would mean that the pinctrl drivers for M3 would also need the new pin groups. - All changes for the ST asm330lhh driver addtion have been moved to that patch to the kernel. - A machine conf file has been added for "agl-refhw-h3", and the firmware documentation updated to document how to set up a build of the firmware using it. This is required due to the firmware options from this layer's arm-trusted-firmware bbappend not being compatible with other H3 boards (eMMC versus Hyperflash boot). A definition of the COMPATIBLE_MACHINE variable has been added to that bbappend to make sure that attempting to use it with another H3 machine will trigger an error. In AGL, the bbappend will need to be masked out with BBMASK for now. - The top-level README file has been updated to reflect the expected integration in AGL. Bug-AGL: SPEC-3658 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-10-20Initial clean upsScott Murray6-1/+3
Changes: - Update the layer.conf to indicate dunfell compatibility and add LAYERDEPENDS definition to make layer dependencies explicit. - Move kernel files to more expected recipes-kernel/linux directory. Bug-AGL: SPEC-3658 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-10-20Initial check-inScott Murray10-0/+3386
Initial check-in of the contents of the meta-refhw directory from the AGL_Refhw_sample_software_20200512.tar.gz archive provided by Panasonic as the initial BSP for the AGL reference hardware. The only change from the files as provided is that unneeded execute file permissions have been removed. Bug-AGL: SPEC-3658 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-10-20Initial empty repositoryJan-Simon Moeller0-0/+0