From: Lucian Cristian Date: Fri, 29 Sep 2017 19:29:59 +0000 (+0300) Subject: sunxi: improve A20 Lime2 upload speed X-Git-Tag: v18.06.0-rc1~2131 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1114f5dc10755e3c92b5711b420818cf9e366874;p=openwrt%2Fstaging%2Fxback.git sunxi: improve A20 Lime2 upload speed Signed-off-by: Lucian Cristian --- 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 e4fb958850..a7bfdd62d7 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 0000000000..df2300194c --- /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