NixOS on ARM/PINE64 ROCKPro64: Difference between revisions
imported>Lopsided98 No edit summary |
imported>Lopsided98 I thought mainline didn't need the ethernet checksumming fix anymore, but it still does. |
||
| Line 40: | Line 40: | ||
{{note|Prior to NixOS 20.03, a downstream version of U-Boot 2017.09 was packaged, which placed U-Boot in a single <code>idbloader.img</code> file. If that version is used, simply disregard the second command above.}} | {{note|Prior to NixOS 20.03, a downstream version of U-Boot 2017.09 was packaged, which placed U-Boot in a single <code>idbloader.img</code> file. If that version is used, simply disregard the second command above.}} | ||
On many kernels, the ethernet driver cannot handle hardware check-summing of large packets, therefore this feature must be disabled for the ethernet to be stable. This can be done with the following NixOS configuration: | |||
<syntaxhighlight lang="nix"> | |||
networking.localCommands = '' | |||
${pkgs.ethtool}/bin/ethtool -K eth0 rx off tx off | |||
''; | |||
</syntaxhighlight> | |||
== Serial console== | == Serial console== | ||