Hi,
I m using DM355 processor and kernel 2.6.32, nw i m unable to access h/w RTC in my target board,
pl refer my bootup log.,
DM35x initialization passed!
TI UBL Version: 1.50
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000019.
DONE
Jumping to entry point at 0x81080000.
U-Boot 2009.03 (Jun 21 2010 - 15:13:07)
I2C: ready
DRAM: 128 MB
NAND: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron NAND 512MiB 3,3V 8-bit)
Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
No NAND device found!!!
512 MiB
In: serial
Out: serial
Err: serial
ARM Clock :- 216MHz
DDR Clock :- 171MHz
Hit any key to stop autoboot: 0
dm9000 i/o: 0x4014000, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 00:00:70:ff:3e:4e
operating at 100M full duplex mode
TFTP from server 10.10.30.62; our IP address is 10.10.30.56
Filename 'uImage'.
Load address: 0x80700000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
####################
done
Bytes transferred = 2098192 (200410 hex)
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.32-rc2-davinci1-HHT_V3
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2098128 Bytes = 2 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux..........................................................................................................
Linux version 2.6.32-rc2-davinci1-HHT_V3.0 (root@titus-desktop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #176 PRE2
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DM355 EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci dm355 variant 0x0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 29464
Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=10.10.30.56 root=/dev/nfs nfsroot=10.10.30.62:/home/titus/Desktop0
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 116MB = 116MB total
Memory: 113052KB available (3860K code, 355K data, 204K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 107.31 BogoMIPS (lpj=536576)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 104 gpio irqs
NET: Registered protocol family 16
MUX: initialized INT_EDMA_CC
bio: create slab <bio-0> at 0
DM355 IPIPE intialized in Single Shot mode
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
vpss vpss: dm355_vpss vpss probed
vpss vpss: dm355_vpss vpss probe success
ch0 default output "LCD", mode "320x240"
VPSS_CLKCTRL C4 = 145555
VPSS_CLKCTRL C7 = 79
SYS_VPSS_CLKCTL = 18
VPBE Encoder Initialized
Hi.............This is titus from kernel space
MUX: initialized VOUT_FIELD_G70
LogicPD encoder initialized
Switching to clocksource timer0_1
musb_hdrc: version 6.0, cppi-dma, host, debug=0
musb_hdrc: USB Host mode controller at fec64000 using DMA, IRQ 12
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
JFS: nTxBlock = 884, nTxLock = 7075
msgmni has been set to 221
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
Console: switching to colour frame buffer device 40x30
davincifb davincifb.0: dm_osd0_fb: 320x240x16@0,0 with framebuffer size 2025KB
davincifb davincifb.0: dm_osd1_fb: 320x240x4@0,0 with framebuffer size 300KB
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
console [ttyS0] enabled
serial8250.0: ttyS1 at MMIO 0x1c20400 (irq = 41) is a 16550A
serial8250.0: ttyS2 at MMIO 0x1e06000 (irq = 14) is a 16550A
brd: module loaded
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron NAND 512MiB 3,3V 8-bit)
Creating 5 MTD partitions on "davinci_nand.0":
0x000000000000-0x000000f00000 : "bootloader"
usb 1-1: new high speed USB device using musb_hdrc and address 2
0x000000f00000-0x000001000000 : "params"
0x000001000000-0x000001400000 : "kernel"
0x000001400000-0x000021400000 : "filesystem1"
mtd: partition "filesystem1" extends beyond the end of device "davinci_nand.0" -- size truncated to 0x1ec00000
0x000020000000-0x000020000000 : "filesystem2"
mtd: partition "filesystem2" is out of reach -- disabled
davinci_nand davinci_nand.0: controller rev. 2.3
spi_davinci spi_davinci.0: DaVinci SPI driver in EDMA mode
Using RX channel = 17 , TX channel = 16 and event queue = 1
at25 spi0.0: 8 KByte at25640a eeprom, pagesize 32
spi_davinci spi_davinci.0: Controller at 0xfec66000
PINMUX0 = 32597
PINMUX0 = 31573
enable_tft_completed.
Inserting SPI module
PINMUX0 = 31573
PINMUX0 = 31658
SPI2 SPI2FMT0 value =173320
tft_open exit
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
dm9000 Ethernet Driver, V1.31
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
eth0: dm9000a at c7906000,c790a002 IRQ 65 MAC: 00:00:70:ff:3e:4e (chip)
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
usbcore: registered new interface driver usbtest
i2c /dev entries driver
Linux video capture interface: v2.00
vpfe_init
vpfe-capture: Unable to get vpfe config
vpfe-capture: probe of vpfe-capture failed with error -2
vpfe_register_ccdc_device: DM355 CCDC
vpfe capture not initialized
dm355_ccdc: probe of dm355_ccdc failed with error -14
Trying to register davinci display video device.
layer=c61c0a00,layer->video_dev=c61c0b70
Trying to register davinci display video device.
layer=c61c0200,layer->video_dev=c61c0370
davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
davinci_mmc davinci_mmc.1: Using DMA, 4-bit mode
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.21.
XXXXX: init001:
No device for DAI tlv320aic3x
No device for DAI davinci-i2s
XXXXX: probe101:
AIC3X Audio Codec 0.2
XXXXX: probe102:
XXXXX: probe103:
XXXXX: probe104:
asoc: tlv320aic3x <-> davinci-i2s mapping ok
Failed to add route HPLOUT->Headphone Jack
ALSA device list:
#0: DaVinci EVM (tlv320aic3x)
SPCR1=0x0
RCR1=0x0
XCR1=0x0
SRGR1=0x20000001
PCR1=0x0
DXR1=0x0
SPCR1=0x2000000
XCR1=0x140
PCR1=0xA00
SRGR1=0x101F0F07
SPCR1=0x2F30000
Resetting DAC....done
Configuring Audio DAC
SPI0 SPIFMT0 value =173320
SPI0 dv_open exit
before spi open
after init disp
TCP cubic registered
NET: Registered protocol family 17
Clocks: disable unused vpss_master
Clocks: disable unused vpss_slave
Clocks: disable unused mjcp
Clocks: disable unused asp0
Clocks: disable unused spi1
Clocks: disable unused spi2
Clocks: disable unused pwm0
Clocks: disable unused pwm1
Clocks: disable unused pwm2
Clocks: disable unused pwm3
Clocks: disable unused timer1
Clocks: disable unused timer3
Clocks: disable unused rto
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new high speed SDHC card at address b688
mmcblk0: mmc0:b688 SU08G 7.40 GiB
mmcblk0: p1
eth0: link down
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
IP-Config: Guessing netmask 255.0.0.0
IP-Config: Complete:
device=eth0, addr=10.10.30.56, mask=255.0.0.0, gw=255.255.255.255,
host=10.10.30.56, domain=, nis-domain=(none),
bootserver=255.255.255.255, rootserver=10.10.30.62, rootpath=
Looking up port of RPC 100003/2 on 10.10.30.62
Looking up port of RPC 100005/1 on 10.10.30.62
VFS: Mounted root (nfs filesystem) on device 0:13.
Freeing init memory: 204K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
udev: starting version 141
udevd[474]: inotify_add_watch(3, (null), 10) failed: Bad address
udevd[474]: inotify_add_watch(3, (null), 10) failed: Bad address
udevd[474]: inotify_add_watch(3, (null), 10) failed: Bad address
Remounting root file system...
mount: mounting /dev/root on / failed: Invalid argument
mount: mounting /dev/root on / failed: Invalid argument
modprobe: FATAL: Could not load /lib/modules/2.6.32-rc2-davinci1-HHT_V3.0/modules.dep: No such file or directory
modprobe: FATAL: Could not load /lib/modules/2.6.32-rc2-davinci1-HHT_V3.0/modules.dep: No such file or directory
WARNING: Couldn't open directory /lib/modules/2.6.32-rc2-davinci1-HHT_V3.0: No such file or directory
FATAL: Could not open /lib/modules/2.6.32-rc2-davinci1-HHT_V3.0/modules.dep.temp for writing: No such file or directory
modprobe: FATAL: Could not load /lib/modules/2.6.32-rc2-davinci1-HHT_V3.0/modules.dep: No such file or directory
modprobe: FATAL: Could not load /lib/modules/2.6.32-rc2-davinci1-HHT_V3.0/modules.dep: No such file or directory
modprobe: FATAL: Could not load /lib/modules/2.6.32-rc2-davinci1-HHT_V3.0/modules.dep: No such file or directory
modprobe: FATAL: Could not load /lib/modules/2.6.32-rc2-davinci1-HHT_V3.0/modules.dep: No such file or directory
root: mount: mounting rootfs on / failed: No such file or directory
modprobe: FATAL: Could not load /lib/modules/2.6.32-rc2-davinci1-HHT_V3.0/modules.dep: No such file or directory
root: mount: mounting devpts on /dev/pts failed: No such device
modprobe: FATAL: Could not load /lib/modules/2.6.32-rc2-davinci1-HHT_V3.0/modules.dep: No such file or directory
modprobe: FATAL: Could not load /lib/modules/2.6.32-rc2-davinci1-HHT_V3.0/modules.dep: No such file or directory
ALSA: Restoring mixer settings...
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces... done.
Mon Jun 21 15:23:00 UTC 2010
INIT: Entering runlevel: 5
Starting telnet daemon.
modprobe: FATAL: Could not load /lib/modules/2.6.32-rc2-davinci1-HHT_V3.0/modules.dep: No such file or directory
Starting syslogd/klogd: done
Starting thttpd.
_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|
Arago Project http://arago-project.org dm355-evm ttyS0
Arago 2009.11 dm355-evm ttyS0
dm355-evm login: root
root@dm355-evm:~#
root@dm355-evm:~# hwclock -r
hwclock: can't open '/dev/misc/rtc': No such file or directory
root@dm355-evm:~#