Mainline UBoot on the ASUS Tinker Board

Updated 31/03/2017

The ASUS Tinker board can boot mainline u-boot. As the board doesn’t feature any on-board storage such as eMMC or Flash, the u-boot binaries must be written to the uSD card.

First clone, checkout u-boot, I’ve chosen a tested working commit.

$ git clone git://git.denx.de/u-boot.git u-boot.git

$ cd u-boot.git

$ git checkout 5cf618ee60a752d058a767372ca1ecb8d9c09b16  

If you’re cross compiling, ensure you have your CROSS_COMPILE environment variable set correctly, then proceed to compile.

$ echo ${CROSS_COMPILE}
$ arm-oe-linux-gnueabi-

$ make tinker-rk3288_defconfig
$ make -j4

Once this has sucessfully built the binaries they must be built into a Rockchip compatible format.

$ ./tools/mkimage -n rk3288 -T rksd -d spl/u-boot-spl-dtb.bin out
$ cat u-boot-dtb.bin >> out

We can then flash the resulting image to the uSD card.

$ dd if=out of=/dev/sdc seek=64

If you have the serial connected to your Tinker board you should now see your newly compiled u-boot prompt. UART2 on pins 32 and 33 is the default UART on mainline u-boot.

U-Boot SPL 2017.03-00270-g5cf618ee60-dirty (Mar 31 2017 - 15:28:25)


U-Boot 2017.03-00270-g5cf618ee60-dirty (Mar 31 2017 - 15:28:25 +0100)

Model: Tinker-RK3288
DRAM:  2 GiB
MMC:   dwmmc@ff0c0000: 1
comments powered by Disqus