From 1114f5dc10755e3c92b5711b420818cf9e366874 Mon Sep 17 00:00:00 2001 From: Lucian Cristian Date: Fri, 29 Sep 2017 22:29:59 +0300 Subject: [PATCH] sunxi: improve A20 Lime2 upload speed Signed-off-by: Lucian Cristian --- ...-support-for-Olimex-A20-OLinuXino-LIME2-eMM.patch | 3 ++- .../patches/062-A20-improve-gmac-upload.patch | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 package/boot/uboot-sunxi/patches/062-A20-improve-gmac-upload.patch diff --git a/package/boot/uboot-sunxi/patches/060-sun7i-Add-support-for-Olimex-A20-OLinuXino-LIME2-eMM.patch b/package/boot/uboot-sunxi/patches/060-sun7i-Add-support-for-Olimex-A20-OLinuXino-LIME2-eMM.patch index e4fb958850b..a7bfdd62d7e 100644 --- a/package/boot/uboot-sunxi/patches/060-sun7i-Add-support-for-Olimex-A20-OLinuXino-LIME2-eMM.patch +++ b/package/boot/uboot-sunxi/patches/060-sun7i-Add-support-for-Olimex-A20-OLinuXino-LIME2-eMM.patch @@ -36,7 +36,7 @@ Reviewed-by: Jagan Teki S: Maintained --- /dev/null +++ b/configs/A20-OLinuXino-Lime2-eMMC_defconfig -@@ -0,0 +1,36 @@ +@@ -0,0 +1,37 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_MACH_SUN7I=y @@ -64,6 +64,7 @@ Reviewed-by: Jagan Teki +CONFIG_ETH_DESIGNWARE=y +CONFIG_RGMII=y +CONFIG_SUN7I_GMAC=y ++CONFIG_GMAC_TX_DELAY=1 +CONFIG_AXP_ALDO3_VOLT=2800 +CONFIG_AXP_ALDO4_VOLT=2800 +CONFIG_USB_EHCI_HCD=y diff --git a/package/boot/uboot-sunxi/patches/062-A20-improve-gmac-upload.patch b/package/boot/uboot-sunxi/patches/062-A20-improve-gmac-upload.patch new file mode 100644 index 00000000000..df2300194cb --- /dev/null +++ b/package/boot/uboot-sunxi/patches/062-A20-improve-gmac-upload.patch @@ -0,0 +1,12 @@ + GNU nano 2.7.4 File: 062-A20-improve-gmac-upload.patch + +--- a/configs/A20-OLinuXino-Lime2_defconfig ++++ b/configs/A20-OLinuXino-Lime2_defconfig +@@ -24,6 +24,7 @@ CONFIG_DFU_RAM=y + CONFIG_ETH_DESIGNWARE=y + CONFIG_RGMII=y + CONFIG_SUN7I_GMAC=y ++CONFIG_GMAC_TX_DELAY=1 + CONFIG_AXP_ALDO3_VOLT=2800 + CONFIG_AXP_ALDO4_VOLT=2800 + CONFIG_USB_EHCI_HCD=y -- 2.30.2