| |

iFix 爱修网

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5600|回复: 7

MSD6A818控制台指令集,并备份emmc到usb

[复制链接]
发表于: 2018-9-12 23:04:51
| 显示全部楼层 |阅读模式
本帖最后由 刘帮 于 2018-9-12 23:07 编辑

进入控制台后,输入<< MStar >># help
ac      - set a new config to the bootargs

add_autotest- add_autotest   - Perform autotest

add_hsl - add_hsl   - autotest with hsl

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'
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
bootmusic- bootmusic   - play music

bootp   - boot image via network using BOOTP/TFTP protocol
checkfile- check file exist in u disk,and set the partition.
checkstr- check_str_resume

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
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

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
(格式:指令 位置 文件名)----备份emmc.bin到U盘.
如:  emmcbin 2 emmc.bin   插在usb1就是输入1

emmcbootbin- emmcbootbin - dump emmc boot partition and write it to fat usb disk
引导备份 指令:emmcbootbin 2 boot12        备份出来的全是00,可能加密了什么的!
env     - environment handling commands
envload - envload   - reload the nand environment.

estart  - EMAC start
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
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

fdt     - flattened device tree utility commands
filelist- Dump the file list.

filelisttest- This command is only for file list test

filepartload- load part of a file to RAM
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'
help    - print command description/usage
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

kk_boot_create_osdwin- kk_boot_create_osdwin - create osd win

kk_boot_destory_osdwin- kk_boot_destory_osdwin - desotry display window

kk_boot_draw_jpg- kk_boot_draw_jpg - Logo display

kk_boot_draw_progress- kk_boot_draw_progress - draw progress

kk_boot_draw_rect- kk_boot_draw_rect - draw rect

kk_boot_draw_string- kk_boot_draw_string - draw string

kk_boot_flush_osdwin- kk_boot_flush_osdwin - clean display window

led     - See led commands
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
mbootver_set- setmbootver   -  for customer show in factory menu.

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
msg     - print string - msg [string]

mstar   - update kernal & root file system automatically by script file
mtest   - simple RAM read/write test
mw      - memory write (fill)
net_miu - set miu setting on software upgrade

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
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

recovery_wipe_partition- do recovery wipe data or cache.

reset   - Perform RESET of the CPU
riu     - riu  - riu command

run     - run commands in an environment variable
runtime_pm- if boot to PM

saveenv - save environment variables to persistent storage
setenv  - set environment variables
showtb  - Show register command table.    -  showtb [stage]

showvar - print local hushshell variables
skip_cmd- skip_cmd <add <word-match-command> | clear>
sleep   - delay execution for some time
source  - run script from memory
spi     - See SPI commands
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.

usb_bootloader_upgrade- usb_bootloader_upgrade   - update bootloader automatically by script file

usb_upgrade- usb_upgrade         - update kernal & root file system automatically by script file

usbboot - boot from USB device
ustar   - ustar   - update kernal & root file system automatically by script file

version - print monitor, compiler and linker version
wdt_enable- wdt_enable n - set Watchdog timer to n secs



回复

使用道具 举报

发表于: 2018-9-12 23:13:39
| 显示全部楼层
Thank you very much for your experience sharing.
回复 支持 反对

使用道具 举报

发表于: 2018-9-13 08:17:57
| 显示全部楼层
谢谢楼主分享
回复 支持 反对

使用道具 举报

发表于: 2018-9-13 09:10:57
| 显示全部楼层
谢谢版主,要是能有几个图片就更好了!
回复 支持 反对

使用道具 举报

发表于: 2018-9-13 09:19:39
| 显示全部楼层
谢谢楼主分享
回复 支持 反对

使用道具 举报

发表于: 2019-10-16 21:52:48
| 显示全部楼层
虽然看不懂 不过也要谢谢楼主分享
回复 支持 反对

使用道具 举报

发表于: 2019-10-17 23:31:47
| 显示全部楼层
Thanks for sharing
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|||iFix 爱修网 ( 粤ICP备2021135374号 )

粤公网安备 44060602002064号

GMT+8, 2024-11-19 08:30 , Processed in 0.054139 sec., 9 queries .

Powered by Discuz! X3.4

Release 20191201, © 2001-2024 Comsenz Inc.

MultiLingual version, Rev. 850, © 2009-2024 codersclub.org

快速回复 返回顶部 返回列表