少年郎 发表于 2016-5-9 22:06:37

开发板启动

按照Linux用户手册的167页进行开发板NFS挂载,结果开发板TFTP不能下载,我就把自动下载环境变量改为no,结果开发板一直处在启动时的飞凌嵌入式部分,再也到不了图形界面了。
请教一下有没有回复开发板原来设置的办法,我不想挂载了,,,,,,修改后的环境变量如下
auto_update_nand=echo ---------------Begin update system to Nand---------------;led all on;setenv TYPE 0;nand erase.chip;mmc rescan; setenv TYPE 1;fatload mmc 0 80A00000 MLO;               setenv TYPE 2;nand write.i 80A00000 0 ${filesize}; setenv TYPE 3;fatload mmc 0 80A00000 u-boot.img;setenv TYPE 4;nand write.i 80A00000 800000 ${filesize}; setenv TYPE 5;fatload mmc 0 80A00000 uImage;       setenv TYPE 6;nand write.i 80A00000 c00000 ${filesize}; setenv TYPE 7;fatload mmc 0 80A00000 ubi.img;       setenv TYPE 8;nand write.i 80A00000 1400000 ${filesize};setenv TYPE 9;fatload mmc 0 80A00000 logo.bmp;setenv TYPE 10;nand write.i 80A00000 600000 ${filesize};echo ;echo --------------Update system to Nand success--------------;led flash all;
autoload=no
baudrate=115200
bootargs=console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.25.129:/nfs_rootfs,nolock rw ip=192.168.25.1:192.168.25.129:192.168.25.255:255.255.255.0::eth0:off screentype=R screensize=800x600-vga
bootargs_defaults=setenv bootargs console=${console} ${optargs}
bootcmd=bootcmd
bootdelay=10
bootdev=NAND
bootenv=uEnv.txt
bootfile=uImage
calibrate=Y
console=ttyO0,115200n8
ethact=cpsw
ethaddr=50:72:24:fc:4a:bf
fdt_high=0xffffffff
fdtaddr=0x80F80000
findfdt=if test $board_name = A335BONE; then setenv fdtfile am335x-bone.dtb; fi; if test $board_name = A33515BB; then setenv fdtfile am335x-evm.dtb; fi; if test $board_name = A335X_SK; then setenv fdtfile am335x-evmsk.dtb; fi
importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr $filesize
ip_method=none
ipaddr=192.168.0.232
kloadaddr=0x80007fc0
laohua=Y
loadaddr=0x80200000
loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}
loadramdisk=fatload mmc ${mmcdev} ${rdaddr} ramdisk.gz
loaduimage=ext2load mmc ${mmcdev}:2 ${kloadaddr} /boot/${bootfile}
loaduimagefat=fatload mmc ${mmcdev} ${kloadaddr} ${bootfile}
mmcargs=run bootargs_defaults;setenv bootargs ${bootargs} root=${mmcroot} rootfstype=${mmcrootfstype} ip=${ip_method} screentype=${screentype} screensize=${screensize} calibrate=${calibrate} laohua=${laohua}
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${kloadaddr}
mmcdev=0
mmcroot=/dev/mmcblk0p2 ro
mmcrootfstype=ext3 rootwait
nandargs=setenv bootargs console=${console} ${optargs} root=${nandroot} rootfstype=${nandrootfstype} screentype=${screentype} screensize=${screensize} calibrate=${calibrate} laohua=${laohua}
nandboot=echo Booting from nand ...; run nandargs; nand read ${loadaddr} ${nandsrcaddr} ${nandimgsize}; bootm ${loadaddr}
nandimgsize=0x500000
nandroot=ubi0:rootfs rw ubi.mtd=7,2048
nandrootfstype=ubifs rootwait=1
nandsrcaddr=0xc00000
netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
netboot=echo Booting from network ...; setenv autoload no; dhcp; tftp ${loadaddr} ${bootfile}; run netargs; bootm ${loadaddr}
nfsopts=nolock
ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} rootfstype=${ramrootfstype}
ramboot=echo Booting from ramdisk ...; run ramargs; bootm ${loadaddr}
ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=${rdaddr},64M
ramrootfstype=ext2
rdaddr=0x81000000
rootpath=/export/rootfs
screensize=800x480-7
screentype=C
serverip=192.168.25.129
spiargs=setenv bootargs console=${console} ${optargs} root=${spiroot} rootfstype=${spirootfstype}
spiboot=echo Booting from spi ...; run spiargs; sf probe ${spibusno}:0; sf read ${loadaddr} ${spisrcaddr} ${spiimgsize}; bootm ${loadaddr}
spibusno=0
spiimgsize=0x362000
spiroot=/dev/mtdblock4 rw
spirootfstype=jffs2
spisrcaddr=0xe0000
splashimage=0x84000000
static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
stderr=serial
stdin=serial
stdout=serial
update_nand=echo ---------------Begin update system to Nand---------------;led all on;setenv TYPE 0;nand erase.chip;mmc rescan; setenv TYPE 1;fatload mmc 0 80A00000 MLO;               setenv TYPE 2;nand write.i 80A00000 0 ${filesize}; setenv TYPE 3;fatload mmc 0 80A00000 u-boot.img;setenv TYPE 4;nand write.i 80A00000 800000 ${filesize}; setenv TYPE 5;fatload mmc 0 80A00000 uImage;       setenv TYPE 6;nand write.i 80A00000 c00000 ${filesize}; setenv TYPE 7;fatload mmc 0 80A00000 ubi.img;       setenv TYPE 8;nand write.i 80A00000 1400000 ${filesize};setenv TYPE 9;fatload mmc 0 80A00000 logo.bmp;setenv TYPE 10;nand write.i 80A00000 600000 ${filesize};echo ;echo --------------Update system to Nand success--------------;led all on;

飞凌-unix 发表于 2016-5-20 15:56:01

您好,最简单方法就是通过sd卡自动烧写。

AAAAA 发表于 2016-6-2 15:09:24

使用tftp的话,在确认系统tftp服务配置成功后,检查底板能否ping通系统,再进行挂载操作。
页: [1]
查看完整版本: 开发板启动