The BPI-P2pro is powered by the Rockchip RK3308B-S, which comes with a 64-bit quad-core ARM Cortex-A35 processor, USB, Ethernet, Bluetooth, wireless connectivity and a voice detection engine.With rich audio interfaces (such as MIC/PDM/SPDIF/I2S),RK3308 is ideal product for IoT and voice applications. The BPI-p2pro uses 512MB DDR3 RAM and uses eMMC or SD card as the storage of operating system.
5V/3A type-c power supply
Minimum 8GB SD/TF card
Baud rate: 1500000
Debug interface:
Download Rockchip SD Disk Tool.
Insert card reader to Windows PC, 8GB sdcard size at least.
Run SD_Firmware_Tool, check the “SD card startup” box and select the correct removable disk device, Choose firmware image, then Click Create button to make it and wait until it is finshed.
Similar to the Install Image to SD card method.
Select firmware upgrade.
After creation, insert the SD card into BPI-P2 Pro and power on to start.
View serial port information until prompted with the following information. Power off, remove the SD card, and then restart.
If you don’t have an SD card, you can use this method. |
Download and install Rockchip USB driver
Download Rockchip USB Download Tool
This tool defaults language is Chinese. you can change it to English after extract the package. Open RKDevTool_Release_v2.84/config.ini with an text editor (like notepad). The starting lines are:
#Language Selection: Selected=1(Chinese); Selected=2(English)
[Language]
Kinds=2
Selected=1
LangPath=Language\
Open RKDevTool.exe, Switch to the “upgrade firmware” page. Press the “firmware” button to open the image file to be upgraded. The upgrade tool displays detailed firmware information.
Press and hold the RECOVERY button, then use the type-c cable to connect BPI-P2 Pro and PC.
Press the “upgrade” button to start the upgrade.
If the upgrade fails, you can try to erase the Emmc by pressing the EraseFlash button first, and then upgrade image again.
If you are using wired Ethernet access, please insert the network cable into the RJ45 port on ArmSoM-P2pro, and the network port light flashes,indicating hardware connected properly.
Manually configure Ethernet
Switch to root user
sudo su
Check if Ethernet is working properly with the ifconfig command, and it will display the network card eth0 and Ethernet IP address. In addition, use the ping tool to determine if the network is connected.
ifconfig
ping www.baidu.com
If unable to ping, please try
$ sudo dhclient eth0
The debug serial port location is pin 9 and 11 of the 12-pin header
P2pro | Connection | Serial Module |
---|---|---|
GND (pin 8) |
←-→ |
GND |
TX (pin 9) |
←-→ |
RX |
RX (pin 11) |
←-→ |
TX |
If you can’t check "wlan0" with "ifconfig", that may not have loaded the driver.
First, execute
find / -name bcmdhd.ko
Query driver’s path.
Then install.
insmod /system/lib/modules/bcmdhd.ko
After executing, "ifconfig" can see "wlan0".
# 1. Activate Bluetooth
root@linaro-alip:/# service bluetooth start
# 2. Enter bluetoothctl
root@linaro-alip:/# bluetoothctl
# 3. Enter the following command to connect
root@linaro-alip:/# power on
root@linaro-alip:/# agent on
root@linaro-alip:/# default-agent
root@linaro-alip:/# scan on
root@linaro-alip:/# pair yourDeviceMAC
View sound cards in the system:
root@linaro-alip:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: rockchiprk3308a [rockchip,rk3308-acodec], device 0: dailink-multicodecs ff560000.acodec-0 [dailink-multicodecs ff560000.acodec-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 7: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 7: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
play music
root@linaro-alip:/# aplay -D plughw:0,0 ./usr/share/sounds/alsa/Rear_Right.wav
BPI-P2 pro provides a USB 2.0 port.