diff --git a/bootstrap.d/41-uboot.sh b/bootstrap.d/41-uboot.sh index 80c8bb3..3389bef 100644 --- a/bootstrap.d/41-uboot.sh +++ b/bootstrap.d/41-uboot.sh @@ -73,12 +73,12 @@ if [ "$ENABLE_UBOOT" = true ] ; then printf "\narm_64bit=1" >> "${BOOT_DIR}/config.txt" sed -i "s|bootz|booti|g" "${BOOT_DIR}/uboot.mkimage" fi - + + # instead of sd, boot from usb device if [ "$ENABLE_UBOOTUSB" = true ] ; then sed -i "s|mmc|usb|g" "${BOOT_DIR}/uboot.mkimage" fi - # Set mkfile to use the correct mach id if [ "$ENABLE_QEMU" = true ] ; then sed -i "s/^\(setenv machid \).*/\10x000008e0/" "${BOOT_DIR}/uboot.mkimage"