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.

Linux: Cannot install package dlp-sdk



Tool/software: Linux

Hello:

   I am installing dlp-sdk_2.0-r8.0_cortexa15hf-neon.ipk the following error:

root@am57xx-evm:~# opkg install dlp-sdk_2.0-r8.0_cortexa15hf-neon.ipk
Not selecting dlp-sdk 2.0 due to incompatible architecture.
Unknown package 'dlp-sdk'.
Collected errors:
* opkg_solver_install: Cannot install package dlp-sdk.

I use the system is ti-processor-sdk-linux-am57xx-evm-rt-04.00.00.04-Linux-x86.  

  • Hello,

    Please check this thread:
    e2e.ti.com/.../539433

    Hope this helps.

    BR
    Margarita
  • Hello:

            I information and you give me a link error is not the same.

    I try to do the following:

        $   strace -o log  opkg install dlp-sdk_2.0-r8.0_cortexa15hf-neon.ipk

    1768.log.txt

    View the log file found that there are several directories not created

    I manually create these directories.

         $ mkdir -p /var/lib/opkg/lists/all
         $ mkdir -p /var/lib/opkg/lists/any
         $ mkdir -p /var/lib/opkg/lists/noarch
         $ mkdir -p /var/lib/opkg/lists/armv5hf-vfp
         $ mkdir -p /var/lib/opkg/lists/armv5thf-vfp
         $ mkdir -p /var/lib/opkg/lists/armv5ehf-vfp
         $ mkdir -p /var/lib/opkg/lists/armv5tehf-vfp
         $ mkdir -p /var/lib/opkg/lists/armv6hf-vfp
         $ mkdir -p /var/lib/opkg/lists/armv6thf-vfp
         $ mkdir -p /var/lib/opkg/lists/armv7ahf-vfp
         $ mkdir -p /var/lib/opkg/lists/armv7at2hf-vfp
         $ mkdir -p /var/lib/opkg/lists/armv7ahf-neon
         $ mkdir -p /var/lib/opkg/lists/armv7at2hf-neon
         $ mkdir -p /var/lib/opkg/lists/am57xx_evm

    I re-run the install command:

        $ opkg install dlp-sdk_2.0-r8.0_cortexa15hf-neon.ipk

    The following error occurred:

       

    root@am57xx-evm:~# opkg install dlp-sdk_2.0-r8.0_cortexa15hf-neon.ipk

    [  284.206773] opkg invoked oom-killer: gfp_mask=0x24201ca(GFP_HIGHUSER_MOVABLE|__GFP_COLD), nodemask0

    [  284.218221] opkg cpuset=/ mems_allowed=0

    [  284.222193] CPU: 0 PID: 1030 Comm: opkg Tainted: G           O    4.9.28-rt16-g786e64041b #1

    [  284.222196] Hardware name: Generic DRA74X (Flattened Device Tree)

    [  284.222200] Backtrace:

    [  284.222221] [<c020b2a8>] (dump_backtrace) from [<c020b564>] (show_stack+0x18/0x1c)

    [  284.222227]  r7:c0b9c3d0 r6:60000113 r5:00000000 r4:c1024a40

    [  284.222242] [<c020b54c>] (show_stack) from [<c04d141c>] (dump_stack+0x8c/0xa0)

    [  284.222253] [<c04d1390>] (dump_stack) from [<c032f9c8>] (dump_header+0x90/0x1f4)

    [  284.222258]  r7:c0b9c3d0 r6:d51c8000 r5:ed767d20 r4:00000001

    [  284.222269] [<c032f938>] (dump_header) from [<c02dca40>] (oom_kill_process+0x308/0x4fc)

    [  284.222275]  r10:0000073b r9:00000000 r8:00000385 r7:c0b9c3d0 r6:d51c857c r5:ed767d20

    [  284.222277]  r4:d51c8000

    [  284.222286] [<c02dc738>] (oom_kill_process) from [<c02dcf44>] (out_of_memory+0x11c/0x314)

    [  284.222292]  r10:0000073b r9:00000000 r8:c100466c r7:c100447c r6:c10072c0 r5:c10072c0

    [  284.222294]  r4:ed767d20

    [  284.222305] [<c02dce28>] (out_of_memory) from [<c02e1e4c>] (__alloc_pages_nodemask+0xc38/0xd78)

    [  284.222308]  r6:c1004594 r5:00000000 r4:00000000

    [  284.222317] [<c02e1214>] (__alloc_pages_nodemask) from [<c02db1ac>] (filemap_fault+0x464/0x664)

    [  284.222323]  r10:00080001 r9:024201ca r8:024000c0 r7:ec9b4800 r6:d573e5c4 r5:00000005

    [  284.222325]  r4:d51fac00

    [  284.222334] [<c02dad48>] (filemap_fault) from [<c03b1dac>] (ext4_filemap_fault+0x34/0x48)

    [  284.222339]  r10:00000040 r9:00000000 r8:00000000 r7:b6f7d000 r6:ed767df4 r5:d5255b40

    [  284.222341]  r4:d573e4b0

    [  284.222351] [<c03b1d78>] (ext4_filemap_fault) from [<c0303cb0>] (__do_fault+0x70/0xf0)

    [  284.222356]  r7:b6f7d000 r6:00000054 r5:ed767e58 r4:00000000

    [  284.222363] [<c0303c40>] (__do_fault) from [<c03087e8>] (handle_mm_fault+0x7a4/0xdfc)

    [  284.222367]  r6:00000005 r5:d5255b40 r4:ed767e5c

    [  284.222373] [<c0308044>] (handle_mm_fault) from [<c0214e4c>] (do_page_fault+0x2d0/0x39c)

    [  284.222378]  r10:d51fac50 r9:d5255b40 r8:b6f7dab0 r7:80000207 r6:d51fac00 r5:d51c8000

    [  284.222380]  r4:ed767fb0

    [  284.222387] [<c0214b7c>] (do_page_fault) from [<c0201364>] (do_PrefetchAbort+0x38/0x9c)

    [  284.222392]  r10:b6f8b23c r9:00000000 r8:ed767fb0 r7:b6f7dab0 r6:c0214b7c r5:00000207

    [  284.222394]  r4:c1009024

    [  284.222401] [<c020132c>] (do_PrefetchAbort) from [<c020c620>] (ret_from_exception+0x0/0x20)

    [  284.222404] Exception stack(0xed767fb0 to 0xed767ff8)

    [  284.222408] 7fa0:                                     00036620 bef99a44 698f0fa8 00000000

    [  284.222414] 7fc0: 00036620 000351a8 ffffffff bef9aa7c 0002b328 00000000 b6f8b23c 00023650

    [  284.222418] 7fe0: 698f1034 bef9aa60 b6f8aae0 b6f7dab0 60000010 ffffffff

    [  284.222423]  r8:30c5387d r7:30c5387d r6:ffffffff r5:60000010 r4:b6f7dab0

    [  284.222425] Mem-Info:

    [  284.487577] active_anon:435674 inactive_anon:2895 isolated_anon:0

    [  284.487577]  active_file:18 inactive_file:31 isolated_file:0

    [  284.487577]  unevictable:0 dirty:0 writeback:0 unstable:0

    [  284.487577]  slab_reclaimable:1317 slab_unreclaimable:3212

    [  284.487577]  mapped:533 shmem:3277 pagetables:1102 bounce:0

    [  284.487577]  free:1960 free_pcp:358 free_cma:0

    [  284.520310] Node 0 active_anon:1742696kB inactive_anon:11580kB active_file:72kB inactive_file:124ks

    [  284.545017] DMA free:7404kB min:2504kB low:3128kB high:3752kB active_anon:450208kB inactive_anon:3B

    [  284.577067] lowmem_reserve[]: 0 0 1253 1253

    [  284.581322] HighMem free:436kB min:512kB low:2560kB high:4608kB active_anon:1292488kB inactive_anoB

    [  284.612731] lowmem_reserve[]: 0 0 0 0

    [  284.616446] DMA: 117*4kB (UE) 85*8kB (UME) 49*16kB (UME) 41*32kB (UME) 29*64kB (UME) 10*128kB (ME)B

    [  284.630848] HighMem: 1*4kB (M) 2*8kB (U) 2*16kB (UM) 2*32kB (UM) 1*64kB (M) 0*128kB 1*256kB (M) 0*B

    3328 total pagecache pages

    [  284.645941] 0 pages in swap cache

    [  284.649267] Swap cache stats: add 0, delete 0, find 0/0

    [  284.654515] Free swap  = 0kB

    [  284.657408] Total swap = 0kB

    [  284.660299] 474368 pages RAM

    [  284.663191] 326912 pages HighMem/MovableOnly

    [  284.667476] 7968 pages reserved

    [  284.670628] 47104 pages cma reserved

    [  284.674216] [ pid ]   uid  tgid total_vm      rss nr_ptes nr_pmds swapents oom_score_adj name

    [  284.682787] [  154]     0   154     2642      590       6       2        0             0 systemd-jl

    [  284.692314] [  165]     0   165     2826      277       8       2        0         -1000 systemd-ud

    [  284.701686] [  204]   998   204     3105       62       6       2        0             0 systemd-tn

    [  284.711212] [  283]   991   283     1161       67       6       2        0             0 avahi-daen

    [  284.720477] [  294]     0   294      714       54       6       2        0             0 systemd-ld

    [  284.729915] [  311]   991   311     1161       54       6       2        0             0 avahi-daen

    [  284.739177] [  313]     0   313    50299       46     101       2        0             0 ti-mctd

    [  284.748001] [  315]     0   315      491       16       4       2        0             0 syslogd

    [  284.756829] [  346]   999   346     1075       87       5       2        0          -900 dbus-daemn

    [  284.766003] [  374]     0   374     2147      697       7       2        0             0 ofonod

    [  284.774745] [  377]   997   377     2808       64       6       2        0             0 systemd-nk

    [  284.784268] [  379]     0   379      491       18       3       2        0             0 klogd

    [  284.792919] [  387]     0   387     2139      409       6       2        0             0 snmpd

    [  284.801571] [  404]     0   404      767       53       5       2        0             0 starter

    [  284.810397] [  544]     0   544    35868      217      25       2        0             0 charon

    [  284.819134] [  549]   996   549      837       52       5       2        0             0 systemd-re

    [  284.828657] [  584]     0   584     1133       75       6       2        0             0 lighttpd

    [  284.837570] [  741]     0   741      455       29       5       2        0             0 agetty

    [  284.846312] [  754]     0   754     1268       83       5       2        0             0 login

    [  284.854965] [  912]     0   912     2455       26       4       2        0             0 lad_dra7xx

    [  284.864051] [  913]     0   913      491       14       4       2        0             0 telnetd

    [  284.872879] [  917] 65534   917      620      148       5       2        0             0 thttpd

    [  284.881617] [  920]     0   920      570       21       4       2        0             0 rngd

    [  284.890182] [  988]     0   988      673       67       4       2        0             0 sh

    [  284.898574] [ 1030]     0  1030   433421   432383     849       3        0             0 opkg

    [  284.907144] Out of memory: Kill process 1030 (opkg) score 901 or sacrifice child

    [  284.914582] Killed process 1030 (opkg) total-vm:1733684kB, anon-rss:1729464kB, file-rss:68kB, shmeB

    Killed

    Found the memory leak, but I do not know why this is so.

    I re-view the log file and found that there are several return value of -1:

    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6fd7000
    access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)

     

    Please help look at what is the problem

     

  • Hello:

          Dlp-sdk_2.0-r8.0_cortexa15hf-neon.ipk can only be installed on am72x EVM board?  Is there a specific requirement?

          Our board is a custom version,will dlp-sdk_2.0-r8.0_cortexa15hf-neon.ipk installation need to change the kernel or some firmware?

  • Hello,

    I would recommend you to post in this forum:
    e2e.ti.com/.../

    BR
    Margarita