To install the operation system on a Cubieboard using your linux computer follow the next tutorial:
From a terminal:
cd
mkdir LiveSuite
git clone https://github.com/linux-sunxi/sunxi-livesuite.git
cd LiveSuite/sunxi-livesuite/
Optional:
less README
sudo apt-get install dkms
cd /LiveSuite/awusb/
sudo make
Add module:
sudo insmod awusb.ko
Run LiveSuite with elevated suppoer:
cd LiveSuite/sunxi-livesuite/
sudo ./LiveSuit.sh
All the rest is just like PhoenixLiveSuite in Windows:
– unplug everything
– chose the image in LiveSuite
– press and keep it pressed the FEL button on your cubieboard
-Plug in the OTA cable
– wait for installation to be done
==========================
Troubleshoting
1. If on make command you have the error bellow:
/LiveSuite/sunxi-livesuite/awusb/awusb.c:376:8: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
if (signal_pending(current)) {
^~~~~~~~~~~~~~
timer_pending
cc1: some warnings being treated as errors
scripts/Makefile.build:291: recipe for target ‘/home/ionut/LiveSuite/sunxi-livesuite/awusb/awusb.o’ failed
make[2]: *** [/home/ionut/LiveSuite/sunxi-livesuite/awusb/awusb.o] Error 1
Makefile:1605: recipe for target ‘_module_/home/ionut/LiveSuite/sunxi-livesuite/awusb’ failed
make[1]: *** [_module_/home/ionut/LiveSuite/sunxi-livesuite/awusb] Error 2
make[1]: Leaving directory ‘/usr/src/linux-headers-5.0.0-17-generic’
Makefile:6: recipe for target ‘default’ failed
make: *** [default] Error 2
edit the file ~/LiveSuite/sunxi-livesuite/awusb/awusb.c
remove #include <linux/signal.h>
and add
#include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
#include <linux/sched/signal.h>
#endif
2. If you have an error when you try to start the application, like the one bellow:
Starting x86-64/LiveSuit.
x86-64/LiveSuit: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
you have to install the libpng12 package:
wget http://security.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb
dpkg -i libpng12-0_1.2.54-1ubuntu1.1_amd64.deb
Have fun!