* [PATCH] starfive: visionfive2: add device tree overlay support
@ 2023-11-20 2:35 John Clark
2023-11-20 10:32 ` John Clark
2023-12-04 12:53 ` Leo Liang
0 siblings, 2 replies; 3+ messages in thread
From: John Clark @ 2023-11-20 2:35 UTC (permalink / raw)
To: Leo Yu-Chi Liang; +Cc: John Clark, Yanhong Wang, u-boot
device tree overlay support requires fdtoverlay_addr_r to be set
before
~~~~~~
Invalid fdtoverlay_addr_r for loading overlays
after
~~~~~
Retrieving file: /boot/overlay/rtc-ds3231.dtbo
Signed-off-by: John Clark <inindev@gmail.com>
---
include/configs/starfive-visionfive2.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/starfive-visionfive2.h b/include/configs/starfive-visionfive2.h
index ff43113f24..29c74470c7 100644
--- a/include/configs/starfive-visionfive2.h
+++ b/include/configs/starfive-visionfive2.h
@@ -40,6 +40,7 @@
"kernel_comp_addr_r=0x88000000\0" \
"kernel_comp_size=0x4000000\0" \
"fdt_addr_r=0x46000000\0" \
+ "fdtoverlay_addr_r=0x45800000\0" \
"scriptaddr=0x43900000\0" \
"pxefile_addr_r=0x45900000\0" \
"ramdisk_addr_r=0x46100000\0" \
--
2.42.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] starfive: visionfive2: add device tree overlay support
2023-11-20 2:35 [PATCH] starfive: visionfive2: add device tree overlay support John Clark
@ 2023-11-20 10:32 ` John Clark
2023-12-04 12:53 ` Leo Liang
1 sibling, 0 replies; 3+ messages in thread
From: John Clark @ 2023-11-20 10:32 UTC (permalink / raw)
To: Leo Yu-Chi Liang; +Cc: Yanhong Wang, u-boot
> device tree overlay support requires fdtoverlay_addr_r to be set
>
> before
> ~~~~~~
> Invalid fdtoverlay_addr_r for loading overlays
>
> after
> ~~~~~
> Retrieving file: /boot/overlay/rtc-ds3231.dtbo
>
> Signed-off-by: John Clark<inindev@gmail.com>
> ---
>
> include/configs/starfive-visionfive2.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/configs/starfive-visionfive2.h b/include/configs/starfive-visionfive2.h
> index ff43113f24..29c74470c7 100644
> --- a/include/configs/starfive-visionfive2.h
> +++ b/include/configs/starfive-visionfive2.h
> @@ -40,6 +40,7 @@
> "kernel_comp_addr_r=0x88000000\0" \
> "kernel_comp_size=0x4000000\0" \
> "fdt_addr_r=0x46000000\0" \
> + "fdtoverlay_addr_r=0x45800000\0" \
> "scriptaddr=0x43900000\0" \
> "pxefile_addr_r=0x45900000\0" \
> "ramdisk_addr_r=0x46100000\0" \
Additional detail as to the selection of 0x45800000 as the location to
place fdtoverlay_addr_r:
"kernel_comp_addr_r=0x88000000\0" \ "ramdisk_addr_r=0x46100000\0"
\ 0x41F00000 "fdt_addr_r=0x46000000\0" \ 0x100000
"pxefile_addr_r=0x45900000\0" \ 0x700000
"fdtoverlay_addr_r=0x45800000\0" \ 0x100000
"scriptaddr=0x43900000\0" \ 0x1F00000
"kernel_addr_r=0x40200000\0" \ 0x3700000
"kernel_comp_size=0x4000000\0" \
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] starfive: visionfive2: add device tree overlay support
2023-11-20 2:35 [PATCH] starfive: visionfive2: add device tree overlay support John Clark
2023-11-20 10:32 ` John Clark
@ 2023-12-04 12:53 ` Leo Liang
1 sibling, 0 replies; 3+ messages in thread
From: Leo Liang @ 2023-12-04 12:53 UTC (permalink / raw)
To: John Clark; +Cc: Yanhong Wang, u-boot
On Mon, Nov 20, 2023 at 02:35:31AM +0000, John Clark wrote:
> device tree overlay support requires fdtoverlay_addr_r to be set
>
> before
> ~~~~~~
> Invalid fdtoverlay_addr_r for loading overlays
>
> after
> ~~~~~
> Retrieving file: /boot/overlay/rtc-ds3231.dtbo
>
> Signed-off-by: John Clark <inindev@gmail.com>
> ---
>
> include/configs/starfive-visionfive2.h | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-12-04 12:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-20 2:35 [PATCH] starfive: visionfive2: add device tree overlay support John Clark
2023-11-20 10:32 ` John Clark
2023-12-04 12:53 ` Leo Liang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.