Configure U-Boot For Tftp - SMART Embedded Computing COMX-P2020 BSP User Manual

Hide thumbs Also See for COMX-P2020 BSP:
Table of Contents

Advertisement

U-boot Deployment
U-boot Deployment
upgradespi=sf probe 0;setenv startaddr 0;setenv erasesize a0000;tftp
1000000 $tftppath/$uboot_spi;sf erase $startaddr $erasesize;sf write
1000000 $startaddr $filesize;sf erase 100000 120000
clearspienv=sf probe 0;sf erase 100000 20000
othbootargs=ramdisk_size=700000 cache-sram-size=0x10000
netdev=eth0
rootdelaysecond=15
uboot_nor=u-boot-nor.bin
uboot_spi=u-boot-spi.bin
uboot_sd=u-boot-sd.bin
consoledev=ttyS0
ramdiskaddr=2000000
ramdiskfile=rootfs-dev.ext2.img
fdtaddr=c00000
fdtfile=comx.dtb
tftppath=COMX-P2020/current
DVO_OUTPUT=enable
ethaddr=00:80:42:05:44:02
eth1addr=00:80:42:05:44:03
eth2addr=00:80:42:05:44:04
ethact=eTSEC1
Environment size: 2804/8188 bytes
=>
5.5.2

Configure U-boot for tftp

The following environment settings are required to configure the u-boot for tftp:
=> setenv ethaddr <MAC Address 1>
=> setenv eth1addr <MAC Address 2>
=> setenv eth2addr <MAC Address 3>
=>setenv ethact eTSEC1
=>setenv ipaddr <board_ipaddress>
=>setenv serverip <tftp_serverip>
=>setenv gatewayip <your_gatewayip>
=>setenv netmask <net_mask>
66
COMX-P2020 BSP User Guide (6806800L84C)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COMX-P2020 BSP and is the answer not in the manual?

Table of Contents