store erase partition : erase the area which partition in u-boot store erase dtb store erase key store disprotect key store rom_protect on/off store scrub off|partition size scrub the area from offset and size store dtb iread/read/write addr read/write dtb, size is optional store key read/write addr read/write key, size is optional store ddr_parameter read/write addr read/write ddr parameter, size is optional store mbr addr update mbr/partition table by dtb store bootlog show boot logs [burnup]Err:store_read_ops,L101:cmd failed, ret=1, [store read misc 0x73e6e090 0x0 0x820] failed to store read misc. info->magic = info->version_major = 0 info->version_minor = 0 info->slots[0].priority = 0 info->slots[0].tries_remaining = 0 info->slots[0].successful_boot = 0 info->slots[1].priority = 0 info->slots[1].tries_remaining = 0 info->slots[1].successful_boot = 0 info->crc32 = 0 Magic is incorrect. boot-info is invalid. Resetting. save boot-info info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority dr read/write key, size is optional store ddr_parameter read/write addr read/write ddr parameter, size is optional store mbr addr update mbr/partition table by dtb store bootlog show boot logs [burnup]Err:store_write_ops,L165:cmd [store write misc 0x73e6e090 0x0 0x820] failed active slot = 0 CONFIG_AVB2: null active_slot: normal Cannot find dev. amlmmc cmd failed store - STORE sub-system Usage: store init flag store read name addr off|partition size read 'size' bytes starting at offset 'off' to/from memory address 'addr', skipping bad blocks. store write name addr off|partition size write 'size' bytes starting at offset 'off' to/from memory address 'addr', skipping bad blocks. store rom_write add off size. write uboot to the boot device store erase boot/data: erase the area which is uboot or data store erase partition : erase the area which partition in u-boot store erase dtb store erase key store disprotect key store rom_protect on/off store scrub off|partition size scrub the area from offset and size store dtb iread/read/write addr read/write dtb, size is optional store key read/write addr read/write key, size is optional store ddr_parameter read/write addr read/write ddr parameter, size is optional store mbr addr update mbr/partition table by dtb store bootlog show boot logs [burnup]Err:store_read_ops,L101:cmd failed, ret=1, [store read boot 0x1080000 0x0 0x100000] Err imgread(L338):Fail to read 0x100000B from panoSof Device: SDIO Port B Manufacturer ID: 3 OEM: 5344 Name: SU16G Tran Speed: 50000000 Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: (0x3b5980000 Bytes) 14.8 GiB mmc clock: 40000000 Bus Width: 4-bit Device: SDIO Port B Manufacturer ID: 3 OEM: 5344 Name: SU16G Tran Speed: 50000000 Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: (0x3b5980000 Bytes) 14.8 GiB mmc clock: 40000000 Bus Width: 4-bit reading aml_autoscript 815 bytes read in 5 ms (159.2 KiB/s) ## Executing script at 01080000 ## defenv_reserve Saving Environment to aml-storage... co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 emmc/sd response timeout, cmd8, cmd->cmdarg=0x1aa, status=0x1ff2800 emmc/sd response timeout, cmd55, cmd->cmdarg=0x0, status=0x1ff2800 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 40000000 [mmc_init] mmc init success start dts,buffer=0000000073e9d890,dt_addr=0000000073e9d890 check_valid_dts: FDT_ERR_BADMAGIC get_partition_from_dts() 92: ret -9 get_partition_from_dts() 95: ret -9 get_ptbl_from_dtb()-272: get partition table from dts faild mmc_device_init()-1320: get partition table from dtb failed get_ptbl_rsv()-494: magic faild MPT, mmc_device_init()-1347: dtb&rsv are not exist, no LPT source get partition info failed !! s_version: U-Boot 2015.01-gabeeb4952b-dirty [KM]Error:f[keymanage_dts_parse]L307:not a fdt at 0x0000000001000000 Device: SDIO Port B Manufacturer ID: 3 OEM: 5344 Name: SU16G Tran Speed: 50000000 Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: (0x3b5980000 Bytes) 14.8 GiB mmc clock: 40000000 Bus Width: 4-bit reading kernel.img ** Unable to read file kernel.img ** (Re)start USB... USB0: USB3.0 XHCI init start Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found ** Bad device usb 0 ** reading recovery.img ** Unable to read file recovery.img ** (Re)start USB... USB0: USB3.0 XHCI init start Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found ** Bad device usb 0 ** ** Bad device usb 0 ** Start read misc partition datas! Cannot find dev. amlmmc cmd failed store - STORE sub-system Usage: store init flag store read name addr off|partition size read 'size' bytes starting at offset 'off' to/from memory address 'addr', skipping bad blocks. store write name addr off|partition size write 'size' bytes starting at offset 'off' to/from memory address 'addr', skipping bad blocks. store rom_write add off size. write uboot to the boot device store erase boot/data: erase the area which is uboot or data store erase partition : erase the area which partition in u-boot store erase dtb store erase key store disprotect key store rom_protect on/off store scrub off|partition size scrub the area from offset and size store dtb iread/read/write addr read/write dtb, size is optional store key read/write addr read/write key, size is optional store ddr_parameter read/write addr read/write ddr parameter, size is optional store mbr addr update mbr/partition table by dtb store bootlog show boot logs [burnup]Err:store_read_ops,L101:cmd failed, ret=1, [store read misc 0x73e6db90 0x0 0x820] failed to store read misc. info->magic = info->version_major = 0 info->version_minor = 0 info->slots[0].priority = 0 info->slots[0].tries_remaining = 0 info->slots[0].successful_boot = 0 info->slots[1].priority = 0 info->slots[1].tries_remaining = 0 info->slots[1].successful_boot = 0 info->crc32 = 0 Magic is incorrect. boot-info is invalid. Resetting. save boot-info info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 Cannot find dev. amlmmc cmd failed store - STORE sub-system Usage: store init flag store read name addr off|partition size read 'size' bytes starting at offset 'off' to/from memory address 'addr', skipping bad blocks. store write name addr off|partition size write 'size' bytes starting at offset 'off' to/from memory address 'addr', skipping bad blocks. store rom_write add off size. write uboot to the boot device store erase boot/data: erase the area which is uboot or data store erase partition : erase the area which partition in u-boot store erase dtb store erase key store disprotect key store rom_protect on/off store scrub off|partition size scrub the area from offset and size store dtb iread/read/write addr read/write dtb, size is optional store key read/write addr read/write key, size is optional store ddr_parameter read/write addr read/write ddr parameter, size is optional store mbr addr update mbr/partition table by dtb store bootlog show boot logs [burnup]Err:store_write_ops,L165:cmd [store write misc 0x73e6db90 0x0 0x820] failed active slot = 0 active_slot: normal Cannot find dev. amlmmc cmd failed store - STORE sub-system Usage: store init flag store read name addr off|partition size read 'size' bytes starting at offset 'off' to/from memory address 'addr', skipping bad blocks. store write name addr off|partition size write 'size' bytes starting at offset 'off' to/from memory address 'addr', skipping bad blocks. store rom_write add off size. write uboot to the boot device store erase boot/data: erase the area which is uboot or data store erase partition : erase the area which partition in u-boot store erase dtb store erase key store disprotect key store rom_protect on/off store scrub off|partition size scrub the area from offset and size store dtb iread/read/write addr read/write dtb, size is optional store key read/write addr read/write key, size is optional store ddr_parameter read/write addr read/write ddr parameter, size is optional store mbr addr update mbr/partition table by dtb store bootlog show boot logs [burnup]Err:store_read_ops,L101:cmd failed, ret=1, [store read recovery 0x1080000 0x0 0x100000] Err imgread(L338):Fail to read 0x100000B from part[recovery] at offset 0 gxl_p230_v1#▒▒ ▒ Unknown command '▒▒' - try 'help' gxl_p230_v1# Unknown command '▒▒' - try 'help' gxl_p230_v1# Unknown command '▒▒' - try 'help' gxl_p230_v1# Unknown command '▒▒' - try 'help' gxl_p230_v1# Unknown command '▒▒' - try 'help' gxl_p230_v1# Unknown command '▒▒' - try 'help' gxl_p230_v1# Unknown command '▒▒' - try 'help' gxl_p230_v1# Unknown command '▒▒' - try 'help' gxl_p230_v1# Unknown command '▒▒' - try 'help' gxl_p230_v1#▒ Unknown command '▒' - try 'help' gxl_p230_v1# Unknown command '▒' - try 'help' gxl_p230_v1# Unknown command '▒' - try 'help' gxl_p230_v1# Unknown command '▒' - try 'help' gxl_p230_v1# Unknown command '▒' - try 'help' gxl_p230_v1#amlmmc erase 1cannot find dev. MMC erase: dev # 1, start_erase_address(in block) # 0xf, several blocks # 222 will be erased ... dev # 1, , several blocks erased OK gxl_p230_v1#mmc dev 1 co-phase 0x2, tx-dly 0, clock 40000000 co-phase 0x2, tx-dly 0, clock 40000000 co-phase 0x2, tx-dly 0, clock 400000 emmc/sd response timeout, cmd8, cmd->cmdarg=0x1aa, status=0x1ff2800 emmc/sd response timeout, cmd55, cmd->cmdarg=0x0, status=0x1ff2800 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 40000000 [mmc_init] mmc init success start dts,buffer=0000000073e9d890,dt_addr=0000000073e9d890 check_valid_dts: FDT_ERR_BADMAGIC get_partition_from_dts() 92: ret -9 get_partition_from_dts() 95: ret -9 get_ptbl_from_dtb()-272: get partition table from dts faild mmc_device_init()-1320: get partition table from dtb failed get_ptbl_rsv()-494: magic faild MPT, mmc_device_init()-1347: dtb&rsv are not exist, no LPT source switch to partitions #0, OK mmc1(part 0) is current device gxl_p230_v1#store disprotect key [store]disprotect key gxl_p230_v1#store init 3 XXXXXXX======enter EMMC boot======XXXXXX co-phase 0x2, tx-dly 0, clock 40000000 co-phase 0x2, tx-dly 0, clock 40000000 co-phase 0x2, tx-dly 0, clock 400000 emmc/sd response timeout, cmd8, cmd->cmdarg=0x1aa, status=0x1ff2800 emmc/sd response timeout, cmd55, cmd->cmdarg=0x0, status=0x1ff2800 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 40000000 [mmc_init] mmc init success start dts,buffer=0000000073e9d890,dt_addr=0000000073e9d890 check_valid_dts: FDT_ERR_BADMAGIC get_partition_from_dts() 92: ret -9 get_partition_from_dts() 95: ret -9 get_ptbl_from_dtb()-272: get partition table from dts faild mmc_device_init()-1320: get partition table from dtb failed get_ptbl_rsv()-494: magic faild MPT, mmc_device_init()-1347: dtb&rsv are not exist, no LPT source switch to partitions #0, OK mmc1(part 0) is current device Device: SDIO Port C Manufacturer ID: 4 OEM: 101 Name: M0T00 Tran Speed: 52000000 Rd Block Len: 512 MMC version 5.1 High Capacity: Yes Capacity: (0x39d000000 Bytes) 14.5 GiB mmc clock: 40000000 Bus Width: 8-bit [store]amlmmc key emmc disprotect key [store]amlmmc erase 1Cannot find dev. gxl_p230_v1#fatload mmc 0 ${loadaddr} u-boot.bin ** Bad device specification mmc 0$[ xl_p230_v1#fatload mmc 0 ${loadaddr} u-boot.bin fatload - load binary file from a dos filesystem Usage: fatload [ [ [ [bytes [pos]]]]] - Load binary file 'filename' from 'dev' on 'interface' to address 'addr' from dos filesystem. 'pos' gives the file position to start loading from. If 'pos' is omitted, 0 is used. 'pos' requires 'bytes'. 'bytes' gives the size to load. If 'bytes' is 0 or omitted, the load stops on end of file. If either 'pos' or 'bytes' are not aligned to ARCH_DMA_MINALIGN then a misaligned buffer warning will be printed and performance will suffer for the load. gxl_p230_v1#store rom_write ${loadaddr} 0 100000 amlmmc_write_bootloader() 573: map 0x7 Wrting blocks 1 to 2048 @ user Wrting blocks 1 to 2048 @ boot0 boot_info.rsv_base_addr : 12000 boot_info.ddr.addr : 4000 boot_info.ddr.size : 0004 boot_info.version : 0001 boot_info.checksum : 16005 Wrting blocks 1 to 2048 @ boot1 boot_info.rsv_base_addr : 12000 boot_info.ddr.addr : 4000 boot_info.ddr.size : 0004 boot_info.version : 0001 boot_info.checksum : 16005 gxl_p230_v1# fatload mmc 0 ${loadaddr} gxl_p230_2g_pie.dtb reading gxl_p230_2g_pie.dtb 59269 bytes read in 11 ms (5.1 MiB/s) gxl_p230_v1#store dtb write ${loadaddr} [store]To run cmd[emmc dtb_write 1080000 0x40000] dtb_write()-3737: valid 0 dtb_write()-3757: new stamp 0, checksum 0x3a4d8126, version 1, magic A~D start dts,buffer=0000000073e9d890,dt_addr=0000000073e9d890 start dts,buffer=0000000001080000,dt_addr=0000000001080000 get_partition_from_dts() 92: ret 0 parts: 17 00: logo 0000000001000000 1 01: recovery 0000000001800000 1 02: misc 0000000000800000 1 03: dtbo 0000000000800000 1 04: cri_data 0000000000800000 2 05: param 0000000001000000 2 06: boot 0000000001000000 1 set has_boot_slot = 0 07: rsv 0000000001000000 1 08: metadata 0000000001000000 1 09: vbmeta 0000000000200000 1 10: tee 0000000002000000 1 11: vendor 0000000014000000 1 12: odm 0000000008000000 1 13: system 0000000064c00000 1 14: product 0000000008000000 1 15: cache 0000000046000000 2 16: data ffffffffffffffff 4 get_ptbl_rsv()-494: magic faild MPT, mmc_device_init()-1354: update rsv with dtb! init_part() 297: PART_TYPE_AML partition table success gxl_p230_v1#run update InUsbBurn noSof Device: SDIO Port C Manufacturer ID: 4 OEM: 101 Name: M0T00 Tran Speed: 52000000 Rd Block Len: 512 MMC version 5.1 High Capacity: Yes Capacity: (0x39d000000 Bytes) 14.5 GiB mmc clock: 40000000 Bus Width: 8-bit Device: SDIO Port C Manufacturer ID: 4 OEM: 101 Name: M0T00 Tran Speed: 52000000 Rd Block Len: 512 MMC version 5.1 High Capacity: Yes Capacity: (0x39d000000 Bytes) 14.5 GiB mmc clock: 40000000 Bus Width: 8-bit reading aml_autoscript 815 bytes read in 4 ms (198.2 KiB/s) ## Executing script at 01080000 ## defenv_reserve Saving Environment to aml-storage... mmc env offset: 0x4d400000 Writing to MMC(1)... done s_version: U-Boot 2015.01-gabeeb4952b-dirty [KM]Error:f[keymanage_dts_parse]L307:not a fdt at 0x0000000001000000 Device: SDIO Port C Manufacturer ID: 4 OEM: 101 Name: M0T00 Tran Speed: 52000000 Rd Block Len: 512 MMC version 5.1 High Capacity: Yes Capacity: (0x39d000000 Bytes) 14.5 GiB mmc clock: 40000000 Bus Width: 8-bit reading kernel.img ** Unable to read file kernel.img ** (Re)start USB... USB0: USB3.0 XHCI init start Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found ** Bad device usb 0 ** reading recovery.img ** Unable to read file recovery.img ** (Re)start USB... USB0: USB3.0 XHCI init start Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found ** Bad device usb 0 ** ** Bad device usb 0 ** Start read misc partition datas! info->magic = info->version_major = 0 info->version_minor = 0 info->slots[0].priority = 0 info->slots[0].tries_remaining = 0 info->slots[0].successful_boot = 0 info->slots[1].priority = 0 info->slots[1].tries_remaining = 0 info->slots[1].successful_boot = 0 info->crc32 = 0 Magic is incorrect. boot-info is invalid. Resetting. save boot-info info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 active_slot: normal Err imgread(L358):Fmt unsupported!genFmt 0x0 != 0x3 gxl_p230_v1#