mars
August 19, 2024, 6:39am
1
I’m currently working on a project that involves configuring I2S on a BPI-P2 Pro running Debian. I need the board to function as the I2S master. However, the process seems quite different from what I’m used to on the Raspberry Pi.
Could anyone guide me on which files I need to edit and what additional modules or settings I should load to achieve this setup? Any specific tips for the BPI-P2 Pro would be greatly appreciated!
Thanks in advance for your assistance!
eComet
(eComet)
September 11, 2026, 3:34pm
2
Try to look at [RESOLVED] New kernel update for BPI-P2 Pro - #9 by eComet . I2S is working here. Also I tested it by internal test script.
root@linaro-alip:/rockchip-test# ./rockchip_test.sh
******************************************************
*** ***
*** ***************************** ***
*** * ROCKCHIPS TEST TOOLS * ***
*** * V2.0 updated on 20220928 * ***
*** ***************************** ***
*** ***
*****************************************************
*****************************************************
ddr test: 1 (ddr stress test)
cpu test: 2 (cpu stress test)
gpu test: 3 (gpu stress test)
npu test: 4 (npu stress test)
suspend_resume test: 5 (suspend resume)
reboot test: 6 (auto reboot test)
power lost test: 7 (power lost test)
flash stress test: 8 (flash stress test)
recovery test: 9 (recovery wipe all test)
audio test: 10 (audio test)
camera test: 11 (camera test)
video test: 12 (video test)
bluetooth test: 13 (bluetooth on off test)
wifi test: 14 (wifi on off test)
chromium test: 15 (chromium with video test)
*****************************************************
please input test moudle: 10
*****************************************************
* Rockchip Platform Audio Functions Test *
*****************************************************
* Loop playback: [0] *
* Loop capture: [1] *
* Test loopback: [2] *
* Exit audio test: [q] *
*****************************************************
Please select a test case: 0
******** Loop playback start ********
play_device=default, ch=2, rate=8000, bit=16, 2 sec, gain=-30
File Size: 1
Encoding: n/a
Channels: 2 @ 16-bit
Samplerate: 8000Hz
Replaygain: off
Duration: unknown
In:0.00% 00:00:02.05 [00:00:00.00] Out:16.0k [ | ] Clip:0
Done.