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.

boot log

hi TI friends,

rdk4.1  dm816x,

I got error as attach.   Did you know why??

U-Boot 2010.06 (Oct 23 2013 - 12:08:29)

TI8168-GP rev 2.1

HDVICP clk     : 600MHz
L3 Fast clk    : 549MHz
HDVPSS clk     : 274MHz
Ducati M3 clk  : 274MHz
DSP clk        : 1000MHz
ARM clk        : 1200MHz
DDR clk        : 796MHz

------------ PLL Settings --------------
MAIN_N        : 56, MAIN_P: 1, OSC_FREQ: 27, FAPLL_K: 8

MAIN_INTFREQ1 : 0xC, MAIN_FRACFREQ1: 0x189374, MAIN_MDIV1: 0x1
MAIN_INTFREQ2 : 0xA, MAIN_FRACFREQ2: 0x147AE1, MAIN_MDIV2: 0x1
MAIN_INTFREQ3 : 0xA, MAIN_FRACFREQ3: 0x147AE1, MAIN_MDIV3: 0x2
MAIN_INTFREQ4 : 0xB, MAIN_FRACFREQ4: 0x0, MAIN_MDIV4: 0x2
MAIN_INTFREQ5 : 0xC, MAIN_FRACFREQ5: 0x189374, MAIN_MDIV5: 0x8

MAIN_MDIV6    : 0x3F
MAIN_MDIV7    : 0x4


--------- DDR PLL ----------
DDR_N                  : 0x3B
DDR_P                  : 0x1
DDR_MDIV1              : 0x2
DDR_INTFREQ2           : 0x8
DDDDR_FRACFREQ2R_N     : 0xD99999
DDR_MDIV2              : 0x1E
DDR_INTFREQ3           : 0x8
DDR_FRACFREQ3          : 0x0
DDR_MDIV3              : 0x4
DDR_INTFREQ4           : 0xE
DDR_FRACFREQ4          : 0x0
DDR_MDIV4              : 0x4
DDR_INTFREQ5           : 0xE
DDR_FRACFREQ5          : 0x0
DDR_MDIV5              : 0x4

----------EMIF Timings (identical for 0 & 1)-------
EMIF_TIM1   : 0x1779C9FE
EMIF_TIM2   : 0x50608074
EMIF_TIM3   : 0x009F857F
EMIF_SDREF  : 0x10001841
EMIF_SDCFG  : 0x62A73832
EMIF_PHYCFG : 0x00000110

----------SW LEVEL Info (EMIF 0) -------
RD_DQS_GATE_BYTE_LANE0: 0x00000160
RD_DQS_GATE_BYTE_LANE1: 0x00000178
RD_DQS_GATE_BYTE_LANE2: 0x000001B3
RD_DQS_GATE_BYTE_LANE3: 0x000001D6

WR_DQS_RATIO_BYTE_LANE0: 0x0000007D
WR_DQS_RATIO_BYTE_LANE1: 0x0000008F
WR_DQS_RATIO_BYTE_LANE2: 0x000000A2
WR_DQS_RATIO_BYTE_LANE3: 0x000000B2

RD_DQS_RATIO_BYTE_LANE0: 0x00000037
RD_DQS_RATIO_BYTE_LANE1: 0x00000037
RD_DQS_RATIO_BYTE_LANE2: 0x00000038
RD_DQS_RATIO_BYTE_LANE3: 0x0000003B

WR_DATA_RATIO_BYTE_LANE0: 0x000000BD
WR_DATA_RATIO_BYTE_LANE1: 0x000000CF
WR_DATA_RATIO_BYTE_LANE2: 0x000000E2
WR_DATA_RATIO_BYTE_LANE3: 0x000000F2

----------SW LEVEL Info (EMIF 1) -------
RD_DQS_GATE_BYTE_LANE0: 0x0000015F
RD_DQS_GATE_BYTE_LANE1: 0x00000171
RD_DQS_GATE_BYTE_LANE2: 0x000001B5
RD_DQS_GATE_BYTE_LANE3: 0x000001D3

WR_DQS_RATIO_BYTE_LANE0: 0x0000006F
WR_DQS_RATIO_BYTE_LANE1: 0x00000087
WR_DQS_RATIO_BYTE_LANE2: 0x000000A5
WR_DQS_RATIO_BYTE_LANE3: 0x000000B0

RD_DQS_RATIO_BYTE_LANE0: 0x00000035
RD_DQS_RATIO_BYTE_LANE1: 0x00000043
RD_DQS_RATIO_BYTE_LANE2: 0x0000003F
RD_DQS_RATIO_BYTE_LANE3: 0x00000038

WR_DATA_RATIO_BYTE_LANE0: 0x000000AF
WR_DATA_RATIO_BYTE_LANE1: 0x000000C7
WR_DATA_RATIO_BYTE_LANE2: 0x000000E5
WR_DATA_RATIO_BYTE_LANE3: 0x000000F0
...

Using DaVinci EMAC device
TFTP from server 192.168.107.86; our IP address is 192.168.107.168
Filename 'uImage_DM816X_UD_DVR_4.1'.
Load address: 0x81000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##########
done
Bytes transferred = 2709176 (0x2956b8)
## Booting kernel from Legacy Image at 81000000 ...
   Image Name:   Linux-2.6.37
   Created:      2013-10-23   6:59:16 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2709112 Bytes = 2.6 MiB
   Load Address: c0008000
   Entry Point:  c0008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Linux version 2.6.37 (a0393400@bangvideoapps01) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #1 Wed Oct 23 12:29:09 IST 2013
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: ud8168_dvr
vram size = 20971520 at 0x0
ti81xx_reserve: ### Reserved DDR region @dff00000
reserved size = 20971520 at 0x0
FB: Reserving 20971520 bytes SDRAM for VRAM
Memory policy: ECC disabled, Data cache writeback
OMAP chip is TI8168 2.1
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 124672
Kernel command line: mem=512M console=ttyO2,115200n8 root=/dev/nfs rw rootfstype=jffs2 nfsroot=192.168.107.86:/home/DVRRDK_04.01.00.02/target/rfs_816x ip=192.168.107.168:192.168.107.86:192.168.107.254:255.255.255.0::eth0:off vram=20M notifyk.vpssm3_sva=0xBFB00000 vmalloc=476M ddr_mem=2048M
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 490MB 1MB = 491MB total
Memory: 492424k/492424k available, 31864k reserved, 72704K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xda800000 - 0xf8000000   ( 472 MB)
    lowmem  : 0xc0000000 - 0xda400000   ( 420 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .init : 0xc0008000 - 0xc0042000   ( 232 kB)
      .text : 0xc0042000 - 0xc0522000   (4992 kB)
      .data : 0xc0522000 - 0xc05757c0   ( 334 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:407
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 27000000 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 1199.30 BogoMIPS (lpj=5996544)
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 0xdff00000 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_mux_init: Add partition: #1: core, flags: 0
3-wired eeprom init done. (H/W ver:00)
_omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl
_omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sda
hw-breakpoint: debug architecture 0x4 unsupported.
hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
registered ti816x_sr device
Cannot clk_get ck_32
pm_dbg_init: only OMAP3 supported
registered ti81xx_vpss device
registered ti81xx_vidout device
registered ti81xx on-chip HDMI device
registered ti81xx_fb device
NSS Crypto DMA hardware revision 1.9 @ IRQ 116
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 4ea20809
registerd cppi-dma Intr @ IRQ 17
Cppi41 Init Done
omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
pmbus 1-0038: no platform data supplied
pmbus: probe of 1-0038 failed with error -5
omap_i2c omap_i2c.2: bus 2 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
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 da81e000 using DMA, IRQ 18
musb-hdrc musb-hdrc.1: dma type: dma-cppi41
MUSB controller-1 revision 4ea20800
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 da82a800 using DMA, IRQ 19
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
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
highmem bounce pool size: 64 pages
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 819
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
nss_rng nss_rng: NSS Random Number Generator ver. 2.0
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
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
console [ttyO2] enabled
brd: module loaded
loop: module loaded
ahci probe: devid name is ahci
ahci CAP register dump =0x6726ff81
Modified ahci CAP register dump =0x6f26ff81
ahci ahci.0: forcing PORTS_IMPL to 0x3
ahci: SSS flag set, parallel bus scan disabled
ahci ahci.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl platform mode
ahci ahci.0: flags: ncq sntf stag pm led clo only pmp pio slum part ccc
scsi0 : ahci_platform
scsi1 : ahci_platform
ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
ata2: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x180 irq 16
omap2-nand driver initializing
NAND device: Maf ID: 0x98, Chip ID: 0xda (Toshiba, )
 erasesize: 0x20000, writesize: 2048, oobsize: 64
omap2-nand: detected x8 NAND flash
Creating 6 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000240000 : "U-Boot"
0x000000240000-0x000000280000 : "U-Boot Env"
0x000000280000-0x000000580000 : "U-Boot Logo"
0x000000580000-0x0000009c0000 : "Kernel"
0x0000009c0000-0x0000109c0000 : "File System"
mtd: partition "File System" extends beyond the end of device "omap2-nand.0" -- size truncated to 0xf640000
0x000010000000-0x000010000000 : "Reserved"
mtd: partition "Reserved" is out of reach -- disabled
davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
davinci_mdio davinci_mdio.0: detected phy mask fffffff8
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
davinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver unknown
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver dm9601
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
rtc-ds1307 1-0068: rtc core: registered ds1337 as rtc0
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc1
i2c /dev entries driver
Linux video capture interface: v2.00
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v1.0.0)
OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
nss_aes_mod_init: loading NSS AES driver
nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 0 @0x41140000)
nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 1 @0x41141000)
nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 2 @0x411a0000)
nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 3 @0x411a1000)
usb 1-1: new high speed USB device using musb-hdrc and address 2
nss_aes_probe: probe() done
nss_des_mod_init: loading NSS DES driver
nss-des nss-des: NSS DES hw accel rev: 2.2 (context 0 @0x41160000)
nss-des nss-des: NSS DES hw accel rev: 2.2 (context 1 @0x41161000)
nss_des_probe: probe() done
nss_sham_mod_init: loading NSS SHA/MD5 driver
nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 0 @0x41100000)
nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 1 @0x41101000)
nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 2 @0x411c0000)
nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 3 @0x411c1000)
ata1: SATA link down (SStatus 0 SControl 300)
nss_sham_probe: probe() done
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
notify_init : notify drivercreated  for  remote proc id 2 at physical Address 0xbfb00000
usbcore: registered new interface driver snd-usb-audio
Registered tvp5158 audio codec
asoc: tvp5158-hifi <-> davinci-mcasp.0 mapping ok
asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
asoc: HDMI-DAI-CODEC <-> hdmi-dai mapping ok
ALSA device list:
  #0: TI81XX_DVR_CARD0
  #1: TI81XX_DVR_CARD1
oprofile: using arm/armv7
TCP cubic registered
NET: Registered protocol family 17
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.
smartreflex smartreflex: Driver initialized
davinci_emac_probe: using random MAC addr: 3a:d7:2d:2d:b4:d9
rtc-ds1307 1-0068: setting system clock to 2017-10-22 01:59:44 UTC (1508637584)
usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 1-1: Product: USB2.0 Hub
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 2-1: new low speed USB device using musb-hdrc and address 2
ata2: SATA link down (SStatus 0 SControl 300)
usb 2-1: New USB device found, idVendor=15d9, idProduct=0a4c
usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 2-1: Product:  USB OPTICAL MOUSE
input:  USB OPTICAL MOUSE as /devices/platform/omap/ti81xx-usbss/musb-hdrc.1/usb2/2-1/2-1:1.0/input/input0
generic-usb 0003:15D9:0A4C.0001: input: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-musb-hdrc.1-1/input0
davinci_mdio davinci_mdio.0: resetting idled controller
net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=1cc915)
IP-Config: Complete:
     device=eth0, addr=192.168.107.168, mask=255.255.255.0, gw=192.168.107.254,
     host=192.168.107.168, domain=, nis-domain=(none),
     bootserver=192.168.107.86, rootserver=192.168.107.86, rootpath=
PHY: 0:01 - Link is Up - 100/Full
VFS: Mounted root (nfs filesystem) on device 0:15.
devtmpfs: mounted
Freeing init memory: 232K
INIT: version 2.88 booting
 Mounting /dev/shm              :  Mounting /dev/pts          :  Mounting other filesystems :  Mounting /dev/sda1              : mount: mounting /dev/sda1 on /media/sda1 failed: No such file or directory
 Mounting /dev/sda2              : mkdir: can't create directory '/media': File exists
mkdir: can't create directory '/media/sda2': File exists
mount: mounting /dev/sda2 on /media/sda2 failed: No such file or directory
Sync command ...Error opening /dev/fb0: No such file or directory
Starting udev
udev[114]: starting version 164
Starting Bootlog daemon: bootlogd.
Applying sync command

 _____                    _____           _         _
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
              |___|                    |___|

Arago Project http://arago-project.org dm816x ttyO2

Arago 2012.10 dm816x ttyO2

dm816x login: root
root@dm816x:~# cd /opt/dvr_rdk/ti816x/
root@dm816x:/opt/dvr_rdk/ti816x# ls
bin                init.sh            rotate_logs.sh     scripts
demo_ini           kermod             run.sh             store_logs.sh
drop_cache.sh      load.sh            run_dvr.sh         unload.sh
env_2048M_512M.sh  open_bin           run_link_api.sh    validate.sh
firmware           parseEnv.sh        run_nvr.sh
root@dm816x:/opt/dvr_rdk/ti816x# ./run_dvr.sh
net.core.rmem_max = 33554432
net.core.wmem_max = 33554432
*** Bootargs Validated for mem param ***
*** Bootargs Validated for notifyk.vpssm3 params ***
*** Kernel Base address validated ***
Kernel bootargs validated
numid=101,iface=MIXER,name='Left DAC Mux'
  ; type=ENUMERATED,access=rw------,values=1,items=3
  ; Item #0 'DAC_L1'
  ; Item #1 'DAC_L3'
  ; Item #2 'DAC_L2'
  : values=2
numid=99,iface=MIXER,name='Right DAC Mux'
  ; type=ENUMERATED,access=rw------,values=1,items=3
  ; Item #0 'DAC_R1'
  ; Item #1 'DAC_R3'
  ; Item #2 'DAC_R2'
  : values=2
 [c6xdsp ] Remote Debug Shared Memory @ 0xbfd00000
 [m3video] Remote Debug Shared Memory @ 0xbfd10820
 [m3vpss ] Remote Debug Shared Memory @ 0xbfd21040
SysLink version : 2.20.02.20
SysLink module created on Date:Oct 23 2013 Time:12:29:55
Trace enabled
Trace SetFailureReason enabled
 Setting DMM priority for [DUCATI  ] to [0] ( 0x4e000624 = 0x08000000 )
 Setting DMM priority for [HDVICP0 ] to [2] ( 0x4e000634 = 0x0000000a )
 Setting DMM priority for [HDVICP1 ] to [2] ( 0x4e000634 = 0x000a0000 )
 Setting DMM priority for [HDVICP2 ] to [2] ( 0x4e000634 = 0x00a00000 )

 *** TVP5158 probe : START ***

 TI VS EVM : TVP5158 device address : 0x58, 0x5a, 0x5c, 0x5e
 TI DVR    : TVP5158 device address : 0x5c, 0x5d, 0x5e, 0x5f

 Device found     : I2C (0xXX): 0x08 = 0x51
                    I2C (0xXX): 0x09 = 0x58

 Device NOT found : I2C (0xXX): Read ERROR !!! (reg[0x08], count = 2)

 I2C (0x58): Read ERROR !!! (reg[0x08], count = 2)
 I2C (0x5a): Read ERROR !!! (reg[0x08], count = 2)
 I2C (0x5c): Read ERROR !!! (reg[0x08], count = 2)
 I2C (0x5d): Read ERROR !!! (reg[0x08], count = 2)
 I2C (0x5e): Read ERROR !!! (reg[0x08], count = 2)
 I2C (0x5f): Read ERROR !!! (reg[0x08], count = 2)

 *** TVP5158 probe : END ***

/opt/dvr_rdk/ti816x
Unhandled fault: external abort on non-linefetch (0x1808) at 0xf9020000
Internal error: : 1808 [#1]
last sysfs file: /sys/devices/virtual/syslinkipc/syslinkipc_RingIOShm/uevent
Modules linked in: syslink
CPU: 0    Not tainted  (2.6.37 #1)
PC is at DM8168DUCATIMMU_enable+0x5c/0xa0 [syslink]
LR is at DM8168DUCATIMMU_enable+0x28/0xa0 [syslink]
pc : [<bf016cec>]    lr : [<bf016cb8>]    psr: 00000013
sp : d9672ff0  ip : 00000000  fp : d9673004
r10: 00000000  r9 : fffff230  r8 : bf07bf44
r7 : dd0a6000  r6 : bf0aea9c  r5 : dd0a3000  r4 : dd0a3000
r3 : dd0a6000  r2 : f9020000  r1 : 00010000  r0 : bf0602e6
Flags: nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 10c5387d  Table: d9530019  DAC: 00000015
Process fw_load.out (pid: 643, stack limit = 0xd96722e8)
Stack: (0xd9672ff0 to 0xd9674000)
2fe0:                                     bf00e3d8 00000000 d9673034 d9673008
3000: bf016430 bf016c9c 00000008 f9020000 00000000 dd0a3000 d9673e34 d9673078
3020: 00000008 00000000 d9673054 d9673038 bf004654 bf016344 d9673e34 bf01b99c
3040: dd0ac000 d9673eac d9673e64 d9673058 bf003dd0 bf0045f8 d9673eac 00000000
3060: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3080: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
30a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
30c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
30e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3100: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3120: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3140: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3160: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3180: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
31a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
31c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
31e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3200: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3220: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3240: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3260: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3280: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
32a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
32c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
32e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3300: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3320: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3340: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3360: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3380: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
33a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
33c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
33e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3400: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3420: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3440: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3460: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3480: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
34a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
34c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
34e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3500: 00000000 00000000 00000000 00000000 00000001 d9edac00 d9edf7c0 00000042
3520: 60000193 00000000 d9edac00 d9edf7c0 d9673584 d9673540 c0281bc4 c00559b8
3540: 00000000 d9edf7c0 d9fe5c00 d94baa5e 00000000 d9edc800 00000000 d9d57000
3560: d9d57208 d9fe5c00 d9d57340 d9edf8c0 c03f5cd8 001fffe0 d96735ac d9673588
3580: c027f624 c0281a3c 00000000 000000d0 d9fe5c00 d9d57000 00000000 d9edf8c0
35a0: d96735f4 d96735b0 c034a284 c027f57c 00000000 d9edf8c0 d967360c d96735c8
35c0: c034a284 c027f57c 00000000 d9f4b400 d9fe5c00 d9d57000 d9edf8c0 d9f4ae54
35e0: 00000001 d9edac00 d9edf7c0 00000042 60000193 00000000 d9edac00 d9edf7c0
3600: d9673654 d9f4ca04 d9f45d00 d9f4c9f0 d9673684 00000000 00000000 d96736c0
3620: d9673664 d9673630 c03920a4 c0390b08 00000001 d9f51240 d9d57340 fec9a8c0
3640: 7bc9a8c0 d941dc00 d9ed8b00 c05aaa08 00000000 d9d57000 00000001 d9edac00
3660: d9edf7c0 000000c6 60000093 00000000 d9edac00 d9edf7c0 d96736cc d9673688
3680: c0281bc4 c00559b8 00000000 d9d57000 d9f57528 d941b916 00000000 d9edc800
36a0: d9f578c8 d9d57000 d9d57208 d9f57528 d9d57340 d9edf8c0 d9f57528 d9d57000
36c0: d96736e4 d96736d0 c033f98c c033fbcc d9f575c8 d9f57528 d96736f4 d96736e8
36e0: c033fa70 c033f97c d9673704 d96736f8 c0348494 c033fa34 d9673724 d9673708
3700: d967371c d9673710 c00a7048 c005dbfc d9673734 d9673720 c00a6fa0 c00a7038
3720: c00a6f84 c0540598 00000001 d9edac00 d9edf7c0 000000ca 60000093 00000000
3740: d9edac00 d9edf7c0 00000001 d9edac00 d9edf7c0 000000c6 60000093 00000000
3760: d9edac00 d9edf7c0 d96737bc d9673778 c0281bc4 c00559b8 00000000 d9f57228
3780: d9f57228 d9ff2116 00000000 d9edc800 d96737c4 d9d57000 d9d57208 d9f57228
37a0: d9d57340 d9edf8c0 d9f57228 d9d57000 d96737d4 d96737c0 c033f98c c033fbcc
37c0: d9f572c8 d9f57228 d96737e4 d96737d8 c033fa70 bf0aeb70 00000001 00000001
37e0: d967382c d96737f0 bf02adc4 bf01b99c bf0aeb70 0000000c d9673854 bf0aea9c
3800: 00000000 d9673854 d967382c bf0aea9c 00000001 00000012 00000000 bf0aea9c
3820: d9673efc d9673830 bf04f97c bf01b99c c024f352 be8a0690 d967385c d9673848
3840: c00a6344 c00a6ef4 00000000 be8a0690 d967387c 00000000 00000000 00000000
3860: 00000004 d9d57350 00000000 00000040 d96738ac d9673880 c027f924 c00a6368
3880: c0366f44 00010000 d9d5734c c0574e00 00000001 0000012c 00000040 c0574e08
38a0: d96738e4 d96738b0 c0347560 c027f6c4 d96738dc ffffa360 c00a627c 00000001
38c0: c0596dd0 d9672000 d96738e4 d96738d8 00000000 c0596dd0 d9673924 d96738e8
38e0: c007da9c c007d8f4 00000000 00000000 d967391c 00000003 c0540544 0000002a
3900: 00000000 000005a8 00000084 d9f57198 00000000 000005a8 d9673934 d9673928
3920: c007de2c c0076030 d967394c d9673938 c004207c c007dde4 ffffffff fa200000
3940: d96739bc d9673950 c03c99f4 c004200c d9ff4000 d9ff41e8 ffffa376 ffffa35e
3960: d9ff4000 d9f57180 000005a8 00000084 d9f57198 00000000 000005a8 d9ff4000
3980: d9f57180 000005a8 d96739ac d9673998 c033b794 c0083294 ffffa35e d9ff4000
39a0: d96739bc d96739b0 c0379088 c033b784 d9673a14 d96739c0 c037b660 c037900c
39c0: c00da4cc c00d788c c09b31e4 00000084 d9c04580 00000001 00000000 c036ec30
39e0: 0000fa80 00000005 c033fdcc d9ff4000 d9f57180 00000084 00000000 d9ff4000
3a00: d9673a34 d9673a10 c033b498 c007dcc4 d9ff4000 d9f57180 00000084 00000000
3a20: 00000000 d9ff0088 d9673aac d9673a38 c036f6c0 c033b3c8 d9673a74 d9673a48
3a40: c016417c 00000000 c0075010 00000000 d9673bf0 00000000 000005a8 00000000
3a60: 000005a8 d9ff4074 00000084 00004040 ffffffff 00000000 00000000 000005a8
3a80: d9d46000 d9673ad0 00000084 d9673bd4 d9ff4000 00000000 00000000 00000000
3aa0: d9673acc d9673ab0 c038c060 c036ed04 d9804c00 00000084 d9673bd4 d9fe865c
3ac0: d9673bac d9673ad0 c0338964 c038c004 00000000 c0972b20 00000000 00000001
3ae0: ffffffff 00000000 00000000 00000000 00000000 b2ecd134 00000000 d9c38700
3b00: 00000001 00000082 00000000 d94da700 00989680 00000000 d94da730 005b8d80
3b20: 00000000 d94da730 d9673b54 d9673b38 c0073db0 c0073388 c053d288 d94da730
3b40: d94da700 c053d288 d9673b74 d9673b58 d94da700 0000080f c053d11c 00000000
3b60: d9673b8c d9673b70 c00718d0 c0071650 c0575c64 346b5111 0000003e c0528e88
3b80: d9673b9c d9673b90 c005d27c c0071830 d9673bbc d9673ba0 c009b240 c005d268
3ba0: 0000003e 33dba112 0000003e c0528e88 d9673bfc d9673bc0 c009b8b0 c009b170
3bc0: 33dba112 0000003e 33dba112 0000003e 00989680 346b5111 0000003e c053eff0
3be0: c053eff0 c053eff0 0000003e 00000000 d9673c1c d9673c00 c009b9f0 c009b878
3c00: 00000000 c053f020 c053f020 3b9ac9ff d9673c74 d9673c20 c00934dc c009b9cc
3c20: c0596f40 c0596dc8 d9673c6c d9673c38 c0082d84 c00936a4 346b5111 0000003e
3c40: d9673c40 d9673c40 00000001 00000001 d9673c9c d9673c60 bf029388 bf01b99c
3c60: 00000000 00000002 00000008 c09b3178 d9673ce4 d9673c80 00000000 00000000
3c80: d9673cf4 d9673c90 00000000 00000000 d9673d04 d9673ca0 c00baf90 c00b9080
3ca0: 00000041 00000001 00000000 00000000 c0574908 00000001 00000000 00000000
3cc0: c0574908 000200d2 00000001 ffffffff 00000000 c0574334 003fffff 000000d2
3ce0: 00000000 c0574904 003fffff 000000cf 00000001 00000000 d9673d8c d9673d08
3d00: c00bb3fc c00baf04 00000001 00000041 c0574334 00000000 c00d28ec c01dd188
3d20: dd0e1fff d987d958 0000006e d99fea40 00000020 00000020 d9673d54 d9673d48
3d40: c01db8b4 c01db800 d9673d7c d9673d58 c00b56f4 c01db8ac 00000043 d903de80
3d60: d94949a0 00000020 d99fea3c d9530000 d9673dc4 d9673d80 dd87530f 000dd875
3d80: d9673d9c d9673d90 c00d5318 c00d4878 d9673dac d9673da0 c0960ea0 00000000
3da0: d9673dc4 d9673db0 c00b59c0 c008f8c8 dd87582e c0960ea0 d9673e14 d9673dc8
3dc0: c00c940c c00b5988 00000000 d94978a0 00000000 00028000 00000000 00000020
3de0: 00028000 c0960ea0 d95d7a50 00000000 d94949a0 00028000 00000000 d9530000
3e00: 00000000 d9f57780 d9673e7c d9673e18 c00cb288 c00c9080 00000020 00000000
3e20: 00000000 00000000 00000000 d9673eac d9673e64 d9673eac bf002d10 be8a0a54
3e40: d9672000 c00ce0a0 00000008 00000000 d9672000 00000000 d9673efc d9673e68
3e60: bf00504c bf003d3c c00ce0a0 be8a0a54 d9673f04 00000000 dd0ac000 be8a0a94
3e80: 00000060 c00f2418 d9f4f540 d9673ec8 d9673f5c d9673ea0 c00e7a30 c00e49b4
3ea0: 00000000 00000000 ffffff9c 00000000 00000000 dd0ac000 be8a0a84 00030ad4
3ec0: 00000001 0001a9d8 00000001 be8a0a7c dd0ac000 00000000 00000007 d9958a80
3ee0: 00000008 be8a0a54 00000008 00000000 d9673f74 d9673f00 c00e9a44 bf00492c
3f00: c0042298 c03cb6dc c00e8454 c00e8394 00000000 00101003 00000000 d9677680
3f20: 00101002 00000000 00000000 00000000 c00f0e8c 00000013 d9677680 d9fee000
3f40: 00000000 00000020 d9673f7c d9675a80 d9675a80 be8a0a54 c00ce0a0 00000008
3f60: 00000000 d9672000 d9673fa4 d9673f78 c00e9b10 c00e9580 c00e8ca4 00000001
3f80: 00000001 00000000 0007f334 000521d4 00000036 c004c568 00000000 d9673fa8
3fa0: c004c3c0 c00e9ac4 00000000 0007f334 00000008 c00ce0a0 be8a0a54 00000001
3fc0: 00000000 0007f334 000521d4 00000036 be8a0a54 c00ce0a0 00000000 00000000
3fe0: 0007f64c be8a0a20 0002b1c0 4025a1cc 60000010 00000008 00000000 00000000
Backtrace:
[<bf016c90>] (DM8168DUCATIMMU_enable+0x0/0xa0 [syslink]) from [<bf016430>] (DM8168DUCATIPWR_on+0xf8/0x14c [syslink])
 r4:00000000 r3:bf00e3d8
[<bf016338>] (DM8168DUCATIPWR_on+0x0/0x14c [syslink]) from [<bf004654>] (PwrMgr_attach+0x68/0xa0 [syslink])
 r8:00000000 r7:00000008 r6:d9673078 r5:d9673e34 r4:dd0a3000
[<bf0045ec>] (PwrMgr_attach+0x0/0xa0 [syslink]) from [<bf003dd0>] (ProcMgr_attach+0xa0/0x1bc [syslink])
 r5:d9673eac r4:dd0ac000
[<bf003d30>] (ProcMgr_attach+0x0/0x1bc [syslink]) from [<bf00504c>] (ProcMgrDrv_ioctl+0x72c/0x14d4 [syslink])
[<bf004920>] (ProcMgrDrv_ioctl+0x0/0x14d4 [syslink]) from [<c00e9a44>] (do_vfs_ioctl+0x4d0/0x544)
 r8:00000000 r7:00000008 r6:be8a0a54 r5:00000008 r4:d9958a80
[<c00e9574>] (do_vfs_ioctl+0x0/0x544) from [<c00e9b10>] (sys_ioctl+0x58/0x7c)
 r9:d9672000 r8:00000000 r7:00000008 r6:c00ce0a0 r5:be8a0a54
r4:d9675a80
[<c00e9ab8>] (sys_ioctl+0x0/0x7c) from [<c004c3c0>] (ret_fast_syscall+0x0/0x30)
 r8:c004c568 r7:00000036 r6:000521d4 r5:0007f334 r4:00000000
Code: e3110010 0afffffc e5932010 e3a01801 (e5821000)
---[ end trace a307100319485344 ]---

  • Is this watchdog initiated reboot or normal cold boot ?

  • Reset button...

    any idea?

  • Do you see same issue even if you power off and power on the board.

  • till now, not.

    But I have seen that one more time if I type "reboot" command...

  • I don't think this issue has anything to do with RDK 4.1. You should see same behavior on previousl RDK release as well. Pls confirm you are seeing this issue only with RDK 4.1 and not on previous RDK release

  • Hi,

    Watchdog reset is a warm reset and hence it doesn't reset all the modules. This is the reason for the above hang/ errors.

    Please try this uboot patch : 

    diff --git a/arch/arm/cpu/arm_cortexa8/start.S b/arch/arm/cpu/arm_cortexa8/start.S
    index 423b01b..260dbc7 100644
    --- a/arch/arm/cpu/arm_cortexa8/start.S
    +++ b/arch/arm/cpu/arm_cortexa8/start.S
    @@ -95,6 +95,11 @@ FIQ_STACK_START:
     	.word 0x0badc0de
     #endif
     
    +
    +#define PRM_DEVICE_RSTTST 0x481800A8
    +prm_device_rsttst:
    + .word PRM_DEVICE_RSTTST
    +
     /*
      * the actual reset code
      */
    @@ -107,6 +112,15 @@ reset:
     	bic	r0, r0, #0x1f
     	orr	r0, r0, #0xd3
     	msr	cpsr,r0
    +  /*Force cold reset if a 
    +   warm reset is detected*/
    +  ldr r0, prm_device_rsttst
    +  ldr r1, [r0]
    +  str r1, [r0]
    +  cmp r1, #2
    +  beq reset_cpu
    +  cmp r1, #8
    +  beq reset_cpu
     
     #if (CONFIG_OMAP34XX)
     	/* Copy vectors to mask ROM indirect addr */
    diff --git a/board/ti/ti8168_dvr/dvr.c b/board/ti/ti8168_dvr/dvr.c
    index d6ab5f1..38733f2 100644
    --- a/board/ti/ti8168_dvr/dvr.c
    +++ b/board/ti/ti8168_dvr/dvr.c
    @@ -1246,6 +1246,8 @@ void s_init(u32 in_ddr)
     #ifdef CONFIG_TI816X_VOLT_SCALE
     	voltage_scale_init();
     #endif
    +
    +  udelay(100);
     }
     
     /* optionally do something like blinking LED */
    
    . This patch is for ti816x UD works dvr and has uboot changes to detect a warm reset and force cold reset. 

    Please refer to thread http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/276202/1026048.aspx#1026048 for more details on the above changes.

    Regards,

    Reshma

  • hello Reshma,

      thanks for your reply.

     According to provided patch, we found following

    diff --git a/board/ti/ti8168_dvr/dvr.c b/board/ti/ti8168_dvr/dvr.c
    index d6ab5f1..38733f2 100644
    --- a/board/ti/ti8168_dvr/dvr.c
    +++ b/board/ti/ti8168_dvr/dvr.c
    @@ -1246,6 +1246,8 @@ void s_init(u32 in_ddr)
    #ifdef CONFIG_TI816X_VOLT_SCALE
    voltage_scale_init();
    #endif
    +
    + udelay(100);
    }

     

    And I have a question, how did I know if udelay(100) is enough??

  • Hi,

    I have tested the patch. udelay(100) should be sufficient. Please try the patch and see if it works.

    Regards,

    Reshma

  • hi Badri,  

    May I know the reason about adding udelay(100)?