To be able to use ODROID-C1+/C0 board with the images generated by Buildroot, you have to prepare the SDCard or eMMC.
Getting the buildroot for ODROID-C1+/C0
Code: Select all
$ git clone --depth 1 https://github.com/hardkernel/buildroot.git
Code: Select all
$ wget http://releases.linaro.org/archive/14.09/components/toolchain/binaries/gcc-linaro-arm-none-eabi-4.9-2014.09_linux.tar.xz
$ sudo tar Jxvf gcc-linaro-arm-none-eabi-4.9-2014.09_linux.tar.xz -C /opt/toolchains/
$ export ARCH=arm
$ export CROSS_COMPILE=arm-none-eabi-
$ export PATH=/opt/toolchains/gcc-linaro-arm-none-eabi-4.9-2014.09_linux/bin/:$PATH
Code: Select all
$ cd buildroot
$ make odroidc1_defconfig
Code: Select all
$ make menuconfig
Code: Select all
$ make
Result of the build
After building, you should obtain this tree:
output/images/
+-- Image
+-- boot.ini [1]
+-- boot.vfat
+-- meson8b_odroidc.dtb
+-- rootfs.ext2
+-- rootfs.ext4
+-- rootfs.tar
+-- sdcard.img
+-- bl1.bin.hardkernel
+-- sd_fusing.sh
`-- u-boot.bin
[1] This is the ODROID-C1+/C0 configuration file used in u-boot.
How to write the SD card or eMMC
Once the build process is finished you will have an image called "sdcard.img" in the output/images/ directory.
Copy the bootable "sdcard.img" onto an SD card or eMMC with "dd":
Code: Select all
$ sudo dd if=output/images/sdcard.img of=/dev/sdX conv=fsync
2016.12 Release
Changes since 2016.11
* ODROID-C1+/C0 support
* Some changes for c2play package
Appendix A: c2play command line video player
This appendix demonstrates how to use c2play. ( For non-X platforms only )
Code: Select all
Usage: c2play <media file>
* Youtube demo: https://youtu.be/rocCTcPPBO0
Appendix B: Appendix B: Mali and QT5 Test Procedures
* Mali examples: ( For non-X platforms only )
There are a couple Mali execution examples under /usr/share/arm/OpenGL-ES-2.0
Code: Select all
# cd /usr/share/arm/opengles_20/cube
# ./cube
QT5 demos are located under /usr/lib/qt/examples
Code: Select all
# cd /usr/lib/qt/examples/widgets/animation/animatedtiles
# ./animatedtiles
# cd /usr/lib/qt/examples/gui/openglwindow
# ./openglwindow
Buildroot for ODROID-C2