<< MStar >># base Base Address: 0x00000000 << MStar >># bdinfo boot_params = 0x8776C004 memstart = 0x80000000 memsize = 0x08000000 flashstart = 0xBFC00000 flashsize = 0x00800000 flashoffset = 0x00000000 ethaddr = 00:00:00:00:00:00 ip_addr = 0.0.0.0 baudrate = 0 bps << MStar >># coninfo List of available devices: serial 80000003 SIO stdin stdout stderr << MStar >># envbin (Re)start USB... Kronus 128-pin package Check USB port[0]: Host type:2 scanning bus for devices... 1 USB Device(s) found scanning bus for storage devices... bulk max packet size:200 usb_stor_Bulk_max_lun: 0 init_part begin init_part end 1 Storage Device(s) found buff:spi_rdc 0x80000000 0x3E0000 0x10000 offset 0x3E0000, size 0x10000 crc:9E6D945D,crcNew:9E6D945D buff:fatwrite usb 0 0x80000000 env.bin 0x10000 file env.bin not found fd:0, cur_cluster:2, cursect:30824, offset:7 #set getno = 16 and clust_size = 8 # ok << MStar >># fatinfo usage: fatinfo << MStar >># fatinfo usb 0:1 Interface: USB Device 0: Vendor: Ut163 Prod.: USB2FlashStorage Rev: 0.00 Type: Removable Hard Disk Capacity: 7711.9 MB = 7.5 GB (15794175 x 512) Partition 1: Filesystem: FAT32 "NO NAME " << MStar >># fatls usage: fatls [directory] << MStar >># fatls usb 0:1 do fat ls:argc:3, vendor:Ut163 hbpvr/ 65536 env.bin 000/ 1 file(s), 2 dir(s) << MStar >># mtest Pattern 00000000 Writing... Reading... Pattern FFFFFFFF Writing... Reading... Pattern 00000001 Writing... Reading... Pattern FFFFFFFE Writing... Reading... Pattern 00000002 Writing... Reading... Pattern FFFFFFFD Writing... Reading... Pattern 00000003 Writing... Reading... << MStar >># printenv bootdelay=0 baudrate=115200 preboot=echo;echo Type "help" for more commands. MS_BOARD=BD_MST124SZ.h CUS_NAME=MST_7816_DEMO logo_cmd=boot_logo 0 0 1 1 AppMagicFlagAddr=0x80000 info_exchange=spi CUSTOMER_OUI=0x169B AP_SW_MODEL=0x0001 AP_SW_VERSION=0x0001 HW_MODEL=0x0001 HW_VERSION=0x0001 OAD_NEED_UPGRADE=0 OAD_NEED_SCAN=0 USBUpdateFlag=0 usb_upgrade_port=0 partno=1 usb_upgrade_path=usb_2103-1236.bin filesize=336DF8 usb_complete=1 usb_upgrade=0 bootcmd=spi_rdc 0x80b00000 0x9001c 0x2a5dd8; LzmaDec 0x80b00000 0x2a5dd8 0x8000; LOGO_SPI_ADDR=70000 LOGO_BIN_SIZE=10CB5 panel_cmd=set_paneltype 8 stdin=serial stdout=serial stderr=serial Environment size: 664/65532 bytes << MStar >># spi_gfo MDrv_SERFLASH_GetInfo() u32AccessWidth = 1 u32TotalSize = 4194304 u32SecNum = 64 u32SecSize = 65536 Section Num: 0x0040 Section Size: 0x00010000 Total Size: 0x00400000 Access Width: 0x01 << MStar >># spi_gr Get Chip Rev: 0x00 << MStar >># spi_id Manufacturer ID: 0xEF Device ID: 0x40 0x16 << MStar >># spi_rs u8StatusReg: 0xBC << MStar >># usb reset (Re)start USB... Kronus 128-pin package Check USB port[0]: Host type:2 scanning bus for devices... 1 USB Device(s) found scanning bus for storage devices... bulk max packet size:200 usb_stor_Bulk_max_lun: 0 init_part begin init_part end 1 Storage Device(s) found << MStar >># version U-Boot 1.1.6 (Sep 29 2013 - 03:36:56) start get