by Kabbone » Sat Aug 22, 2020 7:27 am
but it isn't automatically flashing, there should a message ask you if you want to install it to this block device (mmcblk0) and you have to confirm, if you don't it shouldn't get flashed and gives you the instructions how you can do it manually.
This is from the package install:
$this->bbcode_second_pass_code('', '
flash_uboot() {
echo "A new U-Boot version needs to be flashed onto /dev/mmcblk0."
echo "Do you want to do this now? [y|N]"
read -r shouldwe
if [[ $shouldwe =~ ^([yY][eE][sS]|[yY])$ ]]; then
dd if=/boot/rksd_loader.img of=/dev/mmcblk0 seek=64 conv=notrunc
dd if=/boot/u-boot.itb of=/dev/mmcblk0 seek=16384 conv=notrunc
else
echo "You can do this later by running:"
echo "# dd if=/boot/rksd_loader.img of=/dev/mmcblk0 seek=64 conv=notrunc"
echo "# dd if=/boot/u-boot.itb of=/dev/mmcblk0 seek=16384 conv=notrunc"
fi
}
')