From: Jami Kettunen <jamipkettunen@gmail.com>
To: u-boot@lists.denx.de
Cc: Mason Huo <mason.huo@starfivetech.com>,
Minda Chen <minda.chen@starfivetech.com>,
Yanhong Wang <yanhong.wang@starfivetech.com>,
Shengyu Qu <wiagn233@outlook.com>,
Jami Kettunen <jamipkettunen@gmail.com>,
Jami Kettunen <jami.kettunen@protonmail.com>
Subject: [PATCH RFC 0/2] board: visionfive2: Select fdtfile based on revision
Date: Mon, 11 Sep 2023 18:32:34 +0300 [thread overview]
Message-ID: <20230911153253.20701-1-jamipkettunen@gmail.com> (raw)
From: Jami Kettunen <jami.kettunen@protonmail.com>
Currently booting a mainline Linux kernel via extlinux with fdtdir set
doesn't load a proper DTB but passes on the U-Boot one to the kernel
which as far as I know is very incorrect and prevents user (normally
distro) provided DTB usage in a sensible/generic way.
A uEnv.txt or similar manual environment changes were not used and
should not be required to boot the board as per:
https://u-boot.readthedocs.io/en/latest/develop/distro.html
This also currently needs a kernel patch[1] for my board to have the
full 8GB of memory available to Linux instead of just 4GB it shows with
these patches alone.
[1] https://gitlab.alpinelinux.org/nmeum/alpine-visionfive/-/blob/main/starfive/linux-starfive/set-8GB-RAM.patch
Jami Kettunen (2):
board: visionfive2: Select fdtfile based on revision
configs: visionfive2: Enable MISC_INIT_R
.../visionfive2/starfive_visionfive2.c | 25 +++++++++++++++++++
configs/starfive_visionfive2_defconfig | 1 +
2 files changed, 26 insertions(+)
--
2.42.0
next reply other threads:[~2023-09-11 15:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-11 15:32 Jami Kettunen [this message]
2023-09-11 15:32 ` [PATCH RFC 1/2] board: visionfive2: Select fdtfile based on revision Jami Kettunen
2023-09-12 8:26 ` Milan P. Stanić
2023-09-11 15:32 ` [PATCH RFC 2/2] configs: visionfive2: Enable MISC_INIT_R Jami Kettunen
2023-09-12 8:26 ` Milan P. Stanić
2023-09-12 3:59 ` [PATCH RFC 0/2] board: visionfive2: Select fdtfile based on revision Shengyu Qu
2023-09-14 16:48 ` Shengyu Qu
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=20230911153253.20701-1-jamipkettunen@gmail.com \
--to=jamipkettunen@gmail.com \
--cc=jami.kettunen@protonmail.com \
--cc=mason.huo@starfivetech.com \
--cc=minda.chen@starfivetech.com \
--cc=u-boot@lists.denx.de \
--cc=wiagn233@outlook.com \
--cc=yanhong.wang@starfivetech.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