androidAtCubieborad

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






保留
待更新

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值