verplant23
-
Posts
5 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by verplant23
-
-
quite short answer
so no special magic u use ?
some guidance you can give?
-
Hello
i modified armbian build script to get board images with 32bit userland and 64bit kernel.
most time i´m using the rockpi4b board. because of the 32bit userland i only get the armhf package (tinkerboard) but they only suppoert t76x mali .
is there a way you can provide a t86x package for the 32bit userland?! or how can i make it myself?
-
hello.
first i want to say thank you to every armbian supporter and the hole team. thanks for providing this nice project and your work.
i did some work for adding an external sound card - the audioinjector pi stereo, which is based on a wm8731.
i used the radxa rockpi4(b) board based on the rk3399. i choose this board because of pinout header is nearly the same as the one you find on raspberrys. so adding/ using raspberry Hats won´t be too hart in this case.
this will also work with radxa kernel https://github.com/verplant23/kernel
so there shouldn´t be any troubles porting it to armbian legacy.
i´m not a coder and i don´t know about linux that much. for most things this was try and error of code snippets + lot´s of time.
i tried diffrent ways and there are diffrent ways how thing can be get to work - for sure you guys could make things work better because there are still errors while dmesg.
i used 20.05 dev kernel but basicly this also work on master or current.
please post what you think of or how to improve.
install debs or build your own by adding userpatch from
https://github.com/verplant23/armbian_patch.git
after installing / compiling follow up the armbian docs and add i2c7 by adding
overlays=i2c7
to your /boot/armbianEnv.txt
i wasn´t able to use armbian-add-overlay. because error told me that i don´t use the correct device...
you can use the dtbo inside repo. it was build with the radxa kernel repo (link above). you can find dts inside.
add the folder /boot/overlay-user/ and copy audioinjector-wm8731-audio.dtbo inside
follow up the armbian docs and add
user_overlays=audioinjector-wm8731-audio
to your /boot/armbianEnv.txt
after reboot
cat /proc/asound/cards should show up the card
dmesg will show some error:
audioinjector-stereo sound-ext-card: snd_soc_register_card failed (-517)
but since dmesg | grep i2s will show
audioinjector-stereo sound-ext-card: wm8731-hifi <-> ff890000.i2s mapping ok
the device should work.
when getting no sound go to alsamixer and check the mute cases especially Item: Output Mixer HiFi is not muted
you can make it sound-card-0 by default
sudo nano /etc/modprobe.d/alsa.conf
should be something like
alias snd-card-0 wm8731-hifialias snd-card-0 snd_soc_audioinjector_pi_soundcard
alias snd-card-0 snd_soc_simple_card
options snd slots=,hdmisound,rockchiprk3399,snd_soc_audio_graph_cardmake sound-card-0 default device
sudo nano /etc/asound.conf
defaults.pcm.card 0
defaults.ctl.card 0
have fun and keep healthy
-
Hello Marko Buršič
there are some explaination on the page u linked:
GPIO 4 D 5 = 157
4*32 + 3*8 + 5 = 157
i don´t know what "0xae" stands for but it could be something like pull up/down /activ low/high
so wenn you see something like
csgpio = <&gpio1 21 1 0xae> on rk3399 it would call
translated to GPIO Number
1*32 + 2*8 + 5 = 53
32 + 16 + 5 = 53
32 + 21 = 53
GPIO 1 C 5 = 53
but on the 40 Pin Header i can't find a pin number corrospondending to GPIO number 53.
so maybe you would like to call ?!
Pin#
GPIO Function1 GPIO number
24 GP1B2 SPI1_CSn 42 you would write something like ( whatever 0xae mean)
csgpio = <&gpio1 10 1 0xae>;
1*32 + 1*8 + 2 = 42
32 + 8 + 2 = 42
32 + 10 = 42
GPIO 1 B 2 = 42
but i´m just guessing
RK3399 Legacy Multimedia Framework
in Rockchip
Posted
thanks a lot i will try to get it working - had errors before but didn´t use the rockchip repo before. so thanks for this