Search the Community
Showing results for tags 'driver'.
Found 3 results
-
Hello? I'm developing Android 11 OS debugging with Tinkerboard 2s. The environment I was developing is using Tinkerboard 2S R1.02, and it's Android 11 - 4.19.172 kernel version. But this time, I received Tinkerboard 2S R1.03. This product does not recognize USB-C type on Android 11 OS under development. When I installed the OS, I recognized USB-C without any problems, so I was able to confirm that there was a problem with Android OS. So when I installed the latest version of Android 11 - 4.19.219, I found out that USB-C is recognized normally. In my opinion, the OS update would have added drivers related to USB. You must proceed with the project with Android 11 - 4.19.172 kernel version. If there is a way, please let me know the solution in some way.
-
- tinkerboard2s
- android11
-
(and 3 more)
Tagged with:
-
Rockchip released the r18 version of the libMali Midgard T86X drivers. Arm has r28 source listed on their site. The current Mali DDK doesn't cover the Midgard chips so I can't compile it myself. Will Rockchip update the drivers? Is there any way to contact them about this?
-
Hi team, I'm trying to make pisound(https://blokas.io/pisound/) work with tinker board 2. I'm using pisound repo to get pisound.c kernel module file, and dts file: https://github.com/BlokasLabs/pisound Changes for tinker board(not 2) are available here: https://github.com/BlokasLabs/pisound/compare/master...tinkerboard, and it works: https://community.blokas.io/t/pisound-on-tinker-board/1015 I changed .dts file, so that it suits tinker board 2. Dmesg is correct(https://pastebin.com/Cfdz5ct0), it is attached lower. I can see pisound in aplay -l and arecord -l lists. But when I run "speaker-test -D hw:pisound -c 2 -r 48000", I get: Can you look at pisound.c file please, is it ok for tinker board 2 ? Should I change something in a dts file or in pisound.c file ? How can I solve this problem ? Thanks a lot! (Linux linaro-alip 4.4.194) speaker-test 1.1.8 Playback device is hw:pisound Stream parameters are 48000Hz, S16_LE, 2 channels Using 16 octaves of pink noise Rate set to 48000Hz (requested 48000Hz) Buffer size range from 128 to 131072 Period size range from 64 to 65536 Using max buffer size 131072 Periods = 4 was set period_size = 32768 was set buffer_size = 131072 0 - Front Left 1 - Front Right Write error: -5,Input/output error xrun_recovery failed: -5,Input/output error Transfer failed: Input/output error /dts-v1/; /plugin/; #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/pinctrl/rockchip.h> / { compatible = "rockchip,rk3399"; fragment@0 { target-path = "/spdif-sound"; __overlay__ { status = "disabled"; }; }; fragment@1 { target-path = "/hdmi-dp-sound"; __overlay__ { status = "disabled"; }; }; fragment@2 { target-path ="/i2s@ff880000"; __overlay__ { #sound-dai-cells = <0>; status = "okay"; }; }; fragment@3 { target = <&spi2>; __overlay__ { #address-cells = <1>; #size-cells = <0>; status = "okay"; spidev@0 { status="okay"; }; spidev@1 { status="okay"; }; pisound_spi: pisound_spi@0{ compatible = "blokaslabs,pisound-spi"; reg = <0>; spi-max-frequency = <100000>; }; }; }; fragment@4 { target-path = "/"; __overlay__ { pcm5102a-codec { #sound-dai-cells = <0>; compatible = "ti,pcm5102a"; status = "okay"; }; }; }; fragment@5 { target = <&pinctrl>; __overlay__ { pisound_pins: pisound_pins { rockchip,pins = <&gpio4 22 RK_FUNC_GPIO &pcfg_pull_none>, <&gpio4 21 RK_FUNC_GPIO &pcfg_pull_none>, <&gpio2 18 RK_FUNC_GPIO &pcfg_pull_none>, <&gpio4 18 RK_FUNC_GPIO &pcfg_pull_none>, <&gpio2 23 RK_FUNC_GPIO &pcfg_pull_none>, <&gpio3 28 RK_FUNC_GPIO &pcfg_pull_none>, <&gpio2 19 RK_FUNC_GPIO &pcfg_pull_none>; }; }; }; fragment@6 { target-path = "/sound-ext-card"; __overlay__ { compatible = "blokaslabs,pisound"; i2s-controller = <&i2s0>; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&pisound_pins>; osr-gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>, // GP7C6 <&gpio4 21 GPIO_ACTIVE_HIGH>, // GP7B0 <&gpio2 18 GPIO_ACTIVE_HIGH>; // GP7A7 reset-gpios = <&gpio4 18 GPIO_ACTIVE_HIGH>, // GP7C7 <&gpio2 23 GPIO_ACTIVE_HIGH>; // GP5B3 data_available-gpios = <&gpio3 28 GPIO_ACTIVE_HIGH>; // GP5C3 button-gpios = <&gpio2 19 GPIO_ACTIVE_LOW>; // GP5B4 }; }; };