Skip to contentSkip to conversation

ARM: sun7i: config: add config for Sinovoip/Bananapi BPI-R1

U-Boot Superseded Stephen Arnold 2 participants 5 messages Oct 3, 2016 – Oct 6, 2016

Subsystems (2)

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

From: Steve Arnold <[email protected]>

* needs different GMAC_TX_DELAY than lamobo-r1 (not compatible)

Cc Ian Campbell <[email protected]>
Cc Hans De Goede <[email protected]>

Changes for v2:
- incorprated feedback for config options (remove 3, add 1)

---
 configs/Bananapi_R1_defconfig | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 configs/Bananapi_R1_defconfig
configs/Bananapi_R1_defconfig new file +16 -0
new file mode 100644
index 0000000..3743d5c
@@ -0,0 +1,16 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN7I=y
+CONFIG_DRAM_CLK=432
+CONFIG_GMAC_TX_DELAY=3
+CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-bananapi-r1"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI,USB_EHCI"
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_FPGA is not set
+CONFIG_USB_EHCI_HCD=y
+CONFIG_DM_ETH=y
+CONFIG_PHYLIB=y
+# CONFIG_RTL8211X_PHY_FORCE_MASTER=y
Signature · 1 line
2.9.3
#1 lore raw

[U-Boot] ARM: sun7i: dts: add support for Sinovoip/Bananapi BPI-R1

From: Steve Arnold <[email protected]>

* changes from lamobo-r1 required include:
- ahci power pin (remove)
- usbvbus pin config
- mmc pin config
- uart2 enable

Cc Ian Campbell <[email protected]>
Cc Hans De Goede <[email protected]>

Changes for v2:
- update ethernet config, add details of differences with lamobo

---
 arch/arm/dts/Makefile                  |   1 +
 arch/arm/dts/sun7i-a20-bananapi-r1.dts | 376 +++++++++++++++++++++++++++++++++
 2 files changed, 377 insertions(+)
 create mode 100644 arch/arm/dts/sun7i-a20-bananapi-r1.dts
arch/arm/dts/Makefile +1 -0
index 032c5ae..0cbae00 100644
@@ -216,6 +216,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \
 	sun7i-a20-ainol-aw1.dtb \
 	sun7i-a20-bananapi.dtb \
 	sun7i-a20-bananapi-m1-plus.dtb \
+	sun7i-a20-bananapi-r1.dtb \
 	sun7i-a20-bananapro.dtb \
 	sun7i-a20-cubieboard2.dtb \
 	sun7i-a20-cubietruck.dtb \
arch/arm/dts/sun7i-a20-bananapi-r1.dts new file +376 -0

376 lines not on this page · raw message

Signature · 1 line
2.9.3
#2 lore raw

PATCH v2 2/2 ARM: sun7i: dts: add support for Sinovoip/Bananapi BPI-R1

In reply to Stephen Arnold

From: Steve Arnold <[email protected]>

* changes from lamobo-r1 required include:
- ahci power pin (remove)
- usbvbus pin config
- mmc pin config
- uart2 enable

---
 arch/arm/dts/Makefile                  |   1 +
 arch/arm/dts/sun7i-a20-bananapi-r1.dts | 376 +++++++++++++++++++++++++++++++++
 2 files changed, 377 insertions(+)
 create mode 100644 arch/arm/dts/sun7i-a20-bananapi-r1.dts
arch/arm/dts/Makefile +1 -0
index 032c5ae..0cbae00 100644
@@ -216,6 +216,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \
 	sun7i-a20-ainol-aw1.dtb \
 	sun7i-a20-bananapi.dtb \
 	sun7i-a20-bananapi-m1-plus.dtb \
+	sun7i-a20-bananapi-r1.dtb \
 	sun7i-a20-bananapro.dtb \
 	sun7i-a20-cubieboard2.dtb \
 	sun7i-a20-cubietruck.dtb \
arch/arm/dts/sun7i-a20-bananapi-r1.dts new file +376 -0

376 lines not on this page · raw message

Signature · 1 line
2.9.3
#3 lore raw

PATCH v2 2/2 ARM: sun7i: dts: add support for Sinovoip/Bananapi BPI-R1

Quoted 7 lines · Stephen Arnold

From: Steve Arnold <[email protected]>

* changes from lamobo-r1 required include:
- ahci power pin (remove)
- usbvbus pin config
- mmc pin config
- uart2 enable

Can you send the v3 - confused with couple of patches with same version number. and also make sure of adding changes text more info
[1]

[1] http://www.denx.de/wiki/view/U-Boot/Patches#General_Patch_Submission_Rules

thanks!

Signature · 4 lines
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.
#4 lore raw
In reply to Stephen Arnold

Seems like splitting the original patch into 2 broke the threading as only one patch ends up in the original thread. What's the fix for that one? (besides "don't do that... ;)

Steve

Quoted 40 lines · Stephen Arnold

From: Steve Arnold <[email protected]>

* needs different GMAC_TX_DELAY than lamobo-r1 (not compatible)

Cc Ian Campbell <[email protected]>
Cc Hans De Goede <[email protected]>

Changes for v2:
- incorprated feedback for config options (remove 3, add 1)

---
 configs/Bananapi_R1_defconfig | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 configs/Bananapi_R1_defconfig
configs/Bananapi_R1_defconfig new file +16 -1
new file mode 100644
index 0000000..3743d5c
@@ -0,0 +1,16 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN7I=y
+CONFIG_DRAM_CLK=432
+CONFIG_GMAC_TX_DELAY=3
+CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-bananapi-r1"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI,USB_EHCI"
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_FPGA is not set
+CONFIG_USB_EHCI_HCD=y
+CONFIG_DM_ETH=y
+CONFIG_PHYLIB=y
+# CONFIG_RTL8211X_PHY_FORCE_MASTER=y
--

2.9.3