Enter oowow from cli

Which system do you use? Android, Ubuntu, OOWOW or others?

ubuntu / oowow

Which version of system do you use? Khadas official images, self built images, or others?

official or self built

Hi, is there a way to enter oowow from ubuntu cli?
I am testing different setups / installs for my deployment and want to create backups / start fresh via remote access. The only missing part is to enter oowow without having physical access.

This feature not ready for VIM4 at this moment , but will be available for next oowow versions

PS: just wait this feature in feature oowow updates , we will make announce about this later

at this moment i can provide one solution

ubuntu or other linux shell

# change bootmode to SPI / for next oowow boot up
# sd card must be empty 
i2cset -f -y 6 0x18 0x20 0
# may be need some system preparation like unmounts ....
init 1 
umount /boot
mount -o remount,ro /
# reboot via mcu
i2cset -f -y 6 0x18 0x91 1

oowow shell

# some custom tasks 
# ...
# and last steps is change bootmode to emmc back
i2cset -f -y 6 0x18 0x20 1
# reboot back to emmc os

ssh oowow usage example - back to emmc OS

ssh root@vim4-xxxxx "i2cset -f -y 6 0x18 0x20 1 ; reboot"
1 Like