DKMS介绍:
DKMS(Dynamic Kernel Module Support)是DELL的一个项目,主页在http://linux.dell.com/projects.shtml
DKMS为整个社区加快了驱动程序的开发、测试和检验,也便于用户安装所需的驱动程序。
DKMS的目的是让依赖内核的模块源码独立出来以便升级内核时候可以容易地重新建立。这也使得Linux驱程编写人员能够尽快的提供他们的驱动而不用等待新版本的Linux内核发布,同时也打消了用户对模块能否在新内核上面重新编译的疑虑。
DKMs以文件的形式存储并能在系统运行过程中动态地加载和卸载。
android 编译,及烧写
出处:
http://linux-sunxi.org/Android
1)repo init -u https://github.com/matson-hall/manifest.git -b ics-cubieboard repo sync
2)build android
source build/envsetup.sh lunch 4 # option 4 is cubieboard-eng make -j4 # there maybe errors like to ask you "make update-api"
3)Create the install image:
chmod +x ./tools/pack-cm.sh ./tools/pack-cm.sh
You will see:
---------image is at------------- /home/username/cubie/allwinner-pack-tools/pack/sun4i_linux_cubieboard.img
安装LiveSuit驱动 on ubuntu Linux (64bit)
sudo apt-get install dkms git clone https://github.com/matson-hall/allwinner-pack-tools.git -b cubieboard unzip allwinner-pack-tools/tools/Livesuit-linux.zip chmod +x LiveSuit_For_Linux64/LiveSuit.run ./LiveSuit_For_Linux64/LiveSuit.run #livesuit will be installed to ~/Bin
Flash nand flash on your board
sudo ~/Bin/LiveSuit/LiveSuit.sh #run livesuit
1) Livesuit GUI will start
2) Choose the image we built just now (sun4i_linux_cubieboard.img)
3) Disconnect all power to board, connect USB cable to board side, but not computer, then hold down "usb boot" button on your board, and plug in USB to computer -- a new device should be detected. If using a virtual machine you may need to modify your .vmx file to include the "skip reset usb-quirk" option. Instead of this method, you can follow the instructions to get intoFEL mode.
4) It should ask to format the partition first, say yes.
5) You should see the progress bar increasing.
6) flashing should complete in about 3-4 minutes
保留
待更新