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.

DM368 IPNC Boot Errors



I am trying to bring up a custom DM368 board using the IPNC RDK 5.1.  The board has previously been used with the DVSDK 4.02 and I believe has no hardware issues.  I have UBL and U-Boot flashed to the on-board NAND and am now booting the board using tftp and NFS.  I believe I have found all the hardware dependencies in the IPNC RDK code that differ from my board (GPIO and pinmux settings) but it's certainly possible I've missed something.  I am also trying to use the OV9712 image sensor driver.  Boot logs are below.  Thanks for any pointers.

-Carl

baudrate=115200
bootargs=console=ttyS0,115200n8 mem=48M root=/dev/nfs rw nfsroot=172.20.10.0:/home/carl/Source/ipnc_rdk/target/filesys_dm368 ip=dhcp cmemk.phys_start=0x83000000 cmemk.phys_end=0x88000000 cmemk.phys_start_1=0x00001000 cmemk.phys_end_1=0x00008000 cmemk.pools_1=1x28672 cmemk.allowOverlap=1 cmemk.useHeapIfPoolUnavailable=1 eth=00:1c:00:f3:79:a0 nohz=off highres=off clocksource=acpi_pm
bootcmd=dhcp; bootm
bootdelay=3
bootfile=uImage_svi_dm368
ethact=DaVinci-EMAC
ethaddr=00:1c:00:f3:79:a0
fileaddr=80700000
filesize=3E7840
nfshost=172.20.10.0
rootpath=/home/carl/Source/ipnc_rdk/target/filesys_dm368
serverip=172.20.10.0
stderr=serial
stdin=serial
stdout=serial
ver=U-Boot 2010.12-rc2-00051-g74d6db1-dirty (Jul 13 2013 - 16:14:40)
verify=no

 

DM36x initialization passed!
TI UBL Version: 1.50
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000019.
   DONE
Jumping to entry point at 0x81080000.
 
 
U-Boot 2010.12-rc2-00051-g74d6db1-dirty (Jul 13 2013 - 16:14:40)
 
Cores: ARM 432 MHz
DDR:   340 MHz
I2C:   ready
DRAM:  128 MiB
NAND:  256 MiB
MMC:   davinci: 0
Bad block table found at page 131008, version 0x01
Bad block table found at page 130944, version 0x01
Net:   Ethernet PHY: GENERIC @ 0x00
DaVinci-EMAC
Hit any key to stop autoboot:  0 
BOOTP broadcast 1
DHCP client bound to address 172.20.10.13
Using DaVinci-EMAC device
TFTP from server 172.20.10.0; our IP address is 172.20.10.13
Filename 'uImage_svi_dm368'.
Load address: 0x80700000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###################
done
Bytes transferred = 4094016 (3e7840 hex)
## Booting kernel from Legacy Image at 80700000 ...
   Image Name:   Linux-2.6.37_SVI_DM368_5.1.0
   Created:      2013-07-19  16:17:50 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4093952 Bytes = 3.9 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Loading Kernel Image ... OK
OK
 
Starting kernel ...
 
[    0.000000] Linux version 2.6.37_SVI_DM368_5.1.0 (carl@ubuntu) (gcc version 4.3.3 (GCC) ) #1 PREEMPT Fri Jul 19 11:17:50 CDT 2013
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: DM368 SVI HelmetCam
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] DaVinci dm36x_rev1.2 variant 0x8
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 12192
[    0.000000] Kernel command line: console=ttyS0,115200n8 mem=48M root=/dev/nfs rw nfsroot=172.20.10.0:/home/carl/Source/ipnc_rdk/target/filesys_dm368 ip=dhcp cmemk.phys_start=0x83000000 cmemk.phys_end=0x88000000 cmemk.phys_start_1=0x00001000 cmemk.phys_end_1=0x00008000 cmemk.pools_1=1x28672 cmemk.allowOverlap=1 cmemk.useHeapIfPoolUnavailable=1 eth=00:1c:00:f3:79:a0 nohz=off highres=off clocksource=acpi_pm
[    0.000000] TI DaVinci EMAC: kernel boot params Ethernet address: 00:1c:00:f3:79:a0
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 48MB = 48MB total
[    0.000000] Memory: 44524k/44524k available, 4628k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xff000000 - 0xffe00000   (  14 MB)
[    0.000000]     vmalloc : 0xc3800000 - 0xfea00000   ( 946 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc3000000   (  48 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc002b000   ( 140 kB)
[    0.000000]       .text : 0xc002b000 - 0xc03c7000   (3696 kB)
[    0.000000]       .data : 0xc03c8000 - 0xc03ef800   ( 158 kB)
[    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptable hierarchical RCU implementation.
[    0.000000]  RCU-based detection of stalled CPUs is disabled.
[    0.000000]  Verbose stalled-CPUs detection is disabled.
[    0.000000] NR_IRQS:245
[    0.000000] Console: colour dummy device 80x30
[    0.000292] Calibrating delay loop... 215.44 BogoMIPS (lpj=1077248)
[    0.240068] pid_max: default: 32768 minimum: 301
[    0.240316] Security Framework initialized
[    0.240474] Mount-cache hash table entries: 512
[    0.241304] CPU: Testing write buffer coherency: ok
[    0.243015] devtmpfs: initialized
[    0.246064] DaVinci: 8 gpio irqs
[    0.246709] NET: Registered protocol family 16
[    0.246845] MUX: initialized INT_EDMA_CC
[    0.276809] MUX: initialized INT_EMAC_RXTHRESH
[    0.276853] MUX: initialized INT_EMAC_RXPULSE
[    0.276879] MUX: initialized INT_EMAC_TXPULSE
[    0.276903] MUX: initialized INT_EMAC_MISCPULSE
[    0.277702] MUX: initialized INT_PRTCSS
[    0.278492] MUX: initialized GPIO88_85
[    0.278532] MUX: initialized GPIO27
[    0.363256] bio: create slab <bio-0> at 0
[    0.368026] SCSI subsystem initialized
[    0.372463] usbcore: registered new interface driver usbfs
[    0.373820] usbcore: registered new interface driver hub
[    0.374741] usbcore: registered new device driver usb
[    0.378066] vpss vpss: dm365_vpss vpss probed
[    0.378126] vpss vpss: dm365_vpss vpss probe success
[    0.383089] Advanced Linux Sound Architecture Driver Version 1.0.23.
[    0.386699] Switching to clocksource timer0_1
[    0.469602] NET: Registered protocol family 2
[    0.469907] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.471011] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.471154] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.471245] TCP: Hash tables configured (established 2048 bind 2048)
[    0.471277] TCP reno registered
[    0.471318] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.471382] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.471891] NET: Registered protocol family 1
[    0.472942] RPC: Registered udp transport module.
[    0.472986] RPC: Registered tcp transport module.
[    0.473013] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.547149] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.547864] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.551913] msgmni has been set to 86
[    0.557124] io scheduler noop registered (default)
[    0.558841] CSL: Module install successful, device major num = 254 
[    0.558887] CSL: Module version 0.10.00, built on Jul 19 2013 11:08:35 
[    0.558937] I2C: Module install successful, device major num = 253 
[    0.558975] DMA: Module install successful, device major num = 252 
[    0.559003] DRV: Module install successful
[    0.559027] DRV: Module built on Jul 19 2013 11:08:36 
[    0.559055] DRV: EDMACC.QUEPRI  = 00002777
[    0.559078] DRV: SYSTEM.MSTPRI0 = 00440011
[    0.559100] DRV: SYSTEM.MSTPRI1 = 00000444
[    0.559122] DRV: ISP.BCR        = 00000002
[    0.559144] DRV: SYSTEM.MISC    = 00000399
[    0.559168] EDMAK module: built on Jul 19 2013 at 11:08:22
[    0.559198]   Reference Linux version 2.6.37
[    0.559223]   File /home/carl/Source/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
[    0.561186] IRQK module: built on Jul 19 2013 at 11:08:19
[    0.561237]   Reference Linux version 2.6.37
[    0.561262]   File /home/carl/Source/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
[    0.562975] irqk initialized
[    0.564729] CMEMK module: built on Jul 19 2013 at 11:08:20
[    0.564779]   Reference Linux version 2.6.37
[    0.564806]   File /home/carl/Source/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[    0.569854] allocated heap buffer 0xc4000000 of size 0x5000000
[    0.569896] heap fallback enabled - will try heap if pool buffer is not available
[    0.569937] CMEM Range Overlaps Kernel Physical - allowing overlap
[    0.569973] CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)
[    0.570595] cmemk initialized
[    0.570651] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.671372] serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
[    1.241122] console [ttyS0] enabled
[    1.280130] serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1d06000 IRQ41): -22
[    1.292226] brd: module loaded
[    1.302239] ONFI flash detected
[    1.305523] ONFI param page 0 valid
[    1.309036] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xaa (Micron NAND 256MiB 1,8V 8-bit)
[    1.319604] Creating 5 MTD partitions on "davinci_nand.0":
[    1.325274] 0x000000000000-0x0000003c0000 : "bootloader"
[    1.335536] 0x0000003c0000-0x000000400000 : "params"
[    1.345531] 0x000000400000-0x000000800000 : "kernel"
[    1.355742] 0x000000800000-0x000008800000 : "filesystem1"
[    1.366583] 0x000008800000-0x000010000000 : "filesystem2"
[    1.377257] davinci_nand davinci_nand.0: controller rev. 2.3
[    1.440123] davinci_mdio davinci_mdio.0: davinci mdio revision 1.4
[    1.446339] davinci_mdio davinci_mdio.0: detected phy mask fffffffc
[    1.455772] davinci_mdio.0: probed
[    1.459218] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[    1.466495] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
[    1.475353] i2c /dev entries driver
[    1.481336] Linux media interface: v0.10
[    1.485983] Linux video capture interface: v2.00
[    1.492975] vpbe-osd vpbe-osd: OSD sub device probe success
[    1.499433] vpbe-venc vpbe-venc: VENC sub device probe success
[    1.506268] vpbe-v4l2 vpbe-v4l2: vpbe v4l2 device registered
[    1.512450] Setting default output to Composite
[    1.517011] Setting default mode to ntsc
[    1.521163] vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.
[    1.527886] vpbe-v4l2 vpbe-v4l2: layer=c2909e00,layer->video_dev=c2909ee8
[    1.535808] vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.
[    1.542745] vpbe-v4l2 vpbe-v4l2: layer=c2909400,layer->video_dev=c29094e8
[    1.551630] watchdog watchdog: heartbeat 60 sec
[    1.561346] ALSA device list:
[    1.564341]   No soundcards found.
[    1.569111] nf_conntrack version 0.5.0 (695 buckets, 2780 max)
[    1.577183] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.583085] TCP cubic registered
[    1.586349] NET: Registered protocol family 17
[    1.661882] net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:00, id=200201)
[    1.730084] Sending DHCP requests ..
[    5.660373] PHY: 0:00 - Link is Up - 100/Half
[    7.450094] ., OK
[    7.480138] IP-Config: Got DHCP answer from 0.0.0.0, my address is 172.20.10.13
[    7.487985] IP-Config: Complete:
[    7.491147]      device=eth0, addr=172.20.10.13, mask=255.255.0.0, gw=172.20.0.1,
[    7.498603]      host=172.20.10.13, domain=pii.local, nis-domain=(none),
[    7.505373]      bootserver=0.0.0.0, rootserver=172.20.10.0, rootpath=
[    7.584229] VFS: Mounted root (nfs filesystem) on device 0:14.
[    7.591423] devtmpfs: mounted
[    7.594591] Freeing init memory: 140K
INIT: version 2.86 booting
[    9.443579] UBI: attaching mtd4 to ubi0
[    9.447452] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    9.454045] UBI: logical eraseblock size:    126976 bytes
[    9.459469] UBI: smallest flash I/O unit:    2048
[    9.464274] UBI: sub-page size:              512
[    9.468910] UBI: VID header offset:          2048 (aligned 2048)
[    9.474990] UBI: data offset:                4096
[   10.095206] UBI: max. sequence number:       35
[   10.116208] UBI: attached mtd4 to ubi0
[   10.119983] UBI: MTD device name:            "filesystem2"
[   10.125612] UBI: MTD device size:            120 MiB
[   10.130707] UBI: number of good PEBs:        956
[   10.135343] UBI: number of bad PEBs:         4
[   10.139791] UBI: number of corrupted PEBs:   0
[   10.144306] UBI: max. allowed volumes:       128
[   10.148936] UBI: wear-leveling threshold:    4096
[   10.153718] UBI: number of internal volumes: 1
[   10.158175] UBI: number of user volumes:     1
[   10.162677] UBI: available PEBs:             0
[   10.167132] UBI: total number of reserved PEBs: 956
[   10.172070] UBI: number of PEBs reserved for bad PEB handling: 9
[   10.178091] UBI: max/mean erase counter: 2/1
[   10.182415] UBI: image sequence number:  649175439
[   10.187260] UBI: background thread "ubi_bgt0d" started, PID 489
UBI device number 0, total 956 LEBs (121389056 bytes, 115.8 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
[   10.802844] UBIFS: recovery needed
[   10.860500] UBIFS: recovery completed
[   10.864202] UBIFS: mounted UBI device 0, volume 0, name "ubifs_volume"
[   10.870828] UBIFS: file system size:   118468608 bytes (115692 KiB, 112 MiB, 933 LEBs)
[   10.878767] UBIFS: journal size:       5967872 bytes (5828 KiB, 5 MiB, 47 LEBs)
[   10.886151] UBIFS: media format:       w4/r0 (latest is w4/r0)
[   10.892047] UBIFS: default compressor: lzo
[   10.896160] UBIFS: reserved for root:  4952683 bytes (4836 KiB)
[   11.660410] PHY: 0:00 - Link is Up - 100/Full
Starting mounting local filesystems: mount Creat queue id:0
queue id:0
FileMngThread created
Creat queue id:32769
queue id:32769
AlramThread created
Share memory init success
Creat queue id:65538
queue id:65538
queue id:65538
Creat queue id:98307
queue id:98307
queue id:32769
 
CPU is DM368
 
*****************************************************************
 
  IPNC BUILD VERSION: DM368 IPNC RDK V5.10.00.04
 
*****************************************************************
 
Error: SemWait: Invalid Semaphore handler
Error: SemRelease: Invalid Semaphore handler
Check_device_version : DEVICE VER = 1 !!
./av_server.out DM368 NTSC TI2A AEWB 720P H264 4000000 VBR AUTO MENUOFF &
mount: mounting /dev/root on / failed: No such file or directory
mount: mounting none on /dev/shm failed: No such file or directory
ApproDrvInit: 7
Creat queue id:131076
queue id:131076
 failed (2: ).
 
 DM365MM Init Successful
AVSERVER UI: Initializing.
Starting internet superserver: inetd.
 
 CLK Hz,
 ARM   Hz =  432000000
 DDR   Hz =  340000000
 VPSS  Hz =  340000000
 IMCOP Hz =  340000000
 
 DRV LDC: GetConfig 0004 0x0
 [OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR 
IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter
insmod: can't read '/opt/ipnc/modules/deflate.ko': No such file or directory
insmod: can't read '/opt/ipnc/modules/des_generic.ko': No such file or directory
insmod: can't read '/opt/ipnc/modules/md5.ko': No such file or directory
insmod: can't read '/opt/ipnc/modules/mmc_core.ko': No such file or directory
 
insmod: can't read '/opt/ipnc/modules/mmc_block.ko': No such file or directory
 DM365MM Init SuccessfulSYSTEM.MSTPRI0 value changed to 00440011
 
CONFIGURING AVSERVER FOR DM3[   13.762956] davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
68 .....
queue id:65538
fps= 30, t_frame = 33356572.000000, t_row = 40285.714844, t_pclk = 23.809525
cols = 1692, rows = 828, master_clk = 24000000,pll_clk = 84000000, f_pclk = 42000000
 pll_pre_div = 2, pll_mul = 7 pll_div = 2
----chipId =9711-----
TI Setting Applied
queue id:131076
[   14.232373] Loading iSCSI transport class v2.0-870.
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default
 ERROR  (drv_audio.c|DRV_audioplayOpen|202): unable to open pcm device: No such file or directory
 ERROR  (audioThr.c|AUDIOPLAY_audioTskMain|772): AUDIOPLAY_audioTskCreate()
 ERROR  (avServerMainThr.c|AVSERVER_tskStart|213): 
[   14.602577] iscsi: registered transport (tcp)
[   14.689035] musb-hdrc: version 6.0, peripheral, debug=0
insmod: error inserting '/opt/ipnc/modules/davinci.ko': -1 No such device
[   14.908253] loop: module loaded
[   15.025942] tun: Universal TUN/TAP device driver, 1.6
[   15.032102] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   15.099334] console [netcon0] enabled
[   15.103255] netconsole: network logging started
[   15.204889] PPP generic driver version 2.4.2
[   15.241959] PPP Deflate Compression module registered
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 00000010, no volume label.
queue id:0
[   19.670442] PHY: 0:00 - Link is Up - 100/Half
[   21.670440] PHY: 0:00 - Link is Up - 100/Full
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 172.20.10.13 console
 
Arago 2009.11 172.20.10.13 console
 
172.20.10.13 login: [   39.690530] PHY: 0:00 - Link is Up - 100/Half
[   41.690558] PHY: 0:00 - Link is Up - 100/Full
[   43.690791] PHY: 0:00 - Link is Up - 100/Half
[   45.690524] PHY: 0:00 - Link is Up - 100/Full
[   51.690577] PHY: 0:00 - Link is Up - 100/Half
[   55.690573] PHY: 0:00 - Link is Up - 100/Full
[   57.690601] PHY: 0:00 - Link is Up - 100/Half
[   63.690624] PHY: 0:00 - Link is Up - 100/Full
[   65.690651] PHY: 0:00 - Link is Up - 100/Half
[   67.690649] PHY: 0:00 - Link is Up - 100/Full
ApproDrvExit: 7
Error: WaitStreamReady Fail.
sycOnvif Profile 1
killall: dhcpcd: no process killed
rm: cannot remove '/var/run/dhcpcd-eth0.pid': No such file or directory
Error: SemWait: Invalid Semaphore handler
[   95.953736] PHY: 0:00 - Link is Up - 100/Full
Error: SemRelease: Invalid Semaphore handler
SystemInit success
Schedule manager init success
Dmva Schedule manager init success
Unknown message. Quit
Recieved Quit event
*** WARNING - alarm_main_loop is exited....
*** WARNING - AviMngThr thread is exited....
Kill queue id:65538
Kill queue id:98307
Kill queue id:32769
ApproDrvExit: 1
Error: DestroySem: Invalid Semaphore handler
Kill queue id:0
Error: Sem_kill faill!!
Msg_ThrFxn closing...
Kill queue id:13[   96.512198] vpbe-v4l2 vpbe-v4l2: streaming not started in layer id = 0
1076
ERROR  (drv_display.c|DRV_displayEnable|462): VIDIOC_STREAMOFF
[   97.950761] PHY: 0:00 - Link is Up - 100/Half
[  103.950756] PHY: 0:00 - Link is Up - 100/Full
[  105.950753] PHY: 0:00 - Link is Up - 100/Half
[01/Jan/1970:00:00:26 +0000] boa: server version Boa/0.94.13
[01/Jan/1970:00:00:26 +0000] boa: server built Jul 19 2013 at 11:11:53.
[01/Jan/1970:00:00:26 +0000] boa: starting server pid=657, port 80
[01/Jan/1970:00:01:46 +0000] caught SIGSEGV, dumping core in /tmp
  
  • Did you solve this? I'm getting the same error, seemingly unrelated to any change in the source code.

  • Bob,

    Can you try with 1-bit mode ECC and see whether you are seeing the same issue? Also try to disable sub-page support in UBI.

  • Renjith,

    I have fixed mine (for the moment), I tracked the fault to the ONVIF/Soap code not malloc-ing the correct data sizes for things it creates - in fact that code is full of unsafe evils.

  • Hi Bob,

    Can u please help me out in the fix u got. What was wrong with the onvif/soap sftware stack. Im working with sdk 5.1 and testing onvif and psia compliance on them. Testing with onvif device manager gives:

    caught SIGSEGV, dumping core in /tmp

    Please help me out in what is going wrong with it. Any help would be deeply appreciated.

    Thanx in advance

    Rohit

  • I can't remember full details of what I changed, but there are quite a few strings in the soap library (often IP address / URL strings) that are created as fixed-length char arrays like char ipstr[20] which then get long URL's written into them.


    I upped the #defined string lengths for a lot of things.


    There's also a few places where a pointer to a pointer has been written incorrectly as a straight pointer (* instead of ** or the other way round).

    We're not actually using the V5.1 ONVIF code yet, too much other stuff to sort out before we worry about that!