From 02c122ab6b77f9fa2247deb1ec37034d64566825 Mon Sep 17 00:00:00 2001 From: Bastien Curutchet Date: Wed, 20 Nov 2024 10:36:16 +0100 Subject: [PATCH] slides/sysdev-bootloaders-u-boot: Update device-tree location Since v2024.07 device-trees are fetched by U-Boot from the Linux kernel project. Now with CONFIG_OF_UPSTREAM we can choose whether we want to use legacy device-trees in arch/ARCH/dts or the Linux ones in dts/upstream/src/ARCH/VENDOR/. Update the slides to talk about this new location. Signed-off-by: Bastien Curutchet --- .../sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex b/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex index 98cfb6d0f7..50cf47e32b 100644 --- a/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex +++ b/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex @@ -181,7 +181,11 @@ \subsection{The U-boot bootloader} \item Initially mainly used by Linux, now also used by U-Boot, Barebox, TF-A, etc. \item Used by U-Boot on most platforms. - \item Device Tree files located in \code{arch/ARCH/dts} + \item Since v2024.07 the Device Tree files location depends on \code{CONFIG_OF_UPSTREAM}: + \begin{itemize} + \item \code{dts/upstream/src/ARCH/VENDOR} when \code{CONFIG_OF_UPSTREAM} is set + \item \code{arch/ARCH/dts} otherwise + \end{itemize} \item One \code{.dts} for each board: need to create one if you build a custom board \item U-Boot {\em defconfigs} usually specify a default Device Tree,