AGL/meta-agl-refhw.git
2 years agoarm-trusted-firmware: Enable building in AGL build 68/26468/1
Scott Murray [Wed, 30 Jun 2021 18:10:57 +0000 (14:10 -0400)]
arm-trusted-firmware: Enable building in AGL build

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

3 years agoUpdate sound device name 50/26250/1 10.0.3 11.91.0 11.92.0 12.90.0 jellyfish/10.0.3 jellyfish_10.0.3 lamprey/11.91.0 lamprey/11.92.0 lamprey_11.91.0 lamprey_11.92.0 marlin/12.90.0 marlin_12.90.0
Scott Murray [Sun, 11 Apr 2021 22:11:12 +0000 (18:11 -0400)]
Update sound device name

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

3 years agoREADME: Fix typo: h3uclb -> h3ulcb 49/25849/1 sandbox/scottm/next-honister 10.92.0 10.93.0 koi/10.92.0 koi/10.93.0 koi_10.92.0 koi_10.93.0
Vasyl Vavrychuk [Tue, 22 Dec 2020 21:22:23 +0000 (23:22 +0200)]
README: Fix typo: h3uclb -> h3ulcb

Bug-AGL: SPEC-3708
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Change-Id: Ib81192a42fd055fc6fca9498a0027ed3977b2d59

3 years agoUpdate README 63/25763/1 10.91.0 koi/10.91.0 koi_10.91.0
Scott Murray [Mon, 7 Dec 2020 18:26:44 +0000 (13:26 -0500)]
Update README

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

3 years agolinux-renesas: update driver for asm330lhh accel & gyro 38/25638/3 10.0.1 jellyfish/10.0.1 jellyfish_10.0.1
Raquel Medina [Wed, 25 Nov 2020 12:38:36 +0000 (13:38 +0100)]
linux-renesas: update driver for asm330lhh accel & gyro

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

3 years agoUpdate agl refhw patches for kernel 5.4 79/25579/1
Raquel Medina [Mon, 16 Nov 2020 03:05:13 +0000 (04:05 +0100)]
Update agl refhw patches for kernel 5.4

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

3 years agoAdd dw-hdmi CEC IRQ muting patch
Scott Murray [Wed, 4 Nov 2020 23:08:49 +0000 (18:08 -0500)]
Add dw-hdmi CEC IRQ muting patch

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

3 years agoEnable CONFIG_DRM_LOAD_EDID_FIRMWARE
Scott Murray [Thu, 29 Oct 2020 14:55:37 +0000 (10:55 -0400)]
Enable CONFIG_DRM_LOAD_EDID_FIRMWARE

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

3 years agoUpdate firmware documentation
Scott Murray [Mon, 26 Oct 2020 18:30:17 +0000 (14:30 -0400)]
Update firmware documentation

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>
3 years agoarm-trusted-firmware: add EL2 boot patch from meta-agl-bsp
Scott Murray [Mon, 26 Oct 2020 15:27:50 +0000 (11:27 -0400)]
arm-trusted-firmware: add EL2 boot patch from meta-agl-bsp

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>
3 years agoAdd .gitreview
Scott Murray [Wed, 21 Oct 2020 22:24:31 +0000 (18:24 -0400)]
Add .gitreview

Add .gitreview file to enable "git review" command.

Bug-AGL: SPEC-3658

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
3 years agoRework for AGL UCB integration
Scott Murray [Wed, 21 Oct 2020 22:04:18 +0000 (18:04 -0400)]
Rework for AGL UCB integration

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>
3 years agoInitial clean ups
Scott Murray [Tue, 20 Oct 2020 21:11:40 +0000 (17:11 -0400)]
Initial clean ups

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>
3 years agoInitial check-in
Scott Murray [Tue, 20 Oct 2020 20:37:05 +0000 (16:37 -0400)]
Initial check-in

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>
3 years agoInitial empty repository
Jan-Simon Moeller [Tue, 20 Oct 2020 17:17:36 +0000 (17:17 +0000)]
Initial empty repository