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.

DM368IPNC boot error after update 2.0 release firmware

Hi, 


    Today, I'm trying to update the 2.0 release firmware to DM368IPNC, but met some error while the camera boot, 

    I have log the error in red, it seems caused by decompressing, I have did follow the user guide, to set the bootargs as below, not sure what's the problem, could you please help to look at this, thank you very much!

setenv bootargs 'mem=46M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x82000000,14M ip=dhcp eth=$(ethaddr)'

 

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.


 DM368_IPNC_UBL_1.0.0


U-Boot 1.3.4 (Apr 20 2010 - 11:42:44) DM368-IPNC-1.0.0


I2C:   ready

DRAM:  128 MB

NAND:  NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)

Bad block table found at page 65472, version 0x01

Bad block table found at page 65408, version 0x01

128 MiB

In:    serial

Out:   serial

Err:   serial

ARM Clock :- 432MHz

DDR Clock :- 340MHz

Ethernet PHY: GENERIC @ 0x01

Hit any key to stop autoboot:  4  3  2  1  0 


NAND read: device 0 offset 0x700000, size 0xd00000

 13631488 bytes read: OK


Loading from NAND 128MiB 3,3V 8-bit, offset 0x500000

   Image Name:   Linux-2.6.18_pro500-davinci_IPNC

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    1809680 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:    1809680 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 (kudva@mapplinux03.india.ti.com) (gcc version 4.2.0 20070126 (prerelease) (MontaVista 4.2.0-3.0.0.0702771 2007-03-10)) #1 PREEMPT Tue Jul 13 18:21:07 IST 2010

CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177

Machine: DaVinci DM368 IPNC

Memory policy: ECC disabled, Data cache writeback

DaVinci DM0365 variant 0x0

PLL0: fixedrate: 24000000, commonrate: 170000000, vpssrate: 340000000

PLL0: vencrate_sd: 75555555, ddrrate: 340000000 mmcsdrate: 48571428

PLL1: armrate: 432000000, voicerate: 20571428, vencrate_hd: 27000000

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: 11776

Kernel command line: mem=46M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x82000000,14M ip=dhcp eth=$(ethaddr)

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: 46MB = 46MB total

Memory: 28344KB available (3105K code, 643K data, 180K init)

Security Framework v1.0.0 initialized

Capability LSM initialized

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd

Freeing initrd memory: 14336K

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 Jul 13 2010 18:18:12 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

Linux video capture interface: v2.00

Trying to register davinci display video device.

layer=c2c37a00,layer->video_dev=c2c37b60

Trying to register davinci display video device.

layer=c2c37800,layer->video_dev=c2c37960

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: 0xf1 (Samsung NAND 128MiB 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"

0x02100000-0x08000000 : "data2"

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

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_davinci_dm365 rtc_davinci_dm365.0: setting the system clock to 2000-01-01 07:45:41 (946712741)

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

IP-Config: No network devices available.

RAMDISK: cramfs filesystem found at block 0

RAMDISK: Loading 12252KiB [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/done.

VFS: Mounted root (cramfs filesystem) readonly.

Freeing init memory: 180K


INIT: version 2.86 booting


0

mkdir: Cannot create directory `/dev/.test': Read-only file system

Starting the hotplug events dispatcher: udevd.

Synthesizing the initial hotplug events...done.

Waiting for /dev to be fully populated...done.

0

CSL: Module install successful, device major num = 253 

CSL: Module version 0.10.00, built on Jul 13 2010 18:23:32 

I2C: Module install successful, device major num = 252 

DMA: Module install successful, device major num = 251 

DRV: Module install successful

DRV: Module built on Jul 13 2010 18:23:35 

DRV: EDMACC.QUEPRI  = 00000777

DRV: SYSTEM.MSTPRI0 = 00550011

DRV: SYSTEM.MSTPRI1 = 00000444

DRV: ISP.BCR        = 00000002

DRV: SYSTEM.MISC = 00000391

CMEMK module: built on Jul 13 2010 at 18:23:07

  Reference Linux version 2.6.18

  File /home/kudva/workdir/DM365/IPNetCam/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c

allocated heap buffer 0xc4000000 of size 0x5200000

CMEM Range Overlaps Kernel Physical - allowing overlap

CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x82e00000)

cmemk initialized

EDMAK module: built on Jul 13 2010 at 18:23:10

  Reference Linux version 2.6.18

  File /home/kudva/workdir/DM365/IPNetCam/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/edma/src/module/edmak.c

IRQK module: built on Jul 13 2010 at 18:23:11

  Reference Linux version 2.6.18

  File /home/kudva/workdir/DM365/IPNetCam/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/irq/src/module/irqk.c

irqk initialized

Creat queue id:0

queue id:0

FileMngThread created

Creat queue id:32769

queue id:32769

AlramThread created

Share memory init success

IPNC_DM368_2.0.0 (kudva@mapplinux03.india.ti.com) (gcc version  

Creat queue id:65538

queue id:65538

Starting mounting local filesystems: mount none on /dev/shm type tmpfs (rw,size=5M)

none on /var/run type tmpfs (rw)

none on /tmp type tmpfs (rw,sync)

queue id:32769

queue id:65538


CPU is DM368

DEMOCFG Value : 0

Videocodecmode : 0

Videocodecres : 0

./av_server.out FD OSD DM368 AEWB TI2A AUDIO 8000 720P H264 4000000 VBR AUTO MENUOFF &

CPU CurrentStatus is = 1 

Check_device_version : DEVICE VER = 1 !!


AVSERVER UI: Initializing.

DRV_SyncRst: module = 47, domain = 0, state = 0

DRV_SyncRst: module = 47, domain = 0, state = 3

 

 CLK Hz,

 ARM   Hz =  432000000

 DDR   Hz =  340000000

 VPSS  Hz =  340000000

 IMCOP Hz =  340000000

 

Setting up networking ...rm: unable to remove `/etc/network/run': Read-only file system

 [OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR 


IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter

ApproDrvInit: 7

Creat queue id:98307

queue id:98307

Starting hotplug subsystem:

   pci     


CONFIGURING AVSERVER FOR DM368 .....

SENSOR FPS VALUE = 30

   pci      [success]

   usb     

DavinciDisplay DavinciDisplay.1: Before finishing with S_FMT:

layer.pix_fmt.bytesperline = 640,

 layer.pix_fmt.width = 640, 

 layer.pix_fmt.height = 480, 

 layer.pix_fmt.sizeimage =460800

queue id:98307

DavinciDisplay DavinciDisplay.1: pixfmt->width = 640,

 layer->layer_info.config.line_length= 640



 FR : 0 users registered from exsiting face album

IPNC_DM368_2.0.0 (kudva@mapplinux03.india.ti.com) (gcc version  

IPNC AUTO_IRIS = 1 #####################

GBCE in EVAL MODE 

queue id:65538

   usb      [success]

   isapnp  

TI 2A TRIAL VERSION!!!

TI 2A Expiration date: 2010, Dec 31

   isapnp   [success]

   ide     

   ide      [success]

   input   

   input    [success]

   scsi    

   scsi     [success]

done.

Simple mixer control 'PGA',0

  Capabilities: cvolume

  Capture channels: Mono

  Limits: Capture 0 - 3

  Mono: Capture 2 [67%]

Starting portmap daemon: portmapSimple mixer control 'Mono DAC',0

  Capabilities: pvolume pvolume-joined

  Playback channels: Mono

  Limits: Playback 0 - 63

  Mono: Playback 47 [75%]

killall: wis-streamer: no process killed

SystemInit success

Schedule manager init success

Starting internet superserver: inetdio scheduler deadline registered.


io scheduler cfq registered

TI DaVinci EMAC: kernel boot params Ethernet address: $(ethaddr)

 sbulla: unknown partition table

Installing knfsd (copyright (C) 1996 okir@monad.swb.de).

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

Davinci EMAC MII Bus: probed

MAC address is $(ethaddr)

TI DaVinci EMAC Linux version updated 4.0

davinci-mmc davinci-mmc.0: Supporting 4-bit mode

davinci-mmc davinci-mmc.0: Using DMA mode

usbcore: registered new driver usbfs

usbcore: registered new driver hub

musb_hdrc: version 6.0, cppi-dma, peripheral, debug=0

musb_hdrc musb_hdrc: No DMA interrupt line

musb_hdrc: USB Peripheral mode controller at c30f8000 using DMA, IRQ 12

Loading iSCSI transport class v1.1-646.<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 0b304d9c, no volume label.

queue id:0

umount: /mnt/mmc: not mounted

killall: dhcpcd: no process killed

net_search_gateway:eth0, 1A8C0, 0, 1

net_search_gateway:eth0, 0, 101A8C0, 3

dns=192.168.1.1

Error -3 while decompressing!

c03c4088(-12202616)->c1975000(4096)

Error -3 while decompressing!

c03bfe10(2702546)->c1977000(4096)

Error -3 while decompressing!

c03c3ae2(8850230)->c197b000(4096)

Error -3 while decompressing!

c03c3618(-10614428)->c197c000(4096)

Error -3 while decompressing!

c03bff7c(920966)->c197f000(4096)

Error -3 while decompressing!

c03bfd02(1628555)->c1980000(4096)

Error -3 while decompressing!

c03c368d(6426739)->c1984000(4096)

Error -3 while decompressing!

c03c3700(-1640698)->c1985000(4096)

Error -3 while decompressing!

c03bfe06(-4962309)->c1988000(4096)

Error -3 while decompressing!

c03bf601(-151519)->c1989000(4096)

Error -3 while decompressing!

c03c3622(6379808)->c198c000(4096)

Error -3 while decompressing!

c03c3f42(-7280886)->c198d000(4096)

Error -3 while decompressing!

c03bfb20(-3147043)->c196f000(4096)

ERROR: Module g_file_storage does not exist in /proc/modules

g_file_storage gadget: File-backed Storage Gadget, version: 28 November 2005

g_file_storage gadget: Number of LUNs=1

g_file_storage gadget-lun0: ro=0, file: /dev/sbulla

system_server/524[CPU#0]: BUG in local_bh_enable at kernel/softirq.c:196

ApproDrvInit: 2

queue id:98307

Initializing...

...done initializing

Play this stream using the URL:

rtsp://192.168.1.120/PSIA/Streaming/channels/1?videoCodecType=MPEG4

ApproDrvInit: 6

queue id:98307

Initializing...

...done initializing

ApproDrvInit: 3

queue id:98307

queue id:0

queue id:32769

Play this stream using the URL:

rtsp://192.168.1.120:8554/PSIA/Streaming/channels/1?videoCodecType=MPEG4

ApproDrvInit: 8

ApproDrvInit: 9

queue id:98307

Initializing...

...done initializing

Play this stream using the URL:

rtsp://192.168.1.120:8556/PSIA/Streaming/channels/2?videoCodecType=H.264

ApproDrvInit: 10

queue id:98307

Initializing...

...done initializing

Play this stream using the URL:

rtsp://192.168.1.120:8557/PSIA/Streaming/channels/2?videoCodecType=H.264

queue id:98307

Initializing...

...done initializing

Play this stream using the URL:

rtsp://192.168.1.120:8555/PSIA/Streaming/channels/0?videoCodecType=MJPEG

[01/Jan/2000:07:46:01 +0000] boa: server version Boa/0.94.13

[01/Jan/2000:07:46:01 +0000] boa: server built Jul 13 2010 at 18:25:27.

[01/Jan/2000:07:46:01 +0000] boa: starting server pid=789, port 80

queue id:0

Error -3 while decompressing!

c03bfe70(-1322588)->c0a94000(4096)


INIT: Entering runlevel: 3


Error -3 while decompressing!

Upnp port is 0

c03bfe4c(-1597419)->c1994000(4096)

UPnP Initialized OK ip=192.168.1.120, port=49152

desc_doc_url = http://192.168.1.120/tvdevicedesc.xml

UpnpRegisterRootDevice failure.

error code = -108

device advertisement failure.

 

 

  • Hi ,

    The problem you mentioned could come if the filesystem on NAND is not correctly written or if the filesystem that you have got is itself wrong. Can you please check if the filesystem downloaded from the website is fully downloaded and you have followed all the steps while doing NAND upgrade of filesystem and uImage?

    Please ensure that you have erased the flash region for uImage and filesystem correctly with the values mentioned in the UserGuide and also there is no error returned.

    Also, please check if there is any error returned during the above process.

    Once you login as root on the camera please kill the IPNC application and do the following steps:

    # umount /mnt/nand

    # flash_eraseall -j /dev/mtd4

    Regards,

    anshuman

    PS: Please mark this post as verified, if you think it has answered your question. Thanks.

     

  • Hi, Anshuman


         Thanks for your reply, I have follow your mention to do , but after I re-flash the camera, I found the problem seems become serious! It seems system can not start the  system_server now. this was happen after I do unmount and erase the /dev/mtd4 , but I did follow the step you mention to do, not sure what's the problem is. I have trying to re-flash the ubl and u-boot file, but the problem still existing! Please help me to look at this, thank you very much!

         The boot message is shown below: 


    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.


     DM368_IPNC_UBL_1.0.0


    U-Boot 1.3.4 (Apr 20 2010 - 11:42:44) DM368-IPNC-1.0.0


    I2C:   ready

    DRAM:  128 MB

    NAND:  NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)

    Bad block table found at page 65472, version 0x01

    Bad block table found at page 65408, version 0x01

    128 MiB

    In:    serial

    Out:   serial

    Err:   serial

    ARM Clock :- 432MHz

    DDR Clock :- 340MHz

    Ethernet PHY: GENERIC @ 0x01

    Hit any key to stop autoboot:  4  3  2  1  0 


    NAND read: device 0 offset 0x700000, size 0xd00000

     13631488 bytes read: OK


    Loading from NAND 128MiB 3,3V 8-bit, offset 0x500000

       Image Name:   Linux-2.6.18_pro500-davinci_IPNC

       Image Type:   ARM Linux Kernel Image (uncompressed)

       Data Size:    1809680 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:    1809680 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 (kudva@mapplinux03.india.ti.com) (gcc version 4.2.0 20070126 (prerelease) (MontaVista 4.2.0-3.0.0.0702771 2007-03-10)) #1 PREEMPT Tue Jul 13 18:21:07 IST 2010

    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177

    Machine: DaVinci DM368 IPNC

    Memory policy: ECC disabled, Data cache writeback

    DaVinci DM0365 variant 0x0

    PLL0: fixedrate: 24000000, commonrate: 170000000, vpssrate: 340000000

    PLL0: vencrate_sd: 75555555, ddrrate: 340000000 mmcsdrate: 48571428

    PLL1: armrate: 432000000, voicerate: 20571428, vencrate_hd: 27000000

    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: 12288

    Kernel command line: mem=48M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x82000000,14M ip=192.168.1.120 eth=00:0C:0C:A0:04:05

    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: 48MB = 48MB total

    Memory: 30348KB available (3105K code, 643K data, 180K init)

    Security Framework v1.0.0 initialized

    Capability LSM initialized

    Mount-cache hash table entries: 512

    CPU: Testing write buffer coherency: ok

    checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd

    Freeing initrd memory: 14336K

    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 Jul 13 2010 18:18:12 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

    Linux video capture interface: v2.00

    Trying to register davinci display video device.

    layer=c2dcfa00,layer->video_dev=c2dcfb60

    Trying to register davinci display video device.

    layer=c2dcf800,layer->video_dev=c2dcf960

    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: 0xf1 (Samsung NAND 128MiB 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"

    0x02100000-0x08000000 : "data2"

    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

    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_davinci_dm365 rtc_davinci_dm365.0: setting the system clock to 2000-01-01 03:18:05 (946696685)

    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

    IP-Config: No network devices available.

    RAMDISK: cramfs filesystem found at block 0

    RAMDISK: Loading 12252KiB [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/done.

    VFS: Mounted root (cramfs filesystem) readonly.

    Freeing init memory: 180K


    INIT: version 2.86 booting


    0

    mkdir: Cannot create directory `/dev/.test': Read-only file system

    Starting the hotplug events dispatcher: udevd.

    Synthesizing the initial hotplug events...done.

    Waiting for /dev to be fully populated...done.

    0

    CSL: Module install successful, device major num = 253 

    CSL: Module version 0.10.00, built on Jul 13 2010 18:23:32 

    I2C: Module install successful, device major num = 252 

    DMA: Module install successful, device major num = 251 

    DRV: Module install successful

    DRV: Module built on Jul 13 2010 18:23:35 

    DRV: EDMACC.QUEPRI  = 00000777

    DRV: SYSTEM.MSTPRI0 = 00550011

    DRV: SYSTEM.MSTPRI1 = 00000444

    DRV: ISP.BCR        = 00000002

    DRV: SYSTEM.MISC = 00000391

    CMEMK module: built on Jul 13 2010 at 18:23:07

      Reference Linux version 2.6.18

      File /home/kudva/workdir/DM365/IPNetCam/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c

    CMEM Range Overlaps Kernel Physical - allowing overlap

    CMEM phys_start (0x82e00000) overlaps kernel (0x80000000 -> 0x83000000)

    CMEMK Error: Failed to request_mem_region(0x82e00000, 85983232)

    insmod: cannot insert `cmemk.ko': Bad address (-1): Bad address

    EDMAK module: built on Jul 13 2010 at 18:23:10

      Reference Linux version 2.6.18

      File /home/kudva/workdir/DM365/IPNetCam/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/edma/src/module/edmak.c

    IRQK module: built on Jul 13 2010 at 18:23:11

      Reference Linux version 2.6.18

      File /home/kudva/workdir/DM365/IPNetCam/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/irq/src/module/irqk.c

    irqk initialized

    Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes

    empty_blocks 0, bad_blocks 0, c->nr_blocks 16

    mount: /dev/mtdblock4: can't read superblock

    Creat queue id:0

    queue id:0

    FileMngThread created

    Creat queue id:32769

    queue id:32769

    AlramThread created

    Share memory init success

    IPNC_DM368_2.0.0 (kudva@mapplinux03.india.ti.com) (gcc version  

    Creat queue id:65538

    queue id:65538

    queue id:32769

    FileMng: Error Can't create system file

    FileMsgDrv: Error

    Data read error

    Kill queue id:32769

    queue id:65538

    FileMsgDrv: Error

    Data read error

    Can't get system info!!

    FileMsgDrv: Error

    Data read error

    Starting mounting local filesystems: mount none on /dev/shm type tmpfs (rw,size=5M)

    none on /var/run type tmpfs (rw)

    none on /tmp type tmpfs (rw,sync)

    Setting up networking ...rm: unable to remove `/etc/network/run': Read-only file system

    Starting hotplug subsystem:

       pci     

       pci      [success]

       usb     

       usb      [success]

       isapnp  

       isapnp   [success]

       ide     

       ide      [success]

       input   

       input    [success]

       scsi    

       scsi     [success]

    done.

    Starting portmap daemon: portmap. 

    Starting internet superserver: inetd.

    io scheduler deadline registered

    io scheduler cfq registered

    TI DaVinci EMAC: kernel boot params Ethernet address: 00:0C:0C:A0:04:05

     sbulla: unknown partition table

    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).

    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

    Davinci EMAC MII Bus: probed

    MAC address is 00:0C:0C:A0:04:05

    TI DaVinci EMAC Linux version updated 4.0

    davinci-mmc davinci-mmc.0: Supporting 4-bit mode

    davinci-mmc davinci-mmc.0: Using DMA mode

    usbcore: registered new driver usbfs

    usbcore: registered new driver hub

    musb_hdrc: version 6.0, cppi-dma, peripheral, debug=0

    musb_hdrc musb_hdrc: No DMA interrupt line

    musb_hdrc: USB Peripheral mode controller at c38f0000 using DMA, IRQ 12

    Loading iSCSI transport class v1.1-646.<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 1f7e9130, no volume label.

    queue id:0

    TimeOut occure in boot_proc.

    Program exit.

    ApproDrvInit: 3

    CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'


    INIT: Entering runlevel: 3


    MontaVista(R) Linux(R) Professional Edition 5.0.0 (0702774)


    (none) login: root


    # ./system_server &

    # queue id:0

    FileMngThread created

    Creat queue id:98305

    queue id:98305

    AlramThread created

    Share memory init success

    IPNC_DM368_2.0.0 (kudva@mapplinux03.india.ti.com) (gcc version  

    queue id:65538

    queue id:98305

    FileMng: Error Can't create system file

    FileMsgDrv: Error

    Data read error

    Kill queue id:98305

    queue id:65538

    FileMsgD

     

  • BTW, my U-Boot is set as below:

    bootdelay=4

    baudrate=115200

    bootfile="uImage"

    filesize=BF7000

    bootcmd=nand read 0x82000000 0x700000 0xD00000;nboot 0x80700000 0 0x500000;bootm 0x80700000

    bootargs=mem=46M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x82000000,14M ip=dhcp eth=$(ethaddr)

    stdin=serial

    stdout=serial

    stderr=serial

    ver=U-Boot 1.3.4 (Apr 20 2010 - 11:42:44) DM368-IPNC-1.0.0

    Environment size: 357/131068 bytes

  • Hi Pan,

    The CMEM error you were getting was due to overlap of the kernel memory with CMEM memory. For some reason, your trace is showing

     

    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: 12288

    Kernel command line: mem=48M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x82000000,14M ip=192.168.1.120 eth=00:0C:0C:A0:04:05

    PID hash table entries: 256 (order: 8, 1024 bytes)

    Clock event device timer0_0 configured with caps set: 07

    Which shows that kernel is reserving memory up to 0x83000000, which overlaps with CMEM. Try to reboot your board after you have set the bootargs back to mem=46M.


    Best regards,

    Vincent

  • Hi, Vincent

        Thanks for your reply!

        I have change the mem back to 46M, but the problem is still the same.

        And I found there is a error during boot, you can see the head of boot message as below, it seems there is bad block in the flash, is that the root cause of this problem, if yes, is there any way I can fix it?

    I2C:   ready

    DRAM:  128 MB

    NAND:  NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)

    Bad block table found at page 65472, version 0x01

    Bad block table found at page 65408, version 0x01

    128 MiB

    In:    serial

    Out:   serial

    Err:   serial

    ARM Clock :- 432MHz

    DDR Clock :- 340MHz

    Ethernet PHY: GENERIC @ 0x01

    Hit any key to stop autoboot:  4  3  2  1  0

  •       Oh, I have check the log message before when camera works correct, they also have this kind of message, so I think it should be not the root cause, and the log after I change the mem to 46M is shown below, I really don't know what happen, please help to look at this , thank you very much!!!


    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.

     DM368_IPNC_UBL_1.0.0

    U-Boot 1.3.4 (Apr 20 2010 - 11:42:44) DM368-IPNC-1.0.0

    I2C:   ready
    DRAM:  128 MB
    NAND:  NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
    Bad block table found at page 65472, version 0x01
    Bad block table found at page 65408, version 0x01
    128 MiB
    In:    serial
    Out:   serial
    Err:   serial
    ARM Clock :- 432MHz
    DDR Clock :- 340MHz
    Ethernet PHY: GENERIC @ 0x01
    Hit any key to stop autoboot:  4  3  2  1  0

    NAND read: device 0 offset 0x700000, size 0xd00000
     13631488 bytes read: OK

    Loading from NAND 128MiB 3,3V 8-bit, offset 0x500000
       Image Name:   Linux-2.6.18_pro500-davinci_IPNC
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1809680 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:    1809680 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 (kudva@mapplinux03.india.ti.com) (gcc version 4.2.0 20070126 (prerelease) (MontaVista 4.2.0-3.0.0.0702771 2007-03-10)) #1 PREEMPT Tue Jul 13 18:21:07 IST 2010
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    Machine: DaVinci DM368 IPNC
    Memory policy: ECC disabled, Data cache writeback
    DaVinci DM0365 variant 0x0
    PLL0: fixedrate: 24000000, commonrate: 170000000, vpssrate: 340000000
    PLL0: vencrate_sd: 75555555, ddrrate: 340000000 mmcsdrate: 48571428
    PLL1: armrate: 432000000, voicerate: 20571428, vencrate_hd: 27000000
    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: 11776
    Kernel command line: mem=46M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x82000000,14M ip=dhcp eth=$(ethaddr)
    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: 46MB = 46MB total
    Memory: 28344KB available (3105K code, 643K data, 180K init)
    Security Framework v1.0.0 initialized
    Capability LSM initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
    Freeing initrd memory: 14336K
    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 Jul 13 2010 18:18:12 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
    Linux video capture interface: v2.00
    Trying to register davinci display video device.
    layer=c2c37a00,layer->video_dev=c2c37b60
    Trying to register davinci display video device.
    layer=c2c37800,layer->video_dev=c2c37960
    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: 0xf1 (Samsung NAND 128MiB 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"
    0x02100000-0x08000000 : "data2"
    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
    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_davinci_dm365 rtc_davinci_dm365.0: setting the system clock to 2000-01-01 00:00:00 (946684800)
    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
    IP-Config: No network devices available.
    RAMDISK: cramfs filesystem found at block 0
    RAMDISK: Loading 12252KiB [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/done.
    VFS: Mounted root (cramfs filesystem) readonly.
    Freeing init memory: 180K

    INIT: version 2.86 booting

    0
    mkdir: Cannot create directory `/dev/.test': Read-only file system
    Starting the hotplug events dispatcher: udevd.
    Synthesizing the initial hotplug events...done.
    Waiting for /dev to be fully populated...done.
    0
    CSL: Module install successful, device major num = 253
    CSL: Module version 0.10.00, built on Jul 13 2010 18:23:32
    I2C: Module install successful, device major num = 252
    DMA: Module install successful, device major num = 251
    DRV: Module install successful
    DRV: Module built on Jul 13 2010 18:23:35
    DRV: EDMACC.QUEPRI  = 00000777
    DRV: SYSTEM.MSTPRI0 = 00550011
    DRV: SYSTEM.MSTPRI1 = 00000444
    DRV: ISP.BCR        = 00000002
    DRV: SYSTEM.MISC = 00000391
    CMEMK module: built on Jul 13 2010 at 18:23:07
      Reference Linux version 2.6.18
      File /home/kudva/workdir/DM365/IPNetCam/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
    allocated heap buffer 0xc4000000 of size 0x5200000
    CMEM Range Overlaps Kernel Physical - allowing overlap
    CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x82e00000)
    cmemk initialized
    EDMAK module: built on Jul 13 2010 at 18:23:10
      Reference Linux version 2.6.18
      File /home/kudva/workdir/DM365/IPNetCam/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
    IRQK module: built on Jul 13 2010 at 18:23:11
      Reference Linux version 2.6.18
      File /home/kudva/workdir/DM365/IPNetCam/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
    irqk initialized
    Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
    empty_blocks 0, bad_blocks 0, c->nr_blocks 16
    mount: /dev/mtdblock4: can't read superblock
    Creat queue id:0
    queue id:0
    FileMngThread created
    Creat queue id:32769
    queue id:32769
    AlramThread created
    Share memory init success
    IPNC_DM368_2.0.0 (kudva@mapplinux03.india.ti.com) (gcc version 
    Creat queue id:65538
    queue id:65538
    queue id:32769
    FileMng: Error Can't create system file
    FileMsgDrv: Error
    Data read error
    Kill queue id:32769
    queue id:65538
    FileMsgDrv: Error
    Data read error
    Can't get system info!!
    FileMsgDrv: Error
    Data read error

    Starting mounting local filesystems: mount none on /dev/shm type tmpfs (rw,size=5M)
    none on /var/run type tmpfs (rw)
    none on /tmp type tmpfs (rw,sync)
    Setting up networking ...rm: unable to remove `/etc/network/run': Read-only file system
    Starting hotplug subsystem:
       pci    
       pci      [success]
       usb    
       usb      [success]
       isapnp 
       isapnp   [success]
       ide    
       ide      [success]
       input  
       input    [success]
       scsi   
       scsi     [success]
    done.
    Starting portmap daemon: portmap.
    io scheduler deadline registeredStarting interne
    t superserver: inetd.
    io scheduler cfq registered
    TI DaVinci EMAC: kernel boot params Ethernet address: $(ethaddr)
     sbulla: unknown partition table
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    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
    Davinci EMAC MII Bus: probed
    MAC address is $(ethaddr)
    TI DaVinci EMAC Linux version updated 4.0
    davinci-mmc davinci-mmc.0: Supporting 4-bit mode
    davinci-mmc davinci-mmc.0: Using DMA mode
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    musb_hdrc: version 6.0, cppi-dma, peripheral, debug=0
    musb_hdrc musb_hdrc: No DMA interrupt line
    musb_hdrc: USB Peripheral mode controller at c30f8000 using DMA, IRQ 12
    Loading iSCSI transport class v1.1-646.<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 38af09a9, no volume label.
    queue id:0
    TimeOut occure in boot_proc.
    Program exit.
    ApproDrvInit: 3
    Creat queue id:98305
    queue id:98305


    INIT: Entering runlevel: 3



    MontaVista(R) Linux(R) Professional Edition 5.0.0 (0702774)



    (none) login: root

  • Good, looks like you have eliminated the "CMEMK Error" you were seeing before after moving back to 46M.

    Hopefully someone else could help you with the remaining ones, as I am not familiar with the software specific to the IPNC.

    Best regards,

    Vincent

     

     

  • hi,Pan.Have you resolved the promblem of

     Creat queue id:65538
    queue id:65538
    queue id:32769
    FileMng: Error Can't create system file
    FileMsgDrv: Error
    Data read error
    Kill queue id:32769
    queue id:65538
    FileMsgDrv: Error
    Data read error
    Can't get system info!!
    FileMsgDrv: Error
    Data read error

    i met the same problem with you, i have confused some days, but i haven't solved.Could you help me? Thank u!