MAC address abnormal

Hi,

We use carrier board which we design for our development.
We had two piece carrier board get the same wifi MAC address which is 00:90:4C:11:22:33, and even we change three TX1 module all have the same result.
It seems our carrier board issue, but we have no idea about how the carrier board could affect the MAC address.

Appreciate for any advice.

Thanks

Ray0420,

Looks like you failed to read mac addr from EEPROM. Please share your dmesg to me.

Hi WayneWWW,

Attachment the dmesg.

macaddress_issue.txt (76.9 KB)

Hi,

Your log is too long to put in one comment. Please upload as attachment or use the code block function in the editor.

Before you upload your log, I saw it also fail to read ethernet mac.

[ 4.320365] r8152 2-1:1.0 (unregistered net_device): bad mac address at /chosen/nvidia,ethernet-mac: missing.

Is your device able to read eeprom through tools like i2cdump? Please refer EEPROM layout to see if you can get the result or not.

https://developer.nvidia.com/embedded/dlc/tx1-tx2-module-eeprom-layout

Hi WayneWWW,

I have already edited it as code block.

Thanks

Hi Ray,

I still cannot see the full log from my side…

Hi WayneWWW,

Sorry to confuse.
I put the file as an attachment, by the way, which i2c should I check, and what’s the EEPROM i2c ID?

Thanks

Sorry for late reply. Please try

sudo i2cdump -y 7 0x50

Below log is as expectation, there is no mac addr read from EEPROM.

[   10.186555] platform 5.regulator: Driver reg-fixed-sync-voltage requests probe deferral
[   10.186640] wifi_platform_set_power = 1
[   10.388277] wifi_platform_bus_enumerate device present 1
[   10.405197] platform d1.regulator: Driver reg-fixed-sync-voltage requests probe deferral
[   10.405440] platform d3.regulator: Driver reg-fixed-sync-voltage requests probe deferral
[   10.405571] reg-fixed-sync-voltage 5.regulator: Consumer c1 does not have device name
[   10.405608] platform 5.regulator: Driver reg-fixed-sync-voltage requests probe deferral
[   10.405737] wifi_platform_bus_enumerate device present 0
[   10.406089] SDIO Vendor ID:02d0 and SDIO Device ID: 4354
[   10.406475] F1 signature read @0x18000000=0x17214354
[   10.419513] F1 signature OK, socitype:0x1 chip:0x4354 rev:0x1 pkg:0x2
[   10.420718] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[   10.420845] wifi_platform_prealloc: failed to alloc static mem section 7
[   10.420853] wifi_platform_get_mac_addr
[   10.421174] of_get_mac_address: checking /chosen dtb node for mac address property nvidia,wifi-mac
[   10.421235] _of_get_mac_address_dtb: bad mac address at /chosen/nvidia,wifi-mac: null.
[   10.421237] of_get_mac_address: checking file /mnt/factory/wifi/wifi_mac.txt for mac address

Hi WayneWWW,

After I executing the command, the result shows that TX1 couldn’t find this device.
I just could see 0x50 in i2c 2(sudo i2cdetect -y 2), is there something wrong with my system?

Thanks

Ray0420,

I think it is due to your carrier board. Could you move the module to devkit and see if EEPROM can be read on that?