omi
omi copied to clipboard
Fix DK2 debugging
Well, I found the issue — there was a missing method call (looks like someone vibe-coded it and didn’t test 😅).
The frustrating part is that the file has been renamed multiple times, and the last changes were from last year… so it seems like nobody has properly debugged it all this time.
// Original (broken):
LOG_DBG("TX PHY %s, RX PHY %s", phy2str(info.le.phy->tx_phy), phy2str(info.le.phy->rx_phy));
// Fixed:
LOG_DBG("TX PHY: %d, RX PHY: %d", info.le.phy->tx_phy, info.le.phy->rx_phy);
I’ve fixed that error.
Feel free to apply my patch.
That said, when you boot Omi with debug enabled — it simply won’t boot at all.
So at this point, I have no idea how to properly debug it 😐
Link to related issue https://discord.com/channels/1192313062041067520/1223285895487164506/1320890549418594418
So lets make it work again!
this will help with #2130