Pine64+ LCD touchscreen config


I’m new to DietPi, but have a (somewhat) working Armbian installation on my Pine64+ 2GB board.

In Armbian, using the 3.10.104 kernel, I can load the gt9xxf_ts kernel module and set pine64_lcd=on in /boot/armbianEnv.txt

In DietPi, the module seems to be missing and I tried adding “pine64_lcd=on” and commenting out “optargs=disp.screen0_output_mode=720p60” in “/boot/uEnv.txt”

But a reboot simply overwrites the file with the original version.

Can anyone tell me what I’m doing wrong and if there is a way to enable the touchscreen?

Thanks for any help.

As per:

You need to edit the file from the DietPi-RAMdisk location: