ARM: dts: imx: Add alias for ethernet controller
Subsystems (2)
PATCH 1/1 ARM: dts: imx: Add alias for ethernet controller
Add alias for FEC ethernet on i.MX to allow bootloaders (like U-Boot) patch-in the MAC address for FEC using this alias.
--- arch/arm/boot/dts/imx25.dtsi | 1 + arch/arm/boot/dts/imx27.dtsi | 1 + arch/arm/boot/dts/imx35.dtsi | 1 + arch/arm/boot/dts/imx50.dtsi | 1 + arch/arm/boot/dts/imx51.dtsi | 1 + arch/arm/boot/dts/imx53.dtsi | 1 + arch/arm/boot/dts/imx6qdl.dtsi | 1 + arch/arm/boot/dts/imx6sl.dtsi | 1 + 8 files changed, 8 insertions(+)
arch/arm/boot/dts/imx25.dtsi +1 -0
@@ -14,6 +14,7 @@ / { aliases { + ethernet0 = &fec; gpio0 = &gpio1; gpio1 = &gpio2; gpio2 = &gpio3;
arch/arm/boot/dts/imx27.dtsi +1 -0
@@ -16,6 +16,7 @@ / { aliases { + ethernet0 = &fec; gpio0 = &gpio1; gpio1 = &gpio2; gpio2 = &gpio3;
arch/arm/boot/dts/imx35.dtsi +1 -0
@@ -13,6 +13,7 @@ / { aliases { + ethernet0 = &fec; gpio0 = &gpio1; gpio1 = &gpio2; gpio2 = &gpio3;
arch/arm/boot/dts/imx50.dtsi +1 -0
@@ -17,6 +17,7 @@ / { aliases { + ethernet0 = &fec; gpio0 = &gpio1; gpio1 = &gpio2; gpio2 = &gpio3;
arch/arm/boot/dts/imx51.dtsi +1 -0
@@ -19,6 +19,7 @@ / { aliases { + ethernet0 = &fec; gpio0 = &gpio1; gpio1 = &gpio2; gpio2 = &gpio3;
arch/arm/boot/dts/imx53.dtsi +1 -0
@@ -18,6 +18,7 @@ / { aliases { + ethernet0 = &fec; gpio0 = &gpio1; gpio1 = &gpio2; gpio2 = &gpio3;
arch/arm/boot/dts/imx6qdl.dtsi +1 -0
@@ -14,6 +14,7 @@ / { aliases { + ethernet0 = &fec; can0 = &can1; can1 = &can2; gpio0 = &gpio1;
arch/arm/boot/dts/imx6sl.dtsi +1 -0
@@ -14,6 +14,7 @@ / { aliases { + ethernet0 = &fec; gpio0 = &gpio1; gpio1 = &gpio2; gpio2 = &gpio3;
Signature · 1 line
1.8.5.2
PATCH 1/1 ARM: dts: imx: Add alias for ethernet controller
Quoted 5 lines · Marek Vasut
Add alias for FEC ethernet on i.MX to allow bootloaders (like U-Boot) patch-in the MAC address for FEC using this alias.
Signed-off-by Marek Vasut <[email protected]>Cc Shawn Guo <[email protected]>
Bump ?
Best regards,
Marek Vasut
PATCH 1/1 ARM: dts: imx: Add alias for ethernet controller
Quoted 8 lines · Marek Vasut
Quoted 5 lines · Marek Vasut
Add alias for FEC ethernet on i.MX to allow bootloaders (like U-Boot) patch-in the MAC address for FEC using this alias.
Signed-off-by Marek Vasut <[email protected]>Cc Shawn Guo <[email protected]>Bump ?
Sorry. I had actually applied the patch but forgot replying.
Shawn
PATCH 1/1 ARM: dts: imx: Add alias for ethernet controller
Quoted 11 lines · Shawn Guo
Quoted 8 lines · Marek Vasut
Quoted 5 lines · Marek Vasut
Add alias for FEC ethernet on i.MX to allow bootloaders (like U-Boot) patch-in the MAC address for FEC using this alias.
Signed-off-by Marek Vasut <[email protected]>Cc Shawn Guo <[email protected]>Bump ?
Sorry. I had actually applied the patch but forgot replying.
Uh, no, apology is on my end for not checking first. Sorry!
Thank you!
Best regards,
Marek Vasut
PATCH 1/1 ARM: dts: imx: Add alias for ethernet controller
In reply to Shawn GuoQuoted 11 lines · Shawn Guo
Quoted 8 lines · Marek Vasut
Quoted 5 lines · Marek Vasut
Add alias for FEC ethernet on i.MX to allow bootloaders (like U-Boot) patch-in the MAC address for FEC using this alias.
Signed-off-by Marek Vasut <[email protected]>Cc Shawn Guo <[email protected]>Bump ?
Sorry. I had actually applied the patch but forgot replying.
Hello Shawn,
I'd like to apply this patch for 3.14-stable , are you OK with this please ? Shall I submit it ?
Best regards,
Marek Vasut
PATCH 1/1 ARM: dts: imx: Add alias for ethernet controller
Quoted 9 lines · Marek Vasut
Quoted 8 lines · Shawn Guo
Quoted 7 lines · Marek Vasut
Quoted 5 lines · Marek Vasut
Add alias for FEC ethernet on i.MX to allow bootloaders (like U-Boot) patch-in the MAC address for FEC using this alias.
Signed-off-by Marek Vasut <[email protected]>Cc Shawn Guo <[email protected]>
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Bump ?
Sorry. I had actually applied the patch but forgot replying.
Hello Shawn,
I'd like to apply this patch for 3.14-stable , are you OK with this please ? Shall I submit it ?
I do not see why this is a stable material. But you do not need my approval to send patch for stable kernel. The person you need to convince is Greg.
Shawn
PATCH 1/1 ARM: dts: imx: Add alias for ethernet controller
Quoted 14 lines · Shawn Guo
Quoted 13 lines · Marek Vasut
Quoted 11 lines · Shawn Guo
Quoted 8 lines · Marek Vasut
Quoted 5 lines · Marek Vasut
Add alias for FEC ethernet on i.MX to allow bootloaders (like U-Boot) patch-in the MAC address for FEC using this alias.
Signed-off-by Marek Vasut <[email protected]>Cc Shawn Guo <[email protected]>Bump ?
Sorry. I had actually applied the patch but forgot replying.
Quoted 8 lines
Quoted 4 lines
Hello Shawn,
I'd like to apply this patch for 3.14-stable , are you OK with this please ? Shall I submit it ?
I do not see why this is a stable material. But you do not need my approval to send patch for stable kernel. The person you need to convince is Greg.
Without this patch, you will not get a mac address patched into the DT by the bootloader. Therefore, your device will use a random mac address on the network which is different on every boot. This is not a good thing, don't you agree?
Best regards,
Marek Vasut
PATCH 1/1 ARM: dts: imx: Add alias for ethernet controller
Quoted 20 lines · Marek Vasut
Quoted 19 lines · Shawn Guo
Quoted 17 lines · Marek Vasut
Quoted 11 lines · Shawn Guo
Quoted 8 lines · Marek Vasut
Quoted 5 lines · Marek Vasut
Add alias for FEC ethernet on i.MX to allow bootloaders (like U-Boot) patch-in the MAC address for FEC using this alias.
Signed-off-by Marek Vasut <[email protected]>Cc Shawn Guo <[email protected]>Bump ?
Sorry. I had actually applied the patch but forgot replying.
Hello Shawn,
I'd like to apply this patch for 3.14-stable , are you OK with this please ? Shall I submit it ?
Quoted 7 lines
Quoted 3 lines
I do not see why this is a stable material. But you do not need my approval to send patch for stable kernel. The person you need to convince is Greg.
Without this patch, you will not get a mac address patched into the DT by the bootloader. Therefore, your device will use a random mac address on the network which is different on every boot. This is not a good thing, don't you agree?
I agree this is not a good thing. But it's neither a regression nor a critical issue as defined by stable_kernel_rules.txt.
Shawn
PATCH 1/1 ARM: dts: imx: Add alias for ethernet controller
Quoted 25 lines · Shawn Guo
Quoted 24 lines · Marek Vasut
Quoted 22 lines · Shawn Guo
Quoted 9 lines · Marek Vasut
Quoted 8 lines · Shawn Guo
Quoted 7 lines · Marek Vasut
Quoted 5 lines · Marek Vasut
Add alias for FEC ethernet on i.MX to allow bootloaders (like U-Boot) patch-in the MAC address for FEC using this alias.
Signed-off-by Marek Vasut <[email protected]>Cc Shawn Guo <[email protected]>Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Bump ?
Sorry. I had actually applied the patch but forgot replying.
Hello Shawn,
I'd like to apply this patch for 3.14-stable , are you OK with this please ? Shall I submit it ?
I do not see why this is a stable material. But you do not need my approval to send patch for stable kernel. The person you need to convince is Greg.
Quoted 7 lines
Quoted 4 lines
Without this patch, you will not get a mac address patched into the DT by the bootloader. Therefore, your device will use a random mac address on the network which is different on every boot. This is not a good thing, don't you agree?
I agree this is not a good thing. But it's neither a regression nor a critical issue as defined by stable_kernel_rules.txt.
If I cannot even properly boot from an NFS root with v3.14.y , it seems to me to be problem enough. Also, MAC address should be a unique identifier, if the FEC picks a random MAC, it will wreak havoc on the network (in the better case).
Best regards,
Marek Vasut