I am just testing the IPNC_RDK V5.10.0.0.04. When I am building the uimage and filesys. They build fine.
On loading the kernel file I am unable to get the IPNC webpage when booting the system for fist time, On rebooting the system The kernel image is not loaded
camera: DM369IPNC-IMX104 TMDSIPCAM369X104-A032
MAC address: 00-0C-0C-02-3A-DC
here is bootlog and error faced
DM368 IPNC :>
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.2.0
Platform: DM368-432
UBL Executed Sucessfully
Jumping to entry point at 0x81080000
U-Boot 1.3.4 (Dec 21 2013 - 02:00:01) DM368-IPNC-5.1.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 not found for chip 0
Bad block table not found for chip 0
loop oob 81021ad8 Bad block table written to 0x07fe0000, version 0x01
loop oob 81021ad8 Bad block table written to 0x07fc0000, 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: 0
Loading from NAND 128MiB 3,3V 8-bit, offset 0x500000
Image Name: Linux-2.6.37_IPNC_DM368_5.1.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3711936 Bytes = 3.5 MB
Load Address: 80008000
Entry Point: 80008000
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.37_IPNC_DM368_5.1.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3711936 Bytes = 3.5 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
DM368 IPNC :>printenv
bootdelay=4
baudrate=115200
bootfile="uImage"
setboot=setenv bootargs $(bootargs)
ethaddr=00:0C:0C:02:3A:DC
filesize=2100000
fileaddr=82000000
netmask=255.255.255.0
ipaddr=192.168.1.199
serverip=192.168.1.200
bootcmd=nboot 0x80700000 0 0x500000;bootm 0x80700000
bootargs=mem=48M console=ttyS1,115200n8 noinitrd ip=dhcp rw ubi.mtd=3,2048 rootf
stype=ubifs root=ubi0:rootfs cmemk.phys_start=0x83000000 cmemk.phys_end=0x880000
00 cmemk.phys_start_1=0x00001000 cmemk.phys_end_1=0x00008000 cmemk.pools_1=1x286
72 cmemk.allowOverlap=1 cmemk.useHeapIfPoolUnavailable=1 nohz=off highres=off cl
ocksource=acpi_pm lpj=1077248 eth=$(ethaddr) quiet
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 1.3.4 (Dec 21 2013 - 02:00:01) DM368-IPNC-5.1.0
Environment size: 733/131068 bytes
DM368 IPNC :>tftpboot 0x80700000 uImage_ipnc_dm3682
TFTP from server 192.168.1.200; our IP address is 192.168.1.199
Filename 'uImage_ipnc_dm3682'.
Load address: 0x80700000
Loading: #################################################################
#################################################################
#################################################################
##########################################################
done
Bytes transferred = 3712000 (38a400 hex)
DM368 IPNC :>tftpboot 0x82000000 ipnc_dm368_ubifs2
TFTP from server 192.168.1.200; our IP address is 192.168.1.199
Filename 'ipnc_dm368_ubifs2'.
Load address: 0x82000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##################
done
Bytes transferred = 34603008 (2100000 hex)
DM368 IPNC :>nand erase 0x500000 0x400000
NAND erase: device 0 offset 0x500000, size 0x400000
Erasing at 0x8e0000 -- 100% complete.
OK
DM368 IPNC :>nand write 0x80700000 0x500000 0x400000
NAND write: device 0 offset 0x500000, size 0x400000
4194304 bytes written: OK
DM368 IPNC :>nand erase 0x900000 0x2800000
NAND erase: device 0 offset 0x900000, size 0x2800000
Erasing at 0x30e0000 -- 100% complete.
OK
DM368 IPNC :>nand write 0x82000000 0x900000 0x2800000
NAND write: device 0 offset 0x900000, size 0x2800000
41943040 bytes written: OK
DM368 IPNC :>setenv bootcmd 'nboot 0x80700000 0 0x500000;bootm 0x80700000'
DM368 IPNC :>setenv bootargs 'mem=48M console=ttyS1,115200n8 noinitrd ip=dhcp rw
ubi.mtd=3,2048 rootfstype=ubifs root=ubi0:rootfs cmemk.phys_start=0x83000000 cm
emk.phys_end=0x88000000 cmemk.phys_start_1=0x00001000 cmemk.phys_end_1=0x0000800
0 cmemk.pools_1=1x28672 cmemk.allowOverlap=1 cmemk.useHeapIfPoolUnavailable=1 no
hz=off highres=off clocksource=acpi_pm lpj=1077248 eth=$(ethaddr) quiet'
DM368 IPNC :>saveenv
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x240000 -- 100% complete.
Writing to Nand... done
DM368 IPNC :>
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.2.0
Platform: DM368-432
UBL Executed Sucessfully
Jumping to entry point at 0x81080000
U-Boot 1.3.4 (Dec 21 2013 - 02:00:01) DM368-IPNC-5.1.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 not found for chip 0
Bad block table not found for chip 0
loop oob 81021ad8 Bad block table written to 0x07fe0000, version 0x01
loop oob 81021ad8 Bad block table written to 0x07fc0000, 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: 0
Loading from NAND 128MiB 3,3V 8-bit, offset 0x500000
Image Name: Linux-2.6.37_IPNC_DM368_5.1.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3711936 Bytes = 3.5 MB
Load Address: 80008000
Entry Point: 80008000
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.37_IPNC_DM368_5.1.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3711936 Bytes = 3.5 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
[ 1.091001] Error: Driver 'davinci-mcbsp' is already registered, aborting...
[ 74.071713] IP-Config: Reopening network devices...
[ 157.762051] IP-Config: Auto-configuration of network failed.
INIT: version 2.86 booting
UBI device number 1, total 64 LEBs (8126464 bytes, 7.8 MiB), available 0 LEBs (0
bytes), LEB size 126976 bytes (124.0 KiB)
mknod: /dev/spidev0.0: File exists
Starting mounting local filesystems: mount 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
Creat queue id:65538
queue id:65538
Creat queue id:98307
queue id:98307
IPNC_DM368_5.1.0 (x0066085@bangvideoapps01) (gcc version 4.3.3 (GCC) ) #1 PREE
queue id:65538
mount: mounting /dev/root on / failed: No such file or directory
mount: mounting none on /dev/shm failed: No such file or directory
failed (2: ).
Check_device_version : DEVICE VER = 1 !!
CPU is DM369
*****************************************************************
IPNC BUILD VERSION: DM369 IPNC RDK V5.10.00.04
*****************************************************************
Error: SemWait: Invalid Semaphore handler
Error: SemRelease: Invalid Semaphore handler
./av_server.out DM369 NTSC TI2A AEWB 720P H264 4000000 VBR AUTO MENUOFF &
ApproDrvInit: 7
Creat queue id:131076
queue id:131076
Starting internet superserver: inetd.
insmod: can't read '/opt/ipnc/modules/deflate.ko': No such file or directory
DM365MM Init Successful
AVSERVER UI: Initializing.
ApproDrvInit: 9
ApproDrvInit: 8
queue id:131076
ApproDrvInit: 2
ApproDrvInit: 10
queue id:131076
queue id:131076
ApproDrvInit: 6
queue id:131076
queue id:131076
CLK Hz,
ARM Hz = 432000000
DDR Hz = 340000000
VPSS Hz = 340000000
IMCOP Hz = 340000000
DRV LDC: GetConfig 0004 0x0
insmod: can't read '/opt/ipnc/modules/mmc_core.ko': No such file or directory
[OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR
IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter
DM365MM Init SuccessfulSYSTEM.MSTPRI0 value changed to 00440011
CONFIGURING AVSERVER FOR DM369 .....
queue id:65538
sensor mode:4;width:1280;height:736;DRV_imgsOpen Sensor Mode Info,
Width = 1312
Height = 740
fps = 30
Bin Enable = 1
Sensor Frame Timing Info,
fps = 30
t_frame (ns) = 33333334.000000
t_row (ns) = 34562.500000
t_pclk (ns) = 15.625000
W = 1312
H = 740
SW = 1092
SD = 0
HB = 450
VB = 224
HBmin = 450
VBmin = 9
f_pclk = 64000000
shutterOverhead (ns) = 6656.250000
col_size = 1312
row_size = 740
col_bin = 0
row_bin = 0
col_start = 0
row_start = 40
pll_M = 16
pll_N = 1
pll_DIV = 1
############reset###########
set pinmux3 = 0x615affff
############SET REG###########
######### Run in Normal Mode ###########
TI Setting Applied
queue id:131076
IPNC_DM368_5.1.0 (x0066085@bangvideoapps01) (gcc version 4.3.3 (GCC) ) #1 PREE
IPNC AUTO_IRIS = 0
Initializing...
Initializing...
Initializing...
Initializing...
Initializing...
...done initializing
...done initializing
...done initializing
...done initializing
...done initializing
Play this stream using the URL:
rtsp://0.0.0.0:8556/PSIA/Streaming/channels/2?videoCodecType=H.264
(We use port 8303 for optional RTSP-over-HTTP tunneling.)
Play this stream using the URL:
rtsp://0.0.0.0:8557/PSIA/Streaming/channels/2?videoCodecType=H.264
(We use port 8304 for optional RTSP-over-HTTP tunneling.)
Play this stream using the URL:
rtsp://0.0.0.0:8554/PSIA/Streaming/channels/1?videoCodecType=MPEG4
(We use port 8301 for optional RTSP-over-HTTP tunneling.)
Play this stream using the URL:
rtsp://0.0.0.0:8555/PSIA/Streaming/channels/0?videoCodecType=MJPEG
(We use port 8302 for optional RTSP-over-HTTP tunneling.)
Play this stream using the URL:
rtsp://0.0.0.0:8553/PSIA/Streaming/channels/1?videoCodecType=MPEG4
(We use port 8300 for optional RTSP-over-HTTP tunneling.)
TI AWB PRODUCTION VERSION 1.0.0
Simple mixer control 'PGA',0
Capabilities: cvolume cvolume-joined penum
Capture channels: Mono
Limits: Capture 0 - 3
Mono: Capture 2 [67%]
Simple mixer control 'Mono DAC',0
Capabilities: pvolume pvolume-joined penum
Playback channels: Mono
Limits: Playback 0 - 63
Mono: Playback 47 [75%]
sycOnvif Profile 1
killall: dhcpcd: no process killed
rm: cannot remove '/var/run/dhcpcd-eth0.pid': No such file or directory
mkdosfs 2.11 (12 Mar 2005)
unable to get drive geometry, using default 255/63/dev/ram0 has 255 heads and 63
sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 8192 sectors;
file system has 2 12-bit FATs and 4 sectors per cluster.
FAT size is 6 sectors, and provides 2036 clusters.
Root directory contains 512 slots.
Volume ID is 000000a4, no volume label.
queue id:0
TimeOut occure in boot_proc.
Program exit.
ApproDrvInit: 3
queue id:131076
queue id:0
queue id:32769
mount: mounting devpts on /dev/pts failed: No such file or directory
INIT: Entering runlevel: 5
Starting telnet daemon.
Starting syslogd/klogd: done
getty: ioctl() TIOCSPGR
_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|
Arago Project http://arago-project.org DM369_IPNC console
Arago 2009.11 DM369_IPNC console
DM369_IPNC login: root
-sh: can't access tty; job control turned off
root@DM369_IPNC:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:0A:DD:00:00
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:161 errors:0 dropped:0 overruns:0 frame:0
TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14976 (14.6 KiB) TX bytes:12125 (11.8 KiB)
Interrupt:52 Base address:0x7000
eth0:3 Link encap:Ethernet HWaddr 00:E0:0A:DD:00:00
inet addr:169.254.4.140 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:52 Base address:0x7000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1400 (1.3 KiB) TX bytes:1400 (1.3 KiB)
root@DM369_IPNC:~#
Module | Avg Time/Frame | Frame-rate | Total time | Total Frames |
CAPTURE | 33.27 | 30.05 | 29979 | 901 |
ENCODE0 | 14.09 | 70.96 | 12684 | 900 |
STREAM | 0.24 | 4245.28 | 212 | 900 |
OSD0 | 0.21 | 4801.10 | 181 | 869 |
AEWB | 1.17 | 855.38 | 1051 | 899 |
Module | Avg Time/Frame | Frame-rate | Total time | Total Frames |
CAPTURE | 33.30 | 30.03 | 30005 | 901 |
ENCODE0 | 14.00 | 71.45 | 12611 | 901 |
STREAM | 0.24 | 4152.07 | 217 | 901 |
OSD0 | 0.21 | 4792.55 | 188 | 901 |
AEWB | 1.14 | 873.91 | 1031 | 901 |
net_get_netmask: ioctl SIOCGIFNETMASK: Cannot assign requested address
killall: dhcpcd: no process killed
rm: cannot remove '/var/run/dhcpcd-eth0.pid': No such file or directory
Module | Avg Time/Frame | Frame-rate | Total time | Total Frames |
CAPTURE | 33.30 | 30.03 | 30000 | 901 |
ENCODE0 | 14.01 | 71.38 | 12622 | 901 |
STREAM | 0.27 | 3754.17 | 240 | 901 |
OSD0 | 0.21 | 4870.27 | 185 | 901 |
AEWB | 1.14 | 880.74 | 1023 | 901 |
Module | Avg Time/Frame | Frame-rate | Total time | Total Frames |
CAPTURE | 33.30 | 30.03 | 30002 | 901 |
ENCODE0 | 13.99 | 71.49 | 12604 | 901 |
STREAM | 0.27 | 3738.59 | 241 | 901 |
OSD0 | 0.21 | 4792.55 | 188 | 901 |
AEWB | 1.14 | 874.76 | 1030 | 901 |
net_get_netmask: ioctl SIOCGIFNETMASK: Cannot assign requested address
killall: dhcpcd: no process killed
rm: cannot remove '/var/run/dhcpcd-eth0.pid': No such file or directory
Module | Avg Time/Frame | Frame-rate | Total time | Total Frames |
CAPTURE | 33.30 | 30.03 | 30002 | 901 |
ENCODE0 | 14.00 | 71.43 | 12614 | 901 |
STREAM | 0.28 | 3589.64 | 251 | 901 |
OSD0 | 0.19 | 5148.57 | 175 | 901 |
AEWB | 1.14 | 877.31 | 1027 | 901 |
Module | Avg Time/Frame | Frame-rate | Total time | Total Frames |
CAPTURE | 33.29 | 30.04 | 29997 | 901 |
ENCODE0 | 13.99 | 71.47 | 12607 | 901 |
STREAM | 0.27 | 3769.87 | 239 | 901 |
OSD0 | 0.21 | 4870.27 | 185 | 901 |
AEWB | 1.15 | 869.69 | 1036 | 901 |
net_get_netmask: ioctl SIOCGIFNETMASK: Cannot assign requested address
net_search_gateway:eth0, 1A8C0, 0, 1
net_search_gateway:eth0, FEA9, 0, 1
SystemInit success
Schedule manager init success
Dmva Schedule manager init success
umount: /mnt/mmc: not mounted
dns=192.168.1.1
net_search_gateway:eth0, 1A8C0, 0, 1
net_search_gateway:eth0, FEA9, 0, 1
net_search_gateway:eth0, 0, FE01A8C0, 3
dns=192.168.1.1
ERROR: Module g_file_storage does not exist in /proc/modules
[01/Jan/1970:00:02:54 +0000] boa: server version Boa/0.94.13
[01/Jan/1970:00:02:54 +0000] boa: server built Jun 5 2013 at 16:53:13.
[01/Jan/1970:00:02:54 +0000] boa: starting server pid=673, port 80
queue id:0
<UDN>uuid:Upnp-TVEmulator-00:e0:0a:dd:00:00</UDN>
Upnp port is 0
UPnP Initialized OK ip=169.254.4.140, port=49152
desc_doc_url = http://169.254.4.140/tvdevicedesc.xml
error code = 0
device advertisement succeed.
Module | Avg Time/Frame | Frame-rate | Total time | Total Frames |
CAPTURE | 33.31 | 30.02 | 30009 | 901 |
ENCODE0 | 14.00 | 71.44 | 12612 | 901 |
STREAM | 0.28 | 3633.06 | 248 | 901 |
OSD0 | 0.21 | 4717.28 | 191 | 901 |
AEWB | 1.15 | 869.69 | 1036 | 901 |
ON REBOOTING THE SYSTEM SECOND TIME
128 MiB
In: serial
Out: serial
Err: serial
ARM Clock :- 432MHz
DDR Clock :- 340MHz
Ethernet PHY: GENERIC @ 0x01
Hit any key to stop autoboot: 0
Loading from NAND 128MiB 3,3V 8-bit, offset 0x500000
Image Name: Linux-2.6.37_IPNC_DM368_5.1.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3711936 Bytes = 3.5 MB
Load Address: 80008000
Entry Point: 80008000
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.37_IPNC_DM368_5.1.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3711936 Bytes = 3.5 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!