diff options
author | Scott Murray <scott.murray@konsulko.com> | 2020-10-21 18:04:18 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2020-10-21 18:21:39 -0400 |
commit | 5b115837394e7a408638c0d46cde1b689d03832f (patch) | |
tree | 242c4e67bcd8f74b37c85dd3b28a3a677d95470f /meta-agl-refhw-gen3/conf/machine/agl-refhw-h3.conf | |
parent | 6c4f90cb4b4175b7256baa04f82bb12c811fe5af (diff) |
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>
Diffstat (limited to 'meta-agl-refhw-gen3/conf/machine/agl-refhw-h3.conf')
-rw-r--r-- | meta-agl-refhw-gen3/conf/machine/agl-refhw-h3.conf | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-agl-refhw-gen3/conf/machine/agl-refhw-h3.conf b/meta-agl-refhw-gen3/conf/machine/agl-refhw-h3.conf new file mode 100644 index 0000000..f302d45 --- /dev/null +++ b/meta-agl-refhw-gen3/conf/machine/agl-refhw-h3.conf @@ -0,0 +1,16 @@ +# Using H3, needs to be defined before pulling in salvator-x as a base +SOC_FAMILY = "r8a7795" + +require conf/machine/salvator-x.conf + +# This is a bit of a hack, we add salvator-x to avoid having to +# bbappend various recipes to update COMPATIBLE_MACHINE. Ideally, +# we would want the ordering salvator-x:<machine>, but that is +# non-trivial to accomplish and not absolutely necessary for our +# expected use. +MACHINEOVERRIDES_append = ":salvator-x" + +# Reference hardware has USB3 +MACHINE_FEATURES_append = " usb3" + +KERNEL_DEVICETREE_append = " renesas/r8a7795-agl-refhw.dtb" |