Cubieboard/Building Jellybean

From linux-sunxi.org
Jump to navigation Jump to search

Instruction to build jellybean for cubieboard

Download the source code

$ mkdir openbox && cd openbox
$ repo init --no-repo-verify -u git://github.com/cubieboard/manifests -b cb -m openbox.xml  
$ repo sync

or see https://github.com/cubieboard/manifests for up-to-date instructions.

Note: you may need to edit manifest.xml after this to say git:// instead of https://. Http downloads from github tend to fail.

Start to build

On 64bit system you need 32bit build environment.

You will need g++-4.4

g++-4.7 is too new at this moment.

You will need lib32z1 (x86 32bit libz.so.1) - the prebuilt android tools are linked with it but it is not included in the repo.

$source build/envsetup.sh
$lunch 4
$make

http://linux-sunxi.org/Cubieboard

Generate firmware image

 $tools/pack-cm.sh

Known Issues

  • Ethernet is not supported currently

See also