This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TLV320AIC3XSW-LINUX: i2c error and unable to sync register error in tlv320aic3x

Part Number: TLV320AIC3XSW-LINUX
Other Parts Discussed in Thread: AM3352, TPS65217

Tool/software: Linux

Hi,

I am working on a TI's customized board using SDCard for booting and ti-processor-sdk-linux-am335x-evm-03.02.00.05-Linux-x86-Install as SDK.

On using "aplay" command, I got the following error.

root@ngt:~# aplay audiocheck1.wav
aplay: /usr/lib/libasound.so.2: no version information available (required by aplay)
aplay: /usr/lib/libasound.so.2: no version information available (required by aplay)
aplay: /usr/lib/libasound.so.2: no version information available (required by aplay)
Playing WAVE 'audiocheck1.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, [  116.229917] tlv320aic3x-codec 1-001b: Unable to sync registers
0x1-0x1. -121
Mono
^CAborted by signal Interrupt...
root@ngt:~#

Further, I checked snd_soc_tlv320aic3x module and removed it and got the following error.

root@ngt:~# lsmod
Module                  Size  Used by
ecb                     1909  0
sha256_generic          9503  0
hmac                    2735  0
md5                     1897  0
sha1_generic            2621  0
snd_soc_evm             4741  0
sha1_arm_neon           6261  0
sha1_arm                3862  1 sha1_arm_neon
omap_aes_driver        19488  0
omap_sham              21513  0
omap_rng                4759  0
rng_core                7538  1 omap_rng
snd_soc_davinci_mcasp    19249  2
snd_soc_edma            1169  1 snd_soc_davinci_mcasp
snd_soc_tlv320aic3x    48518  1
snd_soc_omap            3193  1 snd_soc_davinci_mcasp
snd_soc_core          141858  5 snd_soc_davinci_mcasp,snd_soc_edma,snd_soc_omap,snd_soc_tlv320aic3x,snd_soc_evm
snd_pcm_dmaengine       5325  2 snd_soc_core,snd_soc_omap
snd_pcm                91588  5 snd_soc_davinci_mcasp,snd_soc_core,snd_soc_omap,snd_soc_tlv320aic3x,snd_pcm_dmaengine
snd_timer              22848  1 snd_pcm
rtc_omap                8272  0
omap_wdt                4634  0
root@ngt:~# i2cdetect -y -r 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: 10 -- -- -- -- -- -- -- -- -- -- UU -- -- -- --
20: 20 21 -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- 4d -- --
50: 50 51 52 53 54 55 56 57 -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- 6c -- -- --
70: -- -- -- -- -- -- -- --                         
root@ngt:~# speaker-test
speaker-test: /usr/lib/libasound.so.2: no version information available (required by speaker-test)
speaker-test: /usr/lib/libasound.so.2: no version information available (required by speaker-test)

speaker-test 1.0.26

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
[  183.648960] tlv320aic3x-codec 1-001b: Unable to sync registers 0x1-0x1. -121
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 256 to 32768
Period size range from 128 to 16384
Using max buffer size 32768
Periods = 4
was set period_size = 8192
was set buffer_size = 32768
 0 - Front Left
^C
root@ngt:~# rmmod snd_soc_tlv320aic3x
Error: Module snd_soc_tlv320aic3x is in use
root@ngt:~# rmmod -f snd_soc_tlv320aic3x                                                                                                       
[  225.103446] Disabling lock debugging due to kernel taint
root@ngt:~# i2cdetect -y -r 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: 10 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: 20 21 -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- 4d -- --
50: 50 51 52 53 54 55 56 57 -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- 6c -- -- --
70: -- -- -- -- -- -- -- --                         
root@ngt:~#

The codec device was at adress 0x1b, but after removing snd_soc_tlv320aic3x "rmmod snd_soc_tlv320aic3x", I'm expecting i2c address of codec to be shown instead of UU. But we are not getting anything on that i2c bus.

Changes Done

I have registered the tlv320aic3106 in the device tree as shown below:

1.

--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi


+          i2c1_pins: pinmux_i2c1_pins {
+                pinctrl-single,pins = <
+                        0x158 (PIN_INPUT_PULLUP | MUX_MODE2)    /* i2c1_sda.i2c1_sda */
+                        0x15c (PIN_INPUT_PULLUP | MUX_MODE2)    /* i2c1_scl.i2c1_scl */
+                >;
+        };

+&i2c1 {
+        pinctrl-names = "default";
+        pinctrl-0 = <&i2c1_pins>;
+        status = "okay";
+        clock-frequency = <100000>;
+
+        tlv320aic3106: tlv320aic3106@1b {
+                compatible = "ti,tlv320aic3106";
+                reg = <0x1b>;
+                gpio-reset = <&gpio0 8 0>; /* GPIO_1 AUDIO_CODEC_RST  */
+                status = "okay";
+                };
+};

2.

--- a/arch/arm/boot/dts/am335x-boneblack.dts
+++ b/arch/arm/boot/dts/am335x-boneblack.dts
 &rtc {
        system-power-controller;
@@ -142,7 +152,7 @@
        op-mode = <0>;  /* MCASP_IIS_MODE */
        tdm-slots = <2>;
        serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
-                       0 0 1 0
+                       1 2 0 0   /* Changing from 0 0 1 0 to 1 2 0 0 */
                >;
        tx-num-evt = <32>;
        rx-num-evt = <32>;
@@ -167,19 +177,14 @@
        };
 
        sound {
-               compatible = "simple-audio-card";
-               simple-audio-card,name = "TI BeagleBone Black";
-               simple-audio-card,format = "i2s";
-               simple-audio-card,bitclock-master = <&dailink0_master>;
-               simple-audio-card,frame-master = <&dailink0_master>;
-
-               dailink0_master: simple-audio-card,cpu {
-                       sound-dai = <&mcasp0>;
-                       clocks = <&clk_mcasp0>;
-               };
+                compatible = "ti,da830-evm-audio";
+                ti,model = "DA830 EVM";
+                ti,audio-codec = <&tlv320aic3106>;
+                ti,mcasp-controller = <&mcasp0>;
+                ti,codec-clock-rate = <24000000>;
+                ti,audio-routing =
+                                "Headphone Jack",       "HPLOUT",
+                                "Headphone Jack",       "HPROUT";
 
-               simple-audio-card,codec {
-                       sound-dai = <&tda19988>;
                };

};

};

Please suggest how that i2c error and unable to sync registers error can be solved?

Thanks and Regards

Deshvir Malik

  • Hi,

    Does the aplay -l or cat /proc/asound commands detect your sound card correctly?
    Can you provide your bootlog (dmesg) & your defconfig file?

    Best Regards,
    Yordan
  • Hi Yordan,

    These are the logs of aplay -l and cat/proc/sound

    root@ngt:~# aplay -l

    aplay: /usr/lib/libasound.so.2: no version information available (required by aplay)

    aplay: /usr/lib/libasound.so.2: no version information available (required by aplay)

    aplay: /usr/lib/libasound.so.2: no version information available (required by aplay)

    **** List of PLAYBACK Hardware Devices ****

    card 0: EVM [DA830 EVM], device 0: AIC3X tlv320aic3x-hifi-0 []

     Subdevices: 1/1

     Subdevice #0: subdevice #0

    root@ngt:~# cat /proc/asound/

    EVM/     card0/   cards    devices  pcm      timers   version  

    root@ngt:~# cat /proc/asound/cards

    0 [EVM            ]: DA830_EVM - DA830 EVM

                         DA830 EVM

    root@ngt:~# [   61.772017] random: nonblocking pool is initialized

    Below is the am335x_evm_defconfig

    CONFIG_ARM=y
    CONFIG_AM33XX=y
    CONFIG_TARGET_AM335X_EVM=y
    CONFIG_SPL_STACK_R_ADDR=0x82000000
    CONFIG_DEFAULT_DEVICE_TREE="am335x-evm"
    CONFIG_SPL=y
    CONFIG_SPL_STACK_R=y
    #CONFIG_SYS_EXTRA_OPTIONS="SERIAL4,CONS_INDEX=4,NAND"
    #CONFIG_SYS_EXTRA_OPTIONS="NAND"
    CONFIG_SYS_EXTRA_OPTIONS="SERIAL4,NAND"
    CONFIG_HUSH_PARSER=y
    CONFIG_AUTOBOOT_KEYED=y
    CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
    CONFIG_AUTOBOOT_DELAY_STR="d"
    CONFIG_AUTOBOOT_STOP_STR=" "
    CONFIG_CMD_BOOTZ=y
    # CONFIG_CMD_IMLS is not set
    CONFIG_CMD_ASKENV=y
    # CONFIG_CMD_FLASH is not set
    CONFIG_CMD_MMC=y
    CONFIG_CMD_SF=y
    CONFIG_CMD_SPI=y
    CONFIG_CMD_I2C=y
    CONFIG_CMD_USB=y
    CONFIG_CMD_DFU=y
    CONFIG_CMD_GPIO=y
    # CONFIG_CMD_SETEXPR is not set
    CONFIG_OF_CONTROL=y
    CONFIG_DM_MMC=y
    CONFIG_CMD_DHCP=y
    #CONFIG_CMD_MII=y
    #CONFIG_CMD_PING=y
    CONFIG_CMD_EXT2=y
    CONFIG_CMD_EXT4=y
    CONFIG_CMD_EXT4_WRITE=y
    CONFIG_CMD_FAT=y
    CONFIG_CMD_FS_GENERIC=y
    CONFIG_SPI_FLASH=y
    CONFIG_SPI_FLASH_WINBOND=y
    CONFIG_DM_ETH=y
    CONFIG_SYS_NS16550=y
    CONFIG_TIMER=y
    CONFIG_OMAP_TIMER=y
    CONFIG_USB=y
    CONFIG_USB_MUSB_HOST=y
    CONFIG_USB_MUSB_GADGET=y
    CONFIG_USB_GADGET=y
    CONFIG_RSA=y
    CONFIG_FIT=y
    CONFIG_SPL_OF_LIBFDT=y
    CONFIG_SPL_LOAD_FIT=y
    CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2"
    CONFIG_DM_NAND=y
    CONFIG_USB_GADGET_DOWNLOAD=y
    CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
    CONFIG_G_DNL_VENDOR_NUM=0x0451
    CONFIG_G_DNL_PRODUCT_NUM=0xd022
    CONFIG_MISC=y
    CONFIG_DM_USB=y
    CONFIG_USB_MUSB_TI=y
    CONFIG_OF_BOARD_SETUP=y
    CONFIG_CMD_TIME=y
    CONFIG_DM_I2C=y
    CONFIG_SPL_YMODEM_SUPPORT=y

    Below are the entire logs

    U-Boot SPL 2016.05-00305-g3b08611-dirty (Feb 13 2017 - 11:42:20)

    DRA 618 MPU freq set to 720Mhz

    DRA 618 Core freq set to 1000Mhz

    Trying to boot from MMC1

    Inside spl_start_uboot

    Inside spl_mmc_do_fs_boot

    reading args

    spl_load_image_fat_os: error reading image args, err - -1

    reading u-boot.img

    reading u-boot.img

    reading u-boot.img

    reading u-boot.img

    U-Boot 2016.05-00305-g3b08611-dirty (Feb 13 2017 - 11:42:20 +0530)

    CPU  : AM335X-GP rev 2.1

    Inside show_board_info

    Model: TI AM335x BeagleBone Black

          Watchdog enabled

    DRAM:  256 MiB

    NAND:  0 MiB

    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1

    reading uboot.env

    ** Unable to read "uboot.env" from mmc0:1 **

    Using default environment

    <ethaddr> not set. Validating first E-fuse MAC

    Press SPACE to abort autoboot in 2 seconds

    switch to partitions #0, OK

    mmc0 is current device

    SD/MMC found on device 0

    reading boot.scr

    ** Unable to read file boot.scr **

    reading uEnv.txt

    ** Unable to read file uEnv.txt **

    switch to partitions #0, OK

    mmc0 is current device

    Scanning mmc 0:1...

    switch to partitions #0, OK

    mmc0 is current device

    SD/MMC found on device 0

    3392528 bytes read in 247 ms (13.1 MiB/s)

    36283 bytes read in 15 ms (2.3 MiB/s)

    Kernel image @ 0x82000000 [ 0x000000 - 0x33c410 ]

    ## Flattened Device Tree blob at 88000000

      Booting using the fdt blob at 0x88000000

      Loading Device Tree to 8ef1e000, end 8ef29dba ... OK

    Starting kernel ...

    [    0.000000] Booting Linux on physical CPU 0x0

    [    0.000000] Initializing cgroup subsys cpu

    [    0.000000] Initializing cgroup subsys cpuacct

    [    0.000000] Linux version 4.4.32-gadde2ca9f8 (deshvir@deshvir-OptiPlex-3040) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #44 PREE

    MPT Thu Feb 16 20:51:16 IST 2017

    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d

    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

    [    0.000000] Machine model: TI AM335x BeagleBone Black

    [    0.000000] cma: Reserved 48 MiB at 0x8b800000

    [    0.000000] Memory policy: Data cache writeback

    [    0.000000] CPU: All CPU(s) started in SVC mode.

    [    0.000000] AM335X ES2.1 (neon )

    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64960

    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait

    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)

    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)

    [    0.000000] Memory: 200600K/262144K available (6435K kernel code, 313K rwdata, 2284K rodata, 264K init, 265K bss, 12392K reserved, 49152K cm

    a-reserved, 0K highmem)

    [    0.000000] Virtual kernel memory layout:

    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)

    [    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)

    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)

    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)

    [    0.000000]       .text : 0xc0008000 - 0xc088bfd4   (8720 kB)

    [    0.000000]       .init : 0xc088c000 - 0xc08ce000   ( 264 kB)

    [    0.000000]       .data : 0xc08ce000 - 0xc091c570   ( 314 kB)

    [    0.000000]        .bss : 0xc091c570 - 0xc095ea98   ( 266 kB)

    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

    [    0.000000] Preemptible hierarchical RCU implementation.

    [    0.000000]  Build-time adjustment of leaf fanout to 32.

    [    0.000000] NR_IRQS:16 nr_irqs:16 16

    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts

    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz

    [    0.000013] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns

    [    0.000036] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns

    [    0.000047] OMAP clocksource: timer1 at 24000000 Hz

    [    0.000221] clocksource_probe: no matching clocksources found

    [    0.000405] Console: colour dummy device 80x30

    [    0.000432] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'

    [    0.000439] This ensures that you still see kernel messages. Please

    [    0.000445] update your kernel commandline.

    [    0.000464] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)

    [    0.118979] pid_max: default: 32768 minimum: 301

    [    0.119106] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)

    [    0.119119] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)

    [    0.119866] Initializing cgroup subsys io

    [    0.119898] Initializing cgroup subsys memory

    [    0.119936] Initializing cgroup subsys devices

    [    0.119953] Initializing cgroup subsys freezer

    [    0.119969] Initializing cgroup subsys perf_event

    [    0.119982] Initializing cgroup subsys pids

    [    0.120012] CPU: Testing write buffer coherency: ok

    [    0.120424] Setting up static identity map for 0x80008200 - 0x80008258

    [    0.122775] devtmpfs: initialized

    [    0.135539] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3

    [    0.151877] omap_hwmod: debugss: _wait_target_disable failed

    [    0.208183] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns

    [    0.212364] pinctrl core: initialized pinctrl subsystem

    [    0.213781] NET: Registered protocol family 16

    [    0.216110] DMA: preallocated 256 KiB pool for atomic coherent allocations

    [    0.238980] cpuidle: using governor ladder

    [    0.268968] cpuidle: using governor menu

    [    0.273829] OMAP GPIO hardware version 0.1

    [    0.284336] hw-breakpoint: debug architecture 0x4 unsupported.

    [    0.328005] edma 49000000.edma: TI EDMA DMA engine driver

    [    0.331998] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring p

    robe

    [    0.332061] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring p

    robe

    [    0.332101] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring p

    robe

    [    0.332222] media: Linux media interface: v0.10

    [    0.332285] Linux video capture interface: v2.00

    [    0.332335] pps_core: LinuxPPS API ver. 1 registered

    [    0.332344] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

    [    0.332374] PTP clock support registered

    [    0.332432] EDAC MC: Ver: 3.0.0

    [    0.333674] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400

    [    0.334040] Advanced Linux Sound Architecture Driver Initialized.

    [    0.335298] clocksource: Switched to clocksource timer1

    [    0.347229] NET: Registered protocol family 2

    [    0.348063] TCP established hash table entries: 2048 (order: 1, 8192 bytes)

    [    0.348104] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

    [    0.348135] TCP: Hash tables configured (established 2048 bind 2048)

    [    0.348210] UDP hash table entries: 256 (order: 0, 4096 bytes)

    [    0.348231] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

    [    0.348394] NET: Registered protocol family 1

    [    0.348830] RPC: Registered named UNIX socket transport module.

    [    0.348848] RPC: Registered udp transport module.

    [    0.348856] RPC: Registered tcp transport module.

    [    0.348863] RPC: Registered tcp NFSv4.1 backchannel transport module.

    [    0.349826] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available

    [    0.351877] futex hash table entries: 256 (order: -1, 3072 bytes)

    [    0.360904] squashfs: version 4.0 (2009/01/31) Phillip Lougher

    [    0.362028] NFS: Registering the id_resolver key type

    [    0.362104] Key type id_resolver registered

    [    0.362114] Key type id_legacy registered

    [    0.362209] ntfs: driver 2.1.32 [Flags: R/O].

    [    0.366258] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)

    [    0.366292] io scheduler noop registered

    [    0.366306] io scheduler deadline registered

    [    0.366470] io scheduler cfq registered (default)

    [    0.367890] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568

    [    0.437097] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled

    [    0.441565] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250

    [    1.062919] console [ttyS0] enabled

    [    1.067718] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 159, base_baud = 3000000) is a 8250

    [    1.077718] [drm] Initialized drm 1.1.0 20060810

    [    1.090448] loop: module loaded

    [    1.096317] libphy: Fixed MDIO Bus: probed

    [    1.102623] mousedev: PS/2 mouse device common for all mice

    [    1.109041] i2c /dev entries driver

    [    1.113639] cpuidle: enable-method property 'ti,am3352' found operations

    [    1.121430] omap_hsmmc 48060000.mmc: Got CD GPIO

    [    1.202637] mmc0: host does not support reading read-only switch, assuming write-enable

    [    1.211375] ledtrig-cpu: registered to indicate activity on CPUs

    [    1.219512] NET: Registered protocol family 10

    [    1.224156] mmc0: new high speed SD card at address 0002

    [    1.230840] sit: IPv6 over IPv4 tunneling driver

    [    1.236261] mmcblk0: mmc0:0002 00000 1.83 GiB

    [    1.241994] NET: Registered protocol family 17

    [    1.247443]  mmcblk0: p1 p2

    [    1.250540] Key type dns_resolver registered

    [    1.255074] omap_voltage_late_init: Voltage driver support not added

    [    1.285579] tps65217 0-0024: Read from reg 0x16 failed

    [    1.290762] vdds_dpr: failed to enable

    [    1.294709] tps65217 0-0024: failed to register tps65217-pmic regulator

    [    1.301421] tps65217-pmic: probe of tps65217-pmic failed with error -121

    [    1.308637] tps65217 0-0024: Failed to read revision register: -121

    [    1.315025] tps65217: probe of 0-0024 failed with error -121

    [    1.321119] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

    [    1.328153] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz

    [    1.335078] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz

    [    1.341996] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

    [    1.349187] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

    [    1.356415] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

    [    1.363521] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

    [    1.370533] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz

    [    1.377070] hctosys: unable to open rtc device (rtc0)

    [    1.386236] ALSA device list:

    [    1.389243]   No soundcards found.

    [    1.430331] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

    [    1.438625] VFS: Mounted root (ext4 filesystem) on device 179:2.

    [    1.447089] devtmpfs: mounted

    [    1.450464] Freeing unused kernel memory: 264K (c088c000 - c08ce000)

    [    1.457100] This architecture does not have kernel memory protection.

    INIT: version 2.88 booting

    [    1.870877] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered

    INIT: Entering runlevel: 1

    Starting udev

    NEXT GENERATION TELEMATICS - VERSION_2_8 - 1Gb_RN52

    umount: can't umount /mnt/.psplash: Invalid argument

    [    2.317054] udevd[90]: starting version 182

    root@ngt:~# [    2.685777] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec

    [    2.806623] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0

    [    3.188236] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20

    [    3.278153] *******iNSIDE I2C Probe**********

    [    3.282745] Checking gpio reset***

    [    3.372193] 1-001b supply IOVDD not found, using dummy regulator

    [    3.420926] 1-001b supply DVDD not found, using dummy regulator

    [    3.470827] 1-001b supply AVDD not found, using dummy regulator

    [    3.515586] 1-001b supply DRVDD not found, using dummy regulator

    [    3.521722] *******codec register ret**** = 0

    [    3.798271] omap-sham 53100000.sham: hw accel on OMAP rev 4.3

    [    4.066964] davinci_evm sound: Could not get requested rate 24000000 using 24576000.

    [    4.168917] davinci_evm sound: tlv320aic3x-hifi <-> 48038000.mcasp mapping ok

    [    4.834329] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2

    [    5.358158] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

    root@ngt:~# aplay -l

    aplay: /usr/lib/libasound.so.2: no version information available (required by aplay)

    aplay: /usr/lib/libasound.so.2: no version information available (required by aplay)

    aplay: /usr/lib/libasound.so.2: no version information available (required by aplay)

    **** List of PLAYBACK Hardware Devices ****

    card 0: EVM [DA830 EVM], device 0: AIC3X tlv320aic3x-hifi-0 []

     Subdevices: 1/1

     Subdevice #0: subdevice #0

    root@ngt:~# cat /proc/asound/

    EVM/     card0/   cards    devices  pcm      timers   version  

    root@ngt:~# cat /proc/asound/cards

    0 [EVM            ]: DA830_EVM - DA830 EVM

                         DA830 EVM

    root@ngt:~# [   61.772017] random: nonblocking pool is initialized

    Thanks and Regards

    Deshvir Malik

  • Sorry,

    By mistake I added u-boot defconfig.

    I am attaching the kernel defconfig.1362.tisdk_am335x-evm_defconfig.txt

  • Hi,

    The following messages:
    aplay: /usr/lib/libasound.so.2: no version information available (required by aplay)

    aplay: /usr/lib/libasound.so.2: no version information available (required by aplay)

    aplay: /usr/lib/libasound.so.2: no version information available (required by aplay)

    Make me think that you may have some corrupted/not installed libraries. However this is not related to the I2C sync register issue, I'll have a look at attached files and post what I've found.

    Best Regards,
    Yordan