B E L K Q u i c k S t a r t G u i d e
v . 1 . 0 . 9
5
Appendixes
5.1
U-Boot environment
The following is the u-boot environment that can be printed
using the
command (please note this is an example and
that the actual variables may differ for different U-Boot
settings):
addcons=setenv bootargs ${bootargs} console=${console},115200n8 debug earlyprintk
addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gateway}:${netmask}:$
{hostname}:${ethdev}
addmisc=setenv bootargs ${bootargs} maxcpus=${nr_cpus} cma=16M
baudrate=115200
bootaddr=0x101100
bootcmd=run ${modeboot}
bootdelay=3
bootenv=uEnv.txt
bootfile=bora/uImage
configid_fixupfdt=if configid checkfdt ${fdtaddr} som_configid ${som_configid#}; then if
configid checkfdt ${fdtaddr} cb_configid ${cb_configid#}; then configid fdt_uniqueid $
{fdtaddr}; fi; fi
console=ttyPS0
ethact=zynq_gem
ethaddr=00:50:C2:1E:AF:E0
ethdev=eth0
fdt_base=0x00780000
fdt_high=0x1F000000
fdtaddr=0x02000000
fdtfile=bora/bora.dtb
fpga_base=0x00180000
fpgafile=bora/bora.bin
fsbl_base=0x40000
gateway=192.168.0.254
header_base=0
hostname=bora
importbootenv=echo Importing environment from mmc ...; env import -t ${loadaddr} ${filesize}
ipaddr=192.168.0.89
jtag_vx=run vxargs; bootvx 0x200000
kernel_base=0x00800000
load=tftpboot ${loadaddr} bora/u-boot.bin
loadaddr=0x02080000
loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}
loadfdt=tftpboot ${fdtaddr} ${fdtfile}
loadfpga=tftpboot ${loadaddr} ${fpgafile}
loadfsbl=tftpboot ${loadaddr} bora/bora_fsbl.bin
loadhdr=tftpboot ${loadaddr} bora/boot_header
loadk=tftpboot ${loadaddr} ${bootfile}
loadvx=tftpboot ${loadaddr} ${vxfile}
mmcargs=setenv bootargs root=/dev/mmcblk0p${mmcpart} rw
mmcdev=0
mmcpart=2
net_nfs=run loadk loadfdt nfsargs addip addcons addmisc; if run configid_fixupfdt; then
bootm ${loadaddr} - ${fdtaddr}; fi
net_vx=run loadvx vxargs; bootvx ${loadaddr}
netmask=255.255.255.0
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath},tcp
nr_cpus=2
program_fpga=run loadfpga;fpga load 0 ${loadaddr} 0x${filesize}
qspiboot=echo Booting from QSPI: use net_nfs && run net_nfs
ramdisk_size=0x200000
rootpath=/opt/nfsroot/bora/belk
sdboot=if mmcinfo; then run uenvboot; echo Copying Linux from SD to RAM... && fatload mmc 0
March, 2016
65/66