uboot.help

g12b_w400_v1#help                                                               
?       - alias for 'help'                                                      
aml_sysrecovery- Burning with amlogic format package from partition sysrecovery
amlmmc  - AMLMMC sub system                                                     
amlnf   - aml mtd nand sub-system                                               
autocali- auto cali     - auto set cali value for exphy                         
                                                                                
autoscr - run script from memory                                                
avb     - avb                                                                   
base    - print or set address offset                                           
bcb     - bcb                                                                   
bmp     - manipulate BMP image data                                             
boot_cooling- cpu temp-system                                                   
booti   - boot arm64 Linux Image image from memory                              
bootm   - boot application image from memory                                    
bootp   - boot image via network using BOOTP/TFTP protocol                      
cbusreg - cbus register read/write                                              
chpart  - change active partition                                               
clkmsr  - Amlogic measure clock                                                 
cmp     - memory compare                                                        
cp      - memory copy                                                           
crc32   - checksum calculation                                                  
cvbs    - CVBS sub-system                                                       
dcache  - enable or disable data cache                                          
ddr_auto_fast_boot_check- ddr_fastboot_config cmd arg1 arg2 arg3...             
ddr_auto_scan_drv- ddr_test_cmd cmd arg1 arg2 arg3...                           
ddr_auto_test_window- ddr_test_cmd cmd arg1 arg2 arg3...                        
ddr_cpu_test- ddr_test_cmd cmd arg1 arg2 arg3...                                
ddr_fast_boot- ddr_fastboot_config cmd arg1 arg2 arg3...                        
ddr_g12_offset_data- ddr_g12_offset_data  1 0  0 0  1 3                         
ddr_g12_override_data- ddr_g12_override_data  1 0  0 0  1 3                     
ddr_spec_test- DDR test function                                                
ddr_test_cmd- ddr_test_cmd cmd arg1 arg2 arg3...                                
ddr_test_copy- ddr_test_copy function                                           
ddrtest - DDR test function                                                     
defenv_reserv- reserve some specified envs after defaulting env                 
dhcp    - boot image via network using DHCP/TFTP protocol                       
dtimg   - manipulate dtb/dtbo Android image                                     
echo    - echo args to console                                                  
efuse   - efuse commands                                                        
efuse_user- efuse user space read write ops                                     
emmc    - EMMC sub system                                                       
env     - environment handling commands                                         
ethloop - ethloop       - loopback test using ethernet test package             
                                                                                
exit    - exit script                                                           
false   - do nothing, unsuccessfully                                            
fastboot- use USB Fastboot protocol                                             
fatinfo - print information about filesystem                                    
fatload - load binary file from a dos filesystem                                
fatls   - list files in a directory (default /)                                 
fatsize - determine a file's size                                               
fdt     - flattened device tree utility commands                                
forceupdate- forceupdate                                                        
g12_d2pll- g12_d2pll 1300  1 0x10 0                                             
get_avb_mode- get_avb_mode                                                      
get_rebootmode- get reboot mode                                                 
get_system_as_root_mode- get_system_as_root_mode                                
get_valid_slot- get_valid_slot                                                  
go      - start application at address 'addr'                                   
gpio    - query and control gpio pins                                           
gpt     - GUID Partition Table                                                  
guid    - GUID - generate Globally Unique Identifier based on random UUID       
hdmitx  - HDMITX sub-system 20190123                                            
help    - print command description/usage                                       
i2c     - I2C sub-system                                                        
icache  - enable or disable instruction cache                                   
img_osd - image osd sub-system                                                  
imgread - Read the image from internal flash with actual size                   
itest   - return true/false on integer compare                                  
jtagoff - disable jtag                                                          
jtagon  - enable jtag                                                           
keyman  - Unify key ops interfaces based dts cfg                                
keyunify- key unify sub-system                                                  
lcd     - lcd sub-system                                                        
loadb   - load binary file over serial line (kermit mode)                       
loadx   - load binary file over serial line (xmodem mode)                       
loady   - load binary file over serial line (ymodem mode)                       
loop    - infinite loop on address range                                        
macreg  - ethernet mac register read/write/dump                                 
md      - memory display                                                        
mm      - memory modify (auto-incrementing address)                             
mmc     - MMC sub system                                                        
mmcinfo - display MMC info                                                      
mtdparts- define flash/nand partitions                                          
mw      - memory write (fill)                                                   
mwm     - mw mask function                                                      
nand    - NAND sub-system                                                       
nboot   - boot from NAND device                                                 
nm      - memory modify (constant address)                                      
open_scp_log- print SCP messgage                                                
osd     - osd sub-system                                                        
phyreg  - ethernet phy register read/write/dump                                 
ping    - send ICMP ECHO_REQUEST to network host                                
plltest - test pll                                                              
printenv- print environment variables                                           
query   - SoC query commands                                                    
rarpboot- boot image via network using RARP/TFTP protocol                       
read_temp- cpu temp-system                                                      
reboot  - set reboot mode and reboot system                                     
reset   - Perform RESET of the CPU                                              
ringmsr - Amlogic measure ring                                                  
rpmb_state- RPMB sub-system                                                     
rsvmem  - reserve memory                                                        
run     - run commands in an environment variable                               
saradc  - saradc sub-system                                                     
saradc_12bit- 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                   
set_active_slot- set_active_slot                                                
set_trim_base- cpu temp-system                                                  
set_usb_boot- set usb boot mode                                                 
setenv  - set environment variables                                             
sf      - SPI flash sub-system                                                  
showvar - print local hushshell variables                                       
sleep   - delay execution for some time                                         
sspi    - SPI utility command                                                   
store   - STORE sub-system                                                      
systemoff- system off                                                           
tee_log_level- update tee log level                                             
temp_triming- cpu temp-system                                                   
test    - minimal test like /bin/sh                                             
tftpboot- boot image via network using TFTP protocol                            
true    - do nothing, successfully                                              
ubi     - ubi commands                                                          
ubifsload- load file from an UBIFS filesystem                                   
ubifsls - list files in a directory                                             
ubifsmount- mount UBIFS volume                                                  
ubifsumount- unmount UBIFS volume                                               
ui      - ui sub-system                                                         
unpackimg- un pack logo image into pictures                                     
update  - Enter v2 usbburning mode                                              
usb     - USB sub-system                                                        
usb_burn- Burning with amlogic format package in usb                            
usb_update- Burning a partition with image file in usb host                     
usbboot - boot from USB device                                                  
uuid    - UUID - generate random Universally Unique Identifier                  
version - print monitor, compiler and linker version                            
viu_probe- enable viu probe in no secure chip                                   
vout    - VOUT sub-system                                                       
vout2   - VOUT2 sub-system                                                      
vpp     - vpp sub-system                                                        
vpu     - vpu sub-system                                                        
write_trim- cpu temp-system                                                     
write_version- cpu temp-system

g12b_w400_v1#usb                                                                
usb - USB sub-system                                                            
                                                                                
Usage:                                                                          
usb start - start (scan) USB controller                                         
usb reset - reset (rescan) USB controller                                       
usb stop [f] - stop USB [f]=force stop                                          
usb tree - show USB device tree                                                 
usb info [dev] - show available USB devices                                     
usb test [dev] [port] [mode] - set USB 2.0 test mode                            
    (specify port 0 to indicate the device's upstream port)                     
    Available modes: J, K, S[E0_NAK], P[acket], F[orce_Enable]                  
usb storage - show details of USB storage devices                               
usb dev [dev] - show or set current USB storage device                          
usb part [dev] - print partition table of one or all USB storage    devices     
usb read addr blk# cnt - read `cnt' blocks starting at block `blk#'             
    to memory address `addr'                                                    
usb write addr blk# cnt - write `cnt' blocks starting at block `blk#'           
    from memory address `addr'  
    
g12b_w400_v1#env                                                                
env - environment handling commands                                             
                                                                                
Usage:                                                                          
env default [-f] -a - [forcibly] reset default environment                      
env default [-f] var [...] - [forcibly] reset variable(s) to their default valus
env delete [-f] var [...] - [forcibly] delete variable(s)                       
env export [-t | -b | -c] [-s size] addr [var ...] - export environment         
env import [-d] [-t [-r] | -b | -c] addr [size] - import environment            
env print [-a | name ...] - print environment                                   
env run var [...] - run commands in an environment variable                     
env save - save environment                                                     
env set [-f] name [arg ...]                                                     
                                                                                
g12b_w400_v1#print                                                              
720p60hz_deepcolor=rgb,8bit                                                     
EnableSelinux=permissive                                                        
Irq_check_en=0                                                                  
active_slot=normal                                                              
aml_dt=g12b_w400_b                                                              
avb2=0                                                                          
baudrate=115200                                                                 
bcb_cmd=get_avb_mode;get_valid_slot;                                            
boot_part=boot                                                                  
bootargs=init=/init console=ttyS0,115200 no_console_suspend earlycon=aml-uart,00
bootcmd=if test ${bootfromnand} = 1; then setenv bootfromnand 0; saveenv; else t
bootdelay=1                                                                     
bootfile=-h                                                                     
bootfromemmc=run cfgloademmc                                                    
bootfromnand=0                                                                  
bootfromsd=if mmcinfo; then run cfgloadsd; if fatload mmc 0 ${loadaddr} kernel.i
bootfromusb=usb start 0; run cfgloadusb; if fatload usb 0 ${loadaddr} kernel.imi
bootup_offset=0x1160d60                                                         
bootup_size=0x5eec38                                                            
ce_on_emmc=no                                                                   
cfgloademmc=for p in 1 2 3 4 5 6 7 8 9 A B C D E F 10 11 12 13 14 15 16 17 18; ;
cfgloadsd=if fatload mmc 0:1 ${loadaddr} cfgload; then setenv device mmc; seteni
cfgloadusb=if fatload usb 0:1 ${loadaddr} cfgload; then setenv device usb; setei
cmdline_keys=if keyman init 0x1234; then if keyman read usid ${loadaddr} str; t;
colorattribute=rgb,8bit                                                         
cvbs_drv=0                                                                      
cvbsmode=576cvbs                                                                
display_bpp=24                                                                  
display_color_bg=0                                                              
display_color_fg=0xffff                                                         
display_color_index=24                                                          
display_height=720                                                              
display_layer=osd0                                                              
display_width=1280                                                              
dtb_mem_addr=0x1000000                                                          
ethact=dwmac.ff3f0000                                                           
ethaddr=02:e1:ae:41:57:da                                                       
factory_reset_poweroff_protect=echo wipe_data=${wipe_data}; echo wipe_cache=${w
fb_addr=0x3d800000                                                              
fb_height=1080                                                                  
fb_width=1920                                                                   
fdt_high=0x20000000                                                             
fdtaddr=1000000                                                                 
firstboot=0                                                                     
frac_rate_policy=1                                                              
fs_type=rootfstype=ramfs                                                        
gatewayip=10.18.9.1                                                             
hdmi_read_edid=1                                                                
hdmimode=720p60hz                                                               
hostname=arm_gxbb                                                               
identifyWaitTime=750                                                            
init_display=get_rebootmode;echo reboot_mode:::: ${reboot_mode};if test ${reboo;
initargs=init=/init console=ttyS0,115200 no_console_suspend earlycon=aml-uart,0
initrd_high=7f800000                                                            
ipaddr=10.18.9.97                                                               
irremote_update=if irkey 2500000 0xe31cfb04 0xb748fb04; then echo read irkey ok\
fi;fi;fi;                                                                       
jtag=disable                                                                    
loadaddr=1080000                                                                
lock=10001000                                                                   
netmask=255.255.255.0                                                           
osd_reverse=0                                                                   
otg_device=1                                                                    
outputmode=720p60hz                                                             
panel_type=lcd_1                                                                
preboot=run bcb_cmd; run factory_reset_poweroff_protect;run upgrade_check;run i;
reboot_mode=cold_boot                                                           
reboot_mode_android=normal                                                      
recovery_from_flash=get_valid_slot;echo active_slot: ${active_slot};if test ${a;
recovery_from_sdcard=if fatload mmc 0 ${loadaddr} aml_autoscript; then autoscr ;
recovery_from_udisk=if fatload usb 0 ${loadaddr} aml_autoscript; then autoscr $;
recovery_offset=0                                                               
recovery_part=recovery                                                          
rpmb_state=1                                                                    
saradc_val=0x3fe                                                                
sdc_burning=sdc_burn ${sdcburncfg}                                              
sdcburncfg=aml_sdc_burn.ini                                                     
sddtb=if fatload mmc 0 ${dtb_mem_addr} dtb.img; then else store dtb read $dtb_mi
sdr2hdr=2                                                                       
secmon_clear_range=000010050000e001                                             
serial=1234567890                                                               
serverip=10.18.9.113                                                            
stderr=serial                                                                   
stdin=serial                                                                    
stdout=serial                                                                   
storeargs=setenv bootargs ${initargs} otg_device=${otg_device} reboot_mode_andr;
storeboot=boot_cooling;get_system_as_root_mode;echo system_mode: ${system_mode};
switch_bootmode=get_rebootmode;if test ${reboot_mode} = factory_reset; then set;
temp_env=0x01000000                                                             
try_auto_burn=update 700 750;                                                   
update=run usb_burning; run sdc_burning; if mmcinfo; then run recovery_from_sdc;
upgrade_check=echo upgrade_step=${upgrade_step}; if itest ${upgrade_step} == 3;;
upgrade_key=if gpio input GPIOAO_3; then echo detect upgrade key; run update;fi;
upgrade_step=2                                                                  
usb_burning=update 1000                                                         
usbdtb=if fatload usb 0 ${dtb_mem_addr} dtb.img; then else store dtb read $dtb_i
video_reverse=0                                                                 
wipe_cache=successful                                                           
wipe_data=successful                                                            
                                                                                
Environment size: 8981/65532 bytes     
    
setenv serverip 192.168.1.113                                      
setenv gatewayip 192.168.1.1                                       
setenv ipaddr 192.168.1.145                                        
saveenv

(0)

相关推荐

  • SAP Spartacus 如何借助env-cmd 实现 B2B 和 B2C 功能启动的无缝切换

    在之前的 SAP Spartacus 标准开发中,每次我从 Github 上 clone 了最新的代码后,必须手动修改 environment.ts 里的配置值,将 CX_BASE_URL 和 b2b ...

  • 瑞芯微RK3568芯片简介

    瑞芯微RK3568芯片是一款定位中高端的通用型SOC,采用22nm制程工艺,集成4核arm架构A55处理器和Mali G52 2EE图形处理器,支持4K解码和1080P编码.RK3568支持SATA/ ...

  • 【精彩博文】AC701的DDR3测试读写(1)

    今天是重阳节,所以提前祝福重阳节快乐.因为DDR3讲解内容比较多,所以分解成3节进行讲解.一个做FPGA的人如果不懂DDR3,Serdes,那基本等于没学习fpga.所以必须掌握ddr控制器才能深入f ...

  • 【精品博文】加班猫:AC701的DDR3测试读写(2)

    这个是文章的开头,前些日子去面试,面试的人说,我没用过V6芯片,S10芯片是不是档次太低了. 如今我在fpga行业已经待了快6年时光,这6年时光,感觉到fpga路子越来越窄的趋势.然后今年我忽然觉得, ...

  • 算法工程师的工程修养:Dockerfile 文件

    获取有趣.好玩的前沿干货! Docker 可以通过读取 Dockerfile 中的指令自动构建镜像.Dockerfile 是一个文本文档,其中包含了用户创建镜像的所有命令和说明. 一. 变量 变量用  ...

  • vivado下ddr3的读写和测试详解

    最近博主在根据例程做ddr3的读写测试,发现根本看不到好吧,虽然之前博主做过SDRAM的读写测试,但是ddr3更加复杂,时序写起来很吃力,所以需要用到vivado下自带的ip核.具体来看下面例化过程: ...

  • 读U-Boot源码-C语言编程大法总结篇一

    导读:如本人在<U-Boot架构浅析>所说,U-Boot具有十大黄金原则:小巧.快速.简单.可移植.可配置.可调试.易用.可维护.优雅.开源.面对如此精美的作品,如不深究,从提升编程技艺角 ...

  • uboot引导linux内核命令bootm

    uboot引导linux内核命令bootm 2019年04月20日 ⁄ 操作系统 ⁄ 共 11795字 ⁄ 字号 小 中 大 ⁄ 评论关闭 uboot中bootm命令的具体分析 /*本文的部分内容参考 ...

  • 图解U-Boot:引导内核分析

    zhouchibaooo 2013-02-24 11:35:38 from: http://blog.csdn.net/ce123/article/details/7319290 U-Boot的命令为 ...

  • uboot启动zImage(go)和uImage(bootm)分析

    yazhouren 2016-07-17 20:56:50 origin: http://linux.chinaunix.net/techdoc/install/2009/03/15/1101440. ...

  • 深度解析:嵌入式之uboot

    深度解析:嵌入式之uboot

  • UBOOT和uImage

    UBOOT和uImage Inch_D 2018-05-24 19:07:00  4096  收藏 3 分类专栏: UBOOT 版权 1. UImage介绍 UImage是为了配合uboot而定义的一 ...

  • 【整理】BIOS、BootLoader、uboot对比

    bios BIOS是英文'Basic Input Output System'的缩略语,直译过来后中文名称就是'基本输入输出系统'.其实,它是一组固化到计算机内主板上一个ROM芯片上的程序,它保存着计 ...

  • u-boot在blackfin上的移植

    2009-11-10 14:27:0 微软Ignite大会开启预约,体验独一无二的微软技术旅程!首次全中文体验,6小时不停歇在线直播,红衣教主ScottGu 还将进行线上答疑!加入线上技术专区与更多开 ...

  • u-boot

    u-boot

  • 编译U-Boot时command not found的解决方法

    我使用的U-Boot版本是u-boot-2012.10,编译的步骤为 cd u-boot-2012.10make s5p_goni_configsudo make 然后,就会看到错误提示 /bin/b ...