u-boot: add environmet

Signed-off-by: Thomas Klaehn <tkl@blackfinn.de>
This commit is contained in:
2018-03-14 09:29:18 +01:00
parent d68af25483
commit f8a0f3a533
4 changed files with 43 additions and 5 deletions

View File

@@ -21,13 +21,14 @@ w" | fdisk /dev/mmcblk1
# Create file systems.
mkfs.vfat -F 32 -n "boot" /dev/mmcblk1p1
mkfs.ext4 -L "rootfs" /dev/mmcblk1p2
yes | mkfs.ext4 -L "rootfs" /dev/mmcblk1p2
# Flash boot partition.
mount /dev/mmcblk1p1 /media
cp MLO /media
cp u-boot.img /media
cp uExt.txt /media
sync
umount /dev/mmcblk1p1