There are two HW revision of ODROID-GO Advance (rev1.0) and ODORID-GO Advance Black Edition (rev1.1).
Please check the following wiki page for a automatic detection logic.
HW revision detection of OGA and OGA-BE

Required packages

Before building kernel for Odroid Go advance on Ubuntu desktop, you need to install the required packages as follows.

$ sudo apt-get update &&\
sudo apt-get install -y git lzop build-essential gcc \
    bc libncurses5-dev libc6-i386 lib32stdc++6 zlib1g:i386

Toolchain (6.3.1)

Download toolchain and extract the tarball to /opt/toolchains/.

$ sudo mkdir -p /opt/toolchains &&\
wget &&\
sudo tar Jxvf gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu.tar.xz -C /opt/toolchains/

To set up information for compilation, paste below lines to $HOME/.bashrc.

export ARCH=arm64
export CROSS_COMPILE=aarch64-linux-gnu-
export PATH=/opt/toolchains/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/:$PATH

Execute the below command to apply the setting.

$ source ~/.bashrc

Check the toolchain version to confirm compatibility.

$ aarch64-linux-gnu-gcc -v
gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02)

Cloning kernel from Git

$ git clone -b odroidgoA-4.4.y

Building kernel

$ cd linux &&\
make odroidgo2_defconfig

If memory and disk size are enough and it has no other tasks, run 'make -j $(expr $(expr $(nproc) \* 6) \/ 5)' instead of 'make' for quick compilation.

$ make [-j4]

Once kernel build is done, you will have Image and dtb files as following.

$ ls arch/arm64/boot/Image
  • rk3326-odroidgo2-linux.dtb : dtb for OGA rev1.0
  • rk3326-odroidgo2-linux-v11.dtb : dtb for OGA-BE, rev1.1
$ ls arch/arm64/boot/dts/rockchip/rk3326-odroidgo2*.dtb 


This explanation assume that your USB memory CARD reader is assigned at /dev/sdc.
Please check the actual node carefully on your PC environment.

1. Plug the Boot-Device(eMMC or SD) into the USB memory CARD reader and Connect the USB memory CARD reader to your HOST PC(Linux OS).

2. Copy the Image and DT(rk3326-odroidgo2-linux.dtb & rk3326-odroidgo2-linux-v11.dtb) to the FAT partition(1st partition) in the Boot-Device.

$ mkdir -p mount
$ sudo mount /dev/sdc1 ./mount
$ sudo cp arch/arm64/boot/Image arch/arm64/boot/dts/rockchip/rk3326-odroidgo2-linux*.dtb ./mount && sync && sudo umount ./mount

3. Copy the driver modules to the EXT4 partition(2nd partition) in the Boot-Device.

$ sudo mount /dev/sdc2 ./mount
$ sudo make modules_install ARCH=arm64 INSTALL_MOD_PATH=./mount && sync && sudo umount ./mount
$ rm -rf mount

To detect HW revision automatically with a single OS image, the latest u-boot version has a detection logic using hwrev environment.

  • hwrev 'v10' : ODROID-GO Advance 1st version (rev 1.0)
  • hwrev 'v11' : ODROID-GO Advance Black Edition (rev 1.1)


If you want to customize u-boot code, please use the u-boot code released after May 20, 2020.
The newer commits after the following commit should be included.

boot.ini sample

And here is a sample of boot.ini.

if test ${hwrev} = 'v11'; then
load mmc 1:1 ${dtb_loadaddr} rk3326-odroidgo2-linux-v11.dtb
load mmc 1:1 ${dtb_loadaddr} rk3326-odroidgo2-linux.dtb

Base OS Image

The Ubuntu 20.04 ES Image (OS Image, v1.2) includes the logic of u-boot and boot.ini.
Please use Ubuntu 20.04 ES Image if you use OGA-BE model.

If you use Ubuntu 19.10 ES Image (OS Image, v1.1), please run the following commands to update u-boot, boot.ini and kernel packages.

$ sudo apt update
$ sudo apt install uboot
$ sudo apt install bootini
$ sudo apt upgrade -y
$ sudo reboot