Critical Link Support: Demon Demonof
http://support.criticallink.com/redmine/
http://support.criticallink.com/redmine/redmine/favicon.ico?1633834840
2022-12-23T06:25:51Z
Critical Link Support
Redmine
MityDSP-L138 (ARM9 Based Platforms) - Software Development: RE: Autoboot Linux in terminal
http://support.criticallink.com/redmine/boards/10/topics/5692?r=6267#message-6267
2022-12-23T06:25:51Z
Demon Demonof
<p>Hello!</p>
<p>I have a service "myApp.service". I want to autostart Linux myApp in terminal without background mode.</p>
<p>@<br />[Unit]<br /> Description=myApp<br /> After=network.service</p>
<p>[Service]<br /> Type=simple<br /> WorkingDirectory=/home/root<br /> ExecStart={terminal} -e /home/root/myApp</p>
<p>[Install]<br /> WantedBy=multi-user.target</p>
<p>@</p>
<p>What should be instead {terminal}?</p>
<p>Example: <code>ExecStart=-/sbin/getty -e /home/root/myApp</code></p>
MityDSP-L138 (ARM9 Based Platforms) - Software Development: RE: L138 dsplink problem - schedule w...
http://support.criticallink.com/redmine/boards/10/topics/4931?r=6266#message-6266
2022-12-22T13:04:24Z
Demon Demonof
<p>Demon Demonof wrote in <a class="message" href="http://support.criticallink.com/redmine/boards/10/topics/4931?r=6265#message-6265">RE: L138 dsplink problem - schedule while atomic bug</a>:</p>
<blockquote>
<p>Hello!</p>
<p>I have the same problem as the author of the topic.</p>
<p><code>Unable to handle kernel paging request at virtual address c6ce600c<br />pgd = c34d0000<br />[c6ce600c] *pgd=c3458811, *pte=00000000, *ppte=00000000<br />Internal error: Oops: 807 [#3] PREEMPT<br />Modules linked in: minix fpga_gpio(O) fpga_spi(O) fpga_uart(O) fpga_ctrl(O) dsplinkk(O) ipv6<br />CPU: 0 Tainted: G D O (3.2.0 #2)<br />PC is at remove_wait_queue+0x24/0x70<br />LR is at remove_wait_queue+0x1c/0x70<br />pc : [<c00366bc>] lr : [<c00366b4>] psr: 20000093<br />sp : c3561e50 ip : c356e044 fp : 00000000<br />r10: 80008051 r9 : 80040800 r8 : 00000001<br />r7 : c6ce6008 r6 : c3560000 r5 : 20000013 r4 : c3561e64<br />r3 : c6ce6008 r2 : c6ce6008 r1 : 00000000 r0 : 00000001<br />Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user<br />Control: 0005317f Table: c34d0000 DAC: 00000015<br />Process runAppX (pid: 2480, stack limit = 0xc3560270)<br />Stack: (0xc3561e50 to 0xc3562000)<br />1e40: c6ce6000 fffffe00 c3560000 bf0a6ffc<br />1e60: 80000013 00000001 c52e4f20 c0016fa0 c6ce6008 c6ce6008 00000004 ffffffff<br />1e80: 00008000 c3561f04 c6ce2000 bf0ad600 80008051 bf09d668 00000029 42d96d6c<br />1ea0: c018e03a 42d96d6c c5209928 c0009524 c3560000 00000000 42d96d54 bf0a9d38<br />1ec0: c3566400 c5271840 c35664cc c00366e0 c3566400 00000000 00000000 60000013<br />1ee0: c3560000 c05caed0 00000000 00008000 c802c800 00010002 ffffffff 00000000<br />1f00: 0000d06c 00000000 a0000093 c527a660 42d96d6c 42d96d6c c5209928 c0009524<br />1f20: 00000000 c0091300 c537a9e0 00000000 00000000 00000000 0000ffff 00000021<br />1f40: c5271848 00000002 c5a66b68 00000000 c3560000 00000000 00000001 c527a660<br />1f60: 00000000 c3412e00 c3561f8c c527a660 42d96d6c c018e03a 00000003 c0009524<br />1f80: c3560000 c00913b8 00000003 00000001 42d96d6c 000303cc 40caa814 000303d4<br />1fa0: 00000036 c00093a0 000303cc 40caa814 00000003 c018e03a 42d96d6c 00000003<br />1fc0: 000303cc 40caa814 000303d4 00000036 000303c8 42d96fa0 80008017 42d96d54<br />1fe0: 000303cc 42d96c38 0001052c 403c419c 80000010 00000003 0400287e 531403c6<br />[<c00366bc>] (remove_wait_queue+0x24/0x70) from [<bf0a6ffc>] (SYNC_WaitSEM+0x254/0x290 [dsplinkk])<br />[<bf0a6ffc>] (SYNC_WaitSEM+0x254/0x290 [dsplinkk]) from [<bf09d668>] (LDRV_MSGQ_get+0x84/0xc0 [dsplinkk])<br />[<bf09d668>] (LDRV_MSGQ_get+0x84/0xc0 [dsplinkk]) from [<bf0a9d38>] (DRV_Ioctl+0x1d0/0x778 [dsplinkk])<br />[<bf0a9d38>] (DRV_Ioctl+0x1d0/0x778 [dsplinkk]) from [<c0091300>] (do_vfs_ioctl+0x500/0x584)<br />[<c0091300>] (do_vfs_ioctl+0x500/0x584) from [<c00913b8>] (sys_ioctl+0x34/0x54)<br />[<c00913b8>] (sys_ioctl+0x34/0x54) from [<c00093a0>] (ret_fast_syscall+0x0/0x2c)<br />Code: e3a00001 ebff7d25 e5943010 e594200c (e5823004)<br />---[ end trace a91b929903800775 ]---<br />note: runAppX[2480] exited with preempt_count 1</code></p>
<p>Has anyone solved the problem?</p>
</blockquote>
<p>I use MDK_2014-01-12 and dsplink_linux_1_65_00_03.</p>
MityDSP-L138 (ARM9 Based Platforms) - Software Development: RE: L138 dsplink problem - schedule w...
http://support.criticallink.com/redmine/boards/10/topics/4931?r=6265#message-6265
2022-12-22T12:59:08Z
Demon Demonof
<p>Hello!</p>
<p>I have the same problem as the author of the topic.</p>
<p><code>Unable to handle kernel paging request at virtual address c6ce600c<br />pgd = c34d0000<br />[c6ce600c] *pgd=c3458811, *pte=00000000, *ppte=00000000<br />Internal error: Oops: 807 [#3] PREEMPT<br />Modules linked in: minix fpga_gpio(O) fpga_spi(O) fpga_uart(O) fpga_ctrl(O) dsplinkk(O) ipv6<br />CPU: 0 Tainted: G D O (3.2.0 #2)<br />PC is at remove_wait_queue+0x24/0x70<br />LR is at remove_wait_queue+0x1c/0x70<br />pc : [<c00366bc>] lr : [<c00366b4>] psr: 20000093<br />sp : c3561e50 ip : c356e044 fp : 00000000<br />r10: 80008051 r9 : 80040800 r8 : 00000001<br />r7 : c6ce6008 r6 : c3560000 r5 : 20000013 r4 : c3561e64<br />r3 : c6ce6008 r2 : c6ce6008 r1 : 00000000 r0 : 00000001<br />Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user<br />Control: 0005317f Table: c34d0000 DAC: 00000015<br />Process runAppX (pid: 2480, stack limit = 0xc3560270)<br />Stack: (0xc3561e50 to 0xc3562000)<br />1e40: c6ce6000 fffffe00 c3560000 bf0a6ffc<br />1e60: 80000013 00000001 c52e4f20 c0016fa0 c6ce6008 c6ce6008 00000004 ffffffff<br />1e80: 00008000 c3561f04 c6ce2000 bf0ad600 80008051 bf09d668 00000029 42d96d6c<br />1ea0: c018e03a 42d96d6c c5209928 c0009524 c3560000 00000000 42d96d54 bf0a9d38<br />1ec0: c3566400 c5271840 c35664cc c00366e0 c3566400 00000000 00000000 60000013<br />1ee0: c3560000 c05caed0 00000000 00008000 c802c800 00010002 ffffffff 00000000<br />1f00: 0000d06c 00000000 a0000093 c527a660 42d96d6c 42d96d6c c5209928 c0009524<br />1f20: 00000000 c0091300 c537a9e0 00000000 00000000 00000000 0000ffff 00000021<br />1f40: c5271848 00000002 c5a66b68 00000000 c3560000 00000000 00000001 c527a660<br />1f60: 00000000 c3412e00 c3561f8c c527a660 42d96d6c c018e03a 00000003 c0009524<br />1f80: c3560000 c00913b8 00000003 00000001 42d96d6c 000303cc 40caa814 000303d4<br />1fa0: 00000036 c00093a0 000303cc 40caa814 00000003 c018e03a 42d96d6c 00000003<br />1fc0: 000303cc 40caa814 000303d4 00000036 000303c8 42d96fa0 80008017 42d96d54<br />1fe0: 000303cc 42d96c38 0001052c 403c419c 80000010 00000003 0400287e 531403c6<br />[<c00366bc>] (remove_wait_queue+0x24/0x70) from [<bf0a6ffc>] (SYNC_WaitSEM+0x254/0x290 [dsplinkk])<br />[<bf0a6ffc>] (SYNC_WaitSEM+0x254/0x290 [dsplinkk]) from [<bf09d668>] (LDRV_MSGQ_get+0x84/0xc0 [dsplinkk])<br />[<bf09d668>] (LDRV_MSGQ_get+0x84/0xc0 [dsplinkk]) from [<bf0a9d38>] (DRV_Ioctl+0x1d0/0x778 [dsplinkk])<br />[<bf0a9d38>] (DRV_Ioctl+0x1d0/0x778 [dsplinkk]) from [<c0091300>] (do_vfs_ioctl+0x500/0x584)<br />[<c0091300>] (do_vfs_ioctl+0x500/0x584) from [<c00913b8>] (sys_ioctl+0x34/0x54)<br />[<c00913b8>] (sys_ioctl+0x34/0x54) from [<c00093a0>] (ret_fast_syscall+0x0/0x2c)<br />Code: e3a00001 ebff7d25 e5943010 e594200c (e5823004)<br />---[ end trace a91b929903800775 ]---<br />note: runAppX[2480] exited with preempt_count 1</code></p>
<p>Has anyone solved the problem?</p>
MityDSP-L138 (ARM9 Based Platforms) - Software Development: RE: Change data between ARM & DSP cor...
http://support.criticallink.com/redmine/boards/10/topics/5715?r=6058#message-6058
2021-02-25T19:49:16Z
Demon Demonof
<p>Gregory Gluszek wrote:</p>
<blockquote>
<p>My guess is that the system is running out of DSPLink buffers. I would recommend checking return codes for functions such as GetBuffer(). GetBuffer() will return a NULL pointer if it cannot obtain a new buffer.</p>
<p>Thanks,<br />\Greg</p>
</blockquote>
<p>Maybe you need to create a memory pool cmem in the command line terminal?</p>