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.

Kernel Panic - Booting TI8168 EVM board with images compiled from DVR RDK 4.0.0.03 source code

Compiled DVR RDK 4.0.0.03 source code for TI8168 EVM.

Flashed the images on NAND and tried to boot from it.


Getting the following errors:

UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size:   199225344 bytes (194556 KiB, 189 MiB, 1569 LEBs)
UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:15.
devtmpfs: error mounting -2
Freeing init memory: 228K
Failed to execute /init.  Attempting defaults...
Kernel panic - not syncing: No init found.  Try passing init= option to kernel. See Linux Documentation/i
nit.txt for guidance.
Backtrace:
[<c004efac>] (dump_backtrace+0x0/0x110) from [<c03a01dc>] (dump_stack+0x18/0x1c)
 r6:c0077780 r5:c002e9ec r4:c052ce98 r3:60000013
[<c03a01c4>] (dump_stack+0x0/0x1c) from [<c03a023c>] (panic+0x5c/0x178)
[<c03a01e0>] (panic+0x0/0x178) from [<c004141c>] (init_post+0xa4/0xc4)
 r3:c6426000 r2:c671bb00 r1:c671bc00 r0:c04605d2
 r7:00000013
[<c0041378>] (init_post+0x0/0xc4) from [<c0008d74>] (kernel_init+0x118/0x154)
 r4:c002e9ec r3:c6001080
[<c0008c5c>] (kernel_init+0x0/0x154) from [<c0077780>] (do_exit+0x0/0x5d0)
 r5:c0008c5c r4:00000000


rfs_816x folder just has opt folder.

Is there a problem with file system generation. May be the file system is incomplete and hence missing init.


Thanks

Tushar

  • Hi Tushar,

    I suspect there might be issue with the boot args. Provide the full boot up log, not just part of it.

    Regards,
    Pavel
  • Hi Tushar,

    Please do check the following(though I have not used TI816x package, mostly the case in most of the TI packages):
    1. If you have untarred the default filesystems. Most of the TI packages come with default filesystem as .tar.gz
    2. Make sure your NFS path is same as the filesystems path which the package builds and puts into. Say for e.g. TI814x package will be put under folder name as filesystems in the root folder as the DVR package. Check the Rules.make for the proper path.

    If all these are fine, as Pavel pointed out, it could be bootargs.