Dear all:
I am using version 2.5 code of ipnc from appro, it fix WAN RTSP streaming issue, but I find another issue in new release version,
when I use new cramfsImage_ipnc_dm368_2.5.0 and uImage_ipnc_dm368_2.5.0 to load into NADN flash, it can work very well in the first boot,
but when I reboot IPNC, it will show a strange error message "Error -3 while decompressing!" on terminal and can't into login page anymore
I find the -3 error means Z_DATA_ERROR, can anyone help me?
I try to make a new cramfs and uImage by myself, but the situation is the same, it will show the message when second boot.
Does anyone has the same issue?
My U-boot parameter and error message are as follow:
// U-boot parameter
bootdelay=4
baudrate=115200
ethaddr=00:0C:0C:A0:05:84
bootfile=uImage_ipnc_DM368
nfshost=192.168.56.2
rootpath=/home/hirain/ipnc/target/filesys
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=192.168.1.101:192.168.1.100:192.168.1.1:255.255.255.0:::off eth=00:0C:0C:A0:05:84
filesize=D6A000
fileaddr=82000000
ipaddr=192.168.56.103
serverip=192.168.56.2
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: 579/131068 bytes
//error boot message
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 1865152 Bytes = 1.8 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 1865152 Bytes = 1.8 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.5.0 (root@localhost.localdomain
) (gcc 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)) #1 PREEMPT Fr
i Jan 21 163427 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
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=devram0 rw initrd=0x8
2000000,14M ip=192.168.1.101192.168.1.100192.168.1.1255.255.255.0off eth=0
00C0CA00584
TI DaVinci EMAC kernel boot params Ethernet address 000C0CA00584
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 28236KB available (3193K code, 653K data, 184K 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 a
n 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 (20060819) Phillip Lougher
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
yaffs Jan 21 2011 163034 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 825016550 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 000C0CA00584
TI DaVinci EMAC Linux version updated 4.0
netconsole not configured, aborting
Linux video capture interface v2.00
Trying to register davinci display video device.
layer=c2c25000,layer-video_dev=c2c25160
Trying to register davinci display video device.
layer=c2dd7e00,layer-video_dev=c2dd7f60
davinci_initDaVinci 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-bi
t)
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
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 c3066000 using DMA, IRQ 12
rtc_davinci_dm365 rtc_davinci_dm365.0 rtc intf proc
rtc_davinci_dm365 rtc_davinci_dm365.0 rtc intf dev (2540)
rtc_davinci_dm365 rtc_davinci_dm365.0 rtc core registered rtc_davinci_dm365 as
rtc0
davinci-mmc davinci-mmc.0 Supporting 4-bit mode
davinci-mmc davinci-mmc.0 Using DMA mode
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 135550
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 08
0024 (946713624)
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 Complete
device=eth0, addr=192.168.1.101, mask=255.255.255.0, gw=192.168.1.1,
host=192.168.1.101, domain=, nis-domain=(none),
bootserver=192.168.1.100, rootserver=192.168.1.100, rootpath=
RAMDISK cramfs filesystem found at block 0
RAMDISK Loading 13956KiB [1 disk] into ram disk... done.
VFS Mounted root (cramfs filesystem) readonly.
Freeing init memory 184K
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 Jan 21 2011 170146
I2C Module install successful, device major num = 252
DMA Module install successful, device major num = 251
DRV Module install successful
DRV Module built on Jan 21 2011 170152
DRV EDMACC.QUEPRI = 00000777
DRV SYSTEM.MSTPRI0 = 00550011
DRV SYSTEM.MSTPRI1 = 00000444
DRV ISP.BCR = 00000002
DRV SYSTEM.MISC = 00000391
CMEMK module built on Jan 21 2011 at 163646
Reference Linux version 2.6.18
File homehiraindvsdk_2_10_01_18linuxutils_2_24_03packagestisdolinuxuti
lscmemsrcmodulecmemk.c
allocated heap buffer 0xc4000000 of size 0x5000000
CMEM Range Overlaps Kernel Physical - allowing overlap
CMEM phys_start (0x1000) overlaps kernel (0x80000000 - 0x82e00000)
cmemk initialized
EDMAK module built on Jan 21 2011 at 163650
Reference Linux version 2.6.18
File homehiraindvsdk_2_10_01_18linuxutils_2_24_03packagestisdolinuxuti
lsedmasrcmoduleedmak.c
IRQK module built on Jan 21 2011 at 163652
Reference Linux version 2.6.18
File homehiraindvsdk_2_10_01_18linuxutils_2_24_03packagestisdolinuxuti
lsirqsrcmoduleirqk.c
irqk initialized
Creat queue id0
queue id0
FileMngThread created
Creat queue id32769
queue id32769
AlramThread created
Share memory init success
Creat queue id65538
queue id65538
Creat queue id98307
queue id98307
queue id32769
IPNC_DM368_2.5.0 (root@localhost.localdomain) (gcc 4.2.0
queue id65538
CPU is DM368
.av_server.out DM368 NTSC TI2A AEWB 720P H264 5000000 VBR AUTO MENUOFF &
Check_device_version DEVICE VER = 1 !!
Starting mounting local filesystems
AVSERVER UI Initializing.
DRV_SyncRst module = 47, domain = 0, state = 0
DRV_SyncRst module = 47, domain = 0, state = 3
ApproDrvInit 7
Creat queue id131076
queue id131076
CLK Hz,
ARM Hz = 432000000
DDR Hz = 340000000
VPSS Hz = 340000000
IMCOP Hz = 340000000
[OSA_FILE ] Reading file [mntnandIMG_Paramset.bin] ... ERROR
IMAGE TUNE Paramset File is not available..... Setting DEFAULT parameter
mount none on devshm type tmpfs (rw,size=5M)
none on varrun type tmpfs (rw)
none on tmp type tmpfs (rw,sync)
Setting up networking ...rm unable to remove `etcnetworkrun' Read-only file
system
Starting hotplug subsystem
pci
CONFIGURING AVSERVER FOR DM368 .....
queue id65538
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
DavinciDisplay DavinciDisplay.1 pixfmt-width = 640,
layer-layer_info.config.line_length= 640
FR 0 users registered from exsiting face album
IPNC_DM368_2.5.0 (root@localhost.localdomain) (gcc 4.2.0
IPNC AUTO_IRIS = 1
TI AWB PRODUCTION VERSION 1.0.0
usb [success]
isapnp
isapnp [success]
ide
ide [success]
input
input [success]
scsi
Simple mixer control 'PGA',0
Capabilities cvolume
Capture channels Mono
Limits Capture 0 - 3
Mono Capture 2 [67%]
Simple mixer control 'Mono DAC',0
Capabilities pvolume pvolume-joined
Playback channels Mono
Limits Playback 0 - 63
Mono Playback 47 [75%]
SystemInit success
Schedule manager init success
scsi [success]
done.
Starting portmap daemon portmap.
Starting internet superserver inetd.
io scheduler deadline registered
io scheduler cfq registered
insmod optipncmodulesi2c-emac.ko No such file or directory
sbulla unknown partition table
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
loop loaded (max 8 devices)
tun Universal TUNTAP device driver, 1.6
tun (C) 1999-2004 Max Krasnyansky maxk@qualcomm.com
CSLIP code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
insmod optipncmodulesnetconsole.ko No such file or directory
PPP Deflate Compression module registered
insmod optipncmodulesdavinci_emac.ko No such file or directory
insmod optipncmodulesmmc_core.ko No such file or directory
insmod optipncmodulesmmc_block.ko No such file or directory
insmod optipncmodulesdavLoading iSCSI transport class v1.1-646.inci-mmc.ko
No such file or directory
insmod optipncmodulesusbcore.ko No such file or directory
insmod optipncmodulesmusb_hdrc.ko No such file or directory
insmod optipncmodulesusbmon.ko No such file or directory
5iscsi registered transport (tcp)
sbulla unknown partition table
mkdosfs 3.0.6 (04 Oct 2009)
unable to get drive geometry, using default 25563
devsbulla 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 42665c4f, no volume label.
queue id0
umount mntmmc not mounted
killall dhcpcd no process killed
rm cannot remove `varrundhcpcd-eth0.pid' No such file or directory
net_search_gatewayeth0, 1A8C0, 0, 1
dns=192.168.1.1
net_search_gatewayeth0, 1A8C0, 0, 1
net_search_gatewayeth0, 0, FE01A8C0, 3
dns=192.168.1Error -3 while decompressing!
.1
c03da02c(328)-c05a5000(4096)
Error -3 while decompressing!
c03da174(2584)-c05a7000(4096)
g_file_storage gadget File-backed Storage Gadget, version 28 November 2005
ERROR Module g_g_file_storage gadget Number of LUNs=1
file_storage doeg_file_storage gadget-lun0 ro=0, file devsbulla
s not exist in procmodules
system_server536[CPU#0] BUG in local_bh_enable at kernelsoftirq.c196
ApproDrvInit 3
queue id131076
queue id0
queue id32769
ApproDrvInit 9
queue id131076
Initializing...
...done initializing
ApproDrvInit 8
queue id131076
ApproDrvInit 2
queue id131076
Initializing...
...done initializing
Play this stream using the URL
rtsp192.168.1.1688553PSIAStreamingchannels1videoCodecType=MPEG4
ApproDrvInit 6
queue id131076
Initializing...
...done initializing
Play this stream using the URL
rtsp192.168.1.1688554PSIAStreamingchannels1videoCodecType=MPEG4
ApproDrvInit 10
queue id131076
Initializing...
...done initializing
Play this stream using the URL
rtsp192.168.1.1688557PSIAStreamingchannels2videoCodecType=H.264
UDPString=uuidUpnp-TVEmulator-1_0-00_0027124105UDN
Initializing...
...done initializing
Play this stream using the URL
rtsp192.168.1.1688555PSIAStreamingchannels0videoCodecType=MJPEG
INIT Entering runlevel 3
Upnp port is 0
UPnP Initialized OK ip=192.168.1.168, port=49152
desc_doc_url = http192.168.1.168tvdevicedesc.xml
error code = 0
device advertisement succeed.
MontaVista(R) Linux(R) Professional Edition 5.0.0 (0702774)
192.168.1.101 login
//////////////////////////////////////
Can anyone help me? Thanks a lot.