How to change U-boot configuration by BOOT.INI
In order to support easy boot loader setup, ODROID-C2 also support boot.ini as previous ODROID boards. So you can easily list up the commands what you want to executed in U-boot rather than the default. Here is the example to boot Ubuntu.
You can download the file below and copy into your FAT partition.
Android boot.ini example
Linux boot.ini example
Board Identifier
This is the keyword to identify the correct BOOT.INI as per board. For ODROID-C2, any BOOT.INI must contain ODROIDC2-UBOOT-CONFIG and other commands must be below this.
U-boot commands
You can describe multiple commands of U-boot from the next line of ODROIDC2-UBOOT-CONFIG. The commands are only restricted within the commands enabled by the running U-boot.