亂碼問題解決了, 換買了條 ch340芯片的usb ttl就不亂碼了 (前面是pl2303hx的芯片 usb ttl)
可惜的是, 事情終給我搞砸了,,
我把原廠bin的前面的命令在mstar# 下操作了一遍后, 電視不在亮燈了 (看來只能換主板了)
我沒理解問題在哪, 有懂的系統(tǒng)再給提示下 是那行命令搞死了 mboot ?
盡管操作中稍有提示錯誤, 我當時也忽略了 (我當時想著也就是mmc上有點問題, 總不至于mboot也不行行)
日志如下:
read GPIO FLASH_WP reTryCnt : 0, reReadCnt : 0
audio effect chip is not exist!
Changelist: 00112233
============= set bootargs ===============
Unknown command 'if_51OnRam_set' - try 'help'
Hit any key to stop autoboot: 0
<< MStar >>#
<< MStar >># usb start
(Re)start USB...
Check USB port[0]:
Host type:2
scanning bus for devices...
[USB] interface[0] conf:1 value 9:
Wait for hub reset....
checking hub ports...
[USB] interface[0] conf:1 value 8:
2 USB Device(s) found
scanning bus for storage devices... bulk max packet size: ep 200 ep2 200
max lun:0
1 Storage Device(s) found
<< MStar >># usb
usb2spi usb_bin_check usb usbboot
<< MStar >># usb
usb2spi usb_bin_check usb usbboot
<< MStar >># hfjq
Unknown command 'hfjq' - try 'help'
<< MStar >># help
? - alias for 'help'
SecureBootCmd- SecureBootCmd
SecureInit- Init security booting.
UpdateNuttx- upgrade nuttx.
ac - set a new config to the bootargs
add_autotest- add_autotest - Perform autotest
add_hsl - add_hsl - autotest with hsl
add_moduletest- add_moduletest - Perform moduletest
as3820_init- as3820_init - init as3820
authenticate- authenticate the kernel image
authenticateAN- authenticate android's boot and recover image
backlight_board_on- backlight board on - set backlight board on
base - print or set address offset
bdinfo - print Board Info structure
bin2emmc- bin2emmc - read bin file and restore it to emmc
boot - boot default, i.e., run 'bootcmd'
bootNuttx- bootNuttx - core1 run at Nuttx
bootargs_set- Set info exchange and set to boot args.
bootcheck- bootcheck - Do boot check
bootd - boot default, i.e., run 'bootcmd'
bootlogo- bootlogo - Display Logo_Music
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
check_board_type- check_board_type - check board type from GPIO.
checkfile- check file exist in u disk,and set the partition.
cleanallenv- cleanall environment variables to persistent storage
cmp - memory compare
config2env- Set config to environment.
config_raw_io- Config the target device for raw I/O
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
custar - do usb update from the specified file that is in usb.
dbg - set debug message level. Default level is INFO
dbtable_init- dbtable_init - let data is ready (logo, music, panel, ursa).
dc - delete the specific cofig that is in the bootargs
delay - delay time, time unit is ms
destroy_logo- destroy_logo - Stop logo display
dhcp - boot image via network using DHCP/TFTP protocol
dont_overwrite- This serial apis are for protecting the specific partitions are overwrited. ex: customer
This cmd is used to register which partition should not be overwrite
dont_overwrite_free- This serial apis are for protecting the specific partitions are overwrited. ex: customer
This cmd is used to free all registered partitions.
dont_overwrite_init- This serial apis are for protecting the specific partitions are overwrited. ex: customer
This cmd is used to init this function
draw_jpg- blt_jpg - Blt JPG
draw_pixel- draw_pixel - draw a pixel with color
draw_progress- draw_string - draw string with color
draw_rect- draw_rect - draw rect with color
draw_string- draw_string - draw string with color
du - du - Disable UART
dumpSignature- dump the signature
ebist - PHY loopback test
echo - echo args to console
editenv - edit environment variable
edump - EMAC Register settings dump
eloopback- Long loopback test
emmc - eMMC sub system
emmcbin - emmcbin - dump emmc and restore it to fat usb disk
emmcbootbin- emmcbootbin - dump emmc boot partition and write it to fat usb disk
env - environment handling commands
envload - envload - reload the nand environment.
envload_factory- envload_factory - reload the env from emmc
epd - emac power down
estart - EMAC start
ewavetest- EMAC wave test
exit - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
ext4filesize- get file size from a Ext4 filesystem
ext4load- load binary file from a Ext4 filesystem
ext4ls - list files in a directory (default /)
ext4partload- part load binary file from a Ext4 filesystem
ext4write- create a file in the root directory
factory_check_usb_files- factory mode to check usb files and do test
factory_init- factory_init - init factory partition table.
false - do nothing, unsuccessfully
fatfilesize- fatfilesize - load binary 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 /)
fatpartload- fatpartload - load binary file from a dos filesystem
fatwrite- fatwrite - write binary file to a dos filesystem
filelist- Dump the file list.
filelisttest- This command is only for file list test
filepartload- load part of a file to RAM
force_overwrite- This serial apis are for force write and re-create partitions.
This cmd is used to register which partition should force overwrite
force_overwrite_init- This serial apis are for force write and re-create partitions.
This cmd is used to register which partition should force overwrite
get_mboot_config- get mboot config from binary coverted from mboot_config.ini
get_mmap- get memory info from supernova's mmap
go - start application at address 'addr'
gpio - GPIO Command:
help - print command description/usage
i2c - I2C sub-system
if_boot_to_pm- if boot to PM
iminfo - print header information for application image
imxtract- extract a part of a multi-image
initDbgLevel- Initial varaible 'dbgLevel'
init_raw_io- init raw_io module
itest - return true/false on integer compare
kernelProtect- kernelProtect - Protect kernel
kernelProtectBist- kernelProtectBist - Protect kernel bist
led - See led commands
led_local- set the LED brightness locally
load_nuttx_config- - load nuttx_config.bin from storage
loadb - load binary file over serial line (kermit mode)
loadenv - loadenv - load env for nand
loads - load S-Record file over serial line
loadspi - load data from SPI
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
m2e - Restore the address and len to env from supernova's mmap
macaddr - setup EMAC MAC addr
mbup - mboot upgrade
md - memory display
memtest - Get the performance of memory
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mmcreg - mmcreg show ext-csd
mscompress7- Compress or decompress lzma files
msg - print string - msg [string]
mstar - update kernal & root file system automatically by script file
mtest - simple RAM read/write test
mversion- show changelist - mversion
mw - memory write (fill)
nm - memory modify (constant address)
nuttxProtect- nuttx Protect - Protect nuttx
osd_create- osd_create - create osd layer
osd_destroy- osd_destroy - destroy osd layer
osd_flush- osd_flush - flush canvas to screen
ota_zip_check- do OTA zip package check.
panel_init- panel_init - init panel by panel.ini
panel_post_init- backligth on - backlight on
panel_pre_init- panel_pre_init - init panel by panel.ini
ping - send ICMP ECHO_REQUEST to network host
pm51 - pm51 command: pm51 [option]
pmProtect- runtime pm Protect - Protect runtime PM
pm_power_test- PM DC on/Off power test
pop_raw_io_config- pop raw_io last config
printenv- print environment variables
push_raw_io_config- push raw_io current config
raw_io_status- get raw_io status
raw_read- Read the raw datas that store in the target device
Yo have to execute 'config_raw_io' before using this cmd
raw_write- Write the raw datas that store in the target deviceYo have to execute 'config_raw_io' before using this cmd
readNuttx- readNuttx - read Nuttx to malloc buffer
recovery_wipe_partition- do recovery wipe data or cache.
reset - Perform RESET of the CPU
riu - riu - riu command
rsa - rsa cacluate
run - run commands in an environment variable
run_usb_script- do usb script from usb.
runtime_pm- if boot to PM
sar - sar Command:
saveenv - save environment variables to persistent storage
send_msg2PM- send message to RT_PM
setenv - set environment variables
sha256 - The sha256 cacluate
showtb - Show register command table. - showtb [stage]
showvar - print local hushshell variables
sleep - delay execution for some time
source - run script from memory
spi2usb - Read data from spi to usb
stest - test IO performance on continue mode or interleave mode]
store_nuttx_config- - save nuttx_config.bin to storage
store_secure_info- store secure info
sync_mmap- Sync the some id's address and len to env and bootargs from supernova's mmap
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
true - do nothing, successfully
udstar - Execute the script file that is stored in usb disk
updatemiureg- Call driver to update miu setting
usb - USB sub-system
usb2spi - write data from usb to spi
usb_bin_check- do usb bin document check.
usbboot - boot from USB device
ustar - ustar - update kernal & root file system automatically by script file
verify_sha256- This command is only for verification
version - print monitor, compiler and linker version
<< MStar >># mmc slc 0 1
eMMC: SLC mode size: 0, reliable write: 1, has been set
<< MStar >># mmc rmgpt
** Find MBOOT **
** Find MPOOL **
** Find factory1 **
** Find factory2 **
******** skip factory partition ********
******** skip factory partition ********
<< MStar >># factory_init factory1 0x02000000
<< MStar >># factory_init factory2 0x02000000
<< MStar >># mmc create misc 0x00800000
Need write new driver description table!
Add new partition misc success!
<< MStar >># mmc create recovery 0x00800000
Add new partition recovery success!
<< MStar >># mmc create boot 0x00400000
Add new partition boot success!
<< MStar >># mmc create RTPM 0x40000
Add new partition RTPM success!
<< MStar >># mmc create system 0x20000000
Add new partition system success!
<< MStar >># mmc create fastplay 0x20000000
Add new partition fastplay success!
<< MStar >># mmc create cache 0x20000000
Add new partition cache success!
<< MStar >># mmc create tvservice 0x03C00000
Add new partition tvservice success!
<< MStar >># mmc create tvconfilg 0x020000000
Add new partition tvconfilg success!
<< MStar >># mmc create tvdatabase 0x00800000
Add new partition tvdatabase success!
<< MStar >># mmc create tvcustomer 0x01000000
Add new partition tvcustomer success!
<< MStar >># mmc create userdata variable 0x16520000 0x33700000 0x65200000
Add new partition userdata success!
<< MStar >># mmc erase.p MPOOL
MMC erase: dev # 0, user area part, block # 10240, count 4096 (unit: sector)...
4096 blocks erase: OK
<< MStar >># cleanallenv
Writing to MMC(0)... done
<< MStar >># mm erase.p recovery
mm - memory modify (auto-incrementing address)
Usage:
mm [.b, .w, .l] address
<< MStar >># mmc erase.p recovery
MMC erase: dev # 0, user area part, block # 161792, count 16384 (unit: sector)...
16384 blocks erase: OK
<< MStar >># mmc erase.p misc
MMC erase: dev # 0, user area part, block # 145408, count 16384 (unit: sector)...
16384 blocks erase: OK
<< MStar >># filepartload 20400000 LetvUpgrade.bin 4000 5d4790
<< MStar >>#
<< MStar >># mmc write.p 20400000 recovery 5d4790 1
11940 blocks written: OK
<< MStar >># filepartload 204v LetvUpgrade_complete 1
filepartload - load part of a file to RAM
Usage:
filepartload <addr> <filename> [bytes]
- load file 'filename' to address 'addr'
<< MStar >># filepartload 20400000 LetvUpgrade.bin 4000 5d4790
<< MStar >># mmc write.p 20400000 recovery 5d4790 1
Unknown command 'mmc' - try 'help'
<< MStar >># filepartload 20400000 LetvUpgrade.bin 5d9000 220
<< MStar >># store_secure_info recoverySign 20400000
MPOOL size : 0x200000
MPOOL size : 0x200000
10 blocks written: OK
10 blocks written: OK
<< MStar >># mmc erase.p boot
MMC erase: dev # 0, user area part, block # 178176, count 8192 (unit: sector)...
8192 blocks erase: OK
<< MStar >># filepartload 20400000 LetvUpgrade.bin 5da000 3e3300
<< MStar >># mmc write.p 20400000 boot 3e3300 1
7962 blocks written: OK
<< MStar >># filepartload 20400000 LetvUpgrade.bin 9be000 220
<< MStar >># store_secure_info bootSign 20400000
MPOOL size : 0x200000
MPOOL size : 0x200000
10 blocks written: OK
10 blocks written: OK
<< MStar >># mmc erase.p system
MMC erase: dev # 0, user area part, block # 186880, count 1048576 (unit: sector)...
1048576 blocks erase: OK
<< MStar >># filepartload 20400000 LetvUpgrade.bin 9bf000 db2ac3b
<< MStar >># mmc unlzo 20400000 db2ac3b system 1
Uncompressing ...
LZO: uncompress, out-of-mem or overwrite error -1
<< MStar >># filepartload 20400000 LetvUpgrade.bin e4ea000 74e942a
<< MStar >># mmc unlzo.cont 20400000 74e942a system 1
Uncompressing ...
LZO: uncompress, out-of-mem or overwrite error -1
<< MStar >># mmc erase.p fastplay
MMC erase: dev # 0, user area part, block # 1235456, count 1048576 (unit: sector)...
1048576 blocks erase: OK
<< MStar >># filepartload 20400000 LetvUpgrade.bin 159d4000 132d3
<< MStar >># mmc unlzo 20400000 132d3 fastplay 1
Uncompressing ...
LZO: uncompress, out-of-mem or overwrite error -1
<< MStar >># mmc erase.p cache
MMC erase: dev # 0, user area part, block # 2284032, count 1048576 (unit: sector)...
1048576 blocks erase: OK
<< MStar >># filepartload 20400000 LetvUpgrade.bin 159e8000 1331c
<< MStar >># mmc unlzo 20400000 1331c cache 1
Uncompressing ...
LZO: uncompress, out-of-mem or overwrite error -1
<< MStar >># filepartload 20400000 LetvUpgrade.bin 159fc000 3c00000
<< MStar >># mmc erase.p tvservice
MMC erase: dev # 0, user area part, block # 3332608, count 122880 (unit: sector)...
122880 blocks erase: OK
<< MStar >># mmc write.p 20400000 tvservice 3c00000 1
122880 blocks written: OK
<< MStar >># filepartload 20400000 LetvUpgrade.bin 195fc000 2000000
<< MStar >># mmc erase.p tvconfig
** Bad Signature on 0:17: expected 0x5840, got 0x0000
ERR:invalid parameter, please check partiton name!
<< MStar >># mmc write.p 20400000 tvconfig 2000000 1
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
** Bad Signature on 0:17: expected 0x5840, got 0x0000
ERR:Please check the blk# or partiton name!
<< MStar >># filepartload 20400000 LetvUpgrade.bin 1b5fc000 220
<< MStar >># store_secure_info teeSign 20400000
MPOOL size : 0x200000
MPOOL size : 0x200000
10 blocks written: OK
10 blocks written: OK
<< MStar >># filepartload 20400000 LetvUpgrade.bin 1b5fd000 770
<< MStar >># store_nuttx_config NuttxConfig 20400000
MPOOL size : 0x200000
128 blocks written: OK
128 blocks written: OK
<< MStar >># filepartload 20400000 LetvUpgrade.bin 1b5fe000 800000
<< MStar >># mmc erase.p tvdatabase
MMC erase: dev # 0, user area part, block # 4504064, count 16384 (unit: sector)...
16384 blocks erase: OK
<< MStar >># mmc write.p 20400000 tvdatabase 800000 1
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
Writing to MMC(0)... done
16384 blocks written: OK
<< MStar >># filepartload 20400000 LetvUpgrade.bin 1bdfe000 1000000
<< MStar >># mmc erase.p tvcustomer
MMC erase: dev # 0, user area part, block # 4520448, count 32768 (unit: sector)...
32768 blocks erase: OK
<< MStar >># mmc write.p 20400000 tvcustomer 1000000 1
32768 blocks written: OK
<< MStar >># mmc erase.p userdata
ERR:invalid parameter, please check partiton name!
<< MStar >># filepartload 20400000 LetvUpgrade.bin 1cdfe000 12c3710
<< MStar >># mmc unlzo 20400000 12c3710 userdata 1
ERR: The partition unlzo write has been done!
<< MStar >># filepartload 20400000 LetvUpgrade.bin 1e0c2000 38493ae
<< MStar >># mmc unlzo 20400000 38493ae userdata 1
ERR: The partition unlzo write has been done!
<< MStar >># filepartload 20400000 LetvUpgrade.bin 2190c000 4388b
<< MStar >># mmc unlzo 20400000 4388b userdata 1
ERR: The partition unlzo write has been done!
<< MStar >># filepartload 20400000 LetvUpgrade.bin 21950000 10000
<< MStar >># mmc erase.p RTPM
MMC erase: dev # 0, user area part, block # 186368, count 512 (unit: sector)...
512 blocks erase: OK
<< MStar >># mmc write.p 20400000 RTPM 10000 1
128 blocks written: OK
<< MStar >># filepartload 20400000 LetvUpgrade.bin 21960000 12800
<< MStar >># mmc write.boot 1 20400000 0 12800
148 blocks written: OK
<< MStar >># filepartload 20400000 LetvUpgrade.bin 21973000 172e00
<< MStar >># mmc write.p 20400000 MBOOT 172e00
2967 blocks written: OK
<< MStar >># setenv filesize 3e3300
<< MStar >># setenv LOAD_KERNEL mmc read.p 0x25000000 boot 0x00400000\; authenticateAN 0x25000000
<< MStar >># setenv filesize 3e3300
<< MStar >># setenv BOOT_KERNEL bootm 0x25000000
<< MStar >># setenv recoverycmd mmc read.p 0x25000000 recovery 0x00800000\; authenticateAN 0x25000000\; bootm 0x25000000
<< MStar >># setenv MIU0_GROUP_SELMIU 1140:0018:1416:33C0
<< MStar >>#
<< MStar >># setenv MIU1_GROUP_SELMIU AE0E:0100:0A21:0000
<< MStar >># setenv MIU0_GROUP_PRIORITY 3:0:1:2
<< MStar >>#
<< MStar >># setenv MIU1_GROUP_PRIORITY 3:1:0:2
<< MStar >># setenv MS_MEM LX_MEM=0x11900000 EMAC_MEM=0x100000 DRAM_LEN=0x40000000 LX_MEM2=0x3FF00000,0x00000000 LX_MEM3=0xB1400000,0xEA00000
<< MStar >># setenv KERNEL_PROTECT DRAM_SIZE1=0x40000000 DRAM_SIZE2=0x40000000
<< MStar >># setenv ROOT root=/dev/ram rw rootwait
<< MStar >># setenv bootargs console=ttyS0,115200 androidboot.console=ttyS0 $(ROOT) init=/init $(MS_MEM) CORE_DUMP_PATH=/data/Logs/Log.0/core_dump.%%p.gz KDebug=1 delaylogo=true
<< MStar >># setenv bootlogo_gopidx 3
<< MStar >># setenv bootlogo_buffer E_MMAP_ID_DIP_10M_2
<< MStar >># setenv str_crc 2
<< MStar >># setenv power_key 0x0A
<< MStar >># setenv ir_header_code0 0x4C
<< MStar >># setenv ir_header_code1 0x65
<< MStar >>#
<< MStar >># setenv factory_poweron_mode secondary
<< MStar >>#
<< MStar >># setenv db_table 0
<< MStar >># setenv verify n
<< MStar >># setenv bootcmd $(LOAD_KERNEL)\; $(LOAD_NUTTX)\; $(BOOT_NUTTX)\; $(BOOT_KERNEL)
<< MStar >>#
<< MStar >># saveenv
Saving Environment to MMC...
Writing to MMC(0)... done
<< MStar >># setenv LetvUpgrade_complete 1
<< MStar >># setenv IsCheckUSB disable
<< MStar >># setenv factory_mode 0
<< MStar >># setenv ResetAfterUpgrade 1
<< MStar >>#
<< MStar >># setenv ForcePowerOn 1
<< MStar >>#
<< MStar >># setenv db_table 0
<< MStar >># saveenv
Saving Environment to MMC...
Writing to MMC(0)... done
<< MStar >># printenv
BOOT_KERNEL=bootm 0x25000000
ForcePowerOn=1
IsCheckUSB=disable
KERNEL_PROTECT=DRAM_SIZE1=0x40000000 DRAM_SIZE2=0x40000000
LOAD_KERNEL=mmc read.p 0x25000000 boot 0x00400000; authenticateAN 0x25000000
LetvUpgrade_complete=1
MIU0_GROUP_PRIORITY=3:0:1:2
MIU0_GROUP_SELMIU=1140:0018:1416:33C0
MIU1_GROUP_PRIORITY=3:1:0:2
MIU1_GROUP_SELMIU=AE0E:0100:0A21:0000
MS_MEM=LX_MEM=0x11900000 EMAC_MEM=0x100000 DRAM_LEN=0x40000000 LX_MEM2=0x3FF00000,0x00000000 LX_MEM3=0xB1400000,0xEA00000
ROOT=root=/dev/ram rw rootwait
ResetAfterUpgrade=1
bootargs=console=ttyS0,115200 androidboot.console=ttyS0 $(ROOT) init=/init $(MS_MEM) CORE_DUMP_PATH=/data/Logs/Log.0/core_dump.%%p.gz KDebug=1 delaylogo=true
bootcmd=$(LOAD_KERNEL); $(LOAD_NUTTX); $(BOOT_NUTTX); $(BOOT_KERNEL)
bootlogo_buffer=E_MMAP_ID_DIP_10M_2
bootlogo_gopidx=3
db_table=0
factory_mode=0
factory_poweron_mode=secondary
filesize=3e3300
ir_header_code0=0x4C
ir_header_code1=0x65
mboot_default_env=1
power_key=0x0A
recoverycmd=mmc read.p 0x25000000 recovery 0x00800000; authenticateAN 0x25000000; bootm 0x25000000
str_crc=2
upgrade_factorydb=TRUE
verify=n
Environment size: 1158/65532 bytes
<< MStar >>#
BOOT_KERNEL=bootm 0x25000000
ForcePowerOn=1
IsCheckUSB=disable
KERNEL_PROTECT=DRAM_SIZE1=0x40000000 DRAM_SIZE2=0x40000000
LOAD_KERNEL=mmc read.p 0x25000000 boot 0x00400000; authenticateAN 0x25000000
LetvUpgrade_complete=1
MIU0_GROUP_PRIORITY=3:0:1:2
MIU0_GROUP_SELMIU=1140:0018:1416:33C0
MIU1_GROUP_PRIORITY=3:1:0:2
MIU1_GROUP_SELMIU=AE0E:0100:0A21:0000
MS_MEM=LX_MEM=0x11900000 EMAC_MEM=0x100000 DRAM_LEN=0x40000000 LX_MEM2=0x3FF00000,0x00000000 LX_MEM3=0xB1400000,0xEA00000
ROOT=root=/dev/ram rw rootwait
ResetAfterUpgrade=1
bootargs=console=ttyS0,115200 androidboot.console=ttyS0 $(ROOT) init=/init $(MS_MEM) CORE_DUMP_PATH=/data/Logs/Log.0/core_dump.%%p.gz KDebug=1 delaylogo=true
bootcmd=$(LOAD_KERNEL); $(LOAD_NUTTX); $(BOOT_NUTTX); $(BOOT_KERNEL)
bootlogo_buffer=E_MMAP_ID_DIP_10M_2
bootlogo_gopidx=3
db_table=0
factory_mode=0
factory_poweron_mode=secondary
filesize=3e3300
ir_header_code0=0x4C
ir_header_code1=0x65
mboot_default_env=1
power_key=0x0A
recoverycmd=mmc read.p 0x25000000 recovery 0x00800000; authenticateAN 0x25000000; bootm 0x25000000
str_crc=2
upgrade_factorydb=TRUE
verify=n
Environment size: 1158/65532 bytes
<< MStar >>#
BOOT_KERNEL=bootm 0x25000000
ForcePowerOn=1
IsCheckUSB=disable
KERNEL_PROTECT=DRAM_SIZE1=0x40000000 DRAM_SIZE2=0x40000000
LOAD_KERNEL=mmc read.p 0x25000000 boot 0x00400000; authenticateAN 0x25000000
LetvUpgrade_complete=1
MIU0_GROUP_PRIORITY=3:0:1:2
MIU0_GROUP_SELMIU=1140:0018:1416:33C0
MIU1_GROUP_PRIORITY=3:1:0:2
MIU1_GROUP_SELMIU=AE0E:0100:0A21:0000
MS_MEM=LX_MEM=0x11900000 EMAC_MEM=0x100000 DRAM_LEN=0x40000000 LX_MEM2=0x3FF00000,0x00000000 LX_MEM3=0xB1400000,0xEA00000
ROOT=root=/dev/ram rw rootwait
ResetAfterUpgrade=1
bootargs=console=ttyS0,115200 androidboot.console=ttyS0 $(ROOT) init=/init $(MS_MEM) CORE_DUMP_PATH=/data/Logs/Log.0/core_dump.%%p.gz KDebug=1 delaylogo=true
bootcmd=$(LOAD_KERNEL); $(LOAD_NUTTX); $(BOOT_NUTTX); $(BOOT_KERNEL)
bootlogo_buffer=E_MMAP_ID_DIP_10M_2
bootlogo_gopidx=3
db_table=0
factory_mode=0
factory_poweron_mode=secondary
filesize=3e3300
ir_header_code0=0x4C
ir_header_code1=0x65
mboot_default_env=1
power_key=0x0A
recoverycmd=mmc read.p 0x25000000 recovery 0x00800000; authenticateAN 0x25000000; bootm 0x25000000
str_crc=2
upgrade_factorydb=TRUE
verify=n
Environment size: 1158/65532 bytes
<< MStar >>#
BOOT_KERNEL=bootm 0x25000000
ForcePowerOn=1
IsCheckUSB=disable
KERNEL_PROTECT=DRAM_SIZE1=0x40000000 DRAM_SIZE2=0x40000000
LOAD_KERNEL=mmc read.p 0x25000000 boot 0x00400000; authenticateAN 0x25000000
LetvUpgrade_complete=1
MIU0_GROUP_PRIORITY=3:0:1:2
MIU0_GROUP_SELMIU=1140:0018:1416:33C0
MIU1_GROUP_PRIORITY=3:1:0:2
MIU1_GROUP_SELMIU=AE0E:0100:0A21:0000
MS_MEM=LX_MEM=0x11900000 EMAC_MEM=0x100000 DRAM_LEN=0x40000000 LX_MEM2=0x3FF00000,0x00000000 LX_MEM3=0xB1400000,0xEA00000
ROOT=root=/dev/ram rw rootwait
ResetAfterUpgrade=1
bootargs=console=ttyS0,115200 androidboot.console=ttyS0 $(ROOT) init=/init $(MS_MEM) CORE_DUMP_PATH=/data/Logs/Log.0/core_dump.%%p.gz KDebug=1 delaylogo=true
bootcmd=$(LOAD_KERNEL); $(LOAD_NUTTX); $(BOOT_NUTTX); $(BOOT_KERNEL)
bootlogo_buffer=E_MMAP_ID_DIP_10M_2
bootlogo_gopidx=3
db_table=0
factory_mode=0
factory_poweron_mode=secondary
filesize=3e3300
ir_header_code0=0x4C
ir_header_code1=0x65
mboot_default_env=1
power_key=0x0A
recoverycmd=mmc read.p 0x25000000 recovery 0x00800000; authenticateAN 0x25000000; bootm 0x25000000
str_crc=2
upgrade_factorydb=TRUE
verify=n
Environment size: 1158/65532 bytes
<< MStar >>#
BOOT_KERNEL=bootm 0x25000000
ForcePowerOn=1
IsCheckUSB=disable
KERNEL_PROTECT=DRAM_SIZE1=0x40000000 DRAM_SIZE2=0x40000000
LOAD_KERNEL=mmc read.p 0x25000000 boot 0x00400000; authenticateAN 0x25000000
LetvUpgrade_complete=1
MIU0_GROUP_PRIORITY=3:0:1:2
MIU0_GROUP_SELMIU=1140:0018:1416:33C0
MIU1_GROUP_PRIORITY=3:1:0:2
MIU1_GROUP_SELMIU=AE0E:0100:0A21:0000
MS_MEM=LX_MEM=0x11900000 EMAC_MEM=0x100000 DRAM_LEN=0x40000000 LX_MEM2=0x3FF00000,0x00000000 LX_MEM3=0xB1400000,0xEA00000
ROOT=root=/dev/ram rw rootwait
ResetAfterUpgrade=1
bootargs=console=ttyS0,115200 androidboot.console=ttyS0 $(ROOT) init=/init $(MS_MEM) CORE_DUMP_PATH=/data/Logs/Log.0/core_dump.%%p.gz KDebug=1 delaylogo=true
bootcmd=$(LOAD_KERNEL); $(LOAD_NUTTX); $(BOOT_NUTTX); $(BOOT_KERNEL)
bootlogo_buffer=E_MMAP_ID_DIP_10M_2
bootlogo_gopidx=3
db_table=0
factory_mode=0
factory_poweron_mode=secondary
filesize=3e3300
ir_header_code0=0x4C
ir_header_code1=0x65
mboot_default_env=1
power_key=0x0A
recoverycmd=mmc read.p 0x25000000 recovery 0x00800000; authenticateAN 0x25000000; bootm 0x25000000
str_crc=2
upgrade_factorydb=TRUE
verify=n
Environment size: 1158/65532 bytes
<< MStar >># boot
Unknown command '$(LOAD_KERNEL)' - try 'help'
Unknown command '$(LOAD_NUTTX)' - try 'help'
Unknown command '$(BOOT_NUTTX)' - try 'help'
Unknown command '$(BOOT_KERNEL)' - try 'help'
<< MStar >># help
? - alias for 'help'
SecureBootCmd- SecureBootCmd
SecureInit- Init security booting.
UpdateNuttx- upgrade nuttx.
ac - set a new config to the bootargs
add_autotest- add_autotest - Perform autotest
add_hsl - add_hsl - autotest with hsl
add_moduletest- add_moduletest - Perform moduletest
as3820_init- as3820_init - init as3820
authenticate- authenticate the kernel image
authenticateAN- authenticate android's boot and recover image
backlight_board_on- backlight board on - set backlight board on
base - print or set address offset
bdinfo - print Board Info structure
bin2emmc- bin2emmc - read bin file and restore it to emmc
boot - boot default, i.e., run 'bootcmd'
bootNuttx- bootNuttx - core1 run at Nuttx
bootargs_set- Set info exchange and set to boot args.
bootcheck- bootcheck - Do boot check
bootd - boot default, i.e., run 'bootcmd'
bootlogo- bootlogo - Display Logo_Music
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
check_board_type- check_board_type - check board type from GPIO.
checkfile- check file exist in u disk,and set the partition.
cleanallenv- cleanall environment variables to persistent storage
cmp - memory compare
config2env- Set config to environment.
config_raw_io- Config the target device for raw I/O
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
custar - do usb update from the specified file that is in usb.
dbg - set debug message level. Default level is INFO
dbtable_init- dbtable_init - let data is ready (logo, music, panel, ursa).
dc - delete the specific cofig that is in the bootargs
delay - delay time, time unit is ms
destroy_logo- destroy_logo - Stop logo display
dhcp - boot image via network using DHCP/TFTP protocol
dont_overwrite- This serial apis are for protecting the specific partitions are overwrited. ex: customer
This cmd is used to register which partition should not be overwrite
dont_overwrite_free- This serial apis are for protecting the specific partitions are overwrited. ex: customer
This cmd is used to free all registered partitions.
dont_overwrite_init- This serial apis are for protecting the specific partitions are overwrited. ex: customer
This cmd is used to init this function
draw_jpg- blt_jpg - Blt JPG
draw_pixel- draw_pixel - draw a pixel with color
draw_progress- draw_string - draw string with color
draw_rect- draw_rect - draw rect with color
draw_string- draw_string - draw string with color
du - du - Disable UART
dumpSignature- dump the signature
ebist - PHY loopback test
echo - echo args to console
editenv - edit environment variable
edump - EMAC Register settings dump
eloopback- Long loopback test
emmc - eMMC sub system
emmcbin - emmcbin - dump emmc and restore it to fat usb disk
emmcbootbin- emmcbootbin - dump emmc boot partition and write it to fat usb disk
env - environment handling commands
envload - envload - reload the nand environment.
envload_factory- envload_factory - reload the env from emmc
epd - emac power down
estart - EMAC start
ewavetest- EMAC wave test
exit - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
ext4filesize- get file size from a Ext4 filesystem
ext4load- load binary file from a Ext4 filesystem
ext4ls - list files in a directory (default /)
ext4partload- part load binary file from a Ext4 filesystem
ext4write- create a file in the root directory
factory_check_usb_files- factory mode to check usb files and do test
factory_init- factory_init - init factory partition table.
false - do nothing, unsuccessfully
fatfilesize- fatfilesize - load binary 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 /)
fatpartload- fatpartload - load binary file from a dos filesystem
fatwrite- fatwrite - write binary file to a dos filesystem
filelist- Dump the file list.
filelisttest- This command is only for file list test
filepartload- load part of a file to RAM
force_overwrite- This serial apis are for force write and re-create partitions.
This cmd is used to register which partition should force overwrite
force_overwrite_init- This serial apis are for force write and re-create partitions.
This cmd is used to register which partition should force overwrite
get_mboot_config- get mboot config from binary coverted from mboot_config.ini
get_mmap- get memory info from supernova's mmap
go - start application at address 'addr'
gpio - GPIO Command:
help - print command description/usage
i2c - I2C sub-system
if_boot_to_pm- if boot to PM
iminfo - print header information for application image
imxtract- extract a part of a multi-image
initDbgLevel- Initial varaible 'dbgLevel'
init_raw_io- init raw_io module
itest - return true/false on integer compare
kernelProtect- kernelProtect - Protect kernel
kernelProtectBist- kernelProtectBist - Protect kernel bist
led - See led commands
led_local- set the LED brightness locally
load_nuttx_config- - load nuttx_config.bin from storage
loadb - load binary file over serial line (kermit mode)
loadenv - loadenv - load env for nand
loads - load S-Record file over serial line
loadspi - load data from SPI
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
m2e - Restore the address and len to env from supernova's mmap
macaddr - setup EMAC MAC addr
mbup - mboot upgrade
md - memory display
memtest - Get the performance of memory
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mmcreg - mmcreg show ext-csd
mscompress7- Compress or decompress lzma files
msg - print string - msg [string]
mstar - update kernal & root file system automatically by script file
mtest - simple RAM read/write test
mversion- show changelist - mversion
mw - memory write (fill)
nm - memory modify (constant address)
nuttxProtect- nuttx Protect - Protect nuttx
osd_create- osd_create - create osd layer
osd_destroy- osd_destroy - destroy osd layer
osd_flush- osd_flush - flush canvas to screen
ota_zip_check- do OTA zip package check.
panel_init- panel_init - init panel by panel.ini
panel_post_init- backligth on - backlight on
panel_pre_init- panel_pre_init - init panel by panel.ini
ping - send ICMP ECHO_REQUEST to network host
pm51 - pm51 command: pm51 [option]
pmProtect- runtime pm Protect - Protect runtime PM
pm_power_test- PM DC on/Off power test
pop_raw_io_config- pop raw_io last config
printenv- print environment variables
push_raw_io_config- push raw_io current config
raw_io_status- get raw_io status
raw_read- Read the raw datas that store in the target device
Yo have to execute 'config_raw_io' before using this cmd
raw_write- Write the raw datas that store in the target deviceYo have to execute 'config_raw_io' before using this cmd
readNuttx- readNuttx - read Nuttx to malloc buffer
recovery_wipe_partition- do recovery wipe data or cache.
reset - Perform RESET of the CPU
riu - riu - riu command
rsa - rsa cacluate
run - run commands in an environment variable
run_usb_script- do usb script from usb.
runtime_pm- if boot to PM
sar - sar Command:
saveenv - save environment variables to persistent storage
send_msg2PM- send message to RT_PM
setenv - set environment variables
sha256 - The sha256 cacluate
showtb - Show register command table. - showtb [stage]
showvar - print local hushshell variables
sleep - delay execution for some time
source - run script from memory
spi2usb - Read data from spi to usb
stest - test IO performance on continue mode or interleave mode]
store_nuttx_config- - save nuttx_config.bin to storage
store_secure_info- store secure info
sync_mmap- Sync the some id's address and len to env and bootargs from supernova's mmap
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
true - do nothing, successfully
udstar - Execute the script file that is stored in usb disk
updatemiureg- Call driver to update miu setting
usb - USB sub-system
usb2spi - write data from usb to spi
usb_bin_check- do usb bin document check.
usbboot - boot from USB device
ustar - ustar - update kernal & root file system automatically by script file
verify_sha256- This command is only for verification
version - print monitor, compiler and linker version
<< MStar >># boot
Unknown command '$(LOAD_KERNEL)' - try 'help'
Unknown command '$(LOAD_NUTTX)' - try 'help'
Unknown command '$(BOOT_NUTTX)' - try 'help'
Unknown command '$(BOOT_KERNEL)' - try 'help'
<< MStar >># |