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.

DM365 IPNC RTC wait timeout error

I have test my custom board which design is based on IPNC.
After I boot up, I found that there are many debug messages showing RTC wait timeout.
I found that the RTC is not running, but the crystal input is running at 32.7kHz.

  • Can you add the error logs?

  • Hi Marcus, I also found this problem in my IPNC (DM368), the error logs are as followed: ---------------------------------------------------------------------------------------------------- DM36x initialization passed! TI UBL Version: 1.50 Booting Catalog Boot Loader BootMode = NAND Starting NAND Copy... Valid magicnum, 0xA1ACED66, found in block 0x00000008. DONE Jumping to entry point at 0x81080000. Reset RTC Fail.. DM368_IPNC_UBL_1.0.0 U-Boot 1.3.4.1 (Mar 18 2011 - 03:47:11) DM368-IPNC-1.0.0 I2C: ready DRAM: 128 MB NAND: NAND device: Manufacturer ID: 0x20, Chip ID: 0x75 (ST Micro NAND 32MiB 3,3V 8-bit) Bad block table found at page 65504, version 0x00 Bad block table found at page 65472, version 0x00 32 MiB In: serial Out: serial Err: serial ARM Clock :- 432MHz DDR Clock :- 340MHz Loading from NAND 32MiB 3,3V 8-bit, offset 0x500000 Image Name: Linux-2.6.18_pro500-davinci_IPNC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1826152 Bytes = 1.7 MB Load Address: 80008000 Entry Point: 80008000 ## Booting kernel from Legacy Image at 80700000 ... Image Name: Linux-2.6.18_pro500-davinci_IPNC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1826152 Bytes = 1.7 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Linux version 2.6.18_pro500-davinci_IPNC_DM368_2.0.0 (root@ubuntu) (gcc 鐗堟湰 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)) #1 PREEMPT Wed Mar 16 17:12:06 CST 2011 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 Machine: DaVinci DM368 IPNC Memory policy: ECC disabled, Data cache writeback DaVinci DM0365 variant 0x8 PLL0: fixedrate: 24000000, commonrate: 170000000, vpssrate: 340000000 PLL0: vencrate_sd: 75555555, ddrrate: 340000000 mmcsdrate: 48571428 PLL1: armrate: 432000000, voicerate: 20571428, vencrate_hd: 27000000 console=ttyS1,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=10.0.3.36:/home/user/ipnc/Application/srctarget/filesys, nolock mem=51M ip=dhcp eth=00:03:4c:b0:32:45 eth=00:03:4C:B0:32:2D serialnumber=JW520111030000D CPU0: D VIVT write-back cache CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets Built 1 zonelists. Total pages: 13056 Kernel command line: console=ttyS1,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=10.0.3.36:/home/user/ipnc/Application/srctarget/filesys, nolock mem=51M ip=dhcp eth=00:03:4c:b0:32:45 eth=00:03:4C:B0:32:2D serialnumber=JW520111030000D TI DaVinci EMAC: kernel boot params Ethernet address: 00:03:4c:b0:32:45 TI DaVinci EMAC: kernel boot params Ethernet address: 00:03:4C:B0:32:2D PID hash table entries: 256 (order: 8, 1024 bytes) Clock event device timer0_0 configured with caps set: 07 Console: colour dummy device 80x30 Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 51MB = 51MB total Memory: 47616KB available (3129K code, 645K data, 176K init) Security Framework v1.0.0 initialized Capability LSM initialized Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 DaVinci: 104 gpio irqs MUX: initialized GPIO20 MUX: initialized I2C_SCL Generic PHY: Registered new driver ch0 default output "COMPOSITE", mode "NTSC" VPBE Encoder Initialized SCSI subsystem initialized NET: Registered protocol family 2 IP route cache hash table entries: 512 (order: -1, 2048 bytes) TCP established hash table entries: 2048 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 2048 bind 1024) TCP reno registered VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) squashfs: version 3.1 (2006/08/19) Phillip Lougher JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc. yaffs Mar 16 2011 17:09:42 Installing. SGI XFS with no debug enabled Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered (default) LTT : ltt-facilities init LTT : ltt-facility-core init in kernel DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfbc20000 (irq = 40) is a 16550A serial8250.0: ttyS1 at MMIO map 0x1d06000 mem 0xfbd06000 (irq = 41) is a 16550A RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize Davinci EMAC MII Bus: probed MAC address is 00:03:4C:B0:32:2D TI DaVinci EMAC Linux version updated 4.0 Linux video capture interface: v2.00 Trying to register davinci display video device. layer=c0528800,layer->video_dev=c0528960 Trying to register davinci display video device. layer=c0528600,layer->video_dev=c0528760 davinci_init:DaVinci V4L2 Display Driver V1.0 loaded i2c /dev entries driver nand_davinci nand_davinci.0: Using 4-bit hardware ECC NAND device: Manufacturer ID: 0x20, Chip ID: 0x75 (ST Micro NAND 32MiB 3,3V 8-bit) Creating 6 MTD partitions on "nand_davinci.0": 0x00000000-0x00300000 : "bootloader" 0x00300000-0x00500000 : "params" 0x00500000-0x00700000 : "kernel" 0x00700000-0x01f00000 : "filesystem" 0x01f00000-0x02100000 : "data1" mtd: partition "data1" extends beyond the end of device "nand_davinci.0" -- size truncated to 0x100000 0x02100000-0x02000000 : "data2" mtd: partition "data2" is out of reach -- disabled nand_davinci nand_davinci.0: hardware revision: 2.3 rtc_davinci_dm365 rtc_davinci_dm365.0: rtc intf: proc rtc_davinci_dm365 rtc_davinci_dm365.0: rtc intf: dev (254:0) rtc_davinci_dm365 rtc_davinci_dm365.0: rtc core: registered rtc_davinci_dm365 as rtc0 rtc wait time out !!!!! rtc wait time out !!!!! Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC). ASoC version 0.13.1 CQ0093 Voice Codec 0.1 asoc: cq93vc davinci-vcif mapping ok ALSA device list: #0: On-chip voice codec (cq93vc) IPv4 over IPv4 tunneling driver TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! rtc wait time out !!!!! Time: timer0_1 clocksource has been installed. Clock event device timer0_0 configured with caps set: 08 Switched to high resolution mode on CPU 0 rtc_davinci_dm365 rtc_davinci_dm365.0: setting the system clock to 2000-09-14 01:01:01 (968893261) ---------------------------------------------------------------------------------------------------- So could you help us to fix the problem ASAP? Thanks!