BPI-P2 ZERO With Kernel 4.4- support needed

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:

  1. It doesnt recognize the EMMC, EMMC is not shown in /dev, I only see the MicroSD card. - How to fix it?
  2. How to enable the SPI? I couldnt find any post that show information about how to enable the SPI!!
  3. 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

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

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?

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:

You need to add those bits to P2 device boot config and device tree.