uboot setenv ethaddr

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

uboot setenv ethaddr

1,332 次查看
shiyiheng
Contributor III

Hello I want to fix the mac address of the S32G gmac, I execute the following command under uboot

setenv ethaddr d6:20:eb:40:75:d8

saveenv

The mac address obtained when running ifconfig eth0 to the kernel is different from ethaddr. Does the current s32g support mac address passing from uboot to the kernel.

0 项奖励
回复
3 回复数

1,324 次查看
Joey_z
NXP Employee
NXP Employee

hi,shiyiheng

Are you using S32G2 or S32G3? Which version of BSP are you using?

BR

Joey

0 项奖励
回复

1,322 次查看
shiyiheng
Contributor III

I am using S32G3,RDB3 development version I, BSP34 version, I have tried other versions, it seems that it is not possible.

0 项奖励
回复

1,292 次查看
Joey_z
NXP Employee
NXP Employee

hi,shiyiheng

Sorry for the reply late.

You can try modifying the u-boot env variable as shown in the picture.

Hope it can help you.

BR

Joey

0 项奖励
回复