[Armadeus-commitlog] armadeus branch, master, updated. armadeus-7.0-114-g7bc58c097
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@us...> - 2019-07-26 16:46:14
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 7bc58c097a23ed22d4049ff41334e12730da550a (commit)
via d9975a65127e0ccbf449ee38753765573e2f6cc7 (commit)
from f8744d170160e8e2c06a5b1ba216f8a7d19ca2c3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7bc58c097a23ed22d4049ff41334e12730da550a
Author: Julien BOIBESSOT <jul...@ar...>
Date: Fri Jul 26 18:44:51 2019 +0200
[BUILDROOT] apf28_defconfig: bump linux to 4.9.186
commit d9975a65127e0ccbf449ee38753765573e2f6cc7
Author: Julien BOIBESSOT <jul...@ar...>
Date: Fri Jul 26 18:41:46 2019 +0200
[LINUX] 4.9: apf28: fixes ethernet interface detection failure
-----------------------------------------------------------------------
Summary of changes:
buildroot/configs/apf28_defconfig | 2 +-
...deus-net-fec-fixes-fec-reset-phy-return-value.patch | 18 ++++++++++++++++++
2 files changed, 19 insertions(+), 1 deletion(-)
create mode 100644 patches/linux/4.9/0706-armadeus-net-fec-fixes-fec-reset-phy-return-value.patch
diff --git a/buildroot/configs/apf28_defconfig b/buildroot/configs/apf28_defconfig
index 0d5be9c64..093363002 100644
--- a/buildroot/configs/apf28_defconfig
+++ b/buildroot/configs/apf28_defconfig
@@ -25,7 +25,7 @@ BR2_CPU_NAME="imx28"
BR2_TARGET_ARMADEUS_SDRAM_SIZE="128"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.9.173"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.9.186"
BR2_LINUX_KERNEL_PATCH="../patches/linux/4.9"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_BOARD_PATH)/apf28-linux-4.9.config"
diff --git a/patches/linux/4.9/0706-armadeus-net-fec-fixes-fec-reset-phy-return-value.patch b/patches/linux/4.9/0706-armadeus-net-fec-fixes-fec-reset-phy-return-value.patch
new file mode 100644
index 000000000..2f4699e1b
--- /dev/null
+++ b/patches/linux/4.9/0706-armadeus-net-fec-fixes-fec-reset-phy-return-value.patch
@@ -0,0 +1,18 @@
+Without this, fec_reset_phy() returns random values that will prevent
+correct probe of FEC network interface.
+
+Signed-off-by: Julien Boibessot <jul...@ar...>
+
+Index: linux-4.9.173/drivers/net/ethernet/freescale/fec_main.c
+===================================================================
+--- linux-4.9.173.orig/drivers/net/ethernet/freescale/fec_main.c
++++ linux-4.9.173/drivers/net/ethernet/freescale/fec_main.c
+@@ -3240,6 +3240,8 @@ static int fec_reset_phy(struct platform
+ else
+ usleep_range(msec * 1000, msec * 1000 + 1000);
+ gpio_set_value_cansleep(fep->phy_reset_gpio, !active_high);
++
++ return 0;
+ }
+
+ static int fec_get_reset_gpio(struct platform_device *pdev)
hooks/post-receive
--
armadeus
|