| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| rootfs_overlay/etc/init.d/ | H | 05-Jun-2025 | - | 24 | 19 | |
| boot.cmd | H A D | 05-Jun-2025 | 375 | 12 | 9 | |
| genimage.cfg | H A D | 05-Jun-2025 | 514 | 40 | 33 | |
| post-image.sh | H A D | 05-Jun-2025 | 611 | 22 | 13 | |
| readme.txt | H A D | 05-Jun-2025 | 1.5 KiB | 65 | 47 |
readme.txt
1ODROID-C2 2 3Intro 4===== 5To be able to use ODROID-C2 board with the images generated by 6Buildroot, you have to prepare the SDCard or eMMC. 7 8How to build it 9=============== 10 11 $ make odroidc2_defconfig 12 13Then you can edit the build options using 14 15 $ make menuconfig 16 17Compile all and build rootfs image: 18 19 $ make 20 21Note: you will need to have access to the network, since Buildroot will 22download the packages' sources. 23 24Result of the build 25------------------- 26 27After building, you should obtain this tree: 28 29 output/images/ 30 +-- bl1.bin.hardkernel 31 +-- bl2.package 32 +-- bl301.bin 33 +-- bl30.bin 34 +-- bl31.bin 35 +-- boot_new.bin 36 +-- boot.scr [1] 37 +-- boot.vfat 38 +-- fip.bin 39 +-- Image [2] 40 +-- meson-gxbb-odroidc2.dtb 41 +-- rootfs.ext2 42 +-- rootfs.ext4 43 +-- rootfs.tar 44 +-- sdcard.img 45 +-- u-boot.bin 46 +-- u-boot.img 47 +-- uboot-odc2.img [3] 48 49[1] This is the ODROID-C2 configuration file used in u-boot. 50[2] This is the ODROID-C2 kernel image file which will be booted. 51[3] This is the ODROID-C2 signed u-boot image which will be used. 52 53How to write the SD card or eMMC 54================================ 55 56Once the build process is finished you will have an image called "sdcard.img" 57in the output/images/ directory. 58 59Copy the bootable "sdcard.img" onto an SD card or eMMC with "dd": 60 61 $ sudo dd if=output/images/sdcard.img of=/dev/sdX 62 63Insert the SDcard into your ODROID-C2, and power it up. Your new system 64should come up now. 65