xunlong orangepi lite - vanaware/openwrt GitHub Wiki

#The goal is create a firmware to install LEDE to Xunlong Orange Pi Lite device.

sunxi: add support for Xunlong Orange Pi Lite

To connect to serial port of Xunlong Orange Pi Lite connect UART TTL cable at:

  • White Wire RX = pin 1 TX
  • Green Wire TX = pin 2 RX
  • Black Wire GND = pin 3 GND

You may use a cable with PL2303 like this one= http://s.aliexpress.com/2Q3eu2Q7
And follow this picture also = http://postimg.org/image/l6xt09hrj

sudo gpasswd --add username dialout
reboot
screen /dev/ttyUSB0 115200
To end the session, use Ctrl-A,Shift-K.  

uart connection

FORCE_UNSAFE_CONFIGURE=1 ionice -c 3 nice -n 19 make -j 5 V=s 2>&1 | tee logs/build.log | grep -i -E "^make.*(error|[12345]...Entering dir)"    

ls bin/targets/sunxi/cortexa7/ -la

cd ~/openwrt/
zcat openwrt-sunxi-cortexa7-sun8i-h3-orangepi-lite-squashfs-sdcard.img.gz | sudo dd of=/dev/sdh
or
zcat openwrt-sunxi-cortexa7-sun8i-h3-orangepi-lite-ext4-sdcard.img.gz | sudo dd of=/dev/sdh