赞
踩
setenv bitstream_load_address 0x100000
setenv bitstream_image system.bit
setenv bitstream_size 0x300000
setenv kernel_image zImage
setenv devicetree_image system.dtb
setenv bootargs 'console=ttyPS0,115200 earlyprintk root=/dev/mmcblk0p2 rw rootwait'
setenv sdboot 'if mmcinfo; then run uenvboot; echo Copying Linux from SD to RAM... && load mmc 0 ${bitstream_load_address} ${bitstream_image} && fpga loadb 0 ${bitstream_load_address} ${bitstream_size} &&load mmc 0 ${kernel_load_address} ${kernel_image} && load mmc 0 ${devicetree_load_address}${devicetree_image} && bootz ${kernel_load_address} - ${devicetree_load_address}; fi'
setenv bootargs 'console=ttyPS0,115200 root=/dev/nfs rw nfsroot=192.168.1.3:/home/gsl/linux/nfs/rootfs,nfsvers=3 ip=192.168.1.117:192.168.1.3:192.168.1.1:255.255.255.0::eth0:off'
setenv xjtftpboot 'tftpboot ${bitstream_load_address} ${bitstream_image} && fpga loadb 0 ${bitstream_load_address} ${bitstream_size} &&tftpboot ${kernel_load_address} ${kernel_image} && tftpboot ${devicetree_load_address} ${devicetree_image} && bootz ;'
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block
采用如下设置
setenv bootargs ‘console=ttyPS0,115200 root=/dev/nfs nfsroot=192.168.1.3:/home/gsl/linux/nfs/rootfs,tcp ip=dhcp rw’
ubuntu 版本特殊,需要设置 nfsvers=3 进行版本支持
IP-Config: Retrying forever (NFS root)…
Sending DHCP requests … timed out!
setenv bootargs ‘console=ttyPS0,115200 root=/dev/nfs nfsroot=192.168.1.3:/home/gsl/linux/nfs/rootfs,tcp,nfsvers=3 ip=dhcp rw’
千兆网络相关问题,具体原因待分析,在bootargs中设置了DHCP属性,去掉DHCP属性,采用固定IP地址。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。