AnsweredAssumed Answered

SC584ezkit: Linux Sound Driver "no soundcard found"

Question asked by PorcoRosso on Oct 10, 2016
Latest reply on Oct 11, 2016 by PorcoRosso

Hello,

 

I am following the example "5.7. Linux Sound Driver" in the "Linux Add-in User's Guide".

When Linux is running if I launch # arecord -l   I get:  arecord: device_list:268: no soundcards found...  

 

I installed (I think) the sound driver in the kernel and I see those also listed during the linux startup phase (below in red).

Here is the log from the console: in there is see some related log which I marked in red:

unfortunately I am lacking experience in this matter so any help is very welcome.

 

Cheers,

Maurizio

 

-----------------------------------------------------

griffin@griffin-VirtualBox:~$ sudo minicom
[sudo] password for griffin:


Welcome to minicom 2.7

OPTIONS: I18n
Compiled on Jan  1 2014, 17:13:22.
Port /dev/ttyUSB0, 15:42:15

Press CTRL-A Z for help on special keys



U-Boot 2015.01 ADI-1.1.0 (May 30 2016 - 14:25:38), Build: jenkins-IP119-UBOOT-S8

CPU:   ADSP ADSP-SC584-0.0 (Detected Rev: 1.1) (spi flash boot)
VCO: 450 MHz, Cclk0: 450 MHz, Sclk0: 112.500 MHz, Sclk1: 112.500 MHz, DCLK: 225z
OCLK: 150 MHz
I2C:   ready
DRAM:  112 MiB
SF: Detected W25Q128BV with page size 256 Bytes, erase size 4 KiB, total 16 MiB
In:    serial
Out:   serial
Err:   serial
other init
Net:   dwmac.3100c000                                                           
Hit any key to stop autoboot:  0                                                
sc # run ramboot                                                                
Speed: 100, half duplex                                                         
Using dwmac.3100c000 device                                                     
TFTP from server 192.168.0.10; our IP address is 192.168.0.15                   
Filename 'uImage'.                                                              
Load address: 0x89000000                                                        
Loading: T #################################################################    
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         ###########################################                            
         1.1 MiB/s                                                              
done                                                                            
Bytes transferred = 22573344 (1587120 hex)                                      
Speed: 100, half duplex                                                         
Using dwmac.3100c000 device                                                     
TFTP from server 192.168.0.10; our IP address is 192.168.0.15                   
Filename 'sc58x-ezkit-lpc.dtb'.                                                 
Load address: 0x8b000000                                                        
Loading: ##                                                                     
         1.2 MiB/s                                                              
done                                                                            
Bytes transferred = 15576 (3cd8 hex)                                            
## Booting kernel from Legacy Image at 89000000 ...                             
   Image Name:   Linux-4.0.0-ADI-1.1.0                                          
   Image Type:   ARM Linux Kernel Image (uncompressed)                          
   Data Size:    22573280 Bytes = 21.5 MiB                                      
   Load Address: 89008000                                                       
   Entry Point:  89008000                                                       
   Verifying Checksum ... OK                                                    
## Flattened Device Tree blob at 8b000000                                       
   Booting using the fdt blob at 0x8b000000                                     
   Loading Kernel Image ... OK                                                  
   Loading Device Tree to 8fe5e000, end 8fe64cd7 ... OK                         
                                                                                
Starting kernel ...                                                             
                                                                                
Booting Linux on physical CPU 0x0                                               
Linux version 4.0.0-ADI-1.1.0 (griffin@griffin-VirtualBox) (gcc version 4.8.3 (6
CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d                 
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache        
Machine model: ADI sc58x-ezkit LPC                                              
Memory policy: Data cache writeback                                             
dump init clock rate                                                            
CGU0_PLL 450 MHz                                                                
CGU0_SYSCLK 225 MHz                                                             
CGU0_CCLK 450 MHz                                                               
CGU0_SYS0 112 MHz                                                               
CGU0_DCLK 225 MHz                                                               
CGU0_OCLK 150 MHz                                                               
CGU0_SYS0 112 MHz                                                               
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 28448      
Kernel command line: root=/dev/mtdblock2 rw rootfstype=jffs2 clkin_hz=(25000000f
PID hash table entries: 512 (order: -1, 2048 bytes)                             
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)                  
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)                    
Memory: 91412K/114688K available (3688K kernel code, 124K rwdata, 1380K rodata,)
Virtual kernel memory layout:                                                   
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)                               
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)                               
    vmalloc : 0xc7800000 - 0xff000000   ( 888 MB)                               
    lowmem  : 0xc0000000 - 0xc7000000   ( 112 MB)                               
    modules : 0xbf000000 - 0xc0000000   (  16 MB)                               
      .text : 0xc0008000 - 0xc04fb24c   (5069 kB)                               
      .init : 0xc04fc000 - 0xc1570000   (16848 kB)                              
      .data : 0xc1570000 - 0xc158f0e0   ( 125 kB)                               
       .bss : 0xc158f0e0 - 0xc15a502c   (  88 kB)                               
NR_IRQS:16 nr_irqs:16 16                                                        
GIC CPU mask not found - kernel will fail to boot.                              
GIC CPU mask not found - kernel will fail to boot.                              
sched_clock: 32 bits at 112MHz, resolution 8ns, wraps every 38177486839ns       
Console: colour dummy device 80x30                                              
Calibrating delay loop... 297.98 BogoMIPS (lpj=595968)                          
pid_max: default: 32768 minimum: 301                                            
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)                     
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)                
CPU: Testing write buffer coherency: ok                                         
Setting up static identity map for 0x89382608 - 0x8938263c                      
devtmpfs: initialized                                                           
do_initcall_level level 0                                                       
do_initcall_level level 1                                                       
VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1         
pinctrl core: initialized pinctrl subsystem                                     
NET: Registered protocol family 16                                              
do_initcall_level level 2                                                       
DMA: preallocated 256 KiB pool for atomic coherent allocations                  
do_initcall_level level 3                                                       
L2C: device tree omits to specify unified cache                                 
L2C-310 dynamic clock gating enabled, standby mode enabled                      
L2C-310 cache controller enabled, 8 ways, 256 kB                                
L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x06040000                               
sc58x_init: registering device resources                                        
sec init...                                                                     
enabled                                                                         
hw-breakpoint: Failed to enable monitor mode on CPU 0.                          
ADI DMA2 Controller                                                             
do_initcall_level level 4                                                       
SCSI subsystem initialized                                                      
usbcore: registered new interface driver usbfs                                  
usbcore: registered new interface driver hub                                    
usbcore: registered new device driver usb                                       
i2c-bfin-twi 31001400.twi: Blackfin on-chip I2C TWI Contoller, regs_base@f400140
i2c-bfin-twi 31001500.twi: Blackfin on-chip I2C TWI Contoller, regs_base@f400150
i2c-bfin-twi 31001600.twi: Blackfin on-chip I2C TWI Contoller, regs_base@f400160
pps_core: LinuxPPS API ver. 1 registered                                        
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@>
PTP clock support registered                                                    
Advanced Linux Sound Architecture Driver Initialized.                           
do_initcall_level level 5                                                       
Switched to clocksource cs_gptimer                                              
NET: Registered protocol family 2                                               
TCP established hash table entries: 1024 (order: 0, 4096 bytes)                 
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)                        
TCP: Hash tables configured (established 1024 bind 1024)                        
TCP: reno registered                                                            
UDP hash table entries: 256 (order: 0, 4096 bytes)                              
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                         
NET: Registered protocol family 1                                               
do_initcall_level level 6                                                       
hw perfevents: enabled with armv7_cortex_a5 PMU driver, 3 counters available    
futex hash table entries: 256 (order: -1, 3072 bytes)                           
jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.                           
io scheduler noop registered (default)                                          
ADI serial driver                                                               
adi-uart4.0: ttySC0 at MMIO 0x31003000 (irq = 20, base_baud = 7031250) is a ADI4
console [ttySC0] enabled                                                        
loop: module loaded                                                             
adi-spi3 31042000.spi: registered ADI SPI controller spi0                       
adi-spi3 31043000.spi: registered ADI SPI controller spi1                       
m25p80 spi2.38: found w25q128, expected w25q32                                  
m25p80 spi2.38: w25q128 (16384 Kbytes)                                          
3 ofpart partitions found on MTD device spi2.38                                 
Creating 3 MTD partitions on "spi2.38":                                         
0x000000000000-0x000000080000 : "uboot (spi)"                                   
0x000000080000-0x000000600000 : "kernel (spi)"                                  
0x000000600000-0x000001000000 : "root file system (spi)"                        
adi-spi3 31044000.spi: registered ADI SPI controller spi2                       
libphy: Fixed MDIO Bus: probed                                                  
CAN device driver interface                                                     
bfin_can 31000200.can: bfin_can device registered(&reg_base=f4000200, rx_irq=22)
bfin_can 31000a00.can: bfin_can device registered(&reg_base=f4000a00, rx_irq=25)
stmmaceth 3100c000.ethernet: no reset control found                             
stmmac - user ID: 0x10, Synopsys ID: 0x37                                       
 Ring mode enabled                                                              
 DMA HW capability register supported                                           
 Enhanced/Alternate descriptors                                                 
        Enabled extended descriptors                                            
 RX Checksum Offload Engine supported (type 2)                                  
 TX Checksum insertion supported                                                
 Wake-Up On Lan supported                                                       
 Enable RX Mitigation via HW Watchdog Timer                                     
libphy: stmmac: probed                                                          
eth0: PHY ID 20005c7a at 1 IRQ POLL (stmmac-0:01) active                        
usbcore: registered new interface driver usb-storage                            
musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver                               
musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1       
hub 1-0:1.0: USB hub found                                                      
hub 1-0:1.0: 1 port detected                                                    
mousedev: PS/2 mouse device common for all mice                                 
input: 3100b000.rotary as /devices/platform/scb/3100b000.rotary/input/input0    
i2c /dev entries driver                                                         
adi_wdt: initialized: timeout=20 sec (nowayout=0)                               
Driver 'mmcblk' needs updating - please use bus_type methods                    
Synopsys Designware Multimedia Card Interface Driver                            
Blackfin hardware CRC crypto driver                                             
bfin-hmac-crc 31001200.crc: initialized                                         
bfin-hmac-crc 31001300.crc: initialized                                         
usbcore: registered new interface driver usbhid                                 
usbhid: USB HID core driver                                                     
icc 20080000.icc: initialized                                                   
snd-sc58x-adau1979 snd-sc58x-adau1979.0: ASoC: CPU DAI 31002400.audio not regisd
platform snd-sc58x-adau1979.0: Driver snd-sc58x-adau1979 requests probe deferral
snd-sc58x-adau1962 snd-sc58x-adau1962.0: ASoC: CPU DAI 31002400.audio not regisd
platform snd-sc58x-adau1962.0: Driver snd-sc58x-adau1962 requests probe deferral
TCP: cubic registered                                                           
NET: Registered protocol family 17                                              
can: controller area network core (rev 20120528 abi 9)                          
NET: Registered protocol family 29                                              
can: raw protocol (rev 20120528)                                                
can: broadcast manager protocol (rev 20120528 t)                                
can: netlink gateway (rev 20130117) max_hops=1                                  
do_initcall_level level 7                                                       
ThumbEE CPU extension supported.                                                
snd-sc58x-adau1979 snd-sc58x-adau1979.0: ASoC: CPU DAI 31002400.audio not regisd
platform snd-sc58x-adau1979.0: Driver snd-sc58x-adau1979 requests probe deferral
snd-sc58x-adau1962 snd-sc58x-adau1962.0: ASoC: CPU DAI 31002400.audio not regisd
platform snd-sc58x-adau1962.0: Driver snd-sc58x-adau1962 requests probe deferral
console [netcon0] enabled                                                       
netconsole: network logging started                                             
/home/griffin/sc58x_dev/buildroot/linux/linux-kernel/drivers/rtc/hctosys.c: una)
IP-Config: Complete:                                                            
     device=eth0, hwaddr=02:80:ad:20:31:e8, ipaddr=192.168.0.15, mask=255.255.21
     host=sc58x, domain=, nis-domain=(none)                                     
     bootserver=192.168.0.10, rootserver=192.168.0.10, rootpath=                
ALSA device list:                                                               
  No soundcards found.                                                          
Freeing unused kernel memory: 16848K (c04fc000 - c1570000)                      
Starting logging: OK                                                            
Starting mdev...                                                                
Starting watchdog...                                                            
Initializing random number generator... random: dd urandom read with 25 bits ofe
done.                                                                           
Starting system message bus: done                                               
Starting network...                                                             
/bin/sh: run-parts: not found                                                   
ssh-keygen: generating new host keys: ED25519                                   
Starting sshd: OK                                                               
Starting inetd: OK                                                              
                                                                                
Welcome to Buildroot                                                            
buildroot login: stmmaceth 3100c000.ethernet eth0: Link is Up - 100Mbps/Half - f
root                                                                            
Password:                                                                       
                                                                                
                           _______________________________________              
        a8888b.           / Welcome to the buildroot distribution \             
       d888888b.         /       _     _                           \            
       8P"YP"Y88        /       | |   |_|            __  __ (TM)   |            
       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /        |            
       8'    .88       \        | |   | |  _ \| | | | \  /         |            
       8`._.' Y8.       \       | |__ | | | | | |_| | /  \         |            
      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\        |            
     dP   .    Y8b.       \   For embedded processors including    |            
    d8:'  "  `::88b        \    the Analog Devices SC58x           /            
   d8"         'Y88b        \_____________________________________/             
  :8P    '      :888                                                            
   8a.   :     _a88P         For further information, check out:                
 ._/"Yaa_:   .| 88P|                                                            
 \    YP"    `| 8P  `.                                                          
 /     \.___.d|    .'           - http://buildroot.org/                         
 `--..__)8888P`._.'  jgs/a:f    - http://www.analog.com/                        
                                                                                
Have a lot of fun...                                                            
# random: nonblocking pool is initialized                                       
                                                                                
# arecord -l                                                                    
arecord: device_list:268: no soundcards found...   

----------------------------------------------------- 

Outcomes