Skip to content

Commit

Permalink
ramips: fix WLI-TX4-AG300N boot and network
Browse files Browse the repository at this point in the history
Partition label "linux" prevents the root file system to be mounted at
boot time leading to a kernel panic. After changing it to "firmware",
the 2 uimage partitions "kernel", "rootfs" and squashfs "rootfs_data"
are correctly recognized.

The attached IP175C 10/100 MBit switch cannot connect to a link with
fixed 1000Mbit speed. The correct link speed is 100MBit. The switch
is detected and can be configured via mdio bus and should allow two
separable VLANs to be configured for the 4 available ports.

Signed-off-by: Yo Abe <[email protected]>
Signed-off-by: Mathias Kresin <[email protected]>
Signed-off-by: Zoltan HERPAI <[email protected]>
  • Loading branch information
ryahp authored and wigyori committed Jan 31, 2017
1 parent cb9d252 commit 191e4a7
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions target/linux/ramips/dts/WLI-TX4-AG300N.dts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
};

partition@50000 {
label = "linux";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
Expand Down Expand Up @@ -94,7 +94,15 @@
mtd-mac-address = <&factory 0x4>;

port@0 {
mediatek,fixed-link = <1000 1 1 1>;
mediatek,fixed-link = <100 1 1 1>;
};

mdio-bus {
status = "okay";
phy0: ethernet-phy@0 {
phy-mode = "mii";
reg = <0>;
};
};
};

Expand Down

0 comments on commit 191e4a7

Please sign in to comment.