[bootlin/training-materials updates] master: lab-data: bbb-recovery: Ensure we format the eMMC (3cb16d7c)

Miquel Raynal miquel.raynal at bootlin.com
Wed Jul 19 15:35:23 CEST 2023


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

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

commit 3cb16d7c5aec02fc77ebcf26971c08d4df7c8ffa
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date:   Wed Jul 19 15:33:59 2023 +0200

    lab-data: bbb-recovery: Ensure we format the eMMC
    
    In case the BBB eMMC is already formatted with something else than FAT,
    fastboot might just successfully write the files, which in the end will
    not be accessible by the ROM code. Let's ensure the eMMC is formatted
    correctly. This involves adding a "partitions" env variable.
    
    Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>


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

3cb16d7c5aec02fc77ebcf26971c08d4df7c8ffa
 lab-data/common/bootloader/beaglebone-black/MLO    | Bin 109684 -> 109696 bytes
 .../common/bootloader/beaglebone-black/README.txt  |   2 +-
 .../common/bootloader/beaglebone-black/sdcard.img  | Bin 2097664 -> 2097664 bytes
 .../beaglebone-black/src/snagboot/u-boot/uEnv.txt  |   2 +-
 .../bootloader/beaglebone-black/u-boot-spl.bin     | Bin 109164 -> 109176 bytes
 .../common/bootloader/beaglebone-black/u-boot.img  | Bin 1439996 -> 1439992 bytes
 6 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lab-data/common/bootloader/beaglebone-black/MLO b/lab-data/common/bootloader/beaglebone-black/MLO
index 56570d8a..61f66d52 100644
Binary files a/lab-data/common/bootloader/beaglebone-black/MLO and b/lab-data/common/bootloader/beaglebone-black/MLO differ
diff --git a/lab-data/common/bootloader/beaglebone-black/README.txt b/lab-data/common/bootloader/beaglebone-black/README.txt
index 724790ac..7dacb612 100644
--- a/lab-data/common/bootloader/beaglebone-black/README.txt
+++ b/lab-data/common/bootloader/beaglebone-black/README.txt
@@ -62,7 +62,7 @@ Don't be upset by the following message, it's expected...
 
 Then from the host, flash the image:
 
-    $ snagflash -P fastboot -p 0451:d022 -f download:sdcard.img -f flash:1:0
+    $ snagflash -P fastboot -p 0451:d022 -f oem_format -f download:sdcard.img -f flash:1:0
 
 Reboot by unplugging the power supply cable, and enjoy the training!
 
diff --git a/lab-data/common/bootloader/beaglebone-black/sdcard.img b/lab-data/common/bootloader/beaglebone-black/sdcard.img
index 11e440e8..83b354e5 100644
Binary files a/lab-data/common/bootloader/beaglebone-black/sdcard.img and b/lab-data/common/bootloader/beaglebone-black/sdcard.img differ
diff --git a/lab-data/common/bootloader/beaglebone-black/src/snagboot/u-boot/uEnv.txt b/lab-data/common/bootloader/beaglebone-black/src/snagboot/u-boot/uEnv.txt
index e7e64f83..a01b76a0 100644
--- a/lab-data/common/bootloader/beaglebone-black/src/snagboot/u-boot/uEnv.txt
+++ b/lab-data/common/bootloader/beaglebone-black/src/snagboot/u-boot/uEnv.txt
@@ -1 +1 @@
-autostart=no
+partitions=name=boot,size=4M
diff --git a/lab-data/common/bootloader/beaglebone-black/u-boot-spl.bin b/lab-data/common/bootloader/beaglebone-black/u-boot-spl.bin
index a961d59b..d03c3a5c 100755
Binary files a/lab-data/common/bootloader/beaglebone-black/u-boot-spl.bin and b/lab-data/common/bootloader/beaglebone-black/u-boot-spl.bin differ
diff --git a/lab-data/common/bootloader/beaglebone-black/u-boot.img b/lab-data/common/bootloader/beaglebone-black/u-boot.img
index b433cd50..95f47609 100644
Binary files a/lab-data/common/bootloader/beaglebone-black/u-boot.img and b/lab-data/common/bootloader/beaglebone-black/u-boot.img differ




More information about the training-materials-updates mailing list