Martijn Braam on Nostr: Managed to read the SNMP counters from the RTL8367S chip now. Basically a straight ...
Managed to read the SNMP counters from the RTL8367S chip now. Basically a straight port from the Linux kernel driver to the RP2040 to poke the right registers.
All this works weirdly in the realtek chip because it's all indirect reads by writing adresses to random registers.
Published at
2024-07-12 00:37:53Event JSON
{
"id": "1830b5c34015b240eb711ffe4b20b9e12f6c1af3ef2bf243a15b5eb1b632ffae",
"pubkey": "579852afc54f2f4b992d5c48441d63f6545c530a7371764b6e67325d585ea6a1",
"created_at": 1720744673,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/users/martijnbraam/statuses/112770722934698040",
"activitypub"
]
],
"content": "Managed to read the SNMP counters from the RTL8367S chip now. Basically a straight port from the Linux kernel driver to the RP2040 to poke the right registers.\n\nAll this works weirdly in the realtek chip because it's all indirect reads by writing adresses to random registers.\n\nhttps://cdn.fosstodon.org/media_attachments/files/112/770/717/752/849/554/original/dda0039e7ac66e1d.png",
"sig": "470dade1b1a8e69c4c16cb962ccbb8da3318b6144dbc0ae3a49fddfd4c814c1a1a7ee82f52a4bfeab8a52f11215ea9ca196222d8093cf45149a69608db794afe"
}