how to create vi file or .sh file in imx8mm in Android 10 OS.
Using putty or minicom after booting up of Android OS from SD card
I wanted to run a small LED blink. script
The script gpio_led.sh
#!/bin/bash
echo "GPIO LED Test"
LED=/sys/class/leds/user/brightness
while (true)
do
echo 1 > $LED
sleep 1
echo 0 > $LED
sleep 1
done
i am not able to create vi or or run the script. how to run. if any recommend kindly provide
and the path to run
Hi
This way can't be useful in android.It's very different in linux.
sh file is effective in linux rootfs, but android is using linux kernel ,not the linux rootfs.