diff options
author | MichaIng <micha@dietpi.com> | 2023-03-31 19:01:18 +0300 |
---|---|---|
committer | Andy Hu <andy.hu@starfivetech.com> | 2023-05-31 08:49:03 +0300 |
commit | b6e2b0e85c774a18ae668223a6e5f7d335895243 (patch) | |
tree | 7c886c821fb7f61f462e5ce58fde4cc262f68e62 | |
parent | ec4da28612d8efe0aae9b924206291dfccd8af9f (diff) | |
download | u-boot-b6e2b0e85c774a18ae668223a6e5f7d335895243.tar.xz |
VisionFive 2: Add default device tree overlay addressVF2_v3.0.4
This is needed for device tree overlays to work when adding them via "fdtoverlays /path/to/overlay.dtbo" to extlinux.conf.
Of course this can be also set in uEnv.txt, but this U-Boot build reads that environment file from partition 3 with FAT filesystem only, which makes this an unnecessary limitation. Also, this variable is listed as mandatory in upstream U-Boot docs: https://github.com/u-boot/u-boot/blob/master/doc/develop/distro.rst#required-environment-variables
To allow using device tree overlays on the VisionFive 2, including the one shipped with StarFive's own kernel build, via extlinux in a generic and upstream-compatible way, this variable is hereby added.
The used address is sufficiently distant from the initramfs address, also in case 0x48100000 is used (override via uEnv.txt in StarFive's Debian image).
Signed-off-by: MichaIng <micha@dietpi.com>
-rw-r--r-- | include/configs/starfive-visionfive2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/starfive-visionfive2.h b/include/configs/starfive-visionfive2.h index b87c4974df..7f4bc7741d 100644 --- a/include/configs/starfive-visionfive2.h +++ b/include/configs/starfive-visionfive2.h @@ -291,6 +291,7 @@ "script_size_f=0x1000\0" \ "pxefile_addr_r=0x45900000\0" \ "ramdisk_addr_r=0x46100000\0" \ + "fdtoverlay_addr_r=0x4f000000\0" \ VF2_DISTRO_BOOTENV \ VISIONFIVE2_BOOTENV_NVME \ VISIONFIVE2_BOOTENV \ |