1*4882a593SmuzhiyunODROID-C2 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunIntro 4*4882a593Smuzhiyun===== 5*4882a593SmuzhiyunTo be able to use ODROID-C2 board with the images generated by 6*4882a593SmuzhiyunBuildroot, you have to prepare the SDCard or eMMC. 7*4882a593Smuzhiyun 8*4882a593SmuzhiyunHow to build it 9*4882a593Smuzhiyun=============== 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun $ make odroidc2_defconfig 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunThen you can edit the build options using 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun $ make menuconfig 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunCompile all and build rootfs image: 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun $ make 20*4882a593Smuzhiyun 21*4882a593SmuzhiyunNote: you will need to have access to the network, since Buildroot will 22*4882a593Smuzhiyundownload the packages' sources. 23*4882a593Smuzhiyun 24*4882a593SmuzhiyunResult of the build 25*4882a593Smuzhiyun------------------- 26*4882a593Smuzhiyun 27*4882a593SmuzhiyunAfter building, you should obtain this tree: 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun output/images/ 30*4882a593Smuzhiyun +-- bl1.bin.hardkernel 31*4882a593Smuzhiyun +-- bl2.package 32*4882a593Smuzhiyun +-- bl301.bin 33*4882a593Smuzhiyun +-- bl30.bin 34*4882a593Smuzhiyun +-- bl31.bin 35*4882a593Smuzhiyun +-- boot_new.bin 36*4882a593Smuzhiyun +-- boot.scr [1] 37*4882a593Smuzhiyun +-- boot.vfat 38*4882a593Smuzhiyun +-- fip.bin 39*4882a593Smuzhiyun +-- Image [2] 40*4882a593Smuzhiyun +-- meson-gxbb-odroidc2.dtb 41*4882a593Smuzhiyun +-- rootfs.ext2 42*4882a593Smuzhiyun +-- rootfs.ext4 43*4882a593Smuzhiyun +-- rootfs.tar 44*4882a593Smuzhiyun +-- sdcard.img 45*4882a593Smuzhiyun +-- u-boot.bin 46*4882a593Smuzhiyun +-- u-boot.img 47*4882a593Smuzhiyun +-- uboot-odc2.img [3] 48*4882a593Smuzhiyun 49*4882a593Smuzhiyun[1] This is the ODROID-C2 configuration file used in u-boot. 50*4882a593Smuzhiyun[2] This is the ODROID-C2 kernel image file which will be booted. 51*4882a593Smuzhiyun[3] This is the ODROID-C2 signed u-boot image which will be used. 52*4882a593Smuzhiyun 53*4882a593SmuzhiyunHow to write the SD card or eMMC 54*4882a593Smuzhiyun================================ 55*4882a593Smuzhiyun 56*4882a593SmuzhiyunOnce the build process is finished you will have an image called "sdcard.img" 57*4882a593Smuzhiyunin the output/images/ directory. 58*4882a593Smuzhiyun 59*4882a593SmuzhiyunCopy the bootable "sdcard.img" onto an SD card or eMMC with "dd": 60*4882a593Smuzhiyun 61*4882a593Smuzhiyun $ sudo dd if=output/images/sdcard.img of=/dev/sdX 62*4882a593Smuzhiyun 63*4882a593SmuzhiyunInsert the SDcard into your ODROID-C2, and power it up. Your new system 64*4882a593Smuzhiyunshould come up now. 65