Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:seeed:linkit7688 [2020/11/20 20:17] – add Breakoutboard patchfile novskitoh:seeed:linkit7688 [2022/06/03 11:57] – link to post for other undocumented uboot options frollic
Line 316: Line 316:
  
 Use the UART Console and *Hidden* Option 5 Use the UART Console and *Hidden* Option 5
 +There are other hidden options available, read https://forum.openwrt.org/t/ai7688-update-issue/128369/26
 <WRAP bootlog> <WRAP bootlog>
 <nowiki>[04050C0D][04050C0D] <nowiki>[04050C0D][04050C0D]
Line 701: Line 701:
 Digital pin input voltage(on WM8960 ): 1.71~3.6V Digital pin input voltage(on WM8960 ): 1.71~3.6V
  
-**Build changes are needed to use Audio**+**some Build changes are needed to use Audio**
  
-This is a `git patch` file so copy that to a file in the /openwrt bildroot folder and execute it with git patch <filename>.+We add i2s as audio i/o and define i2c to control the audio chip so a volume and other controls is present afterwards. 
 + 
 +This is a `git patch` file so copy that to a file in the /openwrt bildroot folder and execute it with `patch -p1 {filename}` or `git am {filename}.
 <code> <code>
 diff --git a/target/linux/ramips/dts/LINKIT7688.dts b/target/linux/ramips/dts/LINKIT7688.dts diff --git a/target/linux/ramips/dts/LINKIT7688.dts b/target/linux/ramips/dts/LINKIT7688.dts
Line 788: Line 790:
 </code> </code>
  
 +**Build**
 +go to your buildpath and type <code>make menuconfig</code> and select sound/alsa-utils as well as the alsa-utils-tests, save and build.
 +After flashing the image you can use <code>alsamixer</code> with key **"m"**, "left-" and "right arrow" keys of your keyboard to navigate through the awesome software mixer of alsa where you have to set:
 +** Be careful! High volumes can damage your ears.**
 +  * Headphone (if you use external Amplifier or headphone via 3.5mm jack outlet) = choose volume
 +  * Speaker (About -10dB is a good test volume) = choose volume
 +  * Speaker AC = 0
 +  * Speaker DC = 0
 +  * Left Mixer Output PCM = unmute
 +  * Right Mixer Output PCM = unmute
 +
 +Then try to play with alsa-utils-test like this in the terminal of the device:<code>speaker-test -t wav -c 2</code> 
 +You then should hear a woman speaking "Left", "Right" ongoing until you abort with CTRL-c.
 +
 +If you want to mix an external signal over the aux input try to higher the input 2 volumes in $alsamixer. (untested)
  
 +Try playing a .wav file with: <code>aplay <path/filename.wav></code> 
  • Last modified: 2024/02/12 08:58
  • by 127.0.0.1