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.

Lots of JFFS2 errors when using NFS in DM385 IPNC

Other Parts Discussed in Thread: DM385

Hi All,

I want to use NFS in DM385 IPNC and I follow the Install guide to setup the bootargs.

It looks like that kernel can find the NFS server but then it shows lots of JFFS2 errors and is stuck.

"jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004c0000: 0x4255 instead".

Even when I forced it to use EXT2 rootfstype in bootargs, it still gives JFFS2 errors.

Is there any other settings that I need to change? Why it choose JFFS2 as NFS's system type?

How can I make DM385 IPNC work with NFS?

Thank you very much!

 

Ivy

  • Hi Ivy,

    Here are some suggestions:

    • Verify your NFS server: connecting not from the target board, but from another PC.
    • Check can you successfully ping from your u-boot prompt your NFS server IP.
    • Your target kernel config should have the below option enabled; probably it is enabled by default. The kernel doc should be here: <kernel_home>Documentation/filesystems/nfs/nfsroot.txt.

    -> File systems -> Network File Systems -> Root file system on NFS

    • Among your bootargs for NFS rootfs you should have these, with <> filled with the values in your case, validated as correct:
    root=/dev/nfs nfsroot=<nfs-server-ip>:<path-to-nfs-share>,nolock
    • Also preferably you should have among the bootargs validated way to pass IP to the kernel :

    ip=<dhcp/static_ip>


    Here is one example:

    setenv bootargs 'console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.1.1:/mysharedfolder/targetfs,nolock rw mem=128M earlyprintk rootwait ip=dhcp'





    Thank you.

    BR

    Vladimir

  • Hi Vladimir,

    Thank you very much for the reply.

    I think I had made a mistake, the NFS is mounted to my DM385, but there are 2 JFFS2 mounting commands in starting script in filesystem that creating this problem.

     

    Thanks and Best Regards,

    Ivy

  • Hi Liu,

    I have encounted the same problem that you described,   

    I think you have solved this problem already,

    would you please tell me the mothod in detail, your help will be highly appreciated.

  • Hi Hongbing,

    I just reprogrammed the IPNC with version 3.5.0, then it was fixed.

     

    Ivy

  • Hi Ivy,

    Thank you for your reply.

    But how do you get version 3.5.0 of IPNC RDK,

    I got the IPNC RDK with version 3.0.0 when I bought TMDSIPNCAM8127J3 from Arrow SEED.

    Thanks.

  • Hello,

    Please contact TI sales and enable you account at "TI my registered software", this will enable download permission for the latest software

    Else you can contact Appro and get the donwload link for the new release

    Regards,

    Raghu