Why is NVRAM unable to initialize on a i.MX51 SoC with a JSK?

After booting up an i.MX51 SoC on a Jump Start Kit and loading the Linux kernel via TFTP, I am seeing the following errors:

[…]
Starting network.
[FAIL] register_dns: ubootenv unable to read NVRAM
unable to initialize nvram
unable to initialize nvram
unable to initialize nvram
[…]
[FAIL] S95runapp.sh: ubootenv unable to read NVRAM

Any suggestions? I need S95runapp.sh to run so my program executes on boot up.

I tried envreset and this didn’t fix it. I also ran flpart and tried resetting the partitions to a linux build and that didn’t fix it either. Any help would be appreciated…

Also, when booting up an i.MX51 SoC on a Jump Start Kit and loading the Linux kernel via FLASH, I am seeing the following errors:

No filesystem could mount root, tried: JFFS2
Kernel panic - not syncing : VFS : Unable to mount root fs on unknown-block (0,0)

I found that I need the correct drivers to mount the file system, although they are selected in my kernel config file. Any suggestions?

how are you booting your module?
using dboot linux tftp or dboot linux flash command?

Looks like module is trying to boot kernel from tftp and when it does filesystem is accessed from NFS which in this case is not available.

Also can you show the script that you use in S95runapp.sh ?

1 Like

Thanks,
I fixed the issue using dboot linux flash as the boot command instead of dboot linux tftp. In S95runapp.sh I added the following line “export QWS_MOUSE_PROTO=” to enable the mouse.