Package: u-boot-sunxi
Version: 2023.07+dfsg-1
Severity: normal
Tags: patch

Hi Vagrant,

When u-boot-install-sunxi does not recognise the system model name, it
prints the following error message:

  ERROR: Unknown system: (...)
  Specify target: TARGET=/usr/lib/u-boot/UBOOT

I think it might not be clear to everyone what "UBOOT" means here, so
I suggest "<board_name>/" instead. The patch is below.

(This is the last of the minor changes suggested in bug#979688 that I
meant to file separate bug reports for.)

Thanks very much,
Harold.


diff --git a/debian/bin/u-boot-install-sunxi b/debian/bin/u-boot-install-sunxi
index b3af2c0b80..f3732ce326 100755
--- a/debian/bin/u-boot-install-sunxi
+++ b/debian/bin/u-boot-install-sunxi
@@ -50,7 +50,7 @@ if [ -z "$TARGET" ] && [ -f "${dtmodel}" ]; then
                "Xunlong Orange Pi Zero") 
TARGET="/usr/lib/u-boot/orangepi_zero" ;;
                *)
                        echo >&2 "ERROR: Unknown system: ${dtmodelname}"
-                       echo >&2 "Specify target: TARGET=/usr/lib/u-boot/UBOOT"
+                       echo >&2 "Specify target: 
TARGET=/usr/lib/u-boot/<board_name>/"
                        exit 1
                        ;;
        esac

Reply via email to