summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2016-03-17 16:29:47 +0100
committerBjørn Mork <bjorn@mork.no>2016-03-17 16:29:55 +0100
commit6eeda921a2fccc1e988b70a4450ffe1dd1afb83c (patch)
tree86bd8b6836fd79372a06c7b22cb4e8f20c98b167
parent9ab922e1c2fc9da06811a753722214c7a464226a (diff)
makenvup.pl: success with adb
Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 66 bInterfaceProtocol 1 iInterface 4 ADB Interface Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Signed-off-by: Bjørn Mork <bjorn@mork.no>
-rwxr-xr-xscripts/makenvup.pl12
1 files changed, 7 insertions, 5 deletions
diff --git a/scripts/makenvup.pl b/scripts/makenvup.pl
index c7ec6b1..e241a64 100755
--- a/scripts/makenvup.pl
+++ b/scripts/makenvup.pl
@@ -11,11 +11,13 @@ use Getopt::Long;
# fixed prod
my $prod = "9X30";
-# fixed version string - must this match the running image?
-my $ver = "9999999_9904609_SWI9X30C_02.08.02.00_00_Bjorn_001.000_000";
-
-## test with a legal value first! my $usbcomp = 0x0000050f; # (diag,adb,nmea,modem,rmnet0,rmnet1)
-my $usbcomp = 0x0000010d; # (diag,nmea,modem,rmnet0)
+# fixed version string - must this match the running image? YES: experiments says so
+my $imgver = "02.08.02.00";
+my $ver = "9999999_9904609_SWI${prod}C_${imgver}_00_Bjorn_001.001_000";
+
+## test with a legal value first!
+##my $usbcomp = 0x0000050d; # (diag,nmea,modem,rmnet0)
+my $usbcomp = 0x0000050f; # (diag,adb,nmea,modem,rmnet0,rmnet1)
# supported values are:
#