From 07a589b3ae6790ac1ae7a41e9eec8ddc2edb47a9 Mon Sep 17 00:00:00 2001 From: Michael Opdenacker Date: Mon, 21 Jun 2021 18:36:47 +0200 Subject: [PATCH] Boot time labs: use /delete-node/ instead of manual edit of dtsi Much cleaner! Signed-off-by: Michael Opdenacker --- .../boot-time/kernel/data/am335x-boneblack-lcd43.dts | 8 ++++++++ .../boot-time-build-kernel-and-start-system.tex | 9 --------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/lab-data/boot-time/kernel/data/am335x-boneblack-lcd43.dts b/lab-data/boot-time/kernel/data/am335x-boneblack-lcd43.dts index 58558ae2d..4316e4a07 100644 --- a/lab-data/boot-time/kernel/data/am335x-boneblack-lcd43.dts +++ b/lab-data/boot-time/kernel/data/am335x-boneblack-lcd43.dts @@ -101,6 +101,14 @@ }; }; +&lcdc { + /delete-node/ port; +}; + +&tda19988 { + /delete-node/ ports; +}; + &epwmss2 { /* Parent to ecap */ status = "okay"; diff --git a/labs/boot-time-build-kernel-and-start-system/boot-time-build-kernel-and-start-system.tex b/labs/boot-time-build-kernel-and-start-system/boot-time-build-kernel-and-start-system.tex index d333d321c..b9a2363d8 100644 --- a/labs/boot-time-build-kernel-and-start-system/boot-time-build-kernel-and-start-system.tex +++ b/labs/boot-time-build-kernel-and-start-system/boot-time-build-kernel-and-start-system.tex @@ -71,15 +71,6 @@ \section{Adding support for the 4.3" LCD cape} You now have to modify \code{arch/arm/boot/dts/Makefile} so that the new DTS file gets compiled too. -There is another thing you need to do to make the Linux framebuffer work -on the LCD display, avoiding conflicts with HDMI: - -Open \code{arch/arm/boot/dts/am335x-boneblack-common.dtsi} and remove: -\begin{itemize} -\item The \code{port} subnode under the \code{lcdc} node. -\item The \code{ports} subnode under the \code{tda19988} node. -\end{itemize} - \section{Configuring the Linux kernel} First, lets pick the default kernel configuration for boards with a TI