This shows you the differences between two versions of the page.
ass:labs-2025:03:tasks:02 [2025/08/06 15:28] radu.mantu [02. Enabling networking on iMX93] |
ass:labs-2025:03:tasks:02 [2025/08/06 18:03] (current) radu.mantu |
||
---|---|---|---|
Line 25: | Line 25: | ||
Why is it not a full 1Gbps? | Why is it not a full 1Gbps? | ||
- | <hidden> | ||
<spoiler Hint #1> | <spoiler Hint #1> | ||
This line from **dmesg** tells us why the Network Interface Controller (NIC) remains unavailable. | This line from **dmesg** tells us why the Network Interface Controller (NIC) remains unavailable. | ||
Line 33: | Line 32: | ||
</code> | </code> | ||
</spoiler> | </spoiler> | ||
- | </hidden> | ||
- | <hidden> | ||
<spoiler Hint #2> | <spoiler Hint #2> | ||
The driver can be found at ''linux/drivers/net/ethernet/freescale/fec_main.c''. \\ | The driver can be found at ''linux/drivers/net/ethernet/freescale/fec_main.c''. \\ | ||
- | There, the ``fec_get_mac()`` function will tell you how the driver gets the NIC's MAC address. \\ | + | There, the ''fec_get_mac()'' function will tell you how the driver gets the NIC's MAC address. \\ |
Try to provide it via another means, other than through the eFuse protected by the EdgeLink Enclave (that doesn't work). | Try to provide it via another means, other than through the eFuse protected by the EdgeLink Enclave (that doesn't work). | ||
</spoiler> | </spoiler> | ||
- | </hidden> | ||
- | <hidden> | ||
<spoiler Hint #3> | <spoiler Hint #3> | ||
In ''linux/net/ethernet/eth.c'' look at the comments of the ''fwnode_get_mac_address()'' function. \\ | In ''linux/net/ethernet/eth.c'' look at the comments of the ''fwnode_get_mac_address()'' function. \\ | ||
Line 49: | Line 44: | ||
Try spoofing the MAC address of [[https://gist.github.com/aallan/b4bb86db86079509e6159810ae9bd3e4|some vendor]]. | Try spoofing the MAC address of [[https://gist.github.com/aallan/b4bb86db86079509e6159810ae9bd3e4|some vendor]]. | ||
</spoiler> | </spoiler> | ||
- | </hidden> |