Page 1 of 1

saveenv not working

Posted: Sat Mar 18, 2017 10:31 am
by fl0wtec
Dear Friendlyarm,

apparently setenv and saveenv are not working.

Once I´ve set the bootargs via UART interface via a serial terminal:

Code: Select all

setenv bootargs console=ttyAMA0,115200n8 androidboot.console=ttyAMA0 androidboot.serialno=0123456789abcdef initrd=0x49000000,0x100000 lcd=HDMI1080P60 bootdev=2


I type:

Code: Select all

saveenv


this has no effect. Once rebooting the device and checking with:

Code: Select all

printenv


there is no change and the default values are still there.

Please let me know how to make the changes to the bootargs permanent.

BR

Re: saveenv not working

Posted: Sat Mar 18, 2017 7:10 pm
by davef
Are you stopping the boot process within the 3 second window?

Re: saveenv not working

Posted: Wed Mar 29, 2017 7:36 am
by fl0wtec
Yes, thats where I come to set the bootargs, right?

I am connected to the Nano Pi S2 via USB UART bridge.
Open the connection via Putty COM4
Looking at the output and stopping the boot process by pressing any button (host pc keyboard in Putty console) within the 3 seconds window.

Then I change the bootargs as described above.
Then I try to save.

Not working.

Please advise.

BR

Re: saveenv not working

Posted: Wed Mar 29, 2017 6:34 pm
by davef
Worked for me on a NanoPi2 running Debian. I just noticed you are running Android. Hope someone helps!