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.

Bootargs settings for running syslink examples in DM816x evm

hello all,

i am using dm816x evm by spectrum digital with ti-ezsdk_dm816x-evm_5_04_00_11 .  i am trying to run the syslink sample examples provided with the SDK but run into following error and warning all the time.

root@dm816x-evm:/media/sda1/ex01_helloworld/release# ./run.sh
+ ./slaveloader startup DSP server_dsp.xe674
Attached to slave procId 0.
Loading 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: bufferclass_ti omaplfb pvrsrvkm ti81xxhdmi ti81xxfb vpss syslink ipv6
Backtrace:
[<c0049bb8>] (dump_backtrace+0x0/0x110) from [<c039b7d4>] (dump_stack+0x18/0x1c)
r7:00000000 r6:c004d76c r5:c045bf9b r4:000000d3
[<c039b7bc>] (dump_stack+0x0/0x1c) from [<c006da3c>] (warn_slowpath_common+0x54/0x6c)
[<c006d9e8>] (warn_slowpath_common+0x0/0x6c) from [<c006da78>] (warn_slowpath_null+0x24/0x2c)
r9:00000002 r8:00000000 r7:bf07f188 r6:0008f000 r5:0001ae40
r4:00000000
[<c006da54>] (warn_slowpath_null+0x0/0x2c) from [<c004d76c>] (__arm_ioremap_pfn_caller+0x58/0x190)
[<c004d714>] (__arm_ioremap_pfn_caller+0x0/0x190) from [<c004d928>] (__arm_ioremap_caller+0x64/0x6c)
[<c004d8c4>] (__arm_ioremap_caller+0x0/0x6c) from [<c0060454>] (omap_ioremap+0x60/0x64)
r6:00000000 r5:0001ae40 r4:8f000000
[<c00603f4>] (omap_ioremap+0x0/0x64) from [<bf07f188>] (MemoryOS_map+0x1f0/0x3a8 [syslink])
r7:d1d99cc8 r6:00000000 r5:d1d99c60 r4:d7091000
[<bf07ef98>] (MemoryOS_map+0x0/0x3a8 [syslink]) from [<bf04d594>] (_ProcMgr_map+0x1cc/0x4ac [syslink])
r8:dbfe5000 r7:d1d99cc8 r6:00000000 r5:06a85000 r4:d1d99d48
[<bf04d3c8>] (_ProcMgr_map+0x0/0x4ac [syslink]) from [<bf05b974>] (ElfLoaderTrgWrite_copy+0x10c/0x368 [syslink])
[<bf05b868>] (ElfLoaderTrgWrite_copy+0x0/0x368 [syslink]) from [<bf05ef40>] (DLIF_copy+0x10/0x1c [syslink])
[<bf05ef30>] (DLIF_copy+0x0/0x1c [syslink]) from [<bf05dcd4>] (DLOAD_load+0x734/0xa58 [syslink])
[<bf05d5a0>] (DLOAD_load+0x0/0xa58 [syslink]) from [<bf05aa60>] (ElfLoader_load+0x268/0x36c [syslink])
[<bf05a7f8>] (ElfLoader_load+0x0/0x36c [syslink]) from [<bf04b2d0>] (Loader_load+0xec/0x164 [syslink])
[<bf04b1e4>] (Loader_load+0x0/0x164 [syslink]) from [<bf04f9cc>] (ProcMgr_load+0x220/0x2fc [syslink])
[<bf04f7ac>] (ProcMgr_load+0x0/0x2fc [syslink]) from [<bf0519a4>] (ProcMgrDrv_ioctl+0xb98/0x1c38 [syslink])
[<bf050e0c>] (ProcMgrDrv_ioctl+0x0/0x1c38 [syslink]) from [<c00d305c>] (vfs_ioctl+0x28/0x44)
r8:be8d5bb0 r7:00000007 r6:00000007 r5:d37f5f80 r4:00000000
[<c00d3034>] (vfs_ioctl+0x0/0x44) from [<c00d376c>] (do_vfs_ioctl+0x500/0x540)
[<c00d326c>] (do_vfs_ioctl+0x0/0x540) from [<c00d3804>] (sys_ioctl+0x58/0x7c)
[<c00d37ac>] (sys_ioctl+0x0/0x7c) from [<c0045e00>] (ret_fast_syscall+0x0/0x30)
r8:c0045fa8 r7:00000036 r6:00000000 r5:00000000 r4:be8d5bb0
---[ end trace d743d58ca11691bc ]---
Loaded file server_dsp.xe674 on slave procId 0.
Started slave procId 0.
+ ./app_host DSP
Assertion at Line no: 301 in /swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-linux-gnueabi/ti-syslink-2_10_03_20-r4j/syslink_2_10_03_20/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../.d
+ ./slaveloader shutdown DSP
Stopped slave procId 0.
Unloaded slave procId 0.
Detached from slave procId 0.
root@dm816x-evm:/media/sda1/ex01_helloworld/release#

i understand from the developers guide that the linux bootargs have to be changed to mem=169M in the U-BOOT. I have tried doing that but with no results. Following are the bootarg parameters i have tried, using reference from 

http://processors.wiki.ti.com/index.php/DM816x_AM389x_PSP_User_Guide

i have tried adding the following ones as well

---setenv bootargs 'console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw mem=169M earlypink vram=50M ti816xfb.vram=0:16M,1:16M,2:6M ip=off noinitrd'

---setenv bootargs 'console=ttyO2,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=169M earlypink ip=off noinitrd'

still the same warning and error comes up while running the examples.

Can someone point to the correct bootargs required for DM816X evm for running the syslink examples. I am using SD card for booting the kernel. Also i am attaching the boot.txt file that comes by default along with the SD card. 

Am i doing something wrong here. Help needed.

thanks

best regards

hitesh