Skip to content

Commit

Permalink
ethernet fix: use phy-mode = "rgmii"
Browse files Browse the repository at this point in the history
  • Loading branch information
stapelberg committed Apr 8, 2020
1 parent 067735a commit f6ebcbc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions 0004-rpi4b-phy-mode-rgmii.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts 2020-04-04 19:40:06.725699191 +0200
+++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts 2020-04-08 14:11:03.066580787 +0200
@@ -127,7 +127,7 @@

&genet {
phy-handle = <&phy1>;
- phy-mode = "rgmii-rxid";
+ phy-mode = "rgmii";
status = "okay";
};

Binary file modified bcm2711-rpi-4-b.dtb
Binary file not shown.
1 change: 1 addition & 0 deletions cmd/gokr-rebuild-kernel/kernel.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ var dockerFileTmpl = template.Must(template.New("dockerfile").

var patchFiles = []string{
"0001-Revert-add-index-to-the-ethernet-alias.patch",
"0004-rpi4b-phy-mode-rgmii.patch",
// serial
"0101-expose-UART0-ttyAMA0-on-GPIO-14-15-disable-UART1-tty.patch",
"0102-expose-UART0-ttyAMA0-on-GPIO-14-15-disable-UART1-tty.patch",
Expand Down

0 comments on commit f6ebcbc

Please sign in to comment.