EEEE I3000000032940xf100114243A77500EEEE I400000004294_M8_BL1_10221D113B323EEEE I3000000032940xbbbb000026A22525 no sdio debug board detected TE : 1323380 BT : 17:08:02 Jul 1 2015 PMU:rn5t618 DC01 v:1100, 0x[36]: 18 -> 28 DC02 v:1150, 0x[37]: 18 -> 2c DC03 v:1500, 0x[38]: 38 -> 48 LDO01 v:2900, 0x[4c]: 4e -> 50 LDO02 v:1800, 0x[4d]: 24 -> 24 LDO03 v:1800, 0x[4e]: 30 -> 30 LDO04 v:2850, 0x[4f]: 4e -> 4e LDO05 v:1800, 0x[50]: 24 -> 24 LDO0a v:2700, 0x[56]: 28 -> 28 LDO0b v:900, 0x[57]: 00 -> 00 CPU clock is 1200MHz CPU type: M8 ddr version id = 00000001 DDR 128*16*4 1G DDR info: 1GB(auto) @ 792MHz(1T) DDR channel: DDR 0 + DDR 1 DDR init use : 16025 us HHH Boot From SDIO C 0x0000008d ucl decompress...pass 0x12345678 Boot from internal device 1st eMMC on SDIO C TE : 1495675 System Started U-Boot Version: 2011.03-10d3da4(20150701.170752) clr h-ram DRAM: 1 GiB relocation Offset is: 2feb4000 show partition table: part: 0, name : logo, size : 2000000 part: 1, name : recovery, size : 2000000 part: 2, name : misc, size : 2000000 part: 3, name : boot, size : 2000000 part: 4, name : system, size : 40000000 part: 5, name : cache, size : 20000000 part: 6, name : backup, size : 20000000 part: 7, name : data, size : end aml_card_type=0x0 MMC: [mmc_register] add mmc dev_num=0, port=1, if_type=6 [mmc_register] add mmc dev_num=1, port=2, if_type=6 SDIO Port B: 0, SDIO Port C: 1 PMU fault status: reg[0x9A] = 0x1d LSI version:04, OTP version:0c PMU type:RN5T618 register usb cfg[0][1] = 3ff6c724 register usb cfg[0][2] = 3ff6c70c NAND: EMMC BOOT: not init nand do not init nand : cause boot_device_flag without nand get_boot_device_flag: init_ret -1 get_boot_device_flag EMMC BOOT: Emmckey: Access range is illegal! [mmc_init] SDIO Port C:1, if_type=7, initialized OK! [mmc_get_partition_table] skip cache partition. Partition table get from SPL is : name offset size flag =================================================================================== 0: bootloader 0 400000 0 1: reserved 2400000 4000000 0 2: cache 6c00000 20000000 2 3: env 27400000 800000 0 4: logo 28400000 2000000 1 5: recovery 2ac00000 2000000 1 6: misc 2d400000 2000000 1 7: boot 2fc00000 2000000 1 8: system 32400000 40000000 1 9: backup 72c00000 20000000 1 10: data 93400000 13ec00000 4 mmc read lba=0x12000, blocks=0x1 mmc read lba=0x12001, blocks=0x1 mmc_read_partition_tbl: mmc read partition OK! eMMC/TSD partition table have been checked OK! i=0,register --- emmc_key MMC BOOT, emmc_env_relocate_spec : env_relocate_spec 59 set_storage_device_flag: store 2 chip version B, emmc use sdhc controller efuse mac is : ac:db:da:44:68:8b set ethaddr is : ac:db:da:44:68:8b usid is MS0504516461663 mmc flash is used high freq info->dtbversion = 3 boardname=stvm8 boardtype=normal wifi=ap6210 dtbtype=stvm8_normal_1g Multi dtb tool version: v2 . Multi dtb detected, support 23 dtbs. aml_dt soc: stvm8 platform: normal variant: 1g dtb 0 soc: stvm8 plat: dongle vari: 1g dtb 1 soc: stvm8 plat: dongle vari: 1ga dtb 2 soc: stvm8 plat: dragon vari: 2g dtb 3 soc: stvm8 plat: dviin vari: 1g dtb 4 soc: stvm8 plat: hdmiin vari: 1g dtb 5 soc: stvm8 plat: hdmiin vari: 1gnopmu dtb 6 soc: stvm8 plat: hdmiin vari: 2gnopmu dtb 7 soc: stvm8 plat: normal vari: 1g dtb 8 soc: stvm8 plat: normal vari: 1ga dtb 9 soc: stvm8 plat: tongfang vari: 2g dtb 10 soc: stvm8m2 plat: hdmiin vari: 1gpmu dtb 11 soc: stvm8 plat: hdmiin vari: 2g dtb 12 soc: stvm8m2 plat: normal vari: 1g dtb 13 soc: stvm8 plat: normal vari: 1gops dtb 14 soc: stvm8m2 plat: hdmiin vari: 2g dtb 15 soc: stvm8m2 plat: hdmiin vari: 2gpmu dtb 16 soc: stvm8m2 plat: normal vari: 1gpmu dtb 17 soc: stvm8 plat: normal vari: 2g dtb 18 soc: stvm8m2 plat: normal vari: 2g dtb 19 soc: stvm8 plat: normal vari: 2ga dtb 20 soc: stvm8m2 plat: hdmiin vari: 1g dtb 21 soc: stvm8m2 plat: normal vari: 2gpmu dtb 22 soc: stvm8m2 plat: tongfang vari: 2gpmu Find match dtb: 7 vpu driver detect cpu type: m8 vpu clk_level in dts: 7 set vpu clk: 364300000Hz, readback: 364300000Hz(0x700) Net: Meson_Ethernet init suspend firmware done. (ret:0) cvbs trimming.1.v5: 0xa0, 0x0 preboot new... check board version... chip version B, emmc use sdhc controller efuse mac is : ac:db:da:44:68:8b set ethaddr is : ac:db:da:44:68:8b usid is MS0504516461663 mmc flash is used high freq info->dtbversion = 3 boardname=stvm8 boardtype=normal wifi=ap6210 dtbtype=stvm8_normal_1g Hardware version information has been written and the check is successful mode = 8 vic = 16 set HDMI vic: 16 config HPLL config HPLL done reconfig packet setting done Hit Enter key to stop autoboot -- : 1 tstc enter exit abortboot: 1 M8BOX # [ 2.151236@0] hw version write protect Enable! 32 Unknown command '[' - try 'help' M8BOX # [ 2.151 Unknown command '[' - try 'help' M8BOX # M8BOX # M8BOX # M8BOX # M8BOX # dir Unknown command 'dir' - try 'help' M8BOX # bussybos x Unknown command 'bussybox' - try 'help' M8BOX # busybox Unknown command 'busybox' - try 'help' M8BOX # help ? - alias for 'help' ac_online- get ac adapter online amlnf - AMLPHYNAND sub-system amlnf_test- AMLPHYNAND sub-system autoping- do auto ping test autoscr - run script from memory base - print or set address offset bdinfo - print Board Info structure bmp - manipulate BMP image data boardid_prefetch- boardid sub-system bootm - boot application image from memory bootp - boot image via network using BOOTP/TFTP protocol calinfo - calinfo print the chip calibration info cbusreg - cbus register read/write checkhw - Get the hardware revsion clear_rebootmode- clear rebootmode clkmsr - measure PLL clock cmp - memory compare coninfo - print console devices and information cp - memory copy crc32 - checksum calculation d2pll - DDR set PLL function dcache - enable or disable data cache ddrtest - DDR test function defenv - default environment defenv_without- defenv without environment variables dhcp - boot image via network using DHCP/TFTP protocol dtbinit - init some env by reading dtb file dtbload - load binary dtb file from a dos filesystem echo - echo args to console editenv - edit environment variable efuse - efuse version/licence/mac/hdcp/usid read/write or dump raw efuse data commands or info(display chip efuse info) env - environment handling commands ethchk - check ethernet status ethdbg - set ethernet debug level ethmode - set ethernet mac mode ethrst - reset ethernet phy exit - exit script ext2load- load binary file from a Ext2 filesystem ext2ls - list files in a directory (default /) false - do nothing, unsuccessfully fatexist- find the file from a dos filesystem fatinfo - print information about filesystem fatload - load binary file from a dos filesystem fatls - list files in a directory (default /) fdt - flattened device tree utility commands get_batcap- get battery capability get_img_size- get img size and save the result as a environment variable get_rebootmode- get reboot mode get_usid- Get usid getkey - get POWER key go - start application at address 'addr' gset - gpio commands gtbrd - Geniatch commands hdcp - HDCP sub-system help - print command description/usage hw_read - read hardware version to version ic hw_write- write hardware version to version ic i2c - I2C sub-system icache - enable or disable instruction cache imgread - Read the image from internal flash with actual size imxtract- extract a part of a multi-image is_power_off- Check the power version, if power off must press power key to enter the system itest - return true/false on integer compare keyunify- key unify sub-system kgdb - enter gdb remote debug mode led - set led status [normal/recovery/standby/crash] loadb - load binary file over serial line (kermit mode) loadcustenv- load customer env when used default env loadenv - load environment at address 'addr' loadfdt - load fdt from memory fdt loads - load S-Record file over serial line loadx - load binary file over serial line (xmodem mode) loady - load binary file over serial line (ymodem mode) logo - logo sub-system loop - infinite loop on address range macreg - ethernet mac register read/write/dump md - memory display mdc_clk - do mdc clock mm - memory modify (auto-incrementing address) mmc - MMC sub system mmc_getid- mmc_getid -- get MMC id mmcinfo - mmcinfo -- display MMC info msleep - delay execution for some time msr - Meson msr sub-system mtest - simple RAM read/write test mw - memory write (fill) netspd_f- enforce eth speed nm - memory modify (constant address) phyreg - ethernet phy register read/write/dump ping - send ICMP ECHO_REQUEST to network host poweroff- system power off printenv- print environment variables put - put storage pwm - pwm sub-system rarpboot- boot image via network using RARP/TFTP protocol reset - Perform RESET of the CPU run - run commands in an environment variable saradc - saradc sub-system saveenv - save environment variables to persistent storage sdc_burn- Burning with amlogic format package in sdmmc sdc_update- Burning a partition with image file in sdmmc card secukey - security KEY sub-system set_chgcur- set battery charging current set_rebootmode- set rebootmode [auto_upgrade/clear] set_usbcur_limit- set pmu usb limit current setenv - set environment variables sf - SPI flash sub-system showvar - print local hushshell variables sleep - delay execution for some time source - run script from memory ssecukey- NAND KEY sub-system store - STORE sub-system suspend - suspend test - minimal test like /bin/sh tftpboot- boot image via network using TFTP protocol time - get bootup time true - do nothing, successfully unifykey- unifykey read/write based on the driver keymanage unpackimg- unpack imgpack to single update - Enter v2 usbburning mode usb - USB sub-system usbbc - test usb bc usbboot - boot from USB device usid_prefetch- usid sub-system uuid_prefetch- uuid sub-system version - print monitor, compiler and linker version video - video sub-system M8BOX # ls Unknown command 'ls' - try 'help' M8BOX # uname Unknown command 'uname' - try 'help' M8BOX # amlnf amlnf amlnf_test M8BOX # amlnf amlnf amlnf_test M8BOX # amlnf_test argc less than 2 : amlnf_test - AMLPHYNAND sub-system Usage: amlnf_test amlnf_test 0 E/P/R Cycle Whole chip amlnf_test 1 Read Distub test,read block 0~3 10k times amlnf_test 2 Endurance test, E/W/R 10 block 3000 times amlnf_test 3 write and read random pages of every block test amlnf_test 4 READ all page every block amlnf_test 5 ...... amlnf_test 8 exit sync M8BOX # bdinfo arch_number = 0x00000F81 boot_params = 0x80000100 DRAM bank = 0x00000000 -> start = 0x00000000 -> size = 0x40000000 ethaddr = ac:db:da:44:68:8b ip_addr = 192.168.1.2 baudrate = 115200 bps TLB addr = 0x3FF64000 relocaddr = 0x3FEB4000 reloc off = 0x2FEB4000 irq_sp = 0x3F2A3F70 sp start = 0x3F2A3F68 FB base = 0x00000000 M8BOX # clear M8BOX # cls Unknown command 'cls' - try 'help' M8BOX # help ? - alias for 'help' ac_online- get ac adapter online amlnf - AMLPHYNAND sub-system amlnf_test- AMLPHYNAND sub-system autoping- do auto ping test autoscr - run script from memory base - print or set address offset bdinfo - print Board Info structure bmp - manipulate BMP image data boardid_prefetch- boardid sub-system bootm - boot application image from memory bootp - boot image via network using BOOTP/TFTP protocol calinfo - calinfo print the chip calibration info cbusreg - cbus register read/write checkhw - Get the hardware revsion clear_rebootmode- clear rebootmode clkmsr - measure PLL clock cmp - memory compare coninfo - print console devices and information cp - memory copy crc32 - checksum calculation d2pll - DDR set PLL function dcache - enable or disable data cache ddrtest - DDR test function defenv - default environment defenv_without- defenv without environment variables dhcp - boot image via network using DHCP/TFTP protocol dtbinit - init some env by reading dtb file dtbload - load binary dtb file from a dos filesystem echo - echo args to console editenv - edit environment variable efuse - efuse version/licence/mac/hdcp/usid read/write or dump raw efuse data commands or info(display chip efuse info) env - environment handling commands ethchk - check ethernet status ethdbg - set ethernet debug level ethmode - set ethernet mac mode ethrst - reset ethernet phy exit - exit script ext2load- load binary file from a Ext2 filesystem ext2ls - list files in a directory (default /) false - do nothing, unsuccessfully fatexist- find the file from a dos filesystem fatinfo - print information about filesystem fatload - load binary file from a dos filesystem fatls - list files in a directory (default /) fdt - flattened device tree utility commands get_batcap- get battery capability get_img_size- get img size and save the result as a environment variable get_rebootmode- get reboot mode get_usid- Get usid getkey - get POWER key go - start application at address 'addr' gset - gpio commands gtbrd - Geniatch commands hdcp - HDCP sub-system help - print command description/usage hw_read - read hardware version to version ic hw_write- write hardware version to version ic i2c - I2C sub-system icache - enable or disable instruction cache imgread - Read the image from internal flash with actual size imxtract- extract a part of a multi-image is_power_off- Check the power version, if power off must press power key to enter the system itest - return true/false on integer compare keyunify- key unify sub-system kgdb - enter gdb remote debug mode led - set led status [normal/recovery/standby/crash] loadb - load binary file over serial line (kermit mode) loadcustenv- load customer env when used default env loadenv - load environment at address 'addr' loadfdt - load fdt from memory fdt loads - load S-Record file over serial line loadx - load binary file over serial line (xmodem mode) loady - load binary file over serial line (ymodem mode) logo - logo sub-system loop - infinite loop on address range macreg - ethernet mac register read/write/dump md - memory display mdc_clk - do mdc clock mm - memory modify (auto-incrementing address) mmc - MMC sub system mmc_getid- mmc_getid -- get MMC id mmcinfo - mmcinfo -- display MMC info msleep - delay execution for some time msr - Meson msr sub-system mtest - simple RAM read/write test mw - memory write (fill) netspd_f- enforce eth speed nm - memory modify (constant address) phyreg - ethernet phy register read/write/dump ping - send ICMP ECHO_REQUEST to network host poweroff- system power off printenv- print environment variables put - put storage pwm - pwm sub-system rarpboot- boot image via network using RARP/TFTP protocol reset - Perform RESET of the CPU run - run commands in an environment variable saradc - saradc sub-system saveenv - save environment variables to persistent storage sdc_burn- Burning with amlogic format package in sdmmc sdc_update- Burning a partition with image file in sdmmc card secukey - security KEY sub-system set_chgcur- set battery charging current set_rebootmode- set rebootmode [auto_upgrade/clear] set_usbcur_limit- set pmu usb limit current setenv - set environment variables sf - SPI flash sub-system showvar - print local hushshell variables sleep - delay execution for some time source - run script from memory ssecukey- NAND KEY sub-system store - STORE sub-system suspend - suspend test - minimal test like /bin/sh tftpboot- boot image via network using TFTP protocol time - get bootup time true - do nothing, successfully unifykey- unifykey read/write based on the driver keymanage unpackimg- unpack imgpack to single update - Enter v2 usbburning mode usb - USB sub-system usbbc - test usb bc usbboot - boot from USB device usid_prefetch- usid sub-system uuid_prefetch- uuid sub-system version - print monitor, compiler and linker version video - video sub-system M8BOX # version 2011.03-10d3da4(20150701.170752) arm-none-eabi-gcc (Sourcery G++ Lite 2010q1-188) 4.4.1 GNU ld (Sourcery G++ Lite 2010q1-188) 2.19.51.20090709 M8BOX # test M8BOX # checkhw M8BOX # ping 8.8.8.8 Amlogic Ethernet Init Success: reset mac OK!(0) ETH PHY hardware reset OK find net phy id=0x2430c54, phyad=0 set_mac_mode(0) final_addr[rx-tx]: 0x3ffee000-0x3ffee600 Ethernet reset OK MAC address is ac:db:da:44:68:8b phy auto link failed half duplex 10m Using Meson_Ethernet device phy auto link failed phy auto link failed Abort ping failed; host 8.8.8.8 is not alive M8BOX # M8BOX # video video - video sub-system Usage: video video open- open an display layer video close- close the display layer video clear- clear the display layer video dev - operate on the display device, opt=? for help M8BOX # help ? - alias for 'help' ac_online- get ac adapter online amlnf - AMLPHYNAND sub-system amlnf_test- AMLPHYNAND sub-system autoping- do auto ping test autoscr - run script from memory base - print or set address offset bdinfo - print Board Info structure bmp - manipulate BMP image data boardid_prefetch- boardid sub-system bootm - boot application image from memory bootp - boot image via network using BOOTP/TFTP protocol calinfo - calinfo print the chip calibration info cbusreg - cbus register read/write checkhw - Get the hardware revsion clear_rebootmode- clear rebootmode clkmsr - measure PLL clock cmp - memory compare coninfo - print console devices and information cp - memory copy crc32 - checksum calculation d2pll - DDR set PLL function dcache - enable or disable data cache ddrtest - DDR test function defenv - default environment defenv_without- defenv without environment variables dhcp - boot image via network using DHCP/TFTP protocol dtbinit - init some env by reading dtb file dtbload - load binary dtb file from a dos filesystem echo - echo args to console editenv - edit environment variable efuse - efuse version/licence/mac/hdcp/usid read/write or dump raw efuse data commands or info(display chip efuse info) env - environment handling commands ethchk - check ethernet status ethdbg - set ethernet debug level ethmode - set ethernet mac mode ethrst - reset ethernet phy exit - exit script ext2load- load binary file from a Ext2 filesystem ext2ls - list files in a directory (default /) false - do nothing, unsuccessfully fatexist- find the file from a dos filesystem fatinfo - print information about filesystem fatload - load binary file from a dos filesystem fatls - list files in a directory (default /) fdt - flattened device tree utility commands get_batcap- get battery capability get_img_size- get img size and save the result as a environment variable get_rebootmode- get reboot mode get_usid- Get usid getkey - get POWER key go - start application at address 'addr' gset - gpio commands gtbrd - Geniatch commands hdcp - HDCP sub-system help - print command description/usage hw_read - read hardware version to version ic hw_write- write hardware version to version ic i2c - I2C sub-system icache - enable or disable instruction cache imgread - Read the image from internal flash with actual size imxtract- extract a part of a multi-image is_power_off- Check the power version, if power off must press power key to enter the system itest - return true/false on integer compare keyunify- key unify sub-system kgdb - enter gdb remote debug mode led - set led status [normal/recovery/standby/crash] loadb - load binary file over serial line (kermit mode) loadcustenv- load customer env when used default env loadenv - load environment at address 'addr' loadfdt - load fdt from memory fdt loads - load S-Record file over serial line loadx - load binary file over serial line (xmodem mode) loady - load binary file over serial line (ymodem mode) logo - logo sub-system loop - infinite loop on address range macreg - ethernet mac register read/write/dump md - memory display mdc_clk - do mdc clock mm - memory modify (auto-incrementing address) mmc - MMC sub system mmc_getid- mmc_getid -- get MMC id mmcinfo - mmcinfo -- display MMC info msleep - delay execution for some time msr - Meson msr sub-system mtest - simple RAM read/write test mw - memory write (fill) netspd_f- enforce eth speed nm - memory modify (constant address) phyreg - ethernet phy register read/write/dump ping - send ICMP ECHO_REQUEST to network host poweroff- system power off printenv- print environment variables put - put storage pwm - pwm sub-system rarpboot- boot image via network using RARP/TFTP protocol reset - Perform RESET of the CPU run - run commands in an environment variable saradc - saradc sub-system saveenv - save environment variables to persistent storage sdc_burn- Burning with amlogic format package in sdmmc sdc_update- Burning a partition with image file in sdmmc card secukey - security KEY sub-system set_chgcur- set battery charging current set_rebootmode- set rebootmode [auto_upgrade/clear] set_usbcur_limit- set pmu usb limit current setenv - set environment variables sf - SPI flash sub-system showvar - print local hushshell variables sleep - delay execution for some time source - run script from memory ssecukey- NAND KEY sub-system store - STORE sub-system suspend - suspend test - minimal test like /bin/sh tftpboot- boot image via network using TFTP protocol time - get bootup time true - do nothing, successfully unifykey- unifykey read/write based on the driver keymanage unpackimg- unpack imgpack to single update - Enter v2 usbburning mode usb - USB sub-system usbbc - test usb bc usbboot - boot from USB device usid_prefetch- usid sub-system uuid_prefetch- uuid sub-system version - print monitor, compiler and linker version video - video sub-system M8BOX # us usbbc usb usbboot usid_prefetch M8BOX # usv b usbbc usb usbboot M8BOX # usbv b usbbc usbboot M8BOX # usbbc board_usb_stop cfg: 2 M8BOX # usbbc usbbc usbboot M8BOX # usbb usbbc usbboot M8BOX # usbboot ** No boot device ** M8BOX # usbboot usbbc help video help ? - alias for 'help' ac_online- get ac adapter online amlnf - AMLPHYNAND sub-system amlnf_test- AMLPHYNAND sub-system autoping- do auto ping test autoscr - run script from memory base - print or set address offset bdinfo - print Board Info structure bmp - manipulate BMP image data boardid_prefetch- boardid sub-system bootm - boot application image from memory bootp - boot image via network using BOOTP/TFTP protocol calinfo - calinfo print the chip calibration info cbusreg - cbus register read/write checkhw - Get the hardware revsion clear_rebootmode- clear rebootmode clkmsr - measure PLL clock cmp - memory compare coninfo - print console devices and information cp - memory copy crc32 - checksum calculation d2pll - DDR set PLL function dcache - enable or disable data cache ddrtest - DDR test function defenv - default environment defenv_without- defenv without environment variables dhcp - boot image via network using DHCP/TFTP protocol dtbinit - init some env by reading dtb file dtbload - load binary dtb file from a dos filesystem echo - echo args to console editenv - edit environment variable efuse - efuse version/licence/mac/hdcp/usid read/write or dump raw efuse data commands or info(display chip efuse info) env - environment handling commands ethchk - check ethernet status ethdbg - set ethernet debug level ethmode - set ethernet mac mode ethrst - reset ethernet phy exit - exit script ext2load- load binary file from a Ext2 filesystem ext2ls - list files in a directory (default /) false - do nothing, unsuccessfully fatexist- find the file from a dos filesystem fatinfo - print information about filesystem fatload - load binary file from a dos filesystem fatls - list files in a directory (default /) fdt - flattened device tree utility commands get_batcap- get battery capability get_img_size- get img size and save the result as a environment variable get_rebootmode- get reboot mode get_usid- Get usid getkey - get POWER key go - start application at address 'addr' gset - gpio commands gtbrd - Geniatch commands hdcp - HDCP sub-system help - print command description/usage hw_read - read hardware version to version ic hw_write- write hardware version to version ic i2c - I2C sub-system icache - enable or disable instruction cache imgread - Read the image from internal flash with actual size imxtract- extract a part of a multi-image is_power_off- Check the power version, if power off must press power key to enter the system itest - return true/false on integer compare keyunify- key unify sub-system kgdb - enter gdb remote debug mode led - set led status [normal/recovery/standby/crash] loadb - load binary file over serial line (kermit mode) loadcustenv- load customer env when used default env loadenv - load environment at address 'addr' loadfdt - load fdt from memory fdt loads - load S-Record file over serial line loadx - load binary file over serial line (xmodem mode) loady - load binary file over serial line (ymodem mode) logo - logo sub-system loop - infinite loop on address range macreg - ethernet mac register read/write/dump md - memory display mdc_clk - do mdc clock mm - memory modify (auto-incrementing address) mmc - MMC sub system mmc_getid- mmc_getid -- get MMC id mmcinfo - mmcinfo -- display MMC info msleep - delay execution for some time msr - Meson msr sub-system mtest - simple RAM read/write test mw - memory write (fill) netspd_f- enforce eth speed nm - memory modify (constant address) phyreg - ethernet phy register read/write/dump ping - send ICMP ECHO_REQUEST to network host poweroff- system power off printenv- print environment variables put - put storage pwm - pwm sub-system rarpboot- boot image via network using RARP/TFTP protocol reset - Perform RESET of the CPU run - run commands in an environment variable saradc - saradc sub-system saveenv - save environment variables to persistent storage sdc_burn- Burning with amlogic format package in sdmmc sdc_update- Burning a partition with image file in sdmmc card secukey - security KEY sub-system set_chgcur- set battery charging current set_rebootmode- set rebootmode [auto_upgrade/clear] set_usbcur_limit- set pmu usb limit current setenv - set environment variables sf - SPI flash sub-system showvar - print local hushshell variables sleep - delay execution for some time source - run script from memory ssecukey- NAND KEY sub-system store - STORE sub-system suspend - suspend test - minimal test like /bin/sh tftpboot- boot image via network using TFTP protocol time - get bootup time true - do nothing, successfully unifykey- unifykey read/write based on the driver keymanage unpackimg- unpack imgpack to single update - Enter v2 usbburning mode usb - USB sub-system usbbc - test usb bc usbboot - boot from USB device usid_prefetch- usid sub-system uuid_prefetch- uuid sub-system version - print monitor, compiler and linker version video - video sub-system M8BOX # ? - alias for 'help' ac_online- get ac adapter online amlnf - AMLPHYNAND sub-system amlnf_test- AMLPHYNAND sub-system autoping- do auto ping test autoscr - run script from memory base - print or set address offset bdinfo - print Board Info structure bmp - manipulate BMP image data boardid_prefetch- boardid sub-system bootm - boot application image from memory bootp - boot image via network using BOOTP/TFTP protocol calinfo - calinfo print the chip calibration info cbusreg - cbus register read/write checkhw - Get the hardware revsion clear_rebootmode- clear rebootmode clkmsr - measure PLL clock cmp - memory compare coninfo - print console devices and information cp - memory copy crc32 - checksum calculation d2pll - DDR set PLL function dcache - enable or disable data cache ddrtest - DDR test function defenv - default environment defenv_without- defenv without environment variables dhcp - boot image via network using DHCP/TFTP protocol dtbinit - init some env by reading dtb file dtbload - load binary dtb file from a dos filesystem echo - echo args to console editenv - edit environment variable efuse - efuse version/licence/mac/hdcp/usid read/write or dump raw efuse data commands or info(display chip efuse info) env - environment handling commands ethchk - check ethernet status ethdbg - set ethernet debug level ethmode - set ethernet mac mode ethrst - reset ethernet phy exit - exit script ext2load- load binary file from a Ext2 filesystem ext2ls - list files in a directory (default /) false - do nothing, unsuccessfully fatexist- find the file from a dos filesystem fatinfo - print information about filesystem fatload - load binary file from a dos filesystem fatls - list files in a directory (default /) fdt - flattened device tree utility commands get_batcap- get battery capability get_img_size- get img size and save the result as a environment variable get_rebootmode- get reboot mode get_usid- Get usid getkey - get POWER key go - start application at address 'addr' gset - gpio commands gtbrd - Geniatch commands hdcp - HDCP sub-system help - print command description/usage hw_read - read hardware version to version ic hw_write- write hardware version to version ic i2c - I2C sub-system icache - enable or disable instruction cache imgread - Read the image from internal flash with actual size imxtract- extract a part of a multi-image is_power_off- Check the power version, if power off must press power key to enter the system itest - return true/false on integer compare keyunify- key unify sub-system kgdb - enter gdb remote debug mode led - set led status [normal/recovery/standby/crash] loadb - load binary file over serial line (kermit mode) loadcustenv- load customer env when used default env loadenv - load environment at address 'addr' loadfdt - load fdt from memory fdt loads - load S-Record file over serial line loadx - load binary file over serial line (xmodem mode) loady - load binary file over serial line (ymodem mode) logo - logo sub-system loop - infinite loop on address range macreg - ethernet mac register read/write/dump md - memory display mdc_clk - do mdc clock mm - memory modify (auto-incrementing address) mmc - MMC sub system mmc_getid- mmc_getid -- get MMC id mmcinfo - mmcinfo -- display MMC info msleep - delay execution for some time msr - Meson msr sub-system mtest - simple RAM read/write test mw - memory write (fill) netspd_f- enforce eth speed nm - memory modify (constant address) phyreg - ethernet phy register read/write/dump ping - send ICMP ECHO_REQUEST to network host poweroff- system power off printenv- print environment variables put - put storage pwm - pwm sub-system rarpboot- boot image via network using RARP/TFTP protocol reset - Perform RESET of the CPU run - run commands in an environment variable saradc - saradc sub-system saveenv - save environment variables to persistent storage sdc_burn- Burning with amlogic format package in sdmmc sdc_update- Burning a partition with image file in sdmmc card secukey - security KEY sub-system set_chgcur- set battery charging current set_rebootmode- set rebootmode [auto_upgrade/clear] set_usbcur_limit- set pmu usb limit current setenv - set environment variables sf - SPI flash sub-system showvar - print local hushshell variables sleep - delay execution for some time source - run script from memory ssecukey- NAND KEY sub-system store - STORE sub-system suspend - suspend test - minimal test like /bin/sh tftpboot- boot image via network using TFTP protocol time - get bootup time true - do nothing, successfully unifykey- unifykey read/write based on the driver keymanage unpackimg- unpack imgpack to single update - Enter v2 usbburning mode usb - USB sub-system usbbc - test usb bc usbboot - boot from USB device usid_prefetch- usid sub-system uuid_prefetch- uuid sub-system version - print monitor, compiler and linker version video - video sub-system M8BOX # version 2011.03-10d3da4(20150701.170752) arm-none-eabi-gcc (Sourcery G++ Lite 2010q1-188) 4.4.1 GNU ld (Sourcery G++ Lite 2010q1-188) 2.19.51.20090709 M8BOX # true M8BOX # usid_prefetch aml_keys: version 0 can not be init 3ff6ff1c uboot key init fail,key_set_version:1568 uboot key set version fail key save in emmc don't found keyname,uboot_key_read:1634 usid keys not in nand,read from efuse efuse version is not selected. efuse version is not selected. not found the position:10. efuse_ret=-1 usid read usid fail,usid valid fetch usid fail M8BOX # usid_prefetch uid_prefetch key save in nand don't found keyname,uboot_key_read:1634 fetch uuid fail M8BOX # usbboot - boot from USB device