Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit bee306a1 authored by Robert Nelson's avatar Robert Nelson
Browse files

ci: cleanup fastboot


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 917eca5e
Branches
Tags
No related merge requests found
#!/bin/bash
sudo fastboot flash ram ./deploy/u-boot-with-spl.bin
sudo fastboot reboot
if ! id | grep -q root; then
echo "./07_fastboot_emmc.sh must be run as root:"
echo "sudo ./07_fastboot_emmc.sh"
exit
fi
fastboot flash ram ./deploy/u-boot-with-spl.bin
fastboot reboot
sleep 10
sudo fastboot flash uboot ./deploy/u-boot-with-spl.bin
sudo fastboot flash boot ./deploy/boot.ext4
sudo fastboot flash root ./deploy/root.ext4
sudo fastboot reboot
fastboot flash uboot ./deploy/u-boot-with-spl.bin
fastboot flash boot ./deploy/boot.ext4
fastboot flash root ./deploy/root.ext4
fastboot reboot
#!/bin/bash
sudo fastboot flash ram ./u-boot-with-spl.bin
sudo fastboot reboot
if ! id | grep -q root; then
echo "./fastboot_emmc.sh must be run as root:"
echo "sudo ./fastboot_emmc.sh"
exit
fi
fastboot flash ram ./u-boot-with-spl.bin
fastboot reboot
sleep 10
sudo fastboot flash uboot ./u-boot-with-spl.bin
sudo fastboot flash boot ./boot.ext4
sudo fastboot flash root ./root.ext4
sudo fastboot reboot
fastboot flash uboot ./u-boot-with-spl.bin
fastboot flash boot ./boot.ext4
fastboot flash root ./root.ext4
fastboot reboot
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment