Make sendKbootCommand() accept various command types, not only reset.

This commit is contained in:
László Monda
2017-10-23 01:19:19 +02:00
parent 92ee3b5606
commit ab807cd0c8
5 changed files with 36 additions and 21 deletions

View File

@@ -36,5 +36,5 @@ $blhost flash-erase-all-unsecure
$blhost write-memory 0x0 "$firmware_image"
$blhost reset
sleep 4
$usb_dir/send-kboot-reset.js
../../../lib/bootloader/bin/Tools/blhost/$blhost_path/blhost --usb 0x1d50,0x6121 reset
$usb_dir/send-kboot-command.js reset 0x10
#../../../lib/bootloader/bin/Tools/blhost/$blhost_path/blhost --usb 0x1d50,0x6121 reset