[bootlin/training-materials updates] master: Boot time labs: use /delete-node/ instead of manual edit of dtsi (31e055fc)

Michael Opdenacker michael.opdenacker at bootlin.com
Mon Jun 21 18:36:47 CEST 2021


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/31e055fce67309a191e29a5de11082281ab4fcb2

>---------------------------------------------------------------

commit 31e055fce67309a191e29a5de11082281ab4fcb2
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Mon Jun 21 18:36:47 2021 +0200

    Boot time labs: use /delete-node/ instead of manual edit of dtsi
    
    Much cleaner!
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


>---------------------------------------------------------------

31e055fce67309a191e29a5de11082281ab4fcb2
 lab-data/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 58558ae2..4316e4a0 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 d333d321..b9a2363d 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 @@ cp ~/boot-time-labs/kernel/data/am335x-boneblack-lcd43.dts arch/arm/boot/dts/
 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




More information about the training-materials-updates mailing list