[FE training-materials-updates] BBB flashing: repartition eMMC and remove existing env
Alexandre Belloni
alexandre.belloni at free-electrons.com
Sat May 31 17:25:29 CEST 2014
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=0f9759d34bd1d0c4ef9ba1e00575d3c239b50449
>---------------------------------------------------------------
commit 0f9759d34bd1d0c4ef9ba1e00575d3c239b50449
Author: Alexandre Belloni <alexandre.belloni at free-electrons.com>
Date: Sat May 31 17:24:27 2014 +0200
BBB flashing: repartition eMMC and remove existing env
Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
>---------------------------------------------------------------
0f9759d34bd1d0c4ef9ba1e00575d3c239b50449
lab-data/linux/bootloader/beaglebone-black/MBR | Bin 0 -> 512 bytes
.../linux/bootloader/beaglebone-black/README.txt | 14 +-------------
.../bootloader/beaglebone-black/src/rootfs.tar.xz | Bin 567276 -> 565068 bytes
lab-data/linux/bootloader/beaglebone-black/uImage | Bin 5818616 -> 5827416 bytes
4 files changed, 1 insertion(+), 13 deletions(-)
diff --git a/lab-data/linux/bootloader/beaglebone-black/MBR b/lab-data/linux/bootloader/beaglebone-black/MBR
new file mode 100644
index 0000000..9077d64
Binary files /dev/null and b/lab-data/linux/bootloader/beaglebone-black/MBR differ
diff --git a/lab-data/linux/bootloader/beaglebone-black/README.txt b/lab-data/linux/bootloader/beaglebone-black/README.txt
index 50ab63d..9137c06 100644
--- a/lab-data/linux/bootloader/beaglebone-black/README.txt
+++ b/lab-data/linux/bootloader/beaglebone-black/README.txt
@@ -50,7 +50,7 @@ Remove the card and insert it again. It should automatically be mounted
Now, copy the below files to this partition:
-cp am335x-boneblack.dtb MLO u-boot.img MLO.final u-boot.img.final uEnv.txt uImage /media/$USER/boot
+cp am335x-boneblack.dtb MLO MBR u-boot.img MLO.final u-boot.img.final uEnv.txt uImage /media/$USER/boot
Now, unmount '/media/$USER/boot' and you are done!
@@ -99,18 +99,6 @@ available either.
Should you need more standard tools, you may boot the board with
an MMC card with Debian on it (see http://beagleboard.org/latest-images).
-Limitations
------------
-
-- The system does not erase the previous U-Boot environment that would
- remain from an earlier session.
- How to do it safely from Linux without damaging existing partitions?
-
-- The system cannot cope with broken partition tables that are
- not suitable with booting on the first partition with U-Boot.
- In case the partition table needs fixing, do it from Debian booted
- from MMC.
-
===============================
How the binaries where compiled
===============================
diff --git a/lab-data/linux/bootloader/beaglebone-black/src/rootfs.tar.xz b/lab-data/linux/bootloader/beaglebone-black/src/rootfs.tar.xz
index a918381..b6bb5b6 100644
Binary files a/lab-data/linux/bootloader/beaglebone-black/src/rootfs.tar.xz and b/lab-data/linux/bootloader/beaglebone-black/src/rootfs.tar.xz differ
diff --git a/lab-data/linux/bootloader/beaglebone-black/uImage b/lab-data/linux/bootloader/beaglebone-black/uImage
index 2ee9b53..9aff3b8 100644
Binary files a/lab-data/linux/bootloader/beaglebone-black/uImage and b/lab-data/linux/bootloader/beaglebone-black/uImage differ
More information about the training-materials-updates
mailing list