sc58x config

addip=set bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:
${hostname}:eth0:off                                                            
autoload=no                                                                     
baudrate=115200                                                                 
bootargs=root=/dev/mmcblk0p1 rw rootfstype=ext3 clkin_hz=(25000000) console=ttyS
C0 ,115200  earlyprintk mem=480M                                                
bootcmd=run ramboot                                                             
bootdelay=3                                                                     
dtbaddr=0x84000000                                                              
dtbfile=sc58x-ezkit-hpc.dtb                                                     
ethact=dwmac.3100e000                                                           
ethaddr=02:80:ad:20:31:e8                                                       
flashboot=setenv filesize 0;tftp ${loadaddr} ${ubootfile};if test $filesize -gt
0; then sf probe 2:1;sf erase 0 0x80000;sf write ${loadaddr} 0 ${filesize}; else
 echo Load ${ubootfile} fail!;fi                                                
flashmmc=mmc rescan;mmc erase 0 3800;tftp ${dtbaddr} ${dtbfile};mmc write ${dtba
ddr} 0 800;tftp ${loadaddr} ${kernelfile};mmc write ${loadaddr} 800 3000        
gatewayip=192.168.20.1                                                          
hostname="sc58x"                                                                
ipaddr=192.168.20.15                                                            
kernelfile=uImage                                                               
loadaddr=0x82000000                                                             
loads_echo=1                                                                    
mmcboot=mmc rescan;mmc read ${loadaddr} 800 3000;mmc read ${dtbaddr} 0 800;run r
amargs;run addip;bootm ${loadaddr} - ${dtbaddr}                                 
nc=set ncip ${serverip};set stdin nc;set stdout nc;set stderr nc                
netmask=255.255.255.0                                                           
nfsargs=set bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath},tcp,nfsver
s=3                                                                             
nfsboot=tftp ${loadaddr} ${nfsfile};run nfsargs;run addip;bootm                 
nfsfile=vmImage                                                                 
ramargs=set bootargs root=/dev/mmcblk0p1 rw rootfstype=ext3 clkin_hz=(25000000)
console=ttySC0 ,115200  earlyprintk mem=480M                                    
ramboot=tftp ${loadaddr} ${kernelfile};tftp ${dtbaddr} ${dtbfile};run ramargs;ru
n addip;bootm ${loadaddr} - ${dtbaddr}                                          
rootpath=/romfs                                                                 
sdboot=set bootargs root=/dev/mmcblk0p1 rw rootfstype=ext3 clkin_hz=(25000000) c
onsole=ttySC0 ,115200  earlyprintk mem=480M;ext4load mmc 0:1 ${loadaddr} ${kerne
lfile};ext4load mmc 0:1 ${dtbaddr} ${dtbfile};bootm ${loadaddr} - ${dtbaddr}    
serverip=192.168.20.209                                                         
stderr=serial                                                                   
stdin=serial                                                                    
stdout=serial                                                                   
ubootfile=u-boot.ldr

posted on 2017-03-30 09:59  嵌入式操作系统  阅读(189)  评论(0编辑  收藏  举报

导航