Hello
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.
https://github.com/BPI-SINOVOIP/BPI-M2P-bsp-4.4
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[2]: *** [scripts/kconfig/Makefile:110: sun8iw7p1smp_bpi-p2z-720p_defconfig] Error 1
but it does not seem to work
igorpec
(Igor)
February 3, 2020, 10:53pm
3
This will:
git clone https://github.com/armbian/build
cd build
./compile.sh docker BOARD="bananapim2zero" BRANCH="current" KERNEL_ONLY="no" RELEASE="buster" KERNEL_CONFIGURE="no" BUILD_DESKTOP="no" BUILD_MINIMAL="no"
https://docs.armbian.com/Developer-Guide_Build-Preparation/
1 Like
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
shaddow501
(shaddow501)
February 4, 2020, 2:10am
5
Dear Igor
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?
igorpec
(Igor)
February 4, 2020, 6:52am
6
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
--- a/configs/orangepi_2_defconfig
+++ b/configs/orangepi_2_defconfig
@@ -20,3 +20,4 @@ CONFIG_SUN8I_EMAC=y
CONFIG_SY8106A_POWER=y
CONFIG_USB_EHCI_HCD=y
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
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
--- a/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts
+++ b/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts
@@ -47,6 +47,23 @@
compatible = "friendlyarm,nanopi-neo", "allwinner,sun8i-h3";
};
+&mmc2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc2_8bit_pins>;
+ vmmc-supply = <®_vcc3v3>;
+ bus-width = <8>;
+ non-removable;
+ cap-mmc-hw-reset;
+ status = "okay";
+};
+
+&mmc2_8bit_pins {
+ /* Increase drive strength for DDR modes */
This file has been truncated. show original
You need to add those bits to P2 device boot config and device tree.