public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* How to build U-Boot with a custom out-of-tree device tree
@ 2026-04-18 14:40 Johannes Krottmayer
  2026-04-18 16:56 ` E Shattow
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Krottmayer @ 2026-04-18 14:40 UTC (permalink / raw)
  To: u-boot


[-- Attachment #1.1: Type: text/plain, Size: 922 bytes --]

Hello,

This question is generic and also valid for none RISC-V boards.
I think it's maybe already asked, but didn't find any useful
information this time. My question is, is it possible to pass
a specific device tree blob to the build system from U-Boot?

Example: RISC-V board Starfive VisionFive 2 8GiB variant

The default in-source-tree device tree from the VisionFive 2 has
only 4GiB RAM. I own the 8GiB (RAM-IC BiWin BMWZCX32H2A-64G-X)
variant. So therefore can I pass the device tree blob directly
to U-Boot's build system without modifying CONFIG_DEFAULT_DEVICE_TREE
in the device configuration? Exists there an environment variable?

Want to use U-Boot's EFI subsystem as loader for bare-metal
environments. And I think when I want to get the memory map
via EFI there will with the default device tree only <4GiB free
usable memory shown, although there are 8GiB.

Thanks in advance!

Kind regards,

Johannes K.

[-- Attachment #1.2: publickey - krotti83@proton.me - 0x1A5D6E0E.asc --]
[-- Type: application/pgp-keys, Size: 888 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 322 bytes --]

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

end of thread, other threads:[~2026-04-18 16:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-18 14:40 How to build U-Boot with a custom out-of-tree device tree Johannes Krottmayer
2026-04-18 16:56 ` E Shattow

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