Jump to content

JuanEsf

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by JuanEsf

  1. 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
  2. yes, you can test in m2-berry, and it should work at least from kernel 5.4.x
  3. A volunteer. What can I test and confirm if it works correctly?
  4. please not use. give me more time
  5. it was only a problem with the name of the extension that has already been corrected
  6. 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
  7. 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
  8. Hello, following the steps to add audio support to h3, v3s, a23 modified sun4i-codec to add support for r40, and if anyone else wants to try: Video curl -s https://raw.githubusercontent.com/juanesf/codec/master/compile-codec.sh | sudo bash /dev/stdin
  9. http://forum.banana-pi.org/t/enable-audio-and-mic-bpi-m2ultra-r40/10532/4?u=juanesf
  10. 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
  11. 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
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines