hc
2023-05-26 a23f51ed7a39e452c1037343a84d7db1ca2c5bd7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
ODROID-C2
 
Intro
=====
To be able to use ODROID-C2 board with the images generated by
Buildroot, you have to prepare the SDCard or eMMC.
 
How to build it
===============
 
  $ make odroidc2_defconfig
 
Then you can edit the build options using
 
  $ make menuconfig
 
Compile all and build rootfs image:
 
  $ make
 
Note: you will need to have access to the network, since Buildroot will
download the packages' sources.
 
Result of the build
-------------------
 
After building, you should obtain this tree:
 
    output/images/
    +-- Image
    +-- boot.ini                   [1]
    +-- boot.vfat
    +-- meson64_odroidc2.dtb
    +-- rootfs.ext2
    +-- rootfs.ext4
    +-- rootfs.tar
    +-- sdcard.img
    `-- u-boot.bin
 
[1] This is the ODROID-C2 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":
 
  $ sudo dd if=output/images/sdcard.img of=/dev/sdX
 
Insert the SDcard into your ODROID-C2, and power it up. Your new system
should come up now.