I am trying to do changes for TI 3.0 code for USB modem detection. I had done the driver changes. I boot process doesnt happen and timeout error come while trying to include udev script in the filesystem /etc/init.d...can anyone help me with this...I am including the log here..
DM36x initialization passed!
TI UBL Base Version: 1.50
Boot Loader BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000008.
Boot Mode Task Completed
IPNC UBL Version: 2.1.0
Platform: DM365-297
Jumping to entry point at 0x81080000
U-Boot 1.3.4 (Jan 29 2013 - 20:36:47) DM365-IPNC-4.1.0
I2C: ready
DRAM: 128 MB
NAND: NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Bad block table found at page 131040, version 0x00
Bad block table found at page 131008, version 0x00
64 MiB
In: serial
Out: serial
Err: serial
ARM Clock :- 297MHz
DDR Clock :- 270MHz
Ethernet PHY: GENERIC @ 0x01
Hit any key to stop autoboot: 4 3 2 1 0
Loading from NAND 64MiB 3,3V 8-bit, offset 0x200000
Image Name: Linux-2.6.18_pro500-davinci_Dhru
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3610176 Bytes = 3.4 MB
Load Address: 80008000
Entry Point: 80008000
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.18_pro500-davinci_Dhru
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3610176 Bytes = 3.4 MB
Load Address: 80008000
Entry Point: 80008000
Loading Kernel Image ... OK
OK
Starting kernel ...
Linux version 2.6.18_pro500-davinci_Dhruv_1.00.1.00 (root@aswin-desktop) (gcc version 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)) #1 PREEMPT Thu Apr 25 17:46:24 IST 2013
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci DM365 IPNC
Memory policy: ECC disabled, Data cache writeback
DaVinci DM0365 variant 0x8
PLL0: fixedrate: 24000000, commonrate: 135000000, vpssrate: 270000000
PLL0: vencrate_sd: 27000000, ddrrate: 270000000 mmcsdrate: 49090909
PLL1: armrate: 297000000, voicerate: 118800000, vencrate_hd: 74250000
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: 19456
Kernel command line: mem=76M console=ttyS0,115200n8 root=/dev/mtdblock3 rootfstype=squashfs ip=192.168.1.168:192.168.1.100:192.168.1.1:255.255.255.0:::off eth=00:0C:0C:A0:05:04 lpj=741376 cmemk.phys_start="0x84c00000" cmemk.phys_end="0x88000000" cmemk.phys_start_1="0x00001000" cmemk.phys_end_1="0x00008000" cmemk.pools_1="1x28672" cmemk.allowOverlap="1"
TI DaVinci EMAC: kernel boot params Ethernet address: 00:0C:0C:A0:05:04
PID hash table entries: 512 (order: 9, 2048 bytes)
Clock event device timer0_0 configured with caps set: 07
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 76MB = 76MB total
Memory: 73276KB available (2869K code, 645K data, 184K init)
Calibrating delay loop (skipped)... 148.27 BogoMIPS preset
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
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
squashfs: version 3.1 (2006/08/19) Phillip Lougher
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
yaffs Apr 25 2013 17:44:41 Installing.
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
CSL: Module install successful, device major num = 253
CSL: Module version 0.10.00, built on Apr 25 2013 17:47:27
I2C: Module install successful, device major num = 252
DMA: Module install successful, device major num = 251
DRV: Module install successful
DRV: Module built on Apr 25 2013 17:47:27
DRV: EDMACC.QUEPRI = 00002777
DRV: SYSTEM.MSTPRI0 = 00440011
DRV: SYSTEM.MSTPRI1 = 00000444
DRV: ISP.BCR = 00000002
DRV: SYSTEM.MISC = 00000399
EDMAK module: built on Apr 25 2013 at 17:47:15
Reference Linux version 2.6.18
File /home/aswin/work/TATAPHOTON/TATA_PHOTON_3.0_TEST/Ethernet-WORKING_3.0/Ethernet_3.0_versioned/Application/src/dvsdk_ipnctools/linuxutils_2_24_03/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
IRQK module: built on Apr 25 2013 at 17:47:16
Reference Linux version 2.6.18
File /home/aswin/work/TATAPHOTON/TATA_PHOTON_3.0_TEST/Ethernet-WORKING_3.0/Ethernet_3.0_versioned/Application/src/dvsdk_ipnctools/linuxutils_2_24_03/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
irqk initialized
CMEMK module: built on Apr 25 2013 at 17:47:14
Reference Linux version 2.6.18
File /home/aswin/work/TATAPHOTON/TATA_PHOTON_3.0_TEST/Ethernet-WORKING_3.0/Ethernet_3.0_versioned/Application/src/dvsdk_ipnctools/linuxutils_2_24_03/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
allocated heap buffer 0xc6000000 of size 0x3400000
CMEM Range Overlaps Kernel Physical - allowing overlap
CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x84c00000)
cmemk initialized
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 0x1d06000 mem 0xfbd06000 (irq = 41) is a 16550A
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
TI Davinci ADC v1.0
Davinci EMAC MII Bus: probed
MAC address is 00:0C:0C:A0:05:04
TI DaVinci EMAC Linux version updated 4.0
Linux video capture interface: v2.00
Trying to register davinci display video device.
layer=c057a800,layer->video_dev=c057a960
Trying to register davinci display video device.
layer=c057a600,layer->video_dev=c057a760
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: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Creating 6 MTD partitions on "nand_davinci.0":
0x00000000-0x00080000 : "bootloader"
0x00080000-0x00200000 : "params"
0x00200000-0x00600000 : "kernel"
0x00600000-0x01e00000 : "filesystem"
0x01e00000-0x02000000 : "data1"
0x02000000-0x04000000 : "data2"
nand_davinci nand_davinci.0: hardware revision: 2.3
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
usbcore: registered new driver option
drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
musb_hdrc: version 6.0, cppi-dma, host, debug=0
musb_hdrc musb_hdrc: No DMA interrupt line
musb_hdrc: USB Host mode controller at c506a000 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: Product: MUSB HDRC host driver
usb usb1: Manufacturer: Linux 2.6.18_pro500-davinci_Dhruv_1.00.1.00 musb-hcd
usb usb1: SerialNumber: musb_hdrc
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
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
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)
TCP bic registered
NET: Registered protocol family 1
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-01-01 00:00:00 (946684800)
IP-Config: Complete:
device=eth0, addr=192.168.1.168, mask=255.255.255.0, gw=192.168.1.1,
host=192.168.1.168, domain=, nis-domain=(none),
bootserver=192.168.1.100, rootserver=192.168.1.100, rootpath=
VFS: Mounted root (squashfs filesystem) readonly.
Freeing init memory: 184K
usb 1-1: new full speed USB device using musb_hdrc and address 2
usb 1-1: Product: HUAWEI Mobile
usb 1-1: Manufacturer: HUA\FFWEI TECHNOLOGIES
usb 1-1: SerialNumber: \FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF
usb 1-1: configuration #1 chosen from 1 choice
option 1-1:1.0: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
option 1-1:1.1: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
option 1-1:1.2: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
scsi0 : SCSI emulation for USB Mass Storage devices
INIT: version 2.86 booting
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events... Vendor: HUAWEI Model: Mass Storage Rev: 2.31
Type: CD-ROM ANSI SCSI revision: 00
musb_host_rx 1696: RX1 dma busy, csr 2020
musb_host_rx 1696: RX1 dma busy, csr 2020
sr0: scsi-1 drive
Uniform CD-ROM driver Revision: 3.20
sr 0:0:0:0: Attached scsi generic sg0 type 5
done.
Waiting for /dev to be fully populated...done.
Setting up networking ...rm: unable to remove `/etc/network/run': Read-only file system
Creat queue id:0
queue id:0
FileMngThread created
Creat queue id:32769
queue id:32769
queue id:32769
AlramThread created
Share memory init success
Dhruv_1.00.1.00 (root@aswin-desktop) (gcc version 4.2.0 (MontaV
Creat queue id:65538
queue id:65538
queue id:65538
Creat queue id:98307
queue id:98307
log status
Starting portmap daemon: net_search_gateway:eth0, 1A8C0, 0, 1
net_search_gateway:eth0, 0, 101A8C0, 3
CPU is DM365
*****************************************************************
IPNC BUILD VERSION: Dhruv VERSION 1.00.1.00
*****************************************************************
./av_server.out DM365 PAL TI2A AEWB 720P H264 2000000 VBR AUTO MENUOFF &
Check_device_version : DEVICE VER = 1 !!
Inside SegmentWriteThr thread
SegmentWriteThr:277
Inside SegmentReadThr thread
log status
portmapstart_daemon
USB info 0
SegmentReadThr:342
ApproDrvInit: 7
Creat queue id:131076
queue id:131076
AVSERVER UI: Initializing.
ERROR (drv.c|DRV_init|31): CSL init
ERROR (drv.c|DRV_init|102): DRV_init()
ERROR (avServerApi.c|AVSERVER_init|574): DRV_init()
ERROR (avServerUi.c|UI_start|58): AVSERVER_init()
/opt/ipnc/modules/init.d_ins/portmap: /opt/ipnc/modules/init.d_ins/portmap: 162: cannot create /var/run/portmap.pid: Read-only file system
log success
.
log status
log status
Starting mounting local filesystems: log status
mount none on /dev/shm type tmpfs (rw,size=5M)
none on /var/run type tmpfs (rw)
none on /tmp type tmpfs (rw,sync,size=17M)
log success
log status
Starting hotplug subsystem:
pci
pci [success]
usb
usb [success]
isapnp
isapnp [success]
ide
ide [success]
input
input [success]
scsi
Usage: /sbin/modprobe-bin [-v] [-V] [-C config-file] [-n] [-i] [-q] [-o <modname>] <modname> [parameters...]
/sbin/modprobe-bin -r [-n] [-i] [-v] <modulename> ...
/sbin/modprobe-bin -l -t <dirname> [ -a <modulename> ...]
Usage: /sbin/modprobe-bin [-v] [-V] [-C config-file] [-n] [-i] [-q] [-o <modname>] <modname> [parameters...]
/sbin/modprobe-bin -r [-n] [-i] [-v] <modulename> ...
/sbin/modprobe-bin -l -t <dirname> [ -a <modulename> ...]
scsi [success]
done.
loop: loaded (max 8 devices)
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
CSLIP: code copyright 1989 Regents of the University of California
netconsole: not configured, aborting
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
Starting internet superserver: inetd sbulla:.
unknown partition table
davinci-mmc davinci-mmc.0: Supporting 4-bit mode
davinci-mmc davinci-mmc.0: Using DMA mode
Loading iSCSI transport class v1.1-646.insmod: /opt/ipnc/modules/usbcore.ko: No such file or directory
insmod: /opt/ipnc/modules/musb_hdrc.ko: No such file or directory
insmod: /opt/ipnc/modules/usbmon.ko: No such file or directory
<5>iscsi: registered transport (tcp)
sbulla: unknown partition table
mkdosfs 3.0.6 (04 Oct 2009)
unable to get drive geometry, using default 255/63
/dev/sbulla has 255 heads and 63 sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 1024 sectors;
file system has 2 12-bit FATs and 4 sectors per cluster.
FAT size is 1 sector, and provides 247 clusters.
Root directory contains 512 slots.
Volume ID is 391c34d0, no volume label.
52 main main.c
queue id:0
3902 SysDoBootProc sys_msg_drv.c
TimeOut occure in boot_proc.
Program exit.
ApproDrvInit: 3
queue id:131076
Could not receive return value from daemon process.
Looking for target devices ...
Found devices in target mode or class (1)
Looking for default devices ...
No devices in default mode found. Nothing to do. Bye.
connect count 1
abort on (BUSY)
abort on (NO CARRIER)
report (CONNECT)
timeout set to 100 seconds
send (atz^M)
Calling Tataindicom
timeout set to 60 seconds
expect (OK)
atz
atz^M^M
OKOK
-- got it
send (ATDT#777^M)
expect (CONNECT)
^M
ATDT#777
ATDT#777^M^M
CONNECTCONNECT
-- got it
send ()
chat: Jan 01 00:00:42 CONNECT
Serial connection established.
Couldn't set tty to PPP discipline: Invalid argument
connect count 2
abort on (BUSY)
abort on (NO CARRIER)
report (CONNECT)
timeout set to 100 seconds
send (atz^M)
Calling Tataindicom
timeout set to 60 seconds
expect (OK)
atz
atz^M^M
OKOK
-- got it
send (ATDT#777^M)
expect (CONNECT)
^M
ATDT#777
ATDT#777^M^M
CONNECTCONNECT
-- got it
send ()
chat: Jan 01 00:00:46 CONNECT
Serial connection established.
Couldn't set tty to PPP discipline: Invalid argument
connect count 3
abort on (BUSY)
abort on (NO CARRIER)
report (CONNECT)
timeout set to 100 seconds
send (atz^M)
Calling Tataindicom
timeout set to 60 seconds
expect (OK)
atz
atz^M^M
OKOK
-- got it
send (ATDT#777^M)
expect (CONNECT)
^M
ATDT#777
ATDT#777^M^M
NO CARRIERNO CARRIER
-- failed
Failed (NO CARRIER)
Connect script failed
connect count 4
abort on (BUSY)
abort on (NO CARRIER)
report (CONNECT)
timeout set to 100 seconds
send (atz^M)
Calling Tataindicom
timeout set to 60 seconds
expect (OK)
atz
atz^M^M
OKOK
-- got it
send (ATDT#777^M)
expect (CONNECT)
^M
ATDT#777
ATDT#777^M^M
NO CARRIERNO CARRIER
-- failed
Failed (NO CARRIER)
Connect script failed
connect count 5
abort on (BUSY)
abort on (NO CARRIER)
report (CONNECT)
timeout set to 100 seconds
send (atz^M)
Calling Tataindicom
timeout set to 60 seconds
expect (OK)
atz
atz^M^M
OKOK
-- got it
send (ATDT#777^M)
expect (CONNECT)
^M
ATDT#777
ATDT#777^M^M
NO CARRIERNO CARRIER
-- failed
Failed (NO CARRIER)
Connect script failed
connect count 6
abort on (BUSY)
abort on (NO CARRIER)
report (CONNECT)
timeout set to 100 seconds
send (atz^M)
Calling Tataindicom
timeout set to 60 seconds
expect (OK)
atz
atz^M^M
OKOK
-- got it
send (ATDT#777^M)
expect (CONNECT)
^M
ATDT#777
ATDT#777^M^M
NO CARRIERNO CARRIER
-- failed
Failed (NO CARRIER)
Connect script failed
connect count 7
abort on (BUSY)
abort on (NO CARRIER)
report (CONNECT)
timeout set to 100 seconds
send (atz^M)
Calling Tataindicom
timeout set to 60 seconds
expect (OK)
atz
atz^M^M
OKOK
-- got it
send (ATDT#777^M)
expect (CONNECT)
^M
ATDT#777
ATDT#777^M^M
NO CARRIERNO CARRIER
-- failed
Failed (NO CARRIER)
Connect script failed
connect count 8
abort on (BUSY)
abort on (NO CARRIER)
report (CONNECT)
timeout set to 100 seconds
send (atz^M)
Calling Tataindicom
timeout set to 60 seconds
expect (OK)
atz
atz^M^M
OKOK
-- got it
send (ATDT#777^M)
expect (CONNECT)
^M
ATDT#777
ATDT#777^M^M
NO CARRIERNO CARRIER
-- failed
Failed (NO CARRIER)
Connect script failed
connect count 9
abort on (BUSY)
abort on (NO CARRIER)
report (CONNECT)
timeout set to 100 seconds
send (atz^M)
Calling Tataindicom
timeout set to 60 seconds
expect (OK)
atz
atz^M^M
OKOK
-- got it
send (ATDT#777^M)
expect (CONNECT)
^M
ATDT#777
ATDT#777^M^M
NO CARRIERNO CARRIER
-- failed
Failed (NO CARRIER)
Connect script failed
INIT: Entering runlevel: 3
ApproDrvInit: 9
queue id:131076
ApproDrvInit: 8
queue id:131076
ApproDrvInit: 2
queue id:131076
ApproDrvInit: 6
queue id:131076
ApproDrvInit: 10
queue id:131076
MontaVista(R) Linux(R) Professional Edition 5.0.0 (0702774)
192.168.1.168 login: INIT: Id "1" respawning too fast: disabled for 5 minutes