Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

MCSDK --syslink--OMAPL138

$
0
0

uboot setup

U-Boot > printenv
baudrate=115200
bootargs=bootagrs=root=/dev/nfs rw nfsroot=10.3.2.175:/home/lyy/tftpboot/rootfs nfsaddrs=10.3.2.99:10.3.2.175:10.3.2.1:255.255.255.0 console=ttyS2,115200n8 mem=32M@0xc0000000 mem=64M@0xc4000000
bootcmd=tftp c0700000 uImage;bootm c0700000
bootdelay=5
bootdir=/boot
bootfile=uImage
bootpart=0:2
bootscr=boot.scr
commonargs=console=ttyS2,115200n8 mem=32M@0xc0000000 mem=64M@0xc4000000 eth=16:01:c0:17:45:e5 da850-panel=TL070A da850-emac=mii
console=ttyS2,115200n8
da850-panel=TL070A
emac-mode=mii
ethact=DaVinci-EMAC
ethaddr=16:01:c0:17:45:e5
hwconfig=dsp:wake=yes
ipaddr=10.3.2.99
loadaddr=0xc0700000
loadbootscr=fatload mmc ${mmcdev} ${scraddr} ${bootscr}
loadimage=fatload mmc ${mmcdev} ${loadaddr} ${bootfile}
mem_args=mem=32M@0xc0000000 mem=64M@0xc4000000
mmcargs=setenv bootargs ${commonargs} root=${mmcroot} rootfstype=${mmcrootfstype}
mmcboot=mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscr; then echo Loaded bootscript from ${bootscr}; source ${scraddr}; fi; if run loadimage; then echo Booting from mmc${mmcdev} ...; run mmcargs; bootm ${loadaddr}; fi; fi;
mmcdev=0
mmcroot=/dev/mmcblk0p2 rw
mmcrootfstype=ext3 rootwait
mtddevname=env
mtddevnum=0
mtdids=nand0=davinci_nand.0
mtdparts=mtdparts=davinci_nand.0:128k(env),512k(spl),512k(u-boot),4m(kernel),-(filesystem)
nandargs=setenv bootargs ${commonargs} root=${nandroot} rootfstype=${nandrootfstype}
nandboot=if nboot ${nandbootpart}; then echo Booting from nand ...; run nandargs; bootm ${loadaddr}; fi;
nandbootpart=kernel
nanddev=0
nandroot=ubi0_0 ubi.mtd=4,2048
nandrootfstype=ubifs
netmask=255.255.255.0
nfsargs=setenv bootargs ${commonargs} ip=dhcp root=/dev/nfs nfsroot=${serverip}:${nfspath},nolock rw
optargs=vpif_capture_format=SDTV vpif_capture.ch0_bufsize=960000
partition=nand0,0
scraddr=0xc0600000
serverip=10.3.2.175
spiboot=if sf probe ${spidev}; then sf read ${loadaddr} ${spibootaddr} ${spibootsize}; run nandargs; bootm ${loadaddr}; fi;
spibootaddr=0x100000
spibootsize=0x400000
spidev=0
stderr=serial
stdin=serial
stdout=serial
ver=U-Boot 2012.04.01-00059-g7363edf (Apr 21 2015 - 18:15:15)

Environment size: 2193/131068 bytes
U-Boot > Nand boot...

 

MCSK example (HLOS --linux ;DSP--bios)

root@tl:/face_detect/run# ./run.sh

+ MODULE_NAME=syslink
+ lsmod
+ grep syslink
+ '[' 0 -ne 0 ']'
+ ./slaveloader startup DSP ../dsp/bin/debug/server_dsp.xe674
Attached to slave procId 0.
Loading procId 0.
Loaded file ../dsp/bin/debug/server_dsp.xe674 on slave procId 0.
Started slave procId 0.
+ ../host/host_app -qws
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[TRACE|resource_sync_pair_wait@resource_sync.c,68] try sync
[DEBUG|resource_sync_wait@resource_sync.c,86] wait resource 1
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 0 had ready
[DEBUG|resource_sync_event_handle@resource_sync.c,45] resource 1 had ready
[DEBUG|resource_sync_post@resource_sync.c,96] post resource 2 had ready
Camera-Camera
[ 136.240235] host_app: page allocation failure: order:10, mode:0xd0
[ 136.246475] Backtrace:
[ 136.249050] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c0419474>] (dump_stack+0x18/0x1c)
[ 136.289443] r7:00000000 r6:0000000a r5:000000d0 r4:00000001
[ 136.295316] [<c041945c>] (dump_stack+0x0/0x1c) from [<c0061e0c>] (warn_alloc_failed+0xf8/0x11c)
[ 136.331894] [<c0061d14>] (warn_alloc_failed+0x0/0x11c) from [<c006237c>] (__alloc_pages_nodemask+0x54c/0x590)
[ 136.362378] r3:00000000 r2:00000000
[ 136.366061] r7:00000040 r6:00000026 r5:000000d0 r4:00000000
[ 136.381855] [<c0061e30>] (__alloc_pages_nodemask+0x0/0x590) from [<c000e030>] (__dma_alloc+0xec/0x2fc)
[ 136.399887] [<c000df44>] (__dma_alloc+0x0/0x2fc) from [<c000e2d0>] (dma_alloc_coherent+0x5c/0x68)
[ 136.408919] [<c000e274>] (dma_alloc_coherent+0x0/0x68) from [<c02e2a4c>] (__videobuf_mmap_mapper+0xac/0x188)
[ 136.449386] r7:c7baad90 r6:c7394a80 r5:c718b6e0 r4:c7394ae4
[ 136.455242] [<c02e29a0>] (__videobuf_mmap_mapper+0x0/0x188) from [<c02e0724>] (videobuf_mmap_mapper+0xd4/0x114)
[ 136.479421] r8:b4b1f000 r7:c7394800 r6:c718b6e0 r5:c7baad90 r4:c718b6e0
[ 136.486352] [<c02e0650>] (videobuf_mmap_mapper+0x0/0x114) from [<c02eb1fc>] (vpif_mmap+0x40/0x50)
[ 136.519860] r5:c718b6e0 r4:c7baac00
[ 136.523582] [<c02eb1bc>] (vpif_mmap+0x0/0x50) from [<c02d20e4>] (v4l2_mmap+0x70/0x90)
[ 136.539555] r5:c79c2e00 r4:c7394800
[ 136.543308] [<c02d2074>] (v4l2_mmap+0x0/0x90) from [<c007a8f0>] (mmap_region+0x25c/0x494)
[ 136.569435] r7:c7394800 r6:000000ff r5:c718b6e0 r4:00000000
[ 136.575294] [<c007a694>] (mmap_region+0x0/0x494) from [<c007adec>] (do_mmap_pgoff+0x2c4/0x324)
[ 136.599636] [<c007ab28>] (do_mmap_pgoff+0x0/0x324) from [<c007aeec>] (sys_mmap_pgoff+0xa0/0xd0)
[ 136.608449] [<c007ae4c>] (sys_mmap_pgoff+0x0/0xd0) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
[ 136.639430] Mem-info:
[ 136.641760] DMA per-cpu:
[ 136.644359] CPU 0: hi: 18, btch: 3 usd: 17
[ 136.659420] active_anon:3001 inactive_anon:40 isolated_anon:0
[ 136.659444] active_file:1733 inactive_file:6088 isolated_file:0
[ 136.659462] unevictable:0 dirty:0 writeback:0 unstable:0
[ 136.659479] free:6537 slab_reclaimable:488 slab_unreclaimable:799
[ 136.659497] mapped:2592 shmem:136 pagetables:163 bounce:0
[ 136.719442] DMA free:29052kB min:1244kB low:1552kB high:1864kB active_anon:12004kB inactive_anon:164kB active_file:6932kB inactive_file:21408kB unevictable:0kB isolated(anon):0kB isolated(file):40kB present:97280kB mlocked:0kB dirty:0kB writeback:0kB mapped:9068kB shmem:548kB slab_reclaimable:1952kB slab_unreclaimable:3196kB kernel_stack:568kB pagetables:652kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:10 all_unreclaimable? no
[ 136.799403] lowmem_reserve[]: 0 0 0
[ 136.802994] DMA: 707*4kB 410*8kB 201*16kB 113*32kB 63*64kB 30*128kB 18*256kB 9*512kB 3*1024kB 1*2048kB 0*4096kB = 35148kB
[ 136.834473] 4803 total pagecache pages
[ 136.838259] 0 pages in swap cache
[ 136.849364] Swap cache stats: add 0, delete 0, find 0/0
[ 136.854649] Free swap = 0kB
[ 136.857551] Total swap = 0kB
[ 136.884627] 24576 pages of RAM
[ 136.887728] 10507 free pages
[ 136.899394] 1701 reserved pages
[ 136.902582] 1022 slab pages
[ 136.905396] 3268 pages shared
[ 136.908416] 0 pages swap cached
[ 136.929417] vpif_capture vpif_capture: dma_alloc_coherent size 4149248 failed
Cannot mmap = 2 buffer
VIDIOC_STREAMON
: Input/output error
[ERROR|start@capturer.cpp,27] fail to start capture
[DEBUG|start@playbacker.cpp,25] it's about to start playback
[DEBUG|run@playbacker.cpp,37] start playback ...
^Z[1]+ Stopped ./run.sh
root@tl:/face_detect/run# free
total used free shared buffers cached
Mem: 91500 38884 52616 0 0 6064
-/+ buffers/cache: 32820 58680
Swap: 0 0 0
root@tl:/face_detect/run#

 

when i use the demo ,it always have this error .i really need help.

thanks,

robin luo


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>