Page 1 of 1

nvgetvar crashes on MicroA1-C

Posted: Mon Sep 08, 2014 10:17 pm
by lazi
A recent SysMon update drew my attention to nvgetvar while crashed at start.
As the developer asked, I tried to call nvgetvar in shell which is crashed. Further testing made it clear that it is crashing when called it without any parameters.
I have not found any info about nvgetvar, but I think it lists u-boot variables/values, therefore I can't find it on the Peg2.
I don't knowif I ever used it, but now it crashes badly:
http://crashlog.os4depot.net/?function= ... hlogid=388

Is there something which I could try to fix that?

Re: nvgetvar crashes on MicroA1-C

Posted: Tue Sep 09, 2014 12:31 am
by tonyw
I don't know any reason why it should not work on the µA1, because it works on all other U-Boot platforms (XE, Sams, etc).

The µA1 is just an XE on a different mobo and a built-in graphics chip.

I would suggest you boot a CD, proceed to load WB, open a Shell and issue the command from that Shell. That would ensure a clean system.

Re: nvgetvar crashes on MicroA1-C

Posted: Wed Sep 10, 2014 12:02 pm
by lazi
Thanks the anvswer Tonyw!

It is solved finally.
I found that the a1ide_conf and a1ide_xfer nv variables are missing so fixed it and called a saveenv command at the UBOOT prompt.
After that, nvgetvar works again.

Tried to test it again and temprarily removed that two variables, but nvgetvar still working without them.
So it seems that saveenv was the command which fixed it and this may suggests a tired battery. Measured it, and it was not tired (3.0V).
The reason is still a mystery.

Bye

Re: nvgetvar crashes on MicroA1-C

Posted: Wed Sep 10, 2014 2:51 pm
by tonyw
Still don't understand how that could fail, but if it works again, then yay!