uboot setenv ethaddr

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

uboot setenv ethaddr

1,331 Views
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 Kudos
Reply
3 Replies

1,323 Views
Joey_z
NXP Employee
NXP Employee

hi,shiyiheng

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

BR

Joey

0 Kudos
Reply

1,321 Views
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 Kudos
Reply

1,291 Views
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 Kudos
Reply