Add support for 16Gbit/1rank DRAM version of the AGL reference hardware 38/26738/2
authorYoshiki Ito <ito.yoshiki001@jp.panasonic.com>
Wed, 20 Oct 2021 04:56:40 +0000 (13:56 +0900)
committerYoshiki Ito <ito.yoshiki001@jp.panasonic.com>
Wed, 20 Oct 2021 06:12:12 +0000 (15:12 +0900)
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

meta-agl-refhw-gen3/docs/ReferenceHW_Rcar_gen3.md
meta-agl-refhw-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_%.bbappend

index f0a6d99..3f757e0 100644 (file)
@@ -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
index 09c7a76..564e0b5 100644 (file)
@@ -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