sunxi: add support for Banana Pi M2 Zero board
Subsystems (2)
PATCH v4 1/1 sunxi: add support for Banana Pi M2 Zero board
From: Jun Nie <[email protected]>
Banana Pi M2 Zero is a board by Sinovoip with Allwinner H2+ SoC, 16-bit 512MiB DDR3 memory, a MicroSD slot, two MicroUSB ports (one OTG and one powering-only) and a miniHDMI port.
---
Changes in v4:
- Fixed MMC card detect on product batch boards.
- Synced the device tree from the same commit with other H3/H2+ DTs.
arch/arm/dts/Makefile | 1 + .../dts/sun8i-h2-plus-bananapi-m2-zero.dts | 121 ++++++++++++++++++ board/sunxi/MAINTAINERS | 5 + configs/bananapi_m2_zero_defconfig | 13 ++ 4 files changed, 140 insertions(+) create mode 100644 arch/arm/dts/sun8i-h2-plus-bananapi-m2-zero.dts create mode 100644 configs/bananapi_m2_zero_defconfig
arch/arm/dts/Makefile +1 -0
@@ -365,6 +365,7 @@ dtb-$(CONFIG_MACH_SUN8I_A83T) += \ sun8i-a83t-cubietruck-plus.dtb \ sun8i-a83t-tbs-a711.dts dtb-$(CONFIG_MACH_SUN8I_H3) += \ + sun8i-h2-plus-bananapi-m2-zero.dtb \ sun8i-h2-plus-libretech-all-h3-cc.dtb \ sun8i-h2-plus-orangepi-r1.dtb \ sun8i-h2-plus-orangepi-zero.dtb \
arch/arm/dts/sun8i-h2-plus-bananapi-m2-zero.dts new file +121 -0
121 lines not on this page · raw message
board/sunxi/MAINTAINERS +5 -0
@@ -402,6 +402,11 @@ M: Icenowy Zheng <[email protected]> S: Maintained F: configs/Sinovoip_BPI_M2_Plus_defconfig +SINOVOIP BPI M2 ZERO BOARD +M: Icenowy Zheng <[email protected]> +S: Maintained +F: configs/Sinovoip_BPI_M2_Zero_defconfig + SINOVOIP BPI M3 A83T BOARD M: VishnuPatekar <[email protected]> S: Maintained
configs/bananapi_m2_zero_defconfig new file +13 -0
@@ -0,0 +1,13 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_SPL=y +CONFIG_MACH_SUN8I_H3=y +CONFIG_DRAM_CLK=408 +CONFIG_DRAM_ZQ=3881979 +CONFIG_DRAM_ODT_EN=y +CONFIG_MMC0_CD_PIN="" +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +# CONFIG_CMD_FLASH is not set +# CONFIG_SPL_DOS_PARTITION is not set +# CONFIG_SPL_EFI_PARTITION is not set +CONFIG_DEFAULT_DEVICE_TREE="sun8i-h2-plus-bananapi-m2-zero"
Signature · 1 line
2.18.1
PATCH v4 1/1 sunxi: add support for Banana Pi M2 Zero board
Quoted 8 lines · Icenowy Zheng
From: Jun Nie <[email protected]>
Banana Pi M2 Zero is a board by Sinovoip with Allwinner H2+ SoC, 16-bit 512MiB DDR3 memory, a MicroSD slot, two MicroUSB ports (one OTG and one powering-only) and a miniHDMI port.
Signed-off-by Icenowy Zheng <[email protected]>Signed-off-by Jun Nie <[email protected]>
Ideally, your SoB should be the second one.
Otherwise,
Thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 228 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181029/62d8fe35/attachment.sig>
PATCH v4 1/1 sunxi: add support for Banana Pi M2 Zero board
In reply to Icenowy ZhengQuoted 34 lines · Icenowy Zheng
From: Jun Nie <[email protected]>
Banana Pi M2 Zero is a board by Sinovoip with Allwinner H2+ SoC, 16-bit 512MiB DDR3 memory, a MicroSD slot, two MicroUSB ports (one OTG and one powering-only) and a miniHDMI port.
Signed-off-by Icenowy Zheng <[email protected]>Signed-off-by Jun Nie <[email protected]>---
Changes in v4:
- Fixed MMC card detect on product batch boards.
- Synced the device tree from the same commit with other H3/H2+ DTs.arch/arm/dts/Makefile | 1 + .../dts/sun8i-h2-plus-bananapi-m2-zero.dts | 121 ++++++++++++++++++ board/sunxi/MAINTAINERS | 5 + configs/bananapi_m2_zero_defconfig | 13 ++ 4 files changed, 140 insertions(+) create mode 100644 arch/arm/dts/sun8i-h2-plus-bananapi-m2-zero.dts create mode 100644 configs/bananapi_m2_zero_defconfigarch/arm/dts/Makefile +1
-0@@ -365,6 +365,7 @@ dtb-$(CONFIG_MACH_SUN8I_A83T) += \ sun8i-a83t-cubietruck-plus.dtb \ sun8i-a83t-tbs-a711.dts dtb-$(CONFIG_MACH_SUN8I_H3) += \ + sun8i-h2-plus-bananapi-m2-zero.dtb \ sun8i-h2-plus-libretech-all-h3-cc.dtb \ sun8i-h2-plus-orangepi-r1.dtb \ sun8i-h2-plus-orangepi-zero.dtb \
[snip]
Quoted 2 lines
+SINOVOIP BPI M2 ZERO BOARD
Can be "BANANAPI M2 ZERO"
arch/arm/dts/Makefile
Quoted 3 lines
arch/arm/dts/Makefile +3
-0+M: Icenowy Zheng <[email protected]> +S: Maintained +F: configs/Sinovoip_BPI_M2_Zero_defconfig
configs/bananapi_m2_zero_defconfig
Quoted 10 lines
arch/arm/dts/Makefile +1
-0+ SINOVOIP BPI M3 A83T BOARD M: VishnuPatekar <[email protected]> S: Maintainedconfigs/bananapi_m2_zero_defconfig new file +0
-0
configs/bananapi_m2_zero_defconfig line 8
Quoted 8 lines
configs/bananapi_m2_zero_defconfig new file +8
-0@@ -0,0 +1,13 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_SPL=y +CONFIG_MACH_SUN8I_H3=y +CONFIG_DRAM_CLK=408 +CONFIG_DRAM_ZQ=3881979 +CONFIG_DRAM_ODT_EN=y +CONFIG_MMC0_CD_PIN=""
I don't think this would need, it's PF6 by default for H3
PATCH v4 1/1 sunxi: add support for Banana Pi M2 Zero board
于 2018年10月30日 GMT+08:00 下午2:27:43, Jagan Teki <[email protected]> 写到:
Quoted 58 lines · Icenowy Zheng
Quoted 4 lines
From: Jun Nie <[email protected]>
Banana Pi M2 Zero is a board by Sinovoip with Allwinner H2+ SoC,
16-bit
Quoted 1 line
512MiB DDR3 memory, a MicroSD slot, two MicroUSB ports (one OTG and
one
Quoted 11 lines
powering-only) and a miniHDMI port.
Signed-off-by Icenowy Zheng <[email protected]>Signed-off-by Jun Nie <[email protected]>---
Changes in v4:
- Fixed MMC card detect on product batch boards.
- Synced the device tree from the same commit with other H3/H2+ DTs.arch/arm/dts/Makefile | 1 + .../dts/sun8i-h2-plus-bananapi-m2-zero.dts | 121++++++++++++++++++
Quoted 18 lines
board/sunxi/MAINTAINERS | 5 + configs/bananapi_m2_zero_defconfig | 13 ++ 4 files changed, 140 insertions(+) create mode 100644 arch/arm/dts/sun8i-h2-plus-bananapi-m2-zero.dts create mode 100644 configs/bananapi_m2_zero_defconfigarch/arm/dts/Makefile +1
-0@@ -365,6 +365,7 @@ dtb-$(CONFIG_MACH_SUN8I_A83T) += \ sun8i-a83t-cubietruck-plus.dtb \ sun8i-a83t-tbs-a711.dts dtb-$(CONFIG_MACH_SUN8I_H3) += \ + sun8i-h2-plus-bananapi-m2-zero.dtb \ sun8i-h2-plus-libretech-all-h3-cc.dtb \ sun8i-h2-plus-orangepi-r1.dtb \ sun8i-h2-plus-orangepi-zero.dtb \[snip]
Quoted 2 lines
+SINOVOIP BPI M2 ZERO BOARD
Can be "BANANAPI M2 ZERO"
arch/arm/dts/Makefile
Quoted 3 lines
arch/arm/dts/Makefile +3
-0+M: Icenowy Zheng <[email protected]> +S: Maintained +F: configs/Sinovoip_BPI_M2_Zero_defconfigconfigs/bananapi_m2_zero_defconfig
Review
Quoted 5 lines
arch/arm/dts/Makefile +1
-0+ SINOVOIP BPI M3 A83T BOARD M: VishnuPatekar <[email protected]> S: Maintained(quoted diff) +0
-0b/configs/bananapi_m2_zero_defconfig
Quoted 15 lines
configs/bananapi_m2_zero_defconfig line 8
Quoted 13 lines
new file mode 100644
index 0000000000..91302eb49cconfigs/bananapi_m2_zero_defconfig new file +8
-0@@ -0,0 +1,13 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_SPL=y +CONFIG_MACH_SUN8I_H3=y +CONFIG_DRAM_CLK=408 +CONFIG_DRAM_ZQ=3881979 +CONFIG_DRAM_ODT_EN=y +CONFIG_MMC0_CD_PIN=""I don't think this would need, it's PF6 by default for H3
This board has inverted CD pin, which is not supported by U-Boot.
So CD is disabled.
PATCH v4 1/1 sunxi: add support for Banana Pi M2 Zero board
In reply to Jagan TekiQuoted 42 lines · Jagan Teki
Quoted 34 lines · Icenowy Zheng
From: Jun Nie <[email protected]>
Banana Pi M2 Zero is a board by Sinovoip with Allwinner H2+ SoC, 16-bit 512MiB DDR3 memory, a MicroSD slot, two MicroUSB ports (one OTG and one powering-only) and a miniHDMI port.
Signed-off-by Icenowy Zheng <[email protected]>Signed-off-by Jun Nie <[email protected]>---
Changes in v4:
- Fixed MMC card detect on product batch boards.
- Synced the device tree from the same commit with other H3/H2+ DTs.arch/arm/dts/Makefile | 1 + .../dts/sun8i-h2-plus-bananapi-m2-zero.dts | 121 ++++++++++++++++++ board/sunxi/MAINTAINERS | 5 + configs/bananapi_m2_zero_defconfig | 13 ++ 4 files changed, 140 insertions(+) create mode 100644 arch/arm/dts/sun8i-h2-plus-bananapi-m2-zero.dts create mode 100644 configs/bananapi_m2_zero_defconfigarch/arm/dts/Makefile +1
-0@@ -365,6 +365,7 @@ dtb-$(CONFIG_MACH_SUN8I_A83T) += \ sun8i-a83t-cubietruck-plus.dtb \ sun8i-a83t-tbs-a711.dts dtb-$(CONFIG_MACH_SUN8I_H3) += \ + sun8i-h2-plus-bananapi-m2-zero.dtb \ sun8i-h2-plus-libretech-all-h3-cc.dtb \ sun8i-h2-plus-orangepi-r1.dtb \ sun8i-h2-plus-orangepi-zero.dtb \[snip]
Quoted 2 lines
+SINOVOIP BPI M2 ZERO BOARD
Quoted 7 lines
Can be "BANANAPI M2 ZERO"
arch/arm/dts/Makefile
Quoted 3 lines
arch/arm/dts/Makefile +3
-0+M: Icenowy Zheng <[email protected]> +S: Maintained +F: configs/Sinovoip_BPI_M2_Zero_defconfigconfigs/bananapi_m2_zero_defconfig
If agree? will do above changes while applying?
PATCH v4 1/1 sunxi: add support for Banana Pi M2 Zero board
于 2018年10月31日 GMT+08:00 下午2:12:34, Jagan Teki <[email protected]> 写到:
Quoted 51 lines
Quoted 2 lines · Jagan Teki
On Sat, Oct 27, 2018 at 10:41 AM Icenowy Zheng <[email protected]>
Quoted 4 lines · wrote:
Quoted 4 lines
From: Jun Nie <[email protected]>
Banana Pi M2 Zero is a board by Sinovoip with Allwinner H2+ SoC,
16-bit
Quoted 1 line
Quoted 1 line
512MiB DDR3 memory, a MicroSD slot, two MicroUSB ports (one OTG and
one
Quoted 8 lines
Quoted 8 lines
powering-only) and a miniHDMI port.
Signed-off-by Icenowy Zheng <[email protected]>Signed-off-by Jun Nie <[email protected]>---
Changes in v4:
- Fixed MMC card detect on product batch boards.
- Synced the device tree from the same commit with other H3/H2+DTs.
Quoted 3 lines
Quoted 3 lines
arch/arm/dts/Makefile | 1 + .../dts/sun8i-h2-plus-bananapi-m2-zero.dts | 121++++++++++++++++++
Quoted 26 lines
Quoted 18 lines
board/sunxi/MAINTAINERS | 5 + configs/bananapi_m2_zero_defconfig | 13 ++ 4 files changed, 140 insertions(+) create mode 100644 arch/arm/dts/sun8i-h2-plus-bananapi-m2-zero.dts create mode 100644 configs/bananapi_m2_zero_defconfigarch/arm/dts/Makefile +1
-0@@ -365,6 +365,7 @@ dtb-$(CONFIG_MACH_SUN8I_A83T) += \ sun8i-a83t-cubietruck-plus.dtb \ sun8i-a83t-tbs-a711.dts dtb-$(CONFIG_MACH_SUN8I_H3) += \ + sun8i-h2-plus-bananapi-m2-zero.dtb \ sun8i-h2-plus-libretech-all-h3-cc.dtb \ sun8i-h2-plus-orangepi-r1.dtb \ sun8i-h2-plus-orangepi-zero.dtb \[snip]
Quoted 2 lines
+SINOVOIP BPI M2 ZERO BOARD
Can be "BANANAPI M2 ZERO"
Quoted 7 lines
Quoted 5 lines
arch/arm/dts/Makefile
Quoted 3 lines
arch/arm/dts/Makefile +3
-0+M: Icenowy Zheng <[email protected]> +S: Maintained +F: configs/Sinovoip_BPI_M2_Zero_defconfigconfigs/bananapi_m2_zero_defconfig
If agree? will do above changes while applying?
Okay, thanks.
PATCH v4 1/1 sunxi: add support for Banana Pi M2 Zero board
In reply to Icenowy ZhengQuoted 10 lines · Icenowy Zheng
From: Jun Nie <[email protected]>
Banana Pi M2 Zero is a board by Sinovoip with Allwinner H2+ SoC, 16-bit 512MiB DDR3 memory, a MicroSD slot, two MicroUSB ports (one OTG and one powering-only) and a miniHDMI port.
Signed-off-by Icenowy Zheng <[email protected]>Signed-off-by Jun Nie <[email protected]>---
Applied to u-boot-sunxi/master