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.

J5 - I2C problems

We have an application which uses the i2c.2 interface. This had been working fine until we had a new lot of our boards. 

The problem boards produce an erratic I2C signal. I have attached a comparison we were able to capture between a normal functioning board and a problem board. 

It is noteworthy that i2c.0 works fine in both boards, and we have been able to configure devices on the i2c.2 bus using a bridge from i2c.0.

We also noticed differences in the boot process log output. Of notice is a different revision of TI811X-GP (1.1 working vs 2.1 problem). Attached both logs. 

We have mostly exhausted the possibility of this being a hardware problem. Pull up resistors have been exchanged between i2c.0 and i2c.2 buses with no luck. 

Boot comparison:

i2c bus data capture for both Normal vs Problem DSP + i2cDetect test. 

normal vs problem dsp comparison.pdf

Full boot logs of the normal and problematic J5s


U-Boot 2010.06 (Sep 01 2016 - 16:11:40)

TI811X-GP rev 1.1

ARM clk: 600MHz
DDR clk: 400MHz

DRAM:  1 GiB
MMC:   OMAP SD/MMC: 0
Using default environment

The 2nd stage U-Boot will now be auto-loaded
Please do not interrupt the countdown till TI811X_EVM prompt if 2nd stage is already flashed
Hit any key to stop autoboot:  0 
reading u-boot.bin

185932 bytes read
## Starting application at 0x80800000 ...


U-Boot 2010.06 (Nov 12 2012 - 20:54:08)

TI811X-GP rev 1.1

ARM clk: 600MHz
DDR clk: 400MHz

I2C:   ready
DRAM:  1 GiB
NAND:  HW ECC BCH8 Selected
No NAND device found!!!
0 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - bad CRC or MMC, using default environment

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@                                                               @@
@@                                                               @@
@@                                                               @@
@@                                                               @@
@@                                                               @@
@@     88888888888 8888888 .d8888b.   d888    d888               @@
@@         888       888  d88P  Y88b d8888   d8888               @@
@@         888       888  Y88b. d88P   888     888               @@
@@         888       888    Y88888     888     888    888  888   @@
@@         888       888  .d8P88Y8b.   888     888      Y8 8P    @@
@@         888       888  888    888   888     888       88      @@
@@         888       888  Y88b  d88P   888     888     .d8 8b.   @@
@@         888     8888888  Y8888P  8888888  8888888   888 888   @@
@@                                                               @@
@@                                                               @@
@@                                                               @@
@@                                                               @@
@@                                                               @@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Net:   Ethernet clocking: 0x0
<ethaddr> not set. Reading from E-fuse
Detected MACID:1c:ba:8c:b4:5f:14
cpsw
Hit any key to stop autoboot:  3  2  1  0 
reading boot.scr

273 bytes read
Running bootscript from MMC/SD to set the ENV...
## Executing script at 80900000
reading uImage

2438036 bytes read
## Booting kernel from Legacy Image at 80009000 ...
   Image Name:   Linux-2.6.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2437972 Bytes = 2.3 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.37 (gary@gary-linux-dev) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #38 Tue Aug 8 14:51:26 EDT 2017
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: ti811xevm
ti81xx_reserve: ### Reserved DDR region @8df00000
reserved size = 52428800 at 0x0
FB: Reserving 52428800 bytes SDRAM for VRAM
Memory policy: ECC disabled, Data cache writeback
OMAP chip is TI811X 1.0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 43840
Kernel command line: console=ttyO0,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=224M@0x80000000 notifyk.vpssm3_sva=0x9F900000 ip=none:::::eth0:on noinitrd
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 172MB 1MB = 173MB total
Memory: 169860k/169860k available, 59516k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xce800000 - 0xf8000000   ( 664 MB)
    lowmem  : 0xc0000000 - 0xce000000   ( 224 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .init : 0xc0008000 - 0xc003e000   ( 216 kB)
      .text : 0xc003e000 - 0xc04a2000   (4496 kB)
      .data : 0xc04a2000 - 0xc04e79c0   ( 279 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:407
omap_hwmod: gpio2: softreset failed (waited 10000 usec)
omap_hwmod: gpio3: softreset failed (waited 10000 usec)
omap_hwmod: gpio4: softreset failed (waited 10000 usec)
omap_hwmod: gpio5: softreset failed (waited 10000 usec)
omap_hwmod: gpio6: softreset failed (waited 10000 usec)
IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
Total of 128 interrupts on 1 active controller
GPMC revision 6.0
Trying to install interrupt handler for IRQ400
Trying to install interrupt handler for IRQ401
Trying to install interrupt handler for IRQ402
Trying to install interrupt handler for IRQ403
Trying to install interrupt handler for IRQ404
Trying to install interrupt handler for IRQ405
Trying to install interrupt handler for IRQ406
Trying to install type control for IRQ407
Trying to set irq flags for IRQ407
OMAP clockevent source: GPTIMER1 at 20000000 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 598.01 BogoMIPS (lpj=2990080)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
TI81XX: Map 0x8df00000 to 0xfe500000 for dram barrier
TI81XX: Map 0x40300000 to 0xfe600000 for sram barrier
omap_voltage_early_init: voltage driver support not added
regulator: core version 0.5
regulator: dummy: 
NET: Registered protocol family 16
omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!
omap_voltage_add_dev: VDD specified does not exist!
OMAP GPIO hardware version 0.1
OMAP GPIO hardware version 0.1
OMAP GPIO hardware version 0.1
OMAP GPIO hardware version 0.1
OMAP GPIO hardware version 0.1
OMAP GPIO hardware version 0.1
omap_mux_init: Add partition: #1: core, flags: 4
_omap_mux_init_gpio: Could not set gpio38
_omap_mux_init_gpio: Could not set gpio35
registered ti81xx_vpss device
registered ti81xx on-chip HDMI device
registered ti81xx_fb device
ti81xx_pcie: Invoking PCI BIOS...
ti81xx_pcie: Setting up Host Controller...
ti81xx_pcie: Register base mapped @0xce830000
ti81xx_pcie: forcing link width - x1
ti81xx_pcie: Starting PCI scan...
PCI: bus0: Fast back to back transfers enabled
ti81xx_pcie: PCI scan done.
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
USBSS revision 4ea2080b
registerd cppi-dma Intr @ IRQ 17
Cppi41 Init Done
omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
pcf857x 1-0020: gpios 192..207 on a pcf8575
regulator: VRTC: 1800 mV 
regulator: VIO: 1500 mV 
regulator: VDD1: 600 <--> 1500 mV at 1200 mV 
regulator: VDD2: 600 <--> 1500 mV at 1200 mV 
regulator: VDDCTRL: 600 <--> 1400 mV at 1200 mV 
regulator: LDO1: 1100 <--> 3300 mV at 1800 mV 
regulator: LDO2: 1100 <--> 3300 mV at 1800 mV 
regulator: LDO3: 1100 <--> 3300 mV at 3300 mV 
regulator: LDO4: 1100 <--> 3300 mV at 1800 mV 
regulator: LDO5: 1100 <--> 3300 mV at 3300 mV 
regulator: LDO6: 1100 <--> 3300 mV at 3300 mV 
regulator: LDO7: 1100 <--> 3300 mV at 3300 mV 
regulator: LDO8: 1100 <--> 3300 mV at 1800 mV 
tps65910 1-002d: No interrupt support, no core IRQ
omap_i2c omap_i2c.3: bus 3 rev4.0 at 100 kHz
Advanced Linux Sound Architecture Driver Version 1.0.23.
Switching to clocksource gp timer
musb-hdrc: version 6.0, host, debug=0
musb-hdrc musb-hdrc.0: dma type: dma-cppi41
MUSB controller-0 revision 4ea20800
usb2phy: computed values rxcalib(15)DACs(23 13 15)
usb2phy: override computed values rxcalib(15)DACs(23 13 15)
usb2phy_config: musb(0) rxcalib done, rxcalib read value 6f6bdb7e
musb-hdrc musb-hdrc.0: MUSB HDRC host driver
musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: MUSB HDRC host driver
usb usb1: Manufacturer: Linux 2.6.37 musb-hcd
usb usb1: SerialNumber: musb-hdrc.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
musb-hdrc musb-hdrc.0: USB Host mode controller at ce82e000 using DMA, IRQ 18
musb-hdrc musb-hdrc.1: dma type: dma-cppi41
MUSB controller-1 revision 4ea20800
usb2phy: computed values rxcalib(15)DACs(34 14 15)
usb2phy: override computed values rxcalib(15)DACs(34 14 15)
usb2phy_config: musb(1) rxcalib done, rxcalib read value 6f715d7e
musb-hdrc musb-hdrc.1: MUSB HDRC host driver
musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 2.6.37 musb-hcd
usb usb2: SerialNumber: musb-hdrc.1
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
musb-hdrc musb-hdrc.1: USB Host mode controller at ce836800 using DMA, IRQ 19
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
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
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
PMU: registered new PMU device of type 0
omap-iommu omap-iommu.0: ducati registered
omap-iommu omap-iommu.1: sys registered
msgmni has been set to 331
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
console [ttyO0] enabled
omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
brd: module loaded
loop: module loaded
davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
davinci_mdio davinci_mdio.0: detected phy mask fffffffe
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
CAN device driver interface
CAN bus driver for Bosch D_CAN controller 1.0
d_can d_can: d_can device registered (irq=52, irq_obj=53)
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver dm9601
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
qt602240_ts 1-004a: __qt602240_read_reg: i2c transfer failed
qt602240_ts: probe of 1-004a failed with error -5
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
i2c /dev entries driver
Linux video capture interface: v2.00
OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
notify_init : notify drivercreated  for  remote proc id 2 at physical Address 0x9f900000
usbcore: registered new interface driver snd-usb-audio
ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20090105)
can: broadcast manager protocol (rev 20090105 t)
Registering the dns_resolver key type
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
omap_voltage_late_init: Voltage driver support not added
Power Management for TI81XX.
Detected MACID=1c:ba:8c:b4:5f:14
omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
mmc0: new high speed SDHC card at address aaaa
mmcblk0: mmc0:aaaa SC32G 29.7 GiB 
 mmcblk0: p1 p2
hub 2-0:1.0: over-current change on port 1

CPSW phy found : id is : 0x4dd074
PHY 0:01 not found
IP-Config: Guessing netmask 255.0.0.0
IP-Config: Complete:
     device=eth0, addr=109.0.0.0, mask=255.0.0.0, gw=255.255.255.255,
     host=109.0.0.0, domain=, nis-domain=(none),
     bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
EXT3-fs: barriers not enabled
kjournald starting.  Commit interval 5 seconds
EXT3-fs (mmcblk0p2): using internal journal
EXT3-fs (mmcblk0p2): recovery complete
EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) on device 179:2.
devtmpfs: mounted
Freeing init memory: 216K

INIT: version 2.86 booting

Please wait: booting...
Error opening /dev/fb0: No such file or directory
Starting udev
udevd (69): /proc/69/oom_adj is deprecated, please use /proc/69/oom_score_adj instead.
PHY: 0:00 - Link is Up - 100/Full
FAT: Unrecognized mount option "barrier=1" or missing value
Remounting root file system...
Caching udev devnodes
NET: Registered protocol family 10
ALSA: Restoring mixer settings...
Configuring network interfaces... /usr/sbin/alsactl: load_state:1625: No soundcards found...
done.
Setting up IP spoofing protection: rp_filter.
Tue Nov 13 00:05:00 UTC 2012

INIT: Entering runlevel: 5

 I2C (0x58): Read ERROR !!! (reg[0x08], count = 5)
 Error getting ChipId information Decoder_Init: VIP 0: VID DEC 0400 (0x58): 0000:0000:0000
 Decoder_Init: Detect video in progress for inst 0 !!!
 I2C (0x58): Write ERROR !!! (reg[0xfe], count = 1)
 Error setting video mode I2C (0x58): Write ERROR !!! (reg[0xff], count = 1)
 Error getting video status I2C (0x58): Write ERROR !!! (reg[0xff], count = 1)
 Error getting video status I2C (0x58): Write ERROR !!! (reg[0xff], count = 1)
 Error getting video status I2C (0x58): Write ERROR !!! (reg[0xff], count = 1)
 Error getting video status Decoder_Init: Detect video Done: NO Video signal available in channel 0 !!!
 I2C (0x58): Write ERROR !!! (reg[0xfe], count = 1)
Loading HDVPSS Firmware
SysLink version : 2.20.02.20
SysLink module created on Date:Nov 12 2012 Time:21:32:09
FIRMWARE: I2cInit will be done by M3
FIRMWARE: Memory map bin file not passed
Usage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [-mmap <memory_map_file>] [-i2c <0|1>]
===Mandatory arguments=== 
<Processor Id>         0: DSP, 1: Video-M3, 2: Vpss-M3 
<Location of Firmware> firmware binary file 
<start|stop>           to start/stop the firmware 
===Optional arguments=== 
-mmap                  input memory map bin file name 
-i2c                   0: i2c init not done by M3, 1(default): i2c init done by M3 
FIRMWARE: isI2cInitRequiredOnM3: 1
FIRMWARE: Default memory configuration is used
Firmware Loader debugging not configured
Default FL_DEBUG: warning
Allowed FL_DEBUG levels: error, warning, info, debug, log
FIRMWARE: 2 start Successful
t81xx_vidout:Could not register Video driver
FATAL: Error inserting ti81xxvo (/lib/modules/2.6.37/kernel/drivers/media/video/ti81xx/ti81xxvo.ko): Invalid argument
FATAL: Error inserting ti81xxvin (/lib/modules/2.6.37/kernel/drivers/media/video/ti81xx/ti81xxvin.ko): No such device
CMEMK module: built on Nov 12 2012 at 19:25:08
  Reference Linux version 2.6.37
  File /swcoe/sdk/cm/netra/arago-tmp/work/c6a811x-evm-none-linux-gnueabi/ti-linuxutils-1_3_22_00_02-r1d/linuxutils_3_22_00_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
allocated heap buffer 0xd4000000 of size 0x5000000
cmemk initialized
<BB2D Log>	bb2d module built on Nov 12 2012 @ 19:47:01
<BB2D Log>	compatible with linux kernel 2.6.37
<BB2D Log>	bb2d initialized successfully!
Starting system message bus: dbus.

RadioApp Upgrade: Checking for upgrade status...
Status: Upgrade=false
RadioApp Upgrade: Upgrade status is 'No'
RadioApp Upgrade: Downgrade status is 'No'
/etc/init.d/rc: /etc/rc5.d/S20RadioApp_Upgrade.sh: line 3: /home/root/radio_prebuilt/fpga_update: not found
Entered in the VSFTPD
* starting FTP Server: vsftpd... done.
Starting dropbear daemon.
OSC_SRC_CTRL 0x10000

VIDEO_PLL_CLK_SRC 0x0

VIDEO_PLL connfiguration - Start

VIDEO0_PLL put in bypass; ready to reprogram; STATUS e0000161

VIDEO_PLL connfiguration - success

MCASP5_HSCLKSRC: 0x70000

ATL Condig:.......

   ATL_SWEN  : 0x1

   ATL_PCKMUX: 0x1

   ATL_BWSMUX: 0x3

   ATL_AWSMUX: 0x7

   ATL_ATLCR : 0xF

MCASP COnfiguration Start:.......

MCASP1 COnfiguration Success:.......

Peripheral Bus Burst Priority: 0xFFFF08
Radio PLL and PINMUX configuration module loaded

insmod: error inserting '/home/root/radio_prebuilt/syslink.ko': -1 File exists
Entered init_JAMR2_1_gpio

VCP availablity is 1

VCP Enable returned success

IIC creation for DAC successful

Configuring AIC 0x18
SV: DSP initialization success 



RM: Sending MQ notification

SV: Middleware initialization success 



RM: Sent MQ notification



RM: Waiting for Sup notification

RM: Opening message queue for RDE 0

Notify Thread started
Notify Thread Running
MW Thread4
MW Thread3
MW Thread2
MW Thread1
RM: Opened message queue for RDE 0

RM: Opening message queue for RDE 1

RM: Opened message queue for RDE 1

RM: Opening message queue for RID

RM: Opened message queue for RID



RM: Received Sup notification

dspprofile_thread: Context -> 0x48210008

SV: DSPPROFILE_MSG_MQ_NOTIF 

SV: SV_broadcastResponse 

Profiler: RingIO_open .... Success

Success to open the profiling RingIO 
Profiler: DSP CLock Speed at 600000000
Profiler: DSPPROFILE_ProfMsgRecvrTask created

RadioAppINIConfig Loaded
[RADIOAPP_SETTINGS]
TIMELOCK_DSP=1
SAVE_SETTINGS=1
[RADIOAPP_LOG_SETTINGS]
LOG_STATUS=0
Loaded STATIC MODE
MAM WD 1.1
Current uptime: 20.000000
RadioApp uptime: 20.799999
Uptime diff.: -0.799999
PHY: 0:00 - Link is Down
PHY: 0:00 - Link is Up - 100/Full
Tuner Select
RM: RM_TUNER_SELECT_OPCODE


Concurrency: HD1.5 SD Concurrent



 RM: GetTunerI2cAddress: Case OnBoardTuner 



 I2C Address for Tuner1: 4b.



 I2C Address for Tuner2: 49.

IIC creation for Tuner successful
TCD: TCD_detectTunerVersion ==> PG3 Tuner

TCD: TCD_detectTunerVersion ==> PG2

TCD_Setup tunerId 0 radioBand 1 dOut0Config 0x21345 dOut1Config 0x0

TCD_Setup tunerId 1 radioBand 1 dOut0Config 0x21345 dOut1Config 0x0

TCD_Setup tunerId 0 radioBand 0 dOut0Config 0x2143a dOut1Config 0x0

TCD_Setup tunerId 1 radioBand 0 dOut0Config 0x2143a dOut1Config 0x0

TCD_SetDriveStrength tunerId 0 dfs_input_path 0x2040 dout_params 0xb641

TCD_SetDriveStrength tunerId 1 dfs_input_path 0x2040 dout_params 0xb641

TCD_SetBand tunerId 0 radioBand 0

TCD_SetBand tunerId 1 radioBand 0

TCD:TCD_Start 0

TCD_InitializeTuner - Band = 0

Writing Register1 - cnt = 34

Writing mem1 - cnt = 59

Writing mem2 - cnt = 129

Writing mem3 - cnt = 129

Writing Register2 - cnt = 23

Writing Register3 - cnt = 13

CX and CY Tank filters not set.

TCD:TCD_Start 1

TCD_InitializeTuner - Band = 0

Writing Register1 - cnt = 34

Writing mem1 - cnt = 59

Writing mem2 - cnt = 129

Writing mem3 - cnt = 129

Writing Register2 - cnt = 22

Writing Register3 - cnt = 13





Tank filter: ef_cf_1 = 0xFFFF, ef_cf_3 = 0xFFFF

Tank filter: Computed CX = 127

Tank filter: Out of range

Tank filter: corrected CX = 127

RM:HD1.5SD Mode.

RM:RID_INIT_REQ sent to DSP.



RM:RID_INIT_RES Received: EDMA Configuration Success.



RM: Entered RM_sendRdeStart function.



RM: RDE_START_REQ sent to 0.

RM:RDE START response received

RM:RDE Setting Concurrency

RM: Not setting Road setup option

Sending RDE_SET_CONCURRENCY_CMD ... 
RM:RDE Set Concurrency response received

RM:Entered RDE RM_sendSwitchState

RM:RDE IDLE Switch state response received

RM:Entered RDE RM_sendSwitchState

RM:RDE EXECUTING Switch state response received



RM: Entered RM_sendRdeStart function.



RM: RDE_START_REQ sent to 1.

RM:RDE START response received

RM:RDE Setting Concurrency

RM: Setting Road Set up command

Sending RDE_SET_CONCURRENCY_CMD ... 
RM:RDE Set Concurrency response received

RM:Entered RDE RM_sendSwitchState

RM:RDE IDLE Switch state response received

RM:Entered RDE RM_sendSwitchState

RM:RDE EXECUTING Switch state response received

Tuner Selected :146

RM:RID_START_RES Received: McASP Initialization Success.


Enabling MP11 service
50
50
50
50
50
Webserver Thread Started

Current Band is :1
Current Frequency is  : 93300
RM: RM_BAND_SELECT_OPCODE
RM_handle_BandCommand ....Entry

RM_execute_BandCommand ....Entry

FM band - Tuner1

TCD_SetBand tunerId 0 radioBand 1



New Band: TCD_InitializeTuner - Band = 1

Writing Register1 - cnt = 42

TCD_Standby
Writing mem1 - cnt = 45

Writing mem2 - cnt = 129

Writing mem3 - cnt = 129

Writing mem4 - cnt = 51

Writing mem5 - cnt = 129

Writing Register2 - cnt = 9

Writing Register3 - cnt = 27

Changing the channel filter....FM

CX and CY Tank filters not set.

board type 1, TunerId: 0
gblLnaReg 0x0

Setting AF CF



RM :ridBandChangeReq->band = 1 ridBandChangeReq->tunerId = 0
RM_execute_BandCommand ....Exit

RM_handle_BandCommand ....Exit

RM:Sending RDE BandSwitch

RM: Sending band switch to RDE 1

RM: Sent band switch to RDE 1

  RM:RDE_BAND_SWITCH_RES

RM:RDE_BAND_SWITCH_RES received - InstanceId 1

RM: RM_BAND_SELECT_OPCODE
RM:Sending RDE BandSwitch

RM: Sending band switch to RDE 2

RM: Sent band switch to RDE 2

  RM:RDE_BAND_SWITCH_RES

RM:RDE_BAND_SWITCH_RES received - InstanceId 2

RM_handle_SysTuneCommand (inst1) : Band: 1, Frq: 93300 KHz, Program : 0

RM_execute_BandCommand ....Entry

RM_execute_BandCommand ....Do Nothing. We're already in the same band
RM_execute_BandCommand ....Exit

RM:Sending RDE Tune

RM:Sent RM_sendRdeTune to instance 1

RM: Sending Tune command to RDE

RM: Sent Tune command to RDE


SV: HD audio signal lost 
RM:RDE_TUNE_RES received


SET dbgpwd
Password is valid
SNMP: Attempting to listen on IP: 192.168.1.200 Port 161..
Ready
SNMP: Trap Thread Started
Current uptime: 30.000000
RadioApp uptime: 30.889999
Uptime diff.: -0.889999

/home/ftpdata/data/log_data
Entering Clean-up Routine
Running Clean-up on files older than 30 days
SV: HD audio signal acquired 
	Programs available:  3
	Current Program:     0
	Audio Quality:       15
	SNR:                 63.621809

Current CSV file /mnt/ram/log/2012-11-13-00-00/2012-11-13-00-00.csv
/mnt/ram/log/2012-11-13-00-00/2012-11-13-00-00.csv
Current uptime: 40.000000
RadioApp uptime: 35.939999
Uptime diff.: 4.060001
Current uptime: 50.000000
RadioApp uptime: 46.009998
Uptime diff.: 3.990002
Current uptime: 60.000000
RadioApp uptime: 56.119999
Uptime diff.: 3.880001
U-Boot 2010.06 (Nov 12 2012 - 20:54:08)

TI811X-GP rev 2.1

ARM clk: 600MHz
DDR clk: 400MHz

I2C:   ready
DRAM:  1 GiB
NAND:  HW ECC BCH8 Selected
No NAND device found!!!
0 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - bad CRC or MMC, using default environment

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@                                                               @@
@@                                                               @@
@@                                                               @@
@@                                                               @@
@@                                                               @@
@@     88888888888 8888888 .d8888b.   d888    d888               @@
@@         888       888  d88P  Y88b d8888   d8888               @@
@@         888       888  Y88b. d88P   888     888               @@
@@         888       888    Y88888     888     888    888  888   @@
@@         888       888  .d8P88Y8b.   888     888      Y8 8P    @@
@@         888       888  888    888   888     888       88      @@
@@         888       888  Y88b  d88P   888     888     .d8 8b.   @@
@@         888     8888888  Y8888P  8888888  8888888   888 888   @@
@@                                                               @@
@@                                                               @@
@@                                                               @@
@@                                                               @@
@@                                                               @@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Net:   Ethernet clocking: 0x0
<ethaddr> not set. Reading from E-fuse
Detected MACID:ec:11:27:bf:2:c6
cpsw
Hit any key to stop autoboot:  0
reading boot.scr

273 bytes read
Running bootscript from MMC/SD to set the ENV...
## Executing script at 80900000
reading uImage

2438036 bytes read
## Booting kernel from Legacy Image at 80009000 ...
   Image Name:   Linux-2.6.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2437972 Bytes = 2.3 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.37 (gary@gary-linux-dev) (gcc version 4.3.3 (Sourcery G++ Lite
 2009q1-203) ) #38 Tue Aug 8 14:51:26 EDT 2017
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: ti811xevm
ti81xx_reserve: ### Reserved DDR region @8df00000
reserved size = 52428800 at 0x0
FB: Reserving 52428800 bytes SDRAM for VRAM
Memory policy: ECC disabled, Data cache writeback
OMAP chip is TI811X 1.0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 43840
Kernel command line: console=ttyO0,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=
224M@0x80000000 notifyk.vpssm3_sva=0x9F900000 ip=none:::::eth0:on noinitrd
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 172MB 1MB = 173MB total
Memory: 169860k/169860k available, 59516k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xce800000 - 0xf8000000   ( 664 MB)
    lowmem  : 0xc0000000 - 0xce000000   ( 224 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .init : 0xc0008000 - 0xc003e000   ( 216 kB)
      .text : 0xc003e000 - 0xc04a2000   (4496 kB)
      .data : 0xc04a2000 - 0xc04e79c0   ( 279 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:407
omap_hwmod: gpio2: softreset failed (waited 10000 usec)
omap_hwmod: gpio3: softreset failed (waited 10000 usec)
omap_hwmod: gpio4: softreset failed (waited 10000 usec)
omap_hwmod: gpio5: softreset failed (waited 10000 usec)
omap_hwmod: gpio6: softreset failed (waited 10000 usec)
IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
Total of 128 interrupts on 1 active controller
GPMC revision 6.0
Trying to install interrupt handler for IRQ400
Trying to install interrupt handler for IRQ401
Trying to install interrupt handler for IRQ402
Trying to install interrupt handler for IRQ403
Trying to install interrupt handler for IRQ404
Trying to install interrupt handler for IRQ405
Trying to install interrupt handler for IRQ406
Trying to install type control for IRQ407
Trying to set irq flags for IRQ407
OMAP clockevent source: GPTIMER1 at 20000000 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 598.01 BogoMIPS (lpj=2990080)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
TI81XX: Map 0x8df00000 to 0xfe500000 for dram barrier
TI81XX: Map 0x40300000 to 0xfe600000 for sram barrier
omap_voltage_early_init: voltage driver support not added
regulator: core version 0.5
regulator: dummy:
NET: Registered protocol family 16
omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!
omap_voltage_add_dev: VDD specified does not exist!
OMAP GPIO hardware version 0.1
OMAP GPIO hardware version 0.1
OMAP GPIO hardware version 0.1
OMAP GPIO hardware version 0.1
OMAP GPIO hardware version 0.1
OMAP GPIO hardware version 0.1
omap_mux_init: Add partition: #1: core, flags: 4
_omap_mux_init_gpio: Could not set gpio38
_omap_mux_init_gpio: Could not set gpio35
registered ti81xx_vpss device
registered ti81xx on-chip HDMI device
registered ti81xx_fb device
ti81xx_pcie: Invoking PCI BIOS...
ti81xx_pcie: Setting up Host Controller...
ti81xx_pcie: Register base mapped @0xce830000
ti81xx_pcie: forcing link width - x1
ti81xx_pcie: Starting PCI scan...
PCI: bus0: Fast back to back transfers enabled
ti81xx_pcie: PCI scan done.
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
USBSS revision 4ea2080b
registerd cppi-dma Intr @ IRQ 17
Cppi41 Init Done
omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
pcf857x 1-0020: gpios 192..207 on a pcf8575
regulator: VRTC: 1800 mV
regulator: VIO: 1500 mV
regulator: VDD1: 600 <--> 1500 mV at 1200 mV
regulator: VDD2: 600 <--> 1500 mV at 1200 mV
regulator: VDDCTRL: 600 <--> 1400 mV at 1200 mV
regulator: LDO1: 1100 <--> 3300 mV at 1800 mV
regulator: LDO2: 1100 <--> 3300 mV at 1800 mV
regulator: LDO3: 1100 <--> 3300 mV at 3300 mV
regulator: LDO4: 1100 <--> 3300 mV at 1800 mV
regulator: LDO5: 1100 <--> 3300 mV at 3300 mV
regulator: LDO6: 1100 <--> 3300 mV at 3300 mV
regulator: LDO7: 1100 <--> 3300 mV at 3300 mV
regulator: LDO8: 1100 <--> 3300 mV at 1800 mV
tps65910 1-002d: No interrupt support, no core IRQ
omap_i2c omap_i2c.3: bus 3 rev4.0 at 100 kHz
Advanced Linux Sound Architecture Driver Version 1.0.23.
Switching to clocksource gp timer
musb-hdrc: version 6.0, host, debug=0
musb-hdrc musb-hdrc.0: dma type: dma-cppi41
MUSB controller-0 revision 4ea20800
usb2phy: computed values rxcalib(15)DACs(27 16 15)
usb2phy: override computed values rxcalib(15)DACs(27 16 15)
usb2phy_config: musb(0) rxcalib done, rxcalib read value 6f6de17e
musb-hdrc musb-hdrc.0: MUSB HDRC host driver
musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: MUSB HDRC host driver
usb usb1: Manufacturer: Linux 2.6.37 musb-hcd
usb usb1: SerialNumber: musb-hdrc.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
musb-hdrc musb-hdrc.0: USB Host mode controller at ce82e000 using DMA, IRQ 18
musb-hdrc musb-hdrc.1: dma type: dma-cppi41
MUSB controller-1 revision 4ea20800
usb2phy: computed values rxcalib(15)DACs(25 12 16)
usb2phy: override computed values rxcalib(15)DACs(25 12 16)
usb2phy_config: musb(1) rxcalib done, rxcalib read value 6f6cd986
musb-hdrc musb-hdrc.1: MUSB HDRC host driver
musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 2.6.37 musb-hcd
usb usb2: SerialNumber: musb-hdrc.1
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
musb-hdrc musb-hdrc.1: USB Host mode controller at ce836800 using DMA, IRQ 19
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
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
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
PMU: registered new PMU device of type 0
omap-iommu omap-iommu.0: ducati registered
omap-iommu omap-iommu.1: sys registered
msgmni has been set to 331
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
console [ttyO0] enabled
omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
brd: module loaded
loop: module loaded
davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
davinci_mdio davinci_mdio.0: detected phy mask fffffffe
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
CAN device driver interface
CAN bus driver for Bosch D_CAN controller 1.0
d_can d_can: d_can device registered (irq=52, irq_obj=53)
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver dm9601
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapter
s
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
qt602240_ts 1-004a: __qt602240_read_reg: i2c transfer failed
qt602240_ts: probe of 1-004a failed with error -5
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
i2c /dev entries driver
Linux video capture interface: v2.00
OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
notify_init : notify drivercreated  for  remote proc id 2 at physical Address 0x
9f900000
usbcore: registered new interface driver snd-usb-audio
ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20090105)
can: broadcast manager protocol (rev 20090105 t)
Registering the dns_resolver key type
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
omap_voltage_late_init: Voltage driver support not added
Power Management for TI81XX.
Detected MACID=ec:11:27:bf:2:c6
omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
mmc0: new high speed SDHC card at address aaaa
mmcblk0: mmc0:aaaa SP32G 29.7 GiB
 mmcblk0: p1 p2
hub 2-0:1.0: over-current change on port 1

CPSW phy found : id is : 0x4dd074
PHY 0:01 not found
IP-Config: Guessing netmask 255.0.0.0
IP-Config: Complete:
     device=eth0, addr=109.0.0.0, mask=255.0.0.0, gw=255.255.255.255,
     host=109.0.0.0, domain=, nis-domain=(none),
     bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
EXT3-fs: barriers not enabled
kjournald starting.  Commit interval 5 seconds
EXT3-fs (mmcblk0p2): using internal journal
EXT3-fs (mmcblk0p2): recovery complete
EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) on device 179:2.
devtmpfs: mounted
Freeing init memory: 216K
INIT: version 2.86 booting
Error opening /dev/fb0: No such file or directory
Please wait: booting...
Starting udev
udevd (69): /proc/69/oom_adj is deprecated, please use /proc/69/oom_score_adj in
stead.
PHY: 0:00 - Link is Up - 100/Full
FAT: Unrecognized mount option "barrier=1" or missing value
Remounting root file system...
Caching udev devnodes
NET: Registered protocol family 10
ALSA: Restoring mixer settings...
Configuring network interfaces... /usr/sbin/alsactl: load_state:1625: No soundca
rds found...
done.
Setting up IP spoofing protection: rp_filter.
Tue Nov 13 00:05:00 UTC 2012
INIT: Entering runlevel: 5
 I2C (0x58): Read ERROR !!! (reg[0x08], count = 5)
 Error getting ChipId information Decoder_Init: VIP 0: VID DEC 0400 (0x58): 0000
:0000:0000
 Decoder_Init: Detect video in progress for inst 0 !!!
 I2C (0x58): Write ERROR !!! (reg[0xfe], count = 1)
 Error setting video mode I2C (0x58): Write ERROR !!! (reg[0xff], count = 1)
 Error getting video status I2C (0x58): Write ERROR !!! (reg[0xff], count = 1)
 Error getting video status I2C (0x58): Write ERROR !!! (reg[0xff], count = 1)
 Error getting video status I2C (0x58): Write ERROR !!! (reg[0xff], count = 1)
 Error getting video status Decoder_Init: Detect video Done: NO Video signal ava
ilable in channel 0 !!!
 I2C (0x58): Write ERROR !!! (reg[0xfe], count = 1)
Loading HDVPSS Firmware
SysLink version : 2.20.02.20
SysLink module created on Date:Nov 12 2012 Time:21:32:09
FIRMWARE: I2cInit will be done by M3
FIRMWARE: Memory map bin file not passed
Usage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [-mma
p <memory_map_file>] [-i2c <0|1>]
===Mandatory arguments===
<Processor Id>         0: DSP, 1: Video-M3, 2: Vpss-M3
<Location of Firmware> firmware binary file
<start|stop>           to start/stop the firmware
===Optional arguments===
-mmap                  input memory map bin file name
-i2c                   0: i2c init not done by M3, 1(default): i2c init done by
M3
FIRMWARE: isI2cInitRequiredOnM3: 1
FIRMWARE: Default memory configuration is used
Firmware Loader debugging not configured
Default FL_DEBUG: warning
Allowed FL_DEBUG levels: error, warning, info, debug, log
FIRMWARE: 2 start Successful
t81xx_vidout:Could not register Video driver
FATAL: Error inserting ti81xxvo (/lib/modules/2.6.37/kernel/drivers/media/video/
ti81xx/ti81xxvo.ko): Invalid argument
FATAL: Error inserting ti81xxvin (/lib/modules/2.6.37/kernel/drivers/media/video
/ti81xx/ti81xxvin.ko): No such device
CMEMK module: built on Nov 12 2012 at 19:25:08
  Reference Linux version 2.6.37
  File /swcoe/sdk/cm/netra/arago-tmp/work/c6a811x-evm-none-linux-gnueabi/ti-linu
xutils-1_3_22_00_02-r1d/linuxutils_3_22_00_02/packages/ti/sdo/linuxutils/cmem/sr
c/module/cmemk.c
allocated heap buffer 0xd4000000 of size 0x5000000
cmemk initialized
<BB2D Log>      bb2d module built on Nov 12 2012 @ 19:47:01
<BB2D Log>      compatible with linux kernel 2.6.37
<BB2D Log>      bb2d initialized successfully!
Starting system message bus: dbus.

RadioApp Upgrade: Checking for upgrade status...
Status: Upgrade=false
RadioApp Upgrade: Upgrade status is 'No'
RadioApp Upgrade: Downgrade status is 'No'
/etc/init.d/rc: /etc/rc5.d/S20RadioApp_Upgrade.sh: line 3: /home/root/radio_preb
uilt/fpga_update: not found
Entered in the VSFTPD
* starting FTP Server: vsftpd... done.
Starting dropbear daemon.
OSC_SRC_CTRL 0x10000
VIDEO_PLL_CLK_SRC 0x0
VIDEO_PLL connfiguration - Start
VIDEO0_PLL put in bypass; ready to reprogram; STATUS e0000161
VIDEO_PLL connfiguration - success
MCASP5_HSCLKSRC: 0x70000
ATL Condig:.......
   ATL_SWEN  : 0x1
   ATL_PCKMUX: 0x1
   ATL_BWSMUX: 0x3
   ATL_AWSMUX: 0x7
   ATL_ATLCR : 0xF
MCASP COnfiguration Start:.......
MCASP1 COnfiguration Success:.......
Peripheral Bus Burst Priority: 0xFFFF08
Radio PLL and PINMUX configuration module loaded
insmod: error inserting '/home/root/radio_prebuilt/syslink.ko': -1 File exists
Entered init_JAMR2_1_gpio
VCP availablity is 1
VCP Enable returned success
IIC creation for DAC successful
Configuring AIC 0x18
omap_i2c omap_i2c.3: controller timed out
Audio_i2cWrite failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cWrite failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cRead failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cWrite failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cRead failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cRead failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cRead failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cRead failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cRead failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cRead failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cWrite failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cRead failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cRead failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cWrite failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cWrite failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cRead failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cRead failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cRead failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cWrite failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cWrite failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cWrite failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cWrite failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cWrite failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cWrite failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cWrite failed with error: -1
omap_i2c omap_i2c.3: controller timed out
Audio_i2cWrite failed with error: -1

We appreciate any bit of help or suggestion to pin this issue down. 

  • Hello,

    -1-

    Is the software identical on the two systems - old and new DSP.  

    -2-

    What is the significance of the dates being printed in the two scenarios:

    U-Boot 2010.06 (Sep 01 2016 - 16:11:40)

    U-Boot 2010.06 (Nov 12 2012 - 20:54:08)

    -3-

    How many systems are you testing on?  Were these systems built recently or long ago?

    Thanks,

    Kyle

  • Can you also show a snippet of the schematics for I2C0, I2C2, and I2C0 after rework?

    Thanks,

    Kyle

  • Hi, thanks for your quick reply. 

    1. Is the software identical on the two systems - old and new DSP?
    Yes, same SD card is used to boot both DSPs.

    2. What is the significance of the UBOOT dates being printed in the two scenarios?
    That seems to be related to the different TI811X-GP U-Boot revisions 1.2 vs 2.1.

    3. How many systems are you testing on? Were these systems built recently or long ago?
    We are currently testing in 2 boards, one that works and one that doesn't. The design and manufacture has been since 2015. We tested 6 defective boards in the new lot, so we decided to put on hold the production until we solve this problem. Unfortunately we've lost some of the defective boards while replacing parts to figure out what was happening.

    4. Can you also show a snippet of the schematics for I2C0, I2C2, and I2C0 after rework?
    No changes but here are snippets illustrating the path to the series resistors and pull-ups. Please note the other multi-function parts of the J5 @ L25 and L27.

    Also, we would be interested to get the release notes for the 2 different uboot versions (Sep 01 2016 vs Nov 12 2012) and instruction on how to change from one version to another.

    === I2C0 ===

    === I2C2 ===

  • Hello,

    Can you use the same exact uboot revision as well?  Is that on the sd-card or on a different boot interface?  What is the boot mode you are using?

    Thanks,

    Kyle

  • The uboot bin seems to reside on the same SD card. This is a read from the directory where I found it. 

    root@c6a811x-evm:/boot# ls -l
    -rwxr-xr-x    1 root     root        68832 Nov 12 15:53 MLO
    -rwxr-xr-x    1 root     root       185932 Nov 12 15:25 u-boot-c6a811x-evm-2010.06-psp04.07.00.02-r1.0.bin
    -rwxr-xr-x    1 root     root       185932 Nov 12 15:25 u-boot.bin
    lrwxrwxrwx    1 root     root           19 Nov 12 18:36 u-boot.min.nand -> u-boot.min.nand.bin
    -rwxr-xr-x    1 root     root        93912 Nov 12 15:53 u-boot.min.nand.bin
    lrwxrwxrwx    1 root     root            3 Nov 12 18:36 u-boot.min.sd -> MLO
    -rw-rw-r--    1 root     root      2742008 Feb 17  2015 uImage-2.6.37
    -rwxrwxr-x    1 root     root      2779820 Feb 17  2015 vmlinux-2.6.37
    

  • Hello Josafat,

    Reviewing the logs as you posted them it is evident that on your normal system '2' different builds of u-boot are executed and on the current system only 1 u-boot is running.   While the base software version of those two version is 2010.06 the actual configuration is likely different.

    One likely story here is the older boards two versions of u-boot.  The first one running is likely in a flash part and the second one running is from the MMC card.  The boot order likely tries flash first then if no valid image it falls back to MMC.   As such, it appears the first image runs and loads some application which eventually chains into load and run of the MMC version.

    Maybe that first u-boot does something which unlock or powers your end i2c device allowing your kernel to discover it later.

    You should be able to inspect the boot order and dump all possible boot devices to see if another image exists which has been overlooked so far.   The apparent newer version of the J5 could also be a factor here (say the 1st loader fails -- meaning its in your flash but doesn't know the part, then the next image runs from SD) but most likely the more simple explanation of a missing image is the 1st issue to solve.

    Regards,

    Richard W.

  • Hi Richard, thanks for the explanation. It does make sense with what we've observed having used the same SD card and reading 2 different dates.

    You should be able to inspect the boot order and dump all possible boot devices to see if another image exists which has been overlooked so far. 

     Any guide on how to do/change this?

  • Chapter 5 (ROM code Memory and Booting) in the J5 TRM describes the sysboot pins and how they relate to boot order.  Their status is also readable via MMR per the TRM.  By consulting the schematic and the TRM the boot order for your board can be understood.  For some boards I have used JTAG to read out flash contents and reprogram (after possibly altering) into another board.  The details of how to use the JTAG are very tool and flash part specific. I suspect several options will exist for your system.