~$ '/home/jaroslaw/utils/aml-flash-tool/flash-tool' --img='/media/jaroslaw/D678E16778E146B9/Users/Jarek/Downloads/aml_upgrade_package.img' --soc=gxl --wipe --reset=n --parts=all --debug host_os = Linux jaroslaw-RC410-RC510-RC710 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux host_machine = Linux jaroslaw-RC410-RC510-RC710 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux SYSTEM = linux-x86 EXE = Command -> /home/jaroslaw/utils/aml-flash-tool/tools/linux-x86/update 2>/dev/null identify 7 - Results --------------------------------------------------- AmlUsbIdentifyHost This firmware version is 2-4-0-0-0-1-0 ------------------------------------------------------------- Command -> /home/jaroslaw/utils/aml-flash-tool/tools/linux-x86/update 2>/dev/null identify 7 - Results --------------------------------------------------- AmlUsbIdentifyHost This firmware version is 2-4-0-0-0-1-0 ------------------------------------------------------------- Command -> /home/jaroslaw/utils/aml-flash-tool/tools/linux-x86/update 2>/dev/null bulkcmd " echo 12345" - Results --------------------------------------------------- AmlUsbBulkCmd[ echo 12345] [AmlUsbRom]Err:return len=0 < strLenBusy 11 [AmlUsbRom]Inf:bulkInReply ERR: AmlUsbBulkCmd failed! ------------------------------------------------------------- Command -> /home/jaroslaw/utils/aml-flash-tool/tools/linux-x86/update 2>/dev/null identify 7 - Results --------------------------------------------------- AmlUsbIdentifyHost This firmware version is 2-4-0-0-0-1-0 ------------------------------------------------------------- Command -> /home/jaroslaw/utils/aml-flash-tool/tools/linux-x86/update 2>/dev/null rreg 4 0xc8100228 - Results --------------------------------------------------- [update]Total tansfer size 0x4 C8100228: adfc318c ------------------------------------------------------------- 0xc8100228 = 0xadfc318c Secure boot bit = 0 Unpacking image [Msg]Image package version 0x2 [Msg]Unpack item [USB , DDR] to (/tmp/aml-flash-tool-ZVVI/DDR.USB) size:49152 bytes [Msg]Unpack item [USB , UBOOT] to (/tmp/aml-flash-tool-ZVVI/UBOOT.USB) size:819200 bytes [Msg]Unpack item [PARTITION , _aml_dtb] to (/tmp/aml-flash-tool-ZVVI/_aml_dtb.PARTITION) size:54948 bytes [Msg]Unpack item [UBOOT , aml_sdc_burn] to (/tmp/aml-flash-tool-ZVVI/aml_sdc_burn.UBOOT) size:868864 bytes [Msg]Unpack item [ini , aml_sdc_burn] to (/tmp/aml-flash-tool-ZVVI/aml_sdc_burn.ini) size:394 bytes [Msg]Unpack item [PARTITION , boot] to (/tmp/aml-flash-tool-ZVVI/boot.PARTITION) size:10039296 bytes [Msg]Unpack item [PARTITION , bootloader] to (/tmp/aml-flash-tool-ZVVI/bootloader.PARTITION) size:868352 bytes [Msg]Unpack item [PARTITION , dtbo] to (/tmp/aml-flash-tool-ZVVI/dtbo.PARTITION) size:438 bytes [Msg]Unpack item [PARTITION , logo] to (/tmp/aml-flash-tool-ZVVI/logo.PARTITION) size:5048640 bytes [Msg]Backup item [dtb , meson1] backItemId[2][PARTITION, _aml_dtb] [Msg]Unpack item [PARTITION , odm] to (/tmp/aml-flash-tool-ZVVI/odm.PARTITION) size:569420 bytes [Msg]Unpack item [conf , platform] to (/tmp/aml-flash-tool-ZVVI/platform.conf) size:202 bytes [Msg]Unpack item [PARTITION , product] to (/tmp/aml-flash-tool-ZVVI/product.PARTITION) size:79654988 bytes [Msg]Unpack item [PARTITION , recovery] to (/tmp/aml-flash-tool-ZVVI/recovery.PARTITION) size:16674816 bytes [Msg]Unpack item [PARTITION , system] to (/tmp/aml-flash-tool-ZVVI/system.PARTITION) size:985919732 bytes [Msg]Unpack item [PARTITION , vbmeta] to (/tmp/aml-flash-tool-ZVVI/vbmeta.PARTITION) size:4096 bytes [Msg]Unpack item [PARTITION , vendor] to (/tmp/aml-flash-tool-ZVVI/vendor.PARTITION) size:185028732 bytes [Msg]Write config file "/tmp/aml-flash-tool-ZVVI/image.cfg" OK! Image unpack OK! [OK] Parsing image configuration files --------------------------------- platform_conf_name = platform.conf ddr_filename = DDR.USB uboot_filename = UBOOT.USB uboot_comp_filename = dtb_meson_filename = dtb_meson1_filename = _aml_dtb.PARTITION dtb_meson1_enc_filename = ddr_enc_filename = uboot_enc_filename = keys_filename = platform = 0x0811 bin_params = ddr_load = 0xd9000000 ddr_run = 0xd9000000 uboot_down = uboot_decomp = uboot_enc_down = uboot_enc_run = uboot_load = 0x200c000 uboot_run = 0xd9000000 bl2_params = 0xd900c000 nb_partitions = 11 Partition list -------------- 0 _aml_dtb.PARTITION _aml_dtb normal 1 boot.PARTITION boot normal 2 bootloader.PARTITION bootloader normal 3 dtbo.PARTITION dtbo normal 4 logo.PARTITION logo normal 5 odm.PARTITION odm sparse 6 product.PARTITION product sparse 7 recovery.PARTITION recovery normal 8 system.PARTITION system sparse 9 vbmeta.PARTITION vbmeta normal 10 vendor.PARTITION vendor sparse Bootloader/DTB files -------------------- bootloader_file = /tmp/aml-flash-tool-ZVVI/bootloader.PARTITION dtb_file = /tmp/aml-flash-tool-ZVVI/_aml_dtb.PARTITION Initializing ddr Command -> /home/jaroslaw/utils/aml-flash-tool/tools/linux-x86/update 2>/dev/null cwr /tmp/aml-flash-tool-ZVVI/DDR.USB 0xd9000000 - Results --------------------------------------------------- ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ Transfer Complete! total size is 49152 Bytes ------------------------------------------------------------- Command -> /home/jaroslaw/utils/aml-flash-tool/tools/linux-x86/update 2>/dev/null write /home/jaroslaw/utils/aml-flash-tool/tools/datas/usbbl2runpara_ddrinit.bin 0xd900c000 - Results --------------------------------------------------- .. Transfer Complete! total size is 32 Bytes ------------------------------------------------------------- Command -> /home/jaroslaw/utils/aml-flash-tool/tools/linux-x86/update 2>/dev/null run 0xd9000000 - Results --------------------------------------------------- [update]Run at Addr d9000000 AmlUsbRunBinCode:ram_addr=d9000000 ------------------------------------------------------------- ........ Command -> /home/jaroslaw/utils/aml-flash-tool/tools/linux-x86/update 2>/dev/null identify 7 - Results --------------------------------------------------- AmlUsbIdentifyHost This firmware version is 2-4-0-0-0-1-0 ------------------------------------------------------------- [OK] Running u-boot Command -> /home/jaroslaw/utils/aml-flash-tool/tools/linux-x86/update 2>/dev/null write /tmp/aml-flash-tool-ZVVI/DDR.USB 0xd9000000 - Results --------------------------------------------------- .. Transfer Complete! total size is 49152 Bytes ------------------------------------------------------------- Command -> /home/jaroslaw/utils/aml-flash-tool/tools/linux-x86/update 2>/dev/null write /home/jaroslaw/utils/aml-flash-tool/tools/datas/usbbl2runpara_runfipimg.bin 0xd900c000 - Results --------------------------------------------------- .. Transfer Complete! total size is 48 Bytes ------------------------------------------------------------- Command -> /home/jaroslaw/utils/aml-flash-tool/tools/linux-x86/update 2>/dev/null write /tmp/aml-flash-tool-ZVVI/UBOOT.USB 0x200c000 - Results --------------------------------------------------- ERR: write data to device failed ------------------------------------------------------------- [KO] Cleanup