[bootlin/training-materials updates] master: Boottime: fix bootloader (9201c865)
Michael Opdenacker
michael.opdenacker at bootlin.com
Fri May 17 05:19:56 CEST 2019
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/9201c86583ecf1a4e2d50848789cc2369a6fc35e
>---------------------------------------------------------------
commit 9201c86583ecf1a4e2d50848789cc2369a6fc35e
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Fri May 17 05:19:56 2019 +0200
Boottime: fix bootloader
- Cannot get am335x_boneblack_vboot_defconfig to work
it doesn't detect the MMC 0 partition table:
No partition table - mmc 0
- Reverting to Uboot 2019.01 as a consequence
- mmc rescan no longer needed
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
9201c86583ecf1a4e2d50848789cc2369a6fc35e
labs/boot-time-build-bootloader/boot-time-build-bootloader.tex | 8 ++++----
.../boot-time-build-kernel-and-start-system.tex | 10 +++++-----
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/labs/boot-time-build-bootloader/boot-time-build-bootloader.tex b/labs/boot-time-build-bootloader/boot-time-build-bootloader.tex
index 7d1f49e1..372f5f14 100644
--- a/labs/boot-time-build-bootloader/boot-time-build-bootloader.tex
+++ b/labs/boot-time-build-bootloader/boot-time-build-bootloader.tex
@@ -8,9 +8,9 @@ platform and run it from a micro SD card provided by your instructor.
Go to the \code{~/boot-time-labs/bootloader/u-boot/} directory.
-Let's use the 2019.04 version:
+Let's use the 2019.01 version:
\begin{verbatim}
-git checkout v2019.04
+git checkout v2019.01
\end{verbatim}
\section{Compiling environment}
@@ -42,12 +42,12 @@ export CROSS_COMPILE=arm-buildroot-linux-uclibcgnueabihf-
\section{Configuring U-Boot}
-Let's use the ready-made U-Boot configuration for the Beaglebone Black
+Let's use a ready-made U-Boot configuration for the Beaglebone Black
board (you can find such configuration files in the \code{configs/}
directory:
\begin{verbatim}
-make am335x_boneblack_vboot_defconfig
+make am335x_boneblack_defconfig
\end{verbatim}
\section{Compiling U-Boot}
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 635f8264..3906a621 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
@@ -132,8 +132,8 @@ At the end, copy the kernel binary and DTB to the SD card's boot
partition:
\begin{verbatim}
-cp arch/arm/boot/zImage /media/<user>/boot/
-cp arch/arm/boot/dts/am335x-boneblack-lcd4.dtb /media/<user>/boot/dtb
+cp arch/arm/boot/zImage /media/$USER/boot/
+cp arch/arm/boot/dts/am335x-boneblack-lcd4.dtb /media/$USER/boot/dtb
\end{verbatim}
\section{Installing the root filesystem}
@@ -146,9 +146,9 @@ cd ~/boot-time-labs/rootfs
mkdir rootfs
cd rootfs
tar xf ../buildroot/output/images/rootfs.tar
-sudo rsync -aH --delete ./ /media/<user>/rootfs/
-sudo umount /media/<user>/rootfs
-sudo umount /media/<user>/boot
+sudo rsync -aH --delete ./ /media/$USER/rootfs/
+sudo umount /media/$USER/rootfs
+sudo umount /media/$USER/boot
\end{verbatim}
Then insert the SD card in the board's slot.
More information about the training-materials-updates
mailing list