Neil,I think I can help. I worked on a custom prototype board and set up my own 
TLV320 with an Octavo RED board in predevelopment in the device tree and is 
working fine. Some things you absolutely need to know before changing things in 
the cape dts file.-What I2C bus and pinmux are you using.-What MCASP bus are 
you using in pinmux? Definitely need 2 of the 4 RX pins. - You need to learn 
how to set up your asound.conf file. This has so many possibilities based on 
how you want to sample the audio. -If using a cape and making changes, use 
install.sh or it won't work.-The better option is to learn how to create your 
own device tree and put it as an Overlay in the uEnv.txt file.
If the actual cape hasn't changed at all (pins). Then I'll show you how to just 
make a device tree of that cape overlay. 
I'll provide more details tomorrow.
Regards, Ray 

Sent from Yahoo Mail on Android 
 
  On Tue, Jan 12, 2021 at 6:37 PM, Neil Cobbett<[email protected]> wrote:  
 HI,
Has anyone managed to get the old/original Circuit Co Audio Cape Revision A 
working on the later kernels?
This is the dts file associated with cape board and has worked fine on the 
older 3.x kernels:
BB-BONE-AUDI-01.dts

It doesn't seem to be installed/supported as part of the latest /lib/firmware 
directory. It compiles ok but when added to uEnv.txt it doesn't work:

debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh  
[sudo] password for debian:  
git:/opt/scripts/:[fe926a6a4cf5805041878d7df82b58c00b4f902e]
eeprom:[A335BNLTBWA51712EW004800]
model:[TI_AM335x_BeagleBone_Black_Wireless]
dogtag:[BeagleBoard.org Debian Buster IoT Image 2020-04-06]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot SPL 
2019.04-00002-g07d5700e21 (Mar 06 2020 - 11:24:55 -0600)]:[location: dd MBR]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 
2019.04-00002-g07d5700e21]:[location: dd MBR]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot SPL 
2018.03-00002-gac9cce7c6a (Apr 05 2018 - 13:07:46 -0500)]:[location: dd MBR]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 
2018.03-00002-gac9cce7c6a]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-boneblack-uboot-univ.dts]
UBOOT: Loaded Overlay:[BB-ADC-00A0]
UBOOT: Loaded Overlay:[BB-BBBW-WL1835-00A0]
UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0]
UBOOT: Loaded Overlay:[BB-I2C1-FAST-00A0]
UBOOT: Loaded Overlay:[BB-PWM2-00A0]
UBOOT: Loaded Overlay:[BB-UART1-00A0]
UBOOT: Loaded Overlay:[BB-UART2-00A0]
kernel:[5.4.87-bone-rt-r41]
nodejs:[v10.15.2]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[uboot_overlay_addr0=/lib/firmware/BB-UART1-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr1=/lib/firmware/BB-UART2-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr2=/lib/firmware/BB-PWM2-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr3=/lib/firmware/BB-I2C1-FAST-00A0.dtbo]
uboot_overlay_options:[dtb_overlay=/lib/firmware/BB-BONE-AUDI-01-00A0.dtbo]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade <pkg>]
pkg:[bb-cape-overlays]:[4.14.20200403.0-0rcnee0~buster+20200403]
pkg:[bb-customizations]:[1.20200306.0-0rcnee0~buster+20200306]
pkg:[bb-usb-gadgets]:[1.20200322.0-0rcnee0~buster+20200322]
pkg:[bb-wl18xx-firmware]:[1.20200322.0-0rcnee0~buster+20200322]
pkg:[kmod]:[26-1]
pkg:[librobotcontrol]:[1.0.4-git20190227.1-0rcnee0~buster+20190327]
pkg:[firmware-ti-connectivity]:[20190717-2rcnee1~buster+20200305]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev 
users systemd-journal bluetooth netdev i2c gpio pwm eqep remoteproc admin spi 
iio docker 
tisdk weston-launch xenomai cloud9ide]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 
root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 
lpj=1990656 rng_cor
e.default_quality=100 quiet]
dmesg | grep remote
[    1.933071] remoteproc remoteproc0: wkup_m3 is available
[    2.109940] remoteproc remoteproc0: powering up wkup_m3
[    2.109966] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, 
size 217168
[    2.110232] remoteproc remoteproc0: remote processor wkup_m3 is now up
dmesg | grep pru
dmesg | grep pinctrl-single
[    1.565521] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[    1.921849] pinctrl-single 44e10800.pinmux: pin PIN18 already requested by 
ocp:P9_14_pinmux; cannot claim for ocp:gpio-leds-cape-audio
[    1.921870] pinctrl-single 44e10800.pinmux: pin-18 
(ocp:gpio-leds-cape-audio) status -22
[    1.921881] pinctrl-single 44e10800.pinmux: could not request pin 18 (PIN18) 
from group pinmux_bone_audio_cape_led_pins  on device pinctrl-single
[   43.009888] pinctrl-single 44e10800.pinmux: pin PIN100 already requested by 
ocp:P9_31_pinmux; cannot claim for 48038000.mcasp
[   43.009914] pinctrl-single 44e10800.pinmux: pin-100 (48038000.mcasp) status 
-22
[   43.009926] pinctrl-single 44e10800.pinmux: could not request pin 100 
(PIN100) from group pinmux_bone_audio_cape_audio_pins  on device pinctrl-single
dmesg | grep gpio-of-helper
[    1.577714] gpio-of-helper ocp:cape-universal: ready
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END

****
The BB-BONE-AUDI-02 is supported but uses different pins for the I2S / McASP 
interface.  Also the I2C mapping is different.
Can anyone point me at a working BB-BONE-AUDI-01.dts for the later BBB releases?
I've tried editing the original but after several failed attempts, I can't get 
it to mount via alsa.
Many Thanks

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/9ec369e7-8985-4d6f-9937-92e1e830cf1dn%40googlegroups.com.
  

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/11045771.1057062.1610594190333%40mail.yahoo.com.

Reply via email to