|
之前调试内核,设置了tftp启动。现在想烧到板子上去,发现没法烧录。uboot中也少了destroyenv、saveenv等命令。如下:
Hit any key to stop autoboot: 0
MYIMX6EK200 > ?
? - alias for 'help'
autoscr - DEPRECATED - use "source" command instead
base - print or set address offset
bdinfo - print Board Info structure
bmp - manipulate BMP image data
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
clk - Clock sub system
cls - clear screen
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
dhcp - boot image via network using DHCP/TFTP protocol
echo - echo args to console
erase - erase FLASH memory
exit - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
flinfo - print FLASH memory information
go - start application at address 'addr'
help - print online help
i2c - I2C sub-system
iminfo - print header information for application image
imxotp - One-Time Programable sub-system
imxtract- extract a part of a multi-image
itest - return true/false on integer compare
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mtest - simple RAM read/write test
mw - memory write (fill)
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
regul - Regulator sub system
reset - Perform RESET of the CPU
run - run commands in an environment variable
setenv - set environment variables
sf - SPI flash sub-system
showvar - print local hushshell variables
sleep - delay execution for some time
source - run script from memory
sspi - SPI utility commands
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
version - print monitor version
打印uboot的参数为:
bootdelay=3
baudrate=115200
netmask=255.255.255.0
loadaddr=0x10800000
rd_loadaddr=(0x10800000 + 0x300000)
netdev=eth0
ethprime=FEC0
uboot=uboot-myimx6ek200-6s.bin
kernel=uImage-myimx6ek200
ethaddr=00:01:02:03:04:05
nfsroot=/home/myzr/srv/nfs/rootfs
bootargs_mmc=setenv bootargs ${bootargs} ip=none root=/dev/mmcblk0p1 rootwait
bootcmd_tftp=run bootargs_base bootargs_mmc; tftpboot ${loadaddr} ${kernel}; bootm
bootcmd_mmc=run bootargs_base bootargs_mmc; mmc dev 2; mmc read ${loadaddr} 0x800 0x2000; bootm
update_uboot=tftpboot ${loadaddr} ${uboot}; sf probe 1; sf erase 0 0x200000; sf write ${loadaddr} 0 0x80000
update_uImage=tftpboot ${loadaddr} ${kernel}; mmc dev 2; mmc write ${loadaddr} 0x800 0x2000
splashimage=0x1D000000
splashpos=m,m
lvds_num=1
ethact=FEC0
ipaddr=192.168.123.241
serverip=192.168.123.250
bootargs_base=setenv bootargs console=ttymxc0,115200 nosmp video=mxcfb0:dev=lcd,SEIKO-WVGA,if=RGB240
bootargs_nfs=setenv bootargs ${bootargs} root=/dev/mmcblk0p1 rootwait0
bootcmd_net=run bootargs_base bootargs_nfs;bootm
bootargs=console=ttymxc0,115200 nosmp video=mxcfb0:dev=lcd,SEIKO-WVGA,if=RGB240 root=/dev/mmcblk0p1 rootwait0
bootfile=uImage
bootcmd=tftpboot uImage-asg; run bootcmd_net
stdin=serial
stdout=serial
stderr=serial
现在没法烧录,启动内核还得使用烧录工具才能启动,很奇怪,还请给予帮助,谢谢。
|
|