[U-Boot] [PATCH v2] sunxi: add support for Banana Pi M2 Zero board

Maxime Ripard maxime.ripard at bootlin.com
Thu May 24 09:01:12 UTC 2018


On Thu, May 24, 2018 at 04:22:53PM +0800, Jun Nie wrote:
> > Why not using straight the DT from linux here? There's a couple of
> > things missing from this one (the pinctrl nodes, for example).
> 
> I had thought that pinctrl is not merged yet in u-boot per the
> comments for patch V1. Will
> keep it in next version.
> 
> WIFI is removed because it shall not work in u-boot.

It doesn't really matter, the hardware is the same and the DT should
be the same as well, even though U-Boot will not use it to its full
extent. There's even some people using directly the U-Boot DT to boot
Linux. In this case, you wouldn't get all the features supported in
Linux either.

> ehci0/ohci0 are removed because they are still missing in h3.dtsi.

You can sync the H3 DTSI with Linux as well then, we probably didn't
do it for quite some time.

> >
> >> diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS
> >> index 5eb8bbe..0d904d9 100644
> >> --- a/board/sunxi/MAINTAINERS
> >> +++ b/board/sunxi/MAINTAINERS
> >> @@ -363,6 +363,11 @@ M:       Icenowy Zheng <icenowy at aosc.io>
> >>  S:   Maintained
> >>  F:   configs/Sinovoip_BPI_M2_Plus_defconfig
> >>
> >> +SINOVOIP BPI M2 ZERO BOARD
> >> +M:   Icenowy Zheng <icenowy at aosc.io>
> >> +S:   Maintained
> >> +F:   configs/Sinovoip_BPI_M2_Zero_defconfig
> >> +
> >>  SINOVOIP BPI M3 A83T BOARD
> >>  M:   VishnuPatekar <vishnupatekar0510 at gmail.com>
> >>  S:   Maintained
> >> diff --git a/configs/bananapi_m2_zero_defconfig b/configs/bananapi_m2_zero_defconfig
> >> new file mode 100644
> >> index 0000000..b919d8b
> >> --- /dev/null
> >> +++ b/configs/bananapi_m2_zero_defconfig
> >> @@ -0,0 +1,15 @@
> >> +CONFIG_ARM=y
> >> +CONFIG_ARCH_SUNXI=y
> >> +CONFIG_SYS_TEXT_BASE=0x4a000000
> >
> > Did you run savedefconfig recently? That should be the default nowadays.
> 
> Yes, this config is copied from saved defconfig. I rebased to
> denx/next to generate patch.
> Or I should prepare the patch based on denx/master?

This should have been solved by 341c05865478, which is part of
v2018.05

Maxime

-- 
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180524/f9f4b2f8/attachment.sig>


More information about the U-Boot mailing list