Support for Botic Linux driver - Page 162 - diyAudio
Go Back   Home > Forums > Commercial Sector > Manufacturers > Twisted Pear
Home Forums Rules Articles diyAudio Store Gallery Wiki Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Twisted Pear Superior quality electronic kits

Reply
 
Thread Tools Search this Thread
Old 18th May 2016, 06:19 PM   #1611
miero is offline miero  Czech Republic
diyAudio Member
 
Join Date: Jun 2011
Location: Prague
Default botic7-rc1 available for testing

There is a new version of Botic kernel to try:

# download and install new kernel
wget http://repo.ieero.com/botic/pool/mai...-rc1_armhf.deb
dpkg -i linux-image-4.5.0-botic7-rc1_4.5-botic7-rc1_armhf.deb

# edit the /boot/uEnv.txt and check if there is a line starting with dtb= and change it to:
# (for normal Botic driver version)
dtb=am335x-boneblack-botic.dtb
# (for Botic driver with I2C control of ESS Sabre32 ES9018 DAC (stereo only) via isolated I2C header of Hermes-BBB)
dtb=am335x-boneblack-botic-sabre32.dtb

sync
reboot
# (after the reboot, check if the kernel version matches)
uname -r

It's based on the most recent kernel, so it might be better than botic5, or also not better.

Visible changes:
- fixed S/PDIF playback
- fixed I2S capture
- allowed clocking of BBB CPU to 1GHz (solves lower performance in the botic7pre3)
- native I2C control of ESS ES9018S in plain stereo mode from the kernel driver

At least 100MB of free disk space is needed for installation.

The botic5 kernel can be returned by editing two lines in the /boot/uEnv.txt:
uname_r=4.0.0-botic5
dtb=am335x-boneblack.dtb

Questions for testers:
- any problems with the installation?
- does it play sound without skips?
- does it play high sample rates >192kHz as well as previous version?
- does the I2C control of ES9018S works for you?

Thanks.
__________________
BeagleBone Black with I2S, DSD and SPDIF interface (Linux driver)
http://bbb.ieero.com/

Last edited by miero; 18th May 2016 at 06:35 PM.
  Reply With Quote
Old 18th May 2016, 06:26 PM   #1612
miero is offline miero  Czech Republic
diyAudio Member
 
Join Date: Jun 2011
Location: Prague
The volume should be possible to control using most of players that you are using. Just allow in it a hardware volume control for the Botic card.

A full control of ALSA mixer is possible using the "alsamixer" command from a terminal.

Or it can be also scripted, e.g.:
# Master Volume change
amixer -q sset Master 2+
amixer -q sset Master 2-
# External SPDIF input volume change
amixer -q sset External 2+
amixer -q sset External 2-
# Global MUTE toggle
amixer -q sset External toggle

# A state of the mixer controls can be saved for future reboots using:
alsactl store

A list of implemented ALSA mixer controls for ESS ES9018S codec:

Quote:
root@botic:~# amixer
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 201
Mono: Playback 86 [43%] [-34.63dB] [on]
Simple mixer control 'DAC1',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 255
Mono: Playback 255 [100%] [0.00dB]
Simple mixer control 'DAC2',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 255
Mono: Playback 255 [100%] [0.00dB]
Simple mixer control 'DAC3',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 255
Mono: Playback 255 [100%] [0.00dB]
Simple mixer control 'DAC4',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 255
Mono: Playback 255 [100%] [0.00dB]
Simple mixer control 'DAC5',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 255
Mono: Playback 255 [100%] [0.00dB]
Simple mixer control 'DAC6',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 255
Mono: Playback 255 [100%] [0.00dB]
Simple mixer control 'DAC7',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 255
Mono: Playback 255 [100%] [0.00dB]
Simple mixer control 'DAC8',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 255
Mono: Playback 255 [100%] [0.00dB]
Simple mixer control 'DPLL',0
Capabilities: enum
Items: '1x Auto' '128x Auto' 'No' '1x' '2x' '4x' '8x' '16x' '32x' '64x' '128x' '256x' '512x' '1024x' '2048x' '4096x' '8192x'
Item0: '8192x'
Simple mixer control 'DPLL Phase',0
Capabilities: enum
Items: 'Normal' 'Flip'
Item0: 'Normal'
Simple mixer control 'De-emphasis Filter',0
Capabilities: enum
Items: 'Bypass' '32kHz' '44.1kHz' '48kHz'
Item0: 'Bypass'
Simple mixer control 'External',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 201
Mono: Playback 153 [76%] [-14.46dB] [on]
Simple mixer control 'FIR Rolloff',0
Capabilities: enum
Items: 'Slow' 'Fast'
Item0: 'Fast'
Simple mixer control 'IIR Bandwidth',0
Capabilities: enum
Items: 'Normal' '50k' '60k' '70k'
Item0: 'Normal'
Simple mixer control 'Jitter Reduction',0
Capabilities: enum
Items: 'Bypass' 'Use'
Item0: 'Use'
Simple mixer control 'MCLK Notch',0
Capabilities: enum
Items: 'No Notch' 'MCLK/4' 'MCLK/8' 'MCLK/16' 'MCLK/32' 'MCLK/64'
Item0: 'MCLK/64'
Simple mixer control 'Oversampling Filter',0
Capabilities: enum
Items: 'Use' 'Bypass'
Item0: 'Use'
Simple mixer control 'Remap Inputs',0
Capabilities: enum
Items: '12345678' '12345676' '12345658' '12345656' '12325678' '12325676' '12325658' '12325656' '12145678' '12145676' '12145658' '12145656' '12125678' '12125676' '12125658' '12125656'
Item0: '12125656'
Simple mixer control 'Remap Output',0
Capabilities: enum
Items: 'q6true' 'q7pseudo' 'q7true' 'q8pseudo' 'q8true' 'q9pseudo'
Item0: 'q6true'
Simple mixer control 'SPDIF Source',0
Capabilities: enum
Items: '1' '2' '3' '4' '5' '6' '7' '8'
Item0: '7'
Simple mixer control 'True Mono',0
Capabilities: enum
Items: 'Left' 'Off' 'Right'
Item0: 'Off'
__________________
BeagleBone Black with I2S, DSD and SPDIF interface (Linux driver)
http://bbb.ieero.com/

Last edited by miero; 18th May 2016 at 06:55 PM.
  Reply With Quote
Old 18th May 2016, 06:34 PM   #1613
miero is offline miero  Czech Republic
diyAudio Member
 
Join Date: Jun 2011
Location: Prague
How to configure External SPDIF playback on Sabre32 using Botic:
- attach TOSLINK receiver output to O_D7 pin on the Hermes-BBB
- configure "SPDIF Source" mixer control to 7
- unmute 'External' volume mixer control

If configured in such way, the Botic will reconfigure DAC to the external SPDIF input whenever the BBB is not playing. For external source an independent volume of 'External' mixer control is set.

Enabling the External input will disable muting of the DAC via I2C command. But the DAC will be muted during the reconfiguration phase. However ES9018S has volume ramp on mute, so some "clicks" might still occur.
__________________
BeagleBone Black with I2S, DSD and SPDIF interface (Linux driver)
http://bbb.ieero.com/
  Reply With Quote
Old 18th May 2016, 07:35 PM   #1614
yanpetr is offline yanpetr  Russian Federation
diyAudio Member
 
Join Date: May 2016
Miero, good day!
You can put the finished image.
I can't upgrade.
The installation process is successful, but it remains the old version......
  Reply With Quote
Old 18th May 2016, 09:00 PM   #1615
miero is offline miero  Czech Republic
diyAudio Member
 
Join Date: Jun 2011
Location: Prague
No idea why, but check all these 3 files and set there uname_r=... and dtb=... variables:
- /uEnv.txt
- /boot/uEnv.txt
- /boot/uboot/uEnv.txt

It is also possible that your BBB has booted from the other one media (eMMC/SDcard) than you need.
__________________
BeagleBone Black with I2S, DSD and SPDIF interface (Linux driver)
http://bbb.ieero.com/
  Reply With Quote
Old 19th May 2016, 12:55 PM   #1616
twluke is offline twluke  Japan
diyAudio Member
 
Join Date: Nov 2012
Location: Tokyo
Hi miero, thank you for giving me this occasion of testing.

Quote:
Originally Posted by miero View Post
- any problems with the installation?
No problem with the installation because I've accustomed to the basic setting after the last trial.
Quote:
- does it play sound without skips??
- does it play high sample rates >192kHz as well as previous version?
No problem with playing PCM and DSD sources up to 96kHz and 128fs, respectively, without skips, though experiencing stuttering in playing 192kHz PCM sources as before.

Regards,
  Reply With Quote
Old 19th May 2016, 01:53 PM   #1617
bern is offline bern  Poland
diyAudio Member
 
Join Date: Jul 2010
hi,
I'm trying to run new botic version but can't launch new kernel.
What value should have line 'uname_r=' from uEnv.txt?
I tried:
uname_r=4.5.0-botic7-rc1_4.5-botic7-rc1
but without success.
  Reply With Quote
Old 19th May 2016, 02:31 PM   #1618
diyAudio Member
 
Join Date: Mar 2007
Location: Twin Cities, MN
Hi Miero!

I'm using my backup BBB to experiment - no Cronus attached. I tried updating a 'boticized' Debian 8.3, which worked previously in the main system. I assume that now I need to set kernel option snd_soc_botic.ext_masterclk to 0. However, directory /boot/uboot is empty. Any suggestions? TIA!
  Reply With Quote
Old 19th May 2016, 03:20 PM   #1619
miero is offline miero  Czech Republic
diyAudio Member
 
Join Date: Jun 2011
Location: Prague
bern, try this:

uname_r=4.5.0-botic7-rc1

francolargo, probably this one:

mount /dev/mmcblk0p1 /boot/uboot
__________________
BeagleBone Black with I2S, DSD and SPDIF interface (Linux driver)
http://bbb.ieero.com/
  Reply With Quote
Old 19th May 2016, 06:27 PM   #1620
bern is offline bern  Poland
diyAudio Member
 
Join Date: Jul 2010
Thanks miero,
The newest version 4.5.0-botic7-rc1 is slightly faster than 4.0.0-botic5 in soxr integer upsampling (which is good achievement)
For example for upsampling from 16/44,1kHz to 176,4kHz squeezelite takes:
  • 4.0.0-botic5: 44% CPU usage
  • 4.5.0-botic7-rc1: 42%
24/96kHz upsampled to 192kHz:
  • 4.0.0-botic5: 55% CPU usage
  • 4.5.0-botic7-rc1: 53%

Last edited by bern; 19th May 2016 at 06:29 PM.
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open baffle with fullrange driver and bass support Godzilla Full Range 5 22nd July 2011 01:32 PM
Low end support for single driver monitors strider75 Multi-Way 97 30th September 2009 03:02 PM
ASIO support (driver) for Labview Aoxomox Digital Line Level 0 3rd May 2009 05:29 PM
Linux/BruteFIR support coming in LspCAD tcpip Multi-Way 18 18th October 2005 03:08 AM
linux badgers Introductions 3 3rd April 2005 03:27 PM


New To Site? Need Help?

All times are GMT. The time now is 10:25 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Copyright 1999-2017 diyAudio

Content Relevant URLs by vBSEO 3.3.2
Wiki