JuanEsf
-
Posts
11 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by JuanEsf
-
-
yes, you can test in m2-berry, and it should work at least from kernel 5.4.x
-
A volunteer. What can I test and confirm if it works correctly?
-
please not use. give me more time
-
it was only a problem with the name of the extension that has already been corrected
-
Compile Codec for R40/V40:
curl -s https://raw.githubusercontent.com/juanesf/codec/master/compile-codec.sh | sudo bash /dev/stdin
Compile u-boot for R40 emmc (M2-Ultra):
curl -s https://raw.githubusercontent.com/juanesf/u-boot/audio-codec/compile_u-boot_r40_emmc.sh | sudo bash /dev/stdin
Compile u-boot for R40 sd (M2-Ultra):
curl -s https://raw.githubusercontent.com/juanesf/u-boot/audio-codec/compile_u-boot_r40_sd.sh | sudo bash /dev/stdin
Compile u-boot for V40 emmc (M2-Berry):
curl -s https://raw.githubusercontent.com/juanesf/u-boot/audio-codec/compile_u-boot_v40_emmc.sh | sudo bash /dev/stdin
Compile u-boot for V40 sd (M2-Berry)
curl -s https://raw.githubusercontent.com/juanesf/u-boot/audio-codec/compile_u-boot_v40_sd.sh | sudo bash /dev/stdin
it only remains to add two lines to /etc/rc.local before exit 0:
modprobe sun8i-codec-analog
modprobe sun4i-codec
sudo nano /etc/rc.local
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. modprobe sun8i-codec-analog modprobe sun4i-codec exit 0
-
what happens is this is just the module, for them to work you need to add the codec node to sun8i-r40.dts and sun8i-r40-bananapi-m2-ultra.dts, just give me a few hours to fix some details and give you details how to compile u-boot with changes
-
-
-
Hello again, here are the system logs before, after and during the u-boot compilation
log-armbian-5.5.rc2-after log-armbian-5.5.rc2-before log-armbian-5.5.rc2-compile_u-boot
-
Hi everyone. I have compiled sunxi-next u-boot and activated the SoC internal analog audio codec, now I am testing the mali node. Audio Working!
Commit:
https://github.com/juanesf/u-boot/commits/master
V40/R40 Boards
in Beginners
Posted
you must run two commands one to compile u-boot with the codec node, the other is to compile and copy the new codec with r40/v40 support. and finally it remains to load the modules, there are two ways one is to load it manually:
sudo modprobe sun8i-codec-analog
sudo modprobe sun4i-codec
and the second way is to add the two previous commands in /etc/rc.local which loads the modules automatically. first try the manual commands, if after loading manually the sound card appears you should modify rc.local so that it loads automatically