大家好!
请问用使用EZSDK evm_5_03_01_15开发包时候是否遇到 syslink samples例程不能运行,现在我使用evm_5_03_01_15包中的u-boot uImage 以及它的文件系统制作SD卡启动盘,启动之后运行syslink samples 例程的时候报了一堆内存的错误。 在网上也没有找到解决方法,请问是需要修改什么配置吗?运行syslink samples 例程的步骤也是按照手册上来做的。
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.
Xshell for Xmanager Enterprise 3.0 (Build 0249)
Copyright (c) 2002-2009 NetSarang Computer, Inc. All rights reserved.
Type `help' to learn how to use Xshell prompt.
Xshell:\>
Connecting to COM3...
Connected.
0
raise: Signal # 8 caught
reading boot.scr
301 bytes read
Running bootscript from MMC/SD to set the ENV...
## Executing script at 80900000
reading uImage
2428376 bytes read
## Booting kernel from Legacy Image at 80009000 ...
Image Name: Arago/2.6.37-psp04.00.01.13/dm81
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2428312 Bytes = 2.3 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.37 (x0029463@swubn01) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 Fri Dec 9 11:59:08 IST 2011
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: ti8168evm
bootconsole [earlycon0] enabled
vram size = 52428800 at 0x0
reserved size = 52428800 at 0x0
FB: Reserving 52428800 bytes SDRAM for VRAM
Memory policy: ECC disabled, Data cache writeback
OMAP chip is TI8168 1.1
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 52224
Kernel command line: console=ttyO2,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=256M earlyprintk notifyk.vpssm3_sva=0xBF900000 vram=50M ti816xfb.vram=0:16M,1:16M,2:6M ip=off noinitrd
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 206MB = 206MB total
Memory: 203420k/203420k available, 58724k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xd0800000 - 0xf8000000 ( 632 MB)
lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.init : 0xc0008000 - 0xc003a000 ( 200 kB)
.text : 0xc003a000 - 0xc049c000 (4488 kB)
.data : 0xc049c000 - 0xc04e36c0 ( 286 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:407
IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
Total of 128 interrupts on 1 active controller
GPMC revision 6.0
Trying to install interrupt handler for IRQ400
Trying to install interrupt handler for IRQ401
Trying to install interrupt handler for IRQ402
Trying to install interrupt handler for IRQ403
Trying to install interrupt handler for IRQ404
Trying to install interrupt handler for IRQ405
Trying to install interrupt handler for IRQ406
Trying to install type control for IRQ407
Trying to set irq flags for IRQ407
OMAP clockevent source: GPTIMER1 at 27000000 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 986.31 BogoMIPS (lpj=4931584)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
omap_voltage_early_init: voltage driver support not added
regulator: core version 0.5
regulator: dummy:
NET: Registered protocol family 16
OMAP GPIO hardware version 0.1
OMAP GPIO hardware version 0.1
omap_mux_init: Add partition: #1: core, flags: 0
_omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl
_omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sda
NOR: Can't request GPMC CS
registered ti816x_vpss device
registered ti816x_gpio_vr device
registered TI816x on-chip HDMI device
registered ti816x_sr device
registered ti81xx_vidout device
pm_dbg_init: only OMAP3 supported
ti81xx_pcie: Invoking PCI BIOS...
ti81xx_pcie: Setting up Host Controller...
ti81xx_pcie: Register base mapped @0xd0820000
ti81xx_pcie: Starting PCI scan...
PCI: bus0: Fast back to back transfers enabled
bio: create slab <bio-0> at 0
regulator: VFB: 800 <--> 1025 mV at 1010 mV
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
registerd cppi-dma Intr @ IRQ 17
Cppi41 Init Done
omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz
Advanced Linux Sound Architecture Driver Version 1.0.23.
Switching to clocksource gp timer
musb-hdrc: version 6.0, host, debug=0
musb-hdrc musb-hdrc.0: dma type: dma-cppi41
musb-hdrc: kernel must blacklist external hubs
musb-hdrc musb-hdrc.0: MUSB HDRC host driver
musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: MUSB HDRC host driver
usb usb1: Manufacturer: Linux 2.6.37 musb-hcd
usb usb1: SerialNumber: musb-hdrc.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
musb-hdrc musb-hdrc.0: USB Host mode controller at d081e000 using DMA, IRQ 18
musb-hdrc musb-hdrc.1: dma type: dma-cppi41
musb-hdrc: kernel must blacklist external hubs
musb-hdrc musb-hdrc.1: MUSB HDRC host driver
musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 2.6.37 musb-hcd
usb usb2: SerialNumber: musb-hdrc.1
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
musb-hdrc musb-hdrc.1: USB Host mode controller at d0826800 using DMA, IRQ 19
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
PMU: registered new PMU device of type 0
omap-iommu omap-iommu.0: ducati registered
omap-iommu omap-iommu.1: sys registered
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
msgmni has been set to 397
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
console [ttyO2] enabled, bootconsole disabled
console [ttyO2] enabled, bootconsole disabled
brd: module loaded
loop: module loaded
ahci ahci.0: forcing PORTS_IMPL to 0x3
ahci ahci.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl platform mode
ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc
scsi0 : ahci_platform
scsi1 : ahci_platform
ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
ata2: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x180 irq 16
m25p80 spi1.0: found m25p05-nonjedec, expected w25x32
m25p80 spi1.0: m25p05-nonjedec (64 Kbytes)
Creating 4 MTD partitions on "spi_flash":
0x000000000000-0x000000040000 : "U-Boot"
mtd: partition "U-Boot" extends beyond the end of device "spi_flash" -- size truncated to 0x10000
0x000000010000-0x000000012000 : "U-Boot Env"
mtd: partition "U-Boot Env" is out of reach -- disabled
0x000000000000-0x000000280000 : "Kernel"
mtd: partition "Kernel" extends beyond the end of device "spi_flash" -- size truncated to 0x10000
0x000000010000-0x000000010000 : "File System"
mtd: partition "File System" is out of reach -- disabled
omap2-nand driver initializing
NAND device: Manufacturer ID: 0x6c, Chip ID: 0x53 (Unknown )
Creating 5 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000260000 : "U-Boot"
0x000000260000-0x000000280000 : "U-Boot Env"
0x000000280000-0x0000006c0000 : "Kernel"
0x0000006c0000-0x00000cee0000 : "File System"
mtd: partition "File System" extends beyond the end of device "omap2-nand.0" -- size truncated to 0x940000
0x000001000000-0x000001000000 : "Reserved"
mtd: partition "Reserved" is out of reach -- disabled
davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
davinci_mdio davinci_mdio.0: detected phy mask fffffff9
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
davinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver unknown
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver dm9601
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
i2c /dev entries driver
Linux video capture interface: v2.00
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v1.0.0)
OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
notify_init : notify drivercreated for remote proc id 2 at physical Address 0xbf900000
usbcore: registered new interface driver snd-usb-audio
asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
ALSA device list:
#0: TI81XX EVM
TCP cubic registered
NET: Registered protocol family 17
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
omap_voltage_late_init: Voltage driver support not added
Power Management for TI81XX.
smartreflex smartreflex: Driver initialized
omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
ata2: SATA link down (SStatus 0 SControl 300)
ata1: SATA link down (SStatus 0 SControl 300)
Waiting for root device /dev/mmcblk0p2...
mmc0: new high speed SDHC card at address b368
mmcblk0: mmc0:b368 SD4GB 3.74 GiB
mmcblk0: p1 p2 p3
EXT3-fs: barriers not enabled
kjournald starting. Commit interval 5 seconds
EXT3-fs (mmcblk0p2): using internal journal
EXT3-fs (mmcblk0p2): recovery complete
EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) on device 179:2.
devtmpfs: mounted
Freeing init memory: 200K
INIT: version 2.86 booting
Please wait: booting...
Error opening /dev/fb0: No such file or directory
Starting udev
udevd (73): /proc/73/oom_adj is deprecated, please use /proc/73/oom_score_adj instead.
EXT3-fs: barriers not enabled
kjournald starting. Commit interval 5 seconds
EXT3-fs (mmcblk0p3): using internal journal
EXT3-fs (mmcblk0p3): recovery complete
EXT3-fs (mmcblk0p3): mounted filesystem with writeback data mode
Remounting root file system...
Caching udev devnodes
NET: Registered protocol family 10
ALSA: Restoring mixer settings...
Configuring network interfaces... No state is present for card EVM
Found hardware: "" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card EVM
davinci_mdio davinci_mdio.0: resetting idled controller
net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=282f014)
ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc (v1.13.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
done.
Setting up IP spoofing protection: rp_filter.
Fri Dec 9 14:48:00 UTC 2011
INIT: Entering runlevel: 5
Loading HDVICP2 Firmware
DM816X prcm_config_app version: 2.0.0.1
Doing PRCM settings...
PRCM for IVHD0 is in Progress, Please wait.....
BW Phy Addr : 0x48180600 Data : 0x00000002
AW Phy Addr : 0x48180600 Data : 0x00000002
Phy Addr : 0x48180c04 Data : 0x00000037
BW Phy Addr : 0x48180620 Data : 0x00070000
AW Phy Addr : 0x48180620 Data : 0x00070002
BW Phy Addr : 0x48180624 Data : 0x00030000
AW Phy Addr : 0x48180624 Data : 0x00010002
Phy Addr : 0x48180600 Data : 0x00000102
BW Phy Addr : 0x48180c10 Data : 0x00000007
AW Phy Addr : 0x48180c10 Data : 0x00000003
Phy Addr : 0x48180c14 Data : 0x00000004
BW Phy Addr : 0x58088000 Data : 0x322bed97
AW Phy Addr : 0x58088000 Data : 0xeafffffe
BW Phy Addr : 0x58098000 Data : 0x913084a2
AW Phy Addr : 0x58098000 Data : 0xeafffffe
BW Phy Addr : 0x48180c10 Data : 0x00000003
AW Phy Addr : 0x48180c10 Data : 0x00000000
Phy Addr : 0x48180c14 Data : 0x00000007
PRCM for IVHD0 is Done Successfully
PRCM for IVHD1 is in Progress, Please wait.....
BW Phy Addr : 0x48180700 Data : 0x00000002
AW Phy Addr : 0x48180700 Data : 0x00000002
Phy Addr : 0x48180d04 Data : 0x00000037
BW Phy Addr : 0x48180720 Data : 0x00070000
AW Phy Addr : 0x48180720 Data : 0x00050002
BW Phy Addr : 0x48180724 Data : 0x00030000
AW Phy Addr : 0x48180724 Data : 0x00010002
Phy Addr : 0x48180700 Data : 0x00000102
BW Phy Addr : 0x48180d10 Data : 0x00000007
AW Phy Addr : 0x48180d10 Data : 0x00000003
Phy Addr : 0x48180d14 Data : 0x00000004
BW Phy Addr : 0x5a088000 Data : 0xeccb897c
AW Phy Addr : 0x5a088000 Data : 0xeafffffe
BW Phy Addr : 0x5a098000 Data : 0x38e389e2
AW Phy Addr : 0x5a098000 Data : 0xeafffffe
BW Phy Addr : 0x48180d10 Data : 0x00000003
AW Phy Addr : 0x48180d10 Data : 0x00000000
Phy Addr : 0x48180d14 Data : 0x00000007
PRCM for IVHD1 is Done Successfully
PRCM for IVHD2 is in Progress, Please wait.....
BW Phy Addr : 0x48180800 Data : 0x00000002
AW Phy Addr : 0x48180800 Data : 0x00000002
Phy Addr : 0x48180e04 Data : 0x00000037
BW Phy Addr : 0x48180820 Data : 0x00070000
AW Phy Addr : 0x48180820 Data : 0x00050002
BW Phy Addr : 0x48180824 Data : 0x00030000
AW Phy Addr : 0x48180824 Data : 0x00010002
Phy Addr : 0x48180800 Data : 0x00000102
BW Phy Addr : 0x48180e10 Data : 0x00000007
AW Phy Addr : 0x48180e10 Data : 0x00000003
Phy Addr : 0x48180e14 Data : 0x00000004
BW Phy Addr : 0x53088000 Data : 0xebaa6e81
AW Phy Addr : 0x53088000 Data : 0xeafffffe
BW Phy Addr : 0x53098000 Data : 0x96097bc9
AW Phy Addr : 0x53098000 Data : 0xeafffffe
BW Phy Addr : 0x48180e10 Data : 0x00000003
AW Phy Addr : 0x48180e10 Data : 0x00000000
Phy Addr : 0x48180e14 Data : 0x00000007
PRCM for IVHD2 is Done Successfully
PRCM Initialization completed
SysLink version : 2.00.05.85
SysLink module created on Date:Dec 9 2011 Time:12:47:37
FIRMWARE: Memory map bin file not passed
Usage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [Location of Mem map bin file]
FIRMWARE: Default memory configuration is used
MemCfg: DCMM (Dynamically Configurable Memory Map) Version : 2.1.1.1
FIRMWARE: Memory Configuration status : In Progress
FIRMWARE: 1 start Successful
Loading HDVPSS Firmware
FIRMWARE: Memory map bin file not passed
Usage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [Location of Mem map bin file]
FIRMWARE: Default memory configuration is used
MemCfg: DCMM (Dynamically Configurable Memory Map) Version : 2.1.1.1
FIRMWARE: Memory Configuration status : In Progress
FIRMWARE: 2 start Successful
open /dev/fb0: No such file or directory
HDMI W1 rev 2.0
Timing Info:
pixel_clk = 148500
x_res = 1920
y_res = 1080
hfp = 88
hsw = 44
hbp = 148
vfp = 4
vsw = 5
vbp = 36
Starting system message bus: dbus.
Starting telnet daemon.
Starting syslogd/klogd: done
Starting thttpd.
Starting PVR
/dev/mem opened.
Memory mapped at address 0x40269000.
Read at address 0x48180F04 (0x40269f04): 0x00000001
Write at address 0x48180F04 (0x40269f04): 0x00000000, readback 0x00000000
/dev/mem opened.
Memory mapped at address 0x4020b000.
Read at address 0x48180900 (0x4020b900): 0x00000102
Write at address 0x48180900 (0x4020b900): 0x00000002, readback 0x00000002
/dev/mem opened.
Memory mapped at address 0x402c9000.
Read at address 0x48180920 (0x402c9920): 0x00040002
Write at address 0x48180920 (0x402c9920): 0x00000002, readback 0x00000002
Starting Matrix GUI application.
_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|
Arago Project http://arago-project.org dm816x-evm ttyO2
Arago 2011.09 dm816x-evm ttyO2
dm816x-evm login: root
root@dm816x-evm:~# ls
root@dm816x-evm:~# cd /usr/
/usr/bin/ /usr/include/ /usr/libexec/ /usr/share/
/usr/games/ /usr/lib/ /usr/sbin/ /usr/src/
root@dm816x-evm:~# cd /usr/share/
root@dm816x-evm:/usr/share# cd ti/syslink-examples/
root@dm816x-evm:/usr/share/ti/syslink-examples# ls
TI816X
root@dm816x-evm:/usr/share/ti/syslink-examples# cd TI816X/
root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X# ls
frameq listmp runsamples_debug.sh
gatemp messageq runsamples_release.sh
heapbufmp notify
heapmemmp ringio
root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X# cd notify/
root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X/notify# ls
notify_ti81xx_dsp.xe674 run_notifyapp_debug.sh slaveloader_release
notifyapp_debug run_notifyapp_release.sh
notifyapp_release slaveloader_debug
root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X/notify# /etc/init.d/p
/etc/init.d/populate-volatile.sh /etc/init.d/pvr-init
/etc/init.d/psplash
root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X/notify# /etc/init.d/pvr-in
it stop
Stopping PVR
root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X/notify# /etc/init.d/matrix
-gui-e stop
Stopping Matrix GUI application.
root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X/notify# /etc/init.d/load-h
d-firmware.sh stop
Unloading HDVICP2 Firmware
FIRMWARE: Memory map bin file not passed
Usage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [Location of Mem map bin file]
FIRMWARE: Default memory configuration is used
MemCfg: DCMM (Dynamically Configurable Memory Map) Version : 2.1.1.1
FIRMWARE: Memory Configuration status : In Progress
FIRMWARE: 1 stop Successful
Unloading HDVPSS Firmware
FIRMWARE: Memory map bin file not passed
Usage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [Location of Mem map bin file]
FIRMWARE: Default memory configuration is used
MemCfg: DCMM (Dynamically Configurable Memory Map) Version : 2.1.1.1
FIRMWARE: Memory Configuration status : In Progress
FIRMWARE: 2 stop Successful
Removed syslink kernel module
root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X/notify#
root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X/notify#
root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X/notify# modprobe
modprobe modprobe.26
root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X/notify# modprobe syslink
SysLink version : 2.00.05.85
SysLink module created on Date:Dec 9 2011 Time:12:47:37
root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X/notify#
root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X/notify# lsmod
Module Size Used by
syslink 1113011 0
ipv6 209855 12
root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X/notify#
root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X/notify#
root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X/notify# ls
notify_ti81xx_dsp.xe674 run_notifyapp_debug.sh slaveloader_release
notifyapp_debug run_notifyapp_release.sh
notifyapp_release slaveloader_debug
root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X/notify# cat run_notifyapp_
debug.sh
#!/bin/sh
#
# @file run_notifyapp_debug.sh
#
# @brief Script to run the debug samples
#
#
# ============================================================================
#
# Copyright (c) 2008-2009, Texas Instruments Incorporated
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# * Neither the name of Texas Instruments Incorporated nor the names of
# its contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Contact information for paper mail:
# Texas Instruments
# Post Office Box 655303
# Dallas, Texas 75265
# Contact information:
# www-k.ext.ti.com/.../product-information-centers.htm
# DCMP=TIHomeTracking&HQS=Other+OT+home_d_contact
# ============================================================================
#
# Run the sample application using the slaveloader method (preferred)
echo "======== Running app using slaveloader ========"
./slaveloader_debug startup DSP ./notify_ti81xx_dsp.xe674
./notifyapp_debug
./slaveloader_debug shutdown DSP
# Run the samples application using the optional arguments method to
# load, run, and stop the slave processor
echo "======== Running app using agruments ========"
./notifyapp_debug 1 DSP ./notify_ti81xx_dsp.xe674
root@dm816x-evm:/usr/share/ti/syslink-examples/TI816X/notify# ./slaveloader_debu
g startup DSP ./notify_ti81xx_dsp.xe674
Attached to slave procId 0.
BUG: Your driver calls ioremap() on system memory. This leads
to architecturally unpredictable behaviour on ARMv6+, and ioremap()
will fail in the next kernel release. Please fix your driver.
------------[ cut here ]------------
WARNING: at arch/arm/mm/ioremap.c:211 __arm_ioremap_pfn_caller+0x58/0x190()
Modules linked in: syslink ipv6 [last unloaded: syslink]
Backtrace:
[<c0048b58>] (dump_backtrace+0x0/0x110) from [<c036b8d8>] (dump_stack+0x18/0x1c)
r7:00000000 r6:c004c678 r5:c0424d8f r4:000000d3
[<c036b8c0>] (dump_stack+0x0/0x1c) from [<c006bd54>] (warn_slowpath_common+0x54/0x6c)
[<c006bd00>] (warn_slowpath_common+0x0/0x6c) from [<c006bd90>] (warn_slowpath_null+0x24/0x2c)
r9:00000002 r8:00000000 r7:bf190b6c r6:0008b000 r5:00026900
r4:00000000
[<c006bd6c>] (warn_slowpath_null+0x0/0x2c) from [<c004c678>] (__arm_ioremap_pfn_caller+0x58/0x190)
[<c004c620>] (__arm_ioremap_pfn_caller+0x0/0x190) from [<c004c834>] (__arm_ioremap_caller+0x64/0x6c)
[<c004c7d0>] (__arm_ioremap_caller+0x0/0x6c) from [<c005ec6c>] (omap_ioremap+0x60/0x64)
r6:00000000 r5:00026900 r4:8b000000
[<c005ec0c>] (omap_ioremap+0x0/0x64) from [<bf190b6c>] (MemoryOS_map+0x1e0/0x398 [syslink])
r7:cb23fcd8 r6:00000000 r5:cb23fc70 r4:d0807000
[<bf19098c>] (MemoryOS_map+0x0/0x398 [syslink]) from [<bf15f4d4>] (_ProcMgr_map+0x1cc/0x4a0 [syslink])
r8:00000001 r7:cb23fcd8 r6:00000000 r5:06a85000 r4:cb23fd54
[<bf15f308>] (_ProcMgr_map+0x0/0x4a0 [syslink]) from [<bf16d874>] (ElfLoaderTrgWrite_copy+0x13c/0x3a0 [syslink])
[<bf16d738>] (ElfLoaderTrgWrite_copy+0x0/0x3a0 [syslink]) from [<bf170bf8>] (DLIF_copy+0x18/0x24 [syslink])
[<bf170be0>] (DLIF_copy+0x0/0x24 [syslink]) from [<bf16f914>] (DLOAD_load+0x834/0xaa8 [syslink])
[<bf16f0e0>] (DLOAD_load+0x0/0xaa8 [syslink]) from [<bf16cac4>] (ElfLoader_load+0x270/0x330 [syslink])
[<bf16c854>] (ElfLoader_load+0x0/0x330 [syslink]) from [<bf15d2d0>] (Loader_load+0xec/0x164 [syslink])
[<bf15d1e4>] (Loader_load+0x0/0x164 [syslink]) from [<bf1618f4>] (ProcMgr_load+0x21c/0x2f8 [syslink])
[<bf1616d8>] (ProcMgr_load+0x0/0x2f8 [syslink]) from [<bf1639b0>] (ProcMgrDrv_ioctl+0xc8c/0x1cc8 [syslink])
[<bf162d24>] (ProcMgrDrv_ioctl+0x0/0x1cc8 [syslink]) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
r8:bebdeba8 r7:00000007 r6:00000007 r5:cbb4b700 r4:00000000
[<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
[<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
[<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
r8:c0044f48 r7:00000036 r6:00008c58 r5:00000000 r4:00008d04
---[ end trace 90dd3005d87f3efb ]---
Unable to handle kernel paging request at virtual address 00002004
pgd = cb1f8000
[00002004] *pgd=8bbaa031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
last sysfs file: /sys/module/pvrsrvkm/initstate
Modules linked in: syslink ipv6 [last unloaded: syslink]
CPU: 0 Tainted: G W (2.6.37 #1)
PC is at DLOAD_load+0x838/0xaa8 [syslink]
LR is at ElfLoaderTrgWrite_copy+0x330/0x3a0 [syslink]
pc : [<bf16f918>] lr : [<bf16da68>] psr: 80000013
sp : cb23fd40 ip : 00000000 fp : cb23fda4
r10: d586d000 r9 : 0000000b r8 : 00000001
r7 : 0000000b r6 : 00000001 r5 : d587a000 r4 : d58e3000
r3 : 00002000 r2 : 03046000 r1 : 00060000 r0 : 00000001
Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 8b1f8019 DAC: 00000015
Process slaveloader_deb (pid: 1516, stack limit = 0xcb23e2e8)
Stack: (0xcb23fd40 to 0xcb240000)
fd40: cb23fd74 cb23fd50 d586d000 8b03704c 00000000 d586d000 d58e6000 d5a00000
fd60: 00000001 00000040 00000000 00000002 00000020 d587a000 00000000 d57cd000
fd80: d57ca000 03046000 00000001 bebdebf8 cb23fec4 d57c7000 cb23fdec cb23fda8
fda0: bf16cac4 bf16f0ec d586a000 00000001 bebdebf8 00000000 bf18e794 d586d000
fdc0: cb23fdfc d57c7000 00000001 bebdebf8 d586a000 cb23fec4 d586a000 00000000
fde0: cb23fe24 cb23fdf0 bf15d2d0 bf16c860 00000000 cb23fec4 bebdebf8 00000000
fe00: d0a5f000 00000001 d57d9000 bebdebf8 00000000 cb23fec4 cb23fe64 cb23fe28
fe20: bf1618f4 bf15d1f0 00000000 cb23fec4 bebdebf8 00000000 0000001a 00000000
fe40: cbb4b700 d586a000 bebdeba8 bf25523c cb23e000 00000000 cb23fef4 cb23fe68
fe60: bf1639b0 bf1616e4 00000000 cb23fec4 c01d1f8c c01daba0 cb23fe9c cb23fe88
fe80: c01d1fa8 c01d1f4c 00000000 60000013 caeaaf40 00000000 cb96a400 cb23e000
fea0: 00000000 0000001c 00000000 d57d9000 bebdee97 0000001a 00000001 bebdebf8
fec0: 00000000 00000000 cb23fef4 cb23fed8 c01bf340 00000000 cbb4b700 00000007
fee0: 00000007 bebdeba8 cb23ff04 cb23fef8 c00d10e4 bf162d30 cb23ff74 cb23ff08
ff00: c00d17f4 c00d10c8 40d16000 caeba580 00000000 00000000 fffffffd 00000000
ff20: cb23ff54 cb23ff30 c036fa0c c0040170 cc86201c cb84a580 00000017 cc829600
ff40: cb23e000 00000000 cb23ff6c 00000000 bebdeba8 c020e0a2 00000007 cbb4b700
ff60: cb23e000 00000000 cb23ffa4 cb23ff78 c00d188c c00d1300 cb23ffac 00000001
ff80: c036c194 00008d04 00000000 00008c58 00000036 c0044f48 00000000 cb23ffa8
ffa0: c0044da0 c00d1840 00008d04 00000000 00000007 c020e0a2 bebdeba8 00000007
ffc0: 00008d04 00000000 00008c58 00000036 00000000 00000000 40114000 bebdeb84
ffe0: 00000000 bebdeb60 000454ec 401f0aec 60000010 00000007 b470e189 d822d393
Backtrace:
[<bf16f0e0>] (DLOAD_load+0x0/0xaa8 [syslink]) from [<bf16cac4>] (ElfLoader_load+0x270/0x330 [syslink])
[<bf16c854>] (ElfLoader_load+0x0/0x330 [syslink]) from [<bf15d2d0>] (Loader_load+0xec/0x164 [syslink])
[<bf15d1e4>] (Loader_load+0x0/0x164 [syslink]) from [<bf1618f4>] (ProcMgr_load+0x21c/0x2f8 [syslink])
[<bf1616d8>] (ProcMgr_load+0x0/0x2f8 [syslink]) from [<bf1639b0>] (ProcMgrDrv_ioctl+0xc8c/0x1cc8 [syslink])
[<bf162d24>] (ProcMgrDrv_ioctl+0x0/0x1cc8 [syslink]) from [<c00d10e4>] (vfs_ioctl+0x28/0x44)
[<c00d10bc>] (vfs_ioctl+0x0/0x44) from [<c00d17f4>] (do_vfs_ioctl+0x500/0x540)
[<c00d12f4>] (do_vfs_ioctl+0x0/0x540) from [<c00d188c>] (sys_ioctl+0x58/0x7c)
[<c00d1834>] (sys_ioctl+0x0/0x7c) from [<c0044da0>] (ret_fast_syscall+0x0/0x30)
r8:c0044f48 r7:00000036 r6:00008c58 r5:00000000 r4:00008d04
Code: e594301c e50b3034 eb0004b2 e594302c (e5932004)
---[ end trace 90dd3005d87f3efc ]---
这是我的log信息