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 are 10 users online :: 0 registered, 0 hidden and 10 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 10 guests