aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoshiki Ito <ito.yoshiki001@jp.panasonic.com>2021-10-20 13:56:40 +0900
committerYoshiki Ito <ito.yoshiki001@jp.panasonic.com>2021-10-20 15:12:12 +0900
commit3967213580b8aeb1b2d5377c25283be141834259 (patch)
tree715cc80aa128f15bce2e02199d45ab081787b28d
parent5c85ab7e123dc24fa2f63182de8499a04984d37f (diff)
Add support for 16Gbit/1rank DRAM version of the AGL reference hardware
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
-rw-r--r--meta-agl-refhw-gen3/docs/ReferenceHW_Rcar_gen3.md3
-rw-r--r--meta-agl-refhw-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_%.bbappend5
2 files changed, 8 insertions, 0 deletions
diff --git a/meta-agl-refhw-gen3/docs/ReferenceHW_Rcar_gen3.md b/meta-agl-refhw-gen3/docs/ReferenceHW_Rcar_gen3.md
index f0a6d99..3f757e0 100644
--- a/meta-agl-refhw-gen3/docs/ReferenceHW_Rcar_gen3.md
+++ b/meta-agl-refhw-gen3/docs/ReferenceHW_Rcar_gen3.md
@@ -129,6 +129,9 @@ download.
If using an AGL build with the agl-refhw-h3 feature, you can find the firmware
files under the build directory in `tmp/deploy/images/h3ulcb`.
+ If you use the reference hardware numbered 100 or above,
+ please flash the firmware with the suffix "-agl-refhw-4x2g-1rank".
+
The firmware should be stored on the eMMC as follows:
| Name | eMMC partition | Flash address | Load address | Description
diff --git a/meta-agl-refhw-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_%.bbappend b/meta-agl-refhw-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_%.bbappend
index 09c7a76..564e0b5 100644
--- a/meta-agl-refhw-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_%.bbappend
+++ b/meta-agl-refhw-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_%.bbappend
@@ -28,6 +28,10 @@ EMMC_BOOT_OPTION = "RCAR_SA6_TYPE=1"
#
DDR_8G_OPTION = "RCAR_DRAM_LPDDR4_MEMCONF=1 RCAR_DRAM_MEMRANK=2"
+# AGL reference hardware numbered 100 or above has 16Gbit/1rank DRAM
+# and please flash the firmware built with the following options.
+DDR_8G_1RANK_OPTION = "RCAR_DRAM_LPDDR4_MEMCONF=1 RCAR_DRAM_MEMRANK=1"
+
ATFW_OPT_agl-refhw-h3 = "LSI=H3 RCAR_DRAM_SPLIT=1 ${EMMC_BOOT_OPTION} ${DDR_8G_OPTION}"
#
@@ -36,6 +40,7 @@ ATFW_OPT_agl-refhw-h3 = "LSI=H3 RCAR_DRAM_SPLIT=1 ${EMMC_BOOT_OPTION} ${DDR_8G_O
# Build options for building as extra firmware when MACHINE=h3ulcb, based on H3[4x2g]
H3ULCB[agl-refhw-4x2g] = "LSI=H3 RCAR_DRAM_SPLIT=1 ${EMMC_BOOT_OPTION} ${DDR_8G_OPTION}"
+H3ULCB[agl-refhw-4x2g-1rank] = "LSI=H3 RCAR_DRAM_SPLIT=1 ${EMMC_BOOT_OPTION} ${DDR_8G_1RANK_OPTION}"
#
# Need to prepend the compile tasks with a distclean that actually cleans