# PC
bumerc@bumerc-HP-EliteDesk-800-G4-SFF:~/utils/aml-flash-tool/tools/linux-x86$ ./update bulkcmd "fastboot"
AmlUsbBulkCmd[fastboot]
[AmlUsbRom]Err:return len=0 < strLenBusy 11
[AmlUsbRom]Inf:bulkInReply
ERR: AmlUsbBulkCmd failed!
bumerc@bumerc-HP-EliteDesk-800-G4-SFF:~$ fastboot devices
1234567890 Android Fastboot
bumerc@bumerc-HP-EliteDesk-800-G4-SFF:~$ fastboot flashing unlock
OKAY [ 0.025s]
Finished. Total time: 0.025s
bumerc@bumerc-HP-EliteDesk-800-G4-SFF:~$ fastboot flash boot ~/los-22.1/out/target/product/gt1mini/boot.img
Sending 'boot' (16384 KB) OKAY [ 2.880s]
Writing 'boot' OKAY [ 0.606s]
Finished. Total time: 3.617s
# uart
BULKcmd[fastboot]
g_dnl_register: g_dnl_driver.name = usb_dnl_fastboot
USB RESET
SPEED ENUM
USB RESET
SPEED ENUM
lock state: 10101000
cb_flashing: unlock
avb2: 0
lock_d state: 10100000
## defenv_reserve
Saving Environment to aml-storage...
mmc env offset: 0x39400000
Writing to MMC(1)... done
response: OKAY
Start read misc partition datas!
active slot = 0
cb_getvar: has-slot:boot
U_BOOT_DATE_TIME: 250216.210647
s_version: 01.01.250216.210647
Start read misc partition datas!
active slot = 0
cb_getvar: max-download-size
U_BOOT_DATE_TIME: 250216.210647
s_version: 01.01.250216.210647
Start read misc partition datas!
active slot = 0
cb_getvar: is-logical:boot
U_BOOT_DATE_TIME: 250216.210647
s_version: 01.01.250216.210647
partition is boot
Logical partition metadata has invalid geometry magic signature
Logical partition metadata has invalid geometry magic signature
readMetadata - readMetadata
Usage:
readMetadata
This command will read metadata in super
So you can execute command: readMetadata
Start read misc partition datas!
active slot = 0
cb_getvar: is-logical:boot
U_BOOT_DATE_TIME: 250216.210647
s_version: 01.01.250216.210647
partition is boot
Logical partition metadata has invalid geometry magic signature
Logical partition metadata has invalid geometry magic signature
readMetadata - readMetadata
Usage:
readMetadata
This command will read metadata in super
So you can execute command: readMetadata
Start read misc partition datas!
active slot = 0
cb_getvar: partition-size:boot
U_BOOT_DATE_TIME: 250216.210647
s_version: 01.01.250216.210647
partition is boot
size:0000000001000000
cmd cb_download is download:01000000
lock state: 10100000
Starting download of 16777216 bytes
..........................................................................
......................................................
downloading of 16777216 bytes finished
cmd cb_flash is flash:boot
lock state: 10100000
Logical partition metadata has invalid geometry magic signature
Logical partition metadata has invalid geometry magic signature
readMetadata - readMetadata
Usage:
readMetadata
This command will read metadata in super
So you can execute command: readMetadata
partition is boot
Flashing Raw Image
........ wrote 16777216 bytes to 'boot'