Skip to content

Commit

Permalink
slides/sysdev-bootloaders-u-boot: Update device-tree location
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
bastien-curutchet committed Nov 20, 2024
1 parent 396af51 commit 02c122a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 02c122a

Please sign in to comment.