summaryrefslogtreecommitdiffstats
path: root/meta-agl-refhw-gen3/recipes-bsp/arm-trusted-firmware
AgeCommit message (Collapse)AuthorFilesLines
2021-11-15Updates for BSP v5.5.0lamprey_12.1.9lamprey_12.1.8lamprey_12.1.7lamprey_12.1.6lamprey_12.1.5lamprey_12.1.4lamprey_12.1.3lamprey_12.1.20lamprey_12.1.2lamprey_12.1.19lamprey_12.1.18lamprey_12.1.17lamprey_12.1.16lamprey_12.1.15lamprey_12.1.14lamprey_12.1.13lamprey_12.1.12lamprey_12.1.11lamprey_12.1.10lamprey_12.1.1lamprey_12.1.0lamprey/12.1.9lamprey/12.1.8lamprey/12.1.7lamprey/12.1.6lamprey/12.1.5lamprey/12.1.4lamprey/12.1.3lamprey/12.1.20lamprey/12.1.2lamprey/12.1.19lamprey/12.1.18lamprey/12.1.17lamprey/12.1.16lamprey/12.1.15lamprey/12.1.14lamprey/12.1.13lamprey/12.1.12lamprey/12.1.11lamprey/12.1.10lamprey/12.1.1lamprey/12.1.012.1.912.1.812.1.712.1.612.1.512.1.412.1.312.1.2012.1.212.1.1912.1.1812.1.1712.1.1612.1.1512.1.1412.1.1312.1.1212.1.1112.1.1012.1.112.1.0lampreyScott Murray3-146/+37
Changes: - Kernel patches updated for the 5.10.41 linux-renesas kernel, most changes are for the upstream rename of the non-engineering sample H3 from r8a7795 to r8a77951. - The kernel patches have been renamed to match git format-patch / devtool naming conventions to be a bit more consistent and hopefully simplify future updates. - To maintain consistency with the other rcar3 boards, as part of the kernel patch updates the reference hardware devicetree has been renamed to r8a77951-agl-refhw, which does result in a user visible change in the .dtb name. - The upstreamed, then reverted upstream patch to arm-trusted-firmware to disable FDT generation has been replaced with a simpler patch to just put "renesas,unknown" in the compatible string instead of panic-ing. This should be easier to carry forward. - Documentation updated for new branch & tag. Bug-AGL: SPEC-4103 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I48b2cce5d55df3fff49e556821b27b8f516b98e1 (cherry picked from commit 92da06f999511ebf5f871ec40dffd3cb456be55f)
2021-10-28arm-trusted-firmware: build 1rank firmware when MACHINE=agl-refhw-h3Scott Murray1-0/+12
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 (cherry picked from commit c79268a6d2d2a5445e8fdfd4bb7af536cdab7115)
2021-10-26Add support for 16Gbit/1rank DRAM version of the AGL reference hardwareYoshiki Ito1-0/+5
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 (cherry picked from commit 3967213580b8aeb1b2d5377c25283be141834259)
2021-07-22arm-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 (cherry picked from commit 67a9b0cff91f63f087639fd33d16598dda6f7d09)
2021-07-21arm-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> (cherry picked from commit c41ff5d9242d4c9e32237fcfeca18b727f641517)
2021-07-15arm-trusted-firmware: Enable building in AGL buildScott Murray1-17/+48
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 (cherry picked from commit e7f137f15d25b1a33b9ec9f5cd3ac79bac21fd41)
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-21Rework for AGL UCB integrationScott Murray1-4/+7
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 check-inScott Murray1-0/+26
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>