U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: John Clark <inindev@gmail.com>
To: Leo Yu-Chi Liang <ycliang@andestech.com>
Cc: John Clark <inindev@gmail.com>,
	Yanhong Wang <yanhong.wang@starfivetech.com>,
	u-boot@lists.denx.de
Subject: [PATCH] starfive: visionfive2: add device tree overlay support
Date: Mon, 20 Nov 2023 02:35:31 +0000	[thread overview]
Message-ID: <20231120023549.13902-1-inindev@gmail.com> (raw)

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


             reply	other threads:[~2023-11-20  2:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-20  2:35 John Clark [this message]
2023-11-20 10:32 ` [PATCH] starfive: visionfive2: add device tree overlay support John Clark
2023-12-04 12:53 ` Leo Liang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231120023549.13902-1-inindev@gmail.com \
    --to=inindev@gmail.com \
    --cc=u-boot@lists.denx.de \
    --cc=yanhong.wang@starfivetech.com \
    --cc=ycliang@andestech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox