update to U-Boot 2017.09

This commit is contained in:
jsg 2017-09-12 05:42:17 +00:00
parent 35f278da91
commit aafe966499
10 changed files with 4 additions and 134 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.27 2017/09/05 02:14:57 jsg Exp $
# $OpenBSD: Makefile,v 1.28 2017/09/12 05:42:17 jsg Exp $
BROKEN-sparc64= Error: the specified option is not accepted in ISB at operand 1 -- isb sy
@ -6,7 +6,7 @@ FLAVORS= aarch64 arm
FLAVOR?= arm
COMMENT= U-Boot firmware
VERSION= 2017.09-rc4
VERSION= 2017.09
DISTNAME= u-boot-${VERSION}
PKGNAME= u-boot-${FLAVOR}-${VERSION:S/-//}
FULLPKGNAME= ${PKGNAME}

View File

@ -1,2 +1,2 @@
SHA256 (u-boot-2017.09-rc4.tar.bz2) = 8+IjQmzHuNCowEejXFQaenAq/h1vU8aUbDzZ9u0qxW4=
SIZE (u-boot-2017.09-rc4.tar.bz2) = 11432372
SHA256 (u-boot-2017.09.tar.bz2) = stFfLPX3LnBgJc3nPWckfG2ozTX34QiR7v59kJUIl0Q=
SIZE (u-boot-2017.09.tar.bz2) = 11434323

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-configs_rpi_2_defconfig,v 1.3 2017/08/29 07:14:50 jsg Exp $
revert 25877d4e4c45451c5398aec3de50e0d5befe0e9f
Index: configs/rpi_2_defconfig
--- configs/rpi_2_defconfig.orig
+++ configs/rpi_2_defconfig
@@ -11,6 +11,7 @@ CONFIG_SYS_PROMPT="U-Boot> "
# CONFIG_CMD_FLASH is not set
# CONFIG_CMD_FPGA is not set
CONFIG_CMD_GPIO=y
+CONFIG_OF_EMBED=y
CONFIG_CMD_MMC=y
CONFIG_CMD_USB=y
CONFIG_ENV_FAT_INTERFACE="mmc"

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-configs_rpi_3_32b_defconfig,v 1.3 2017/08/29 07:14:50 jsg Exp $
revert 25877d4e4c45451c5398aec3de50e0d5befe0e9f
Index: configs/rpi_3_32b_defconfig
--- configs/rpi_3_32b_defconfig.orig
+++ configs/rpi_3_32b_defconfig
@@ -12,6 +12,7 @@ CONFIG_SYS_PROMPT="U-Boot> "
# CONFIG_CMD_FLASH is not set
# CONFIG_CMD_FPGA is not set
CONFIG_CMD_GPIO=y
+CONFIG_OF_EMBED=y
CONFIG_CMD_MMC=y
CONFIG_CMD_USB=y
CONFIG_ENV_FAT_INTERFACE="mmc"

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-configs_rpi_3_defconfig,v 1.3 2017/08/29 07:14:50 jsg Exp $
revert 25877d4e4c45451c5398aec3de50e0d5befe0e9f
Index: configs/rpi_3_defconfig
--- configs/rpi_3_defconfig.orig
+++ configs/rpi_3_defconfig
@@ -12,6 +12,7 @@ CONFIG_SYS_PROMPT="U-Boot> "
# CONFIG_CMD_FLASH is not set
# CONFIG_CMD_FPGA is not set
CONFIG_CMD_GPIO=y
+CONFIG_OF_EMBED=y
CONFIG_CMD_MMC=y
CONFIG_CMD_USB=y
CONFIG_ENV_FAT_INTERFACE="mmc"

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-configs_rpi_defconfig,v 1.3 2017/08/29 07:14:50 jsg Exp $
revert 25877d4e4c45451c5398aec3de50e0d5befe0e9f
Index: configs/rpi_defconfig
--- configs/rpi_defconfig.orig
+++ configs/rpi_defconfig
@@ -11,6 +11,7 @@ CONFIG_SYS_PROMPT="U-Boot> "
# CONFIG_CMD_FLASH is not set
# CONFIG_CMD_FPGA is not set
CONFIG_CMD_GPIO=y
+CONFIG_OF_EMBED=y
CONFIG_CMD_MMC=y
CONFIG_CMD_USB=y
CONFIG_ENV_FAT_INTERFACE="mmc"

View File

@ -1,18 +0,0 @@
$OpenBSD: patch-lib_bch_c,v 1.3 2017/09/05 02:14:57 jsg Exp $
POSIX errno OpenBSD doesn't have yet.
Index: lib/bch.c
--- lib/bch.c.orig
+++ lib/bch.c
@@ -99,6 +99,10 @@
#define dbg(_fmt, args...) do {} while (0)
#endif
+#ifndef EBADMSG
+#define EBADMSG ECONNREFUSED
+#endif
+
/*
* represent a polynomial over GF(2^m)
*/

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-tools_kwbimage_c,v 1.1 2017/08/24 08:53:02 patrick Exp $
Index: tools/kwbimage.c
--- tools/kwbimage.c.orig
+++ tools/kwbimage.c
@@ -17,6 +17,10 @@
#include <stdint.h>
#include "kwbimage.h"
+#ifndef EPROTO
+#define EPROTO EIO
+#endif
+
#ifdef CONFIG_KWB_SECURE
#include <openssl/bn.h>
#include <openssl/rsa.h>

View File

@ -1,18 +0,0 @@
$OpenBSD: patch-tools_kwboot_c,v 1.1.1.1 2016/05/29 01:35:33 jsg Exp $
--- tools/kwboot.c.orig Sat Mar 26 23:43:37 2016
+++ tools/kwboot.c Sat Mar 26 23:47:40 2016
@@ -32,6 +32,14 @@
#define PACKED
#endif
+#ifndef EPROTO
+#define EPROTO EIO
+#endif
+
+#ifndef EBADMSG
+#define EBADMSG ECONNREFUSED
+#endif
+
/*
* Marvell BootROM UART Sensing
*/

View File

@ -1,18 +0,0 @@
$OpenBSD: patch-tools_rkcommon_c,v 1.1 2017/07/30 05:53:03 jsg Exp $
POSIX errno OpenBSD lacks
Index: tools/rkcommon.c
--- tools/rkcommon.c.orig
+++ tools/rkcommon.c
@@ -17,6 +17,10 @@
#define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
+#ifndef EPROTO
+#define EPROTO EIO
+#endif
+
enum {
RK_SIGNATURE = 0x0ff0aa55,
};