From: Leo Liang <ycliang@andestech.com>
To: Randolph <randolph@andestech.com>
Cc: <u-boot@lists.denx.de>, <randolph.sklin@gmail.com>,
<dylan@andestech.com>, <tim609@andestech.com>,
<peterlin@andestech.com>
Subject: Re: [PATCH V2 7/7] riscv: spl: andes: Move the DTB in front of kernel
Date: Tue, 17 Oct 2023 15:20:05 +0800 [thread overview]
Message-ID: <ZS41pbe4IF97CCA8@swlinux02> (raw)
In-Reply-To: <20231012063509.2963258-8-randolph@andestech.com>
On Thu, Oct 12, 2023 at 02:35:09PM +0800, Randolph wrote:
> Originally, u-boot SPL will place the DTB directly after the kernel,
> but the size of the kernel does not include the BSS section, This
> means that u-boot SPL places the DTB in the kernel BSS section causing
> the DTB to be cleared by the kernel BSS initialisation.
>
> Moving the DTB in front of the kernel can avoid this error.
>
> Signed-off-by: Randolph <randolph@andestech.com>
> ---
> board/AndesTech/ae350/ae350.c | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
prev parent reply other threads:[~2023-10-17 7:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-12 6:35 [PATCH V2 0/7] riscv: spl: OpenSBI OS boot mode Randolph
2023-10-12 6:35 ` [PATCH V2 1/7] spl: riscv: opensbi: change the default os_type as varible Randolph
2023-10-12 6:35 ` [PATCH V2 2/7] riscv: kconfig: introduce SPL_LOAD_FIT_OPENSBI_OS_BOOT symbol Randolph
2023-10-12 15:28 ` Simon Glass
2023-10-12 6:35 ` [PATCH V2 3/7] riscv: dts: binman: add condition for opensbi os boot Randolph
2023-10-12 15:28 ` Simon Glass
2023-10-12 6:35 ` [PATCH V2 4/7] Makefile: delete file *.itb when make clean Randolph
2023-10-12 15:28 ` Simon Glass
2023-10-12 6:35 ` [PATCH V2 5/7] spl: riscv: add os type for next booting stage Randolph
2023-10-12 15:28 ` Simon Glass
2023-10-12 6:35 ` [PATCH V2 6/7] andes: config: add riscv falcon mode for ae350 platform Randolph
2023-10-17 7:19 ` Leo Liang
2023-10-12 6:35 ` [PATCH V2 7/7] riscv: spl: andes: Move the DTB in front of kernel Randolph
2023-10-17 7:20 ` Leo Liang [this message]
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=ZS41pbe4IF97CCA8@swlinux02 \
--to=ycliang@andestech.com \
--cc=dylan@andestech.com \
--cc=peterlin@andestech.com \
--cc=randolph.sklin@gmail.com \
--cc=randolph@andestech.com \
--cc=tim609@andestech.com \
--cc=u-boot@lists.denx.de \
/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 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.