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.

Error booting linux on DM365 EVM

Hi.

I'm using the latest DVSDK on a DM365 EVM.

I followed the software developers guide to rebuilt the linux kernel.

Sometimes the EVM boots linux successfully, but usually I get this error messages:

Root-NFS: Server returned error -13 while mounting /home/user/targetfs
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00           15360 mtdblock0 (driver?)
1f01            1024 mtdblock1 (driver?)
1f02            4096 mtdblock2 (driver?)
1f03          524288 mtdblock3 (driver?)
1f04         1552384 mtdblock4 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Backtrace:
[<c00307d0>] (dump_backtrace+0x0/0x114) from [<c03177d4>] (dump_stack+0x18/0x1c)
 r7:00008000 r6:c1014000 r5:c0025808 r4:c0445df0
[<c03177bc>] (dump_stack+0x0/0x1c) from [<c031782c>] (panic+0x54/0x124)
[<c03177d8>] (panic+0x0/0x124) from [<c0008fbc>] (mount_block_root+0x1e0/0x220)
 r3:00000001 r2:c1029e98 r1:c1029f60 r0:c03af38d
[<c0008ddc>] (mount_block_root+0x0/0x220) from [<c00090c0>] (mount_root+0xc4/0xfc)
 r8:00000000 r7:00000000 r6:00000000 r5:00000000 r4:00200000
[<c0008ffc>] (mount_root+0x0/0xfc) from [<c0009268>] (prepare_namespace+0x170/0x1c8)
 r5:c0025808 r4:c0445900
[<c00090f8>] (prepare_namespace+0x0/0x1c8) from [<c00084bc>] (kernel_init+0xe4/0x118)
 r5:00000000 r4:c04456c0
[<c00083d8>] (kernel_init+0x0/0x118) from [<c0044ec8>] (do_exit+0x0/0x684)
 r5:00000000 r4:00000000


Can someone please help?


Thanks!

  • Somehow I noticed that setting the host system time a few hours ahead of the real time fixes the problem (or so it currently seems).

    Does anyone know why this is happening and how to properly fix it?

    Thanks.