public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] board: visionfive2: Select fdtfile based on revision
@ 2023-09-11 15:32 Jami Kettunen
  2023-09-11 15:32 ` [PATCH RFC 1/2] " Jami Kettunen
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Jami Kettunen @ 2023-09-11 15:32 UTC (permalink / raw)
  To: u-boot
  Cc: Mason Huo, Minda Chen, Yanhong Wang, Shengyu Qu, Jami Kettunen,
	Jami Kettunen

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-09-14 16:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-11 15:32 [PATCH RFC 0/2] board: visionfive2: Select fdtfile based on revision Jami Kettunen
2023-09-11 15:32 ` [PATCH RFC 1/2] " 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox