TI论坛
直播中

吕昊

7年用户 235经验值
私信 关注
[问答]

怎么把uImage加载后启动的DHCP,获取IP地址给关闭呢?

DM8168 dvrrdk  tftp加载uImage启动后,在挂载文件系统之前,还有一次dhcp,
怎么关闭呢,想使用静态的IP地址,

回帖(2)

吴立节

2018-6-21 08:14:27
bootargs 你那里是设置为 ip=dhcp么
举报

李裕伦

2018-6-21 08:21:50
DM81xx_DVR_RDK_Install_Guide.pdf 里有讲的,
Use the following steps to setup the boot arguments
i. bootargs
a. For static IP
UBOOT# setenv bootargs 'mem=256M console=ttyO2,115200n8 root=/dev/nfs
rw nfsroot=192.168.1.151:/home/work/netra/dvr/rfs
ip=$[ipaddr]:$[serverip]:$[gatewayip]:$[netmask]::eth0:off
vram=20M notifyk.vpssm3_sva=0xBEE00000'
b. For DHCP based IP
UBOOT# setenv bootargs 'mem=256M console=ttyO2,115200n8 root=/dev/nfs
rw nfsroot=192.168.1.151:/home/work/netra/dvr/rfs ip=dhcp
vram=20M notifyk.vpssm3_sva=0xBEE00000
举报

更多回帖

发帖
×
20
完善资料,
赚取积分