I am currently working on the BPI-P2 ZERO and I have seen in this github that there is an option to move to a higher Kernel version.
This page show that it has support on the P2-zero, does it???
I have compiled the Kernel and uploaded it to the flash where BPI image is already installed and:
It doesnt recognize the EMMC, EMMC is not shown in /dev, I only see the MicroSD card. - How to fix it?
How to enable the SPI? I couldnt find any post that show information about how to enable the SPI!!
Bluetooth issues -> Bluetooth: hci0 command 0x1003 tx timeout - why am I getting this?
Can we have any support on the BPI modules?
I tried also using this command
./build.sh BPI-P2Z-720P 1
*** Can't find default configuration "arch/arm/configs/sun8iw7p1smp_bpi-p2z-720p_defconfig"!
make: *** [scripts/kconfig/Makefile:110: sun8iw7p1smp_bpi-p2z-720p_defconfig] Error 1
but it does not seem to work
git clone https://github.com/armbian/build
./compile.sh docker BOARD="bananapim2zero" BRANCH="current" KERNEL_ONLY="no" RELEASE="buster" KERNEL_CONFIGURE="no" BUILD_DESKTOP="no" BUILD_MINIMAL="no"
I think I just got this wrong P2Z and M2Z seems to have the same hardware apart from the ethernet port so the M2Z build should be ok
but your solution seems nicer
I have seen that you have entered the “bananpi M2 zero” which does not have the emmc module.
The module I was talking about is the BPI P2 Zero that have the emmc module.
Is the build of the “bananpi M2 zero” also have the emmc support?
I see. Its so easy to mix up those letters … well, support for eMMC can surely be added. I don’t have hardware nor time but check those patches to understand the problem:
diff --git a/configs/orangepi_2_defconfig b/configs/orangepi_2_defconfig
index 7c9cc454c3..2642239c6a 100644
@@ -20,3 +20,4 @@ CONFIG_SUN8I_EMAC=y
This file has been truncated.
diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts
index 9f33f6fae..561182a9f 100644
@@ -47,6 +47,23 @@
compatible = "friendlyarm,nanopi-neo", "allwinner,sun8i-h3";
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc2_8bit_pins>;
+ vmmc-supply = <®_vcc3v3>;
+ bus-width = <8>;
+ status = "okay";
+ /* Increase drive strength for DDR modes */
You need to add those bits to P2 device boot config and device tree.