Cubieboard4-Linux-Sdk-Guide.pdf

(321 KB) Pobierz
      
           Cubieboard4
Linux Sdk Guide
       
                                  
TF BOOT & TF WRITE EMMC
 
Website:http://cubieboard.org/
Support:
support@cubietech.com
Version
V-0.1-20141226
V-1.0-20150113
V2.0-20150205
V2.1-20150303
Author
A.K
A.K
A.K
A.K
Modification
Init version
Release 1.0
Add Patition card step
Check Flash Emmc
Check
Cubieboard4 Linux Sdk Guide
 
 
2
Table of Contents
1.Hardware requirements....................................................................................................................4
2.Software requirements .....................................................................................................................4
3.Cross-compilation environment set up ............................................................................................4
4.Access to the source code ................................................................................................................5
5.Check you repo ................................................................................................................................6
6.Inserting tf card into pc ...................................................................................................................6
7.Compilation .....................................................................................................................................6
7.1.Choose pruduct to compile.......................................................................................................6
7.2.Compilation .............................................................................................................................7
7.3.Tf card boot .............................................................................................................................7
7.4.Emmc card boot .......................................................................................................................8
7.4.1.Clean sdk ..........................................................................................................................8
7.4.2.Compilation.......................................................................................................................8
8.Compilation issue ............................................................................................................................8
     
Website:http://cubieboard.org/
                
Support:
support@cubietech.com
3
1. Hardware requirements
TF Card >= 4G ,class 10 suggeted
Cubieboard4 (CC-A80 )
Ubuntu12.04 PC Intel® Core™ i5-3470 CPU @ 3.20GHz × 4 Memory 8G tested
2. Software requirements
The host operating system
Ubuntu12.04 64bit
Cross-compilation environment
3. Cross-compilation environment set up
$sudo apt-get update
$sudo apt-get upgrade
$sudo apt-get install ia32-libs
$sudo apt-get install ncurses-dev
$sudo apt-get install build-essential git u-boot-tools
$sudo apt-get install texinfo texlive ccache zlib1g-dev gawk bison flex gettext uuid-dev
$sudo apt-get install build-essential u-boot-tools uboot-mkimage
$sudo apt-get install binutils-arm-linux-gnueabihf gcc-arm-linux-gnueabi gcc-arm-linux-gnueabihf
cpp-arm-linux-gnueabihf
$ sudo apt-get install libusb-1.0-0 libusb-1.0-0-dev git wget fakeroot kernel-package zlib1g-dev
libncurses5-dev
Cubieboard4 Linux Sdk Guide
 
 
4
4. Access to the source code
Build your work space
$ mkdir cb4-linux-sdk -card
$ cd cb4-linux-sdk-card
Get kernel source
$ git clone https://github.com/cubieboard/CC-A80-kernel-source
$ mv CC-A80-kernel-source
linux-3.4
(master branch)
Get products
$ git clone https://github.com/cubieboard/CC-A80-products
$ mv CC-A80-products
products
(master branch)
Get tools
$ git clone https://github.com/cubieboard/CC-A80-tools
$ mv CC-A80-tools
tools
(master branch)
Get U-boot
$ git clone https://github.com/cubieboard/CC-A80-binaries
$ mv CC-A80-binaries
binaries
(master branch)
Get rootfs
$ git clone https://github.com/cubieboard/CC-A80-rootfs.git
$ mv CC-A80-rootfs
rootfs
(master branch)
This is a indexes to rootfs at:
http://dl.cubieboard.org/model/cc-a80/Source/commom/linux-sdk-rootfs/
This is a readme txt for the repo :
http://dl.cubieboard.org/model/cc-a80/Source/commom/linux-sdk-rootfs/README.txt
     
Website:http://cubieboard.org/
                
Support:
support@cubietech.com
5
Zgłoś jeśli naruszono regulamin