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/TDA2: CONFIG_ARM_LPAE=n

Part Number: TDA2


Tool/software: Linux




  am  using  tda2x  evm

i   use  this  chain   test  my  cnn  (SDK_VISION_03_04_00_00\vision_sdk\sample_app\src\hlos\usecases\nullSrc_display)





i add CONFIG_ARM_LPAE=n in auto.cfg ,make clean then make linux make linux_install make -s -j depend make -s -j
but when i restar the EVM have some problem
follow is the log


2.777440] VFS: Mounted root (ext4 filesystem) on device 179:50.
[ 2.788399] devtmpfs: mounted
[ 2.791566] Freeing unused kernel memory: 340K
[ 2.796027] This architecture does not have kernel memory protection.
/sbin/init: error while loading shared libraries: /usr/lib/libkmod.so.2: file too short
[ 2.877469] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[ 2.877469]
[ 2.886647] CPU0: stopping
[ 2.889368] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.84-00027-g018eb62-dirty #10
[ 2.897230] Hardware name: Generic DRA74X (Flattened Device Tree)
[ 2.903348] Backtrace:
[ 2.905827] [<c0013114>] (dump_backtrace) from [<c0013310>] (show_stack+0x18/0x1c)
[ 2.913428] r7:c0931ef0 r6:20000193 r5:00000000 r4:c094f810
[ 2.919149] [<c00132f8>] (show_stack) from [<c02b2028>] (dump_stack+0x8c/0xa0)
[ 2.926406] [<c02b1f9c>] (dump_stack) from [<c0016460>] (handle_IPI+0x184/0x198)
[ 2.933829] r7:c0931ef0 r6:00000000 r5:00000000 r4:c092c424
[ 2.939545] [<c00162dc>] (handle_IPI) from [<c00094c4>] (gic_handle_irq+0x78/0x7c)
[ 2.947143] r7:fa212000 r6:c0931ef0 r5:fa21200c r4:c09328ec
[ 2.952857] [<c000944c>] (gic_handle_irq) from [<c0013e00>] (__irq_svc+0x40/0x74)
[ 2.960370] Exception stack(0xc0931ef0 to 0xc0931f38)
[ 2.965442] 1ee0: 00000001 00000000 fe600000 00000000
[ 2.973655] 1f00: c0930000 c0686294 00000000 c081eb3c 00000000 c0931f60 c093250c c0931f4c
[ 2.981867] 1f20: c0931f2c c0931f40 c0027f6c c0010540 60000013 ffffffff
[ 2.988504] r9:c0931f60 r8:00000000 r7:c0931f24 r6:ffffffff r5:60000013 r4:c0010540
[ 2.996327] [<c0010518>] (arch_cpu_idle) from [<c00713b8>] (default_idle_call+0x28/0x34)
[ 3.004454] [<c0071390>] (default_idle_call) from [<c0071620>] (cpu_startup_entry+0x208/0x264)
[ 3.013107] [<c0071418>] (cpu_startup_entry) from [<c067d520>] (rest_init+0x90/0x94)
[ 3.020878] r7:00000000
[ 3.023433] [<c067d490>] (rest_init) from [<c08dbd88>] (start_kernel+0x400/0x40c)
[ 3.030944] r5:c0982000 r4:c0982040
[ 3.034550] [<c08db988>] (start_kernel) from [<80008090>] (0x80008090)
[ 3.041110] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[ 3.041110]
Regards
Shuai









  • Hi Shuai,

    can you check the file /usr/lib/libkmod.so.2 on the rootfs? It is probably a symlink to a file which might be missing or corrupt.
    can you try to recreate the SD card following the Linux userguide and confirm it was created without errors.

    Regards,
    Yordan