This shows you the differences between two versions of the page.
tutorials:cb1:installation:instruction_to_build_openbox_android_4.0.4_tb-box_system_for_cubieboard [2014/09/19 16:57] parker [From Github] |
tutorials:cb1:installation:instruction_to_build_openbox_android_4.0.4_tb-box_system_for_cubieboard [2014/09/19 17:10] (current) parker [All-In-One Tarball] |
||
---|---|---|---|
Line 15: | Line 15: | ||
===== Getting Source Code ===== | ===== Getting Source Code ===== | ||
- | 2 ways to get the source code | ||
- | ==== All-In-One Tarball ==== | + | All-In-One Tarball |
- | mkdir -p ~/android/build/Cubieboard | + | $mkdir -p ~/android/build/Cubieboard |
- | cd ~/android/build/Cubieboard/ | + | $cd ~/android/build/Cubieboard/ |
- | wget http://dl.cubieboard.org/software/a10-cubieboard/android/cubieboard_opentv.tar.gz | + | $wget http://dl.cubieboard.org/software/a10-cubieboard/android/cubieboard_opentv.tar.gz |
Now we will check that cubieboard_opentv.tar.gz match what used by that document: | Now we will check that cubieboard_opentv.tar.gz match what used by that document: | ||
- | md5sum cubieboard_opentv.tar.gz | + | $md5sum cubieboard_opentv.tar.gz |
- | $ -> d36631c98f30ebc0f43eeafeba8201ec cubieboard_opentv.tar.gz | + | $ -> d36631c98f30ebc0f43eeafeba8201ec cubieboard_opentv.tar.gz //The print information |
- | tar -zxf cubieboard_opentv.tar.gz | + | $tar -zxf cubieboard_opentv.tar.gz |
- | cd cubieboard-tv-sdk/ | + | $cd cubieboard-tv-sdk/ |
A this point is necessary to fix a but in cubieboard_opentv script and precisely to following file: | A this point is necessary to fix a but in cubieboard_opentv script and precisely to following file: | ||
- | nano frameworks/base/media/libstagefright/Android.mk | + | $vim frameworks/base/media/libstagefright/Android.mk |
search LOCAL_STATIC_LIBRARIES and add to list: libstagefright_rtsp \ so you get: | search LOCAL_STATIC_LIBRARIES and add to list: libstagefright_rtsp \ so you get: | ||
Line 59: | Line 58: | ||
$source build/envsetup.sh | $source build/envsetup.sh | ||
- | $lunch 4 (note: select cubieboard option) | + | $lunch |
+ | $4 //note: select cubieboard option | ||
$make -j4 | $make -j4 | ||
- | $tools/pack-cm.sh (note: this will generate the final image suitable for livesuit tool) | + | $tools/pack-cm.sh //note: this will generate the final image suitable for livesuit tool |
=====Install LiveSuit on Linux (64bit)===== | =====Install LiveSuit on Linux (64bit)===== | ||
- | sudo apt-get install dkms | + | $sudo apt-get install dkms |
- | git clone https://github.com/matson-hall/allwinner-pack-tools.git -b cubieboard | + | $git clone https://github.com/matson-hall/allwinner-pack-tools.git -b cubieboard |
- | unzip allwinner-pack-tools/tools/Livesuit-linux.zip | + | $unzip allwinner-pack-tools/tools/Livesuit-linux.zip |
- | chmod +x LiveSuit_For_Linux64/LiveSuit.run | + | $chmod +x LiveSuit_For_Linux64/LiveSuit.run |
- | ./LiveSuit_For_Linux64/LiveSuit.run #livesuit will be installed to ~/Bin | + | $./LiveSuit_For_Linux64/LiveSuit.run //livesuit will be installed to ~/Bin |
=====Flash nand flash on your board===== | =====Flash nand flash on your board===== | ||
- | sudo ~/Bin/LiveSuit/LiveSuit.sh #run livesuit | + | $sudo ~/Bin/LiveSuit/LiveSuit.sh //run livesuit |
- Livesuit GUI will start | - Livesuit GUI will start |