Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

software:oowow:how-to:automate-os-upgrade-by-lan

This is an old revision of the document!


OOWOW Automate OS Upgrade

WIP:

Device access from LAN

Need bootup into oowow and

  • check device hostname for example edge2-00000, device must be visible in LAN under MDNS edge2-00000.local name
  • FireWall setup to allow income connection from LAN
  • check connection

All Khadas oowow device have uniq name like device_name-XXXXX where XXXXX last digits from device serial number

check network access from LAN
ping edge2-00000.local -c1 && ssh root@edge2-00000.local false && echo OK

Reboot device into OOWOW mode

reboot device into oowow mode under main OS
# reboot into oowow from main OS
i2cset -f -y 2 0x18 0x92 1 && i2cset -f -y 2 0x18 0x91 1
ssh usage for remote reboot into oowow mode
echo "i2cset -f -y 2 0x18 0x92 1 && i2cset -f -y 2 0x18 0x91 1" | ssh user@HOST && echo OK REBOOT INTO OOWOW

Write image to device by LAN

write image to device from PC by LAN
curl edge2-00000.local/shell/write | sh -s - edge2-armbian-bookworm-legacy-cli.img.xz
Last modified: 2023/08/22 00:07 by hyphop