View | Details | Raw Unified | Return to bug 251298 | Differences between
and this patch

Collapse All | Expand All

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

Return to bug 251298