--- u-boot-master.diff 2020-11-22 22:08:08.994086000 +0100 +++ u-boot-tinker.diff 2020-11-22 22:03:18.667555000 +0100 @@ -1,15 +1,24 @@ -diff -urN u-boot-master.orig/Makefile u-boot-master/Makefile ---- u-boot-master.orig/Makefile 2020-11-22 22:08:02.483997000 +0100 -+++ u-boot-master/Makefile 2020-11-22 21:46:17.044860000 +0100 -@@ -89,6 +89,11 @@ - UBOOT_METADATA_IMX6_RAW_OFFSET= 2 - UBOOT_METADATA_IMX6_RAW_BS= 512 - -+# Override for RK3288 family -+UBOOT_PLIST_RK3288= idbloader.img u-boot.img -+UBOOT_ARCH_RK3288= arm -+UBOOT_METADATA_RK3288_FILES= ${WRKSRC}/spl/u-boot-spl.bin +diff -urN u-boot-tinker.orig/Makefile u-boot-tinker/Makefile +--- u-boot-tinker.orig/Makefile 1970-01-01 01:00:00.000000000 +0100 ++++ u-boot-tinker/Makefile 2020-11-22 20:38:16.496454000 +0100 +@@ -0,0 +1,9 @@ ++# $FreeBSD$ + - # Override for RK3328 family - UBOOT_PLIST_RK3328= idbloader.img u-boot.itb - UBOOT_ARCH_RK3328= aarch64 ++MASTERDIR= ${.CURDIR}/../u-boot-master ++ ++MODEL= tinker ++BOARD_CONFIG= tinker-rk3288_defconfig ++FAMILY= rk3288 ++ ++.include "${MASTERDIR}/Makefile" +diff -urN u-boot-tinker.orig/pkg-descr u-boot-tinker/pkg-descr +--- u-boot-tinker.orig/pkg-descr 1970-01-01 01:00:00.000000000 +0100 ++++ u-boot-tinker/pkg-descr 2020-11-22 20:39:10.658421000 +0100 +@@ -0,0 +1,7 @@ ++U-Boot loader for Tinker Board ++ ++To install this bootloader on an sdcard just do: ++dd if=/usr/local/share/u-boot/u-boot-tinker/idbloader.img of=/path/to/sdcarddevice seek=64 bs=512 conv=sync ++dd if=/usr/local/share/u-boot/u-boot-tinker/u-boot.img of=/path/to/sdcarddevice seek=16384 bs=512 conv=sync ++ ++WWW: https://www.denx.de/wiki/U-Boot