uboot setenv ethaddr

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

uboot setenv ethaddr

1,338件の閲覧回数
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,330件の閲覧回数
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,328件の閲覧回数
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,298件の閲覧回数
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 件の賞賛
返信