Power & Source of Big Ideas

saveenv not working

Moderators: chensy, FATechsupport

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
Are you stopping the boot process within the 3 second window?
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
Worked for me on a NanoPi2 running Debian. I just noticed you are running Android. Hope someone helps!

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 59 on Thu Aug 30, 2018 2:59 pm

Users browsing this forum: No registered users and 1 guest