pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/arm-trusted-firmware-sun50i-h6 Use R_WDOG to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/98fb340cd5e6
branches:  trunk
changeset: 426648:98fb340cd5e6
user:      thorpej <thorpej%pkgsrc.org@localhost>
date:      Sat Apr 04 15:12:17 2020 +0000

description:
Use R_WDOG to reset H6 SoCs; some of them have non-working WDOG blocks.

diffstat:

 sysutils/arm-trusted-firmware-sun50i-h6/Makefile                                                    |   3 +-
 sysutils/arm-trusted-firmware-sun50i-h6/buildlink3.mk                                               |   4 +-
 sysutils/arm-trusted-firmware-sun50i-h6/distinfo                                                    |  11 ++++---
 sysutils/arm-trusted-firmware-sun50i-h6/patches/patch-plat_allwinner_sun50i_h6_include_sunxi_mmap.h |  15 ++++++++++
 4 files changed, 25 insertions(+), 8 deletions(-)

diffs (70 lines):

diff -r 250c31b398a7 -r 98fb340cd5e6 sysutils/arm-trusted-firmware-sun50i-h6/Makefile
--- a/sysutils/arm-trusted-firmware-sun50i-h6/Makefile  Sat Apr 04 09:31:31 2020 +0000
+++ b/sysutils/arm-trusted-firmware-sun50i-h6/Makefile  Sat Apr 04 15:12:17 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/09/29 16:26:53 tnn Exp $
+# $NetBSD: Makefile,v 1.3 2020/04/04 15:12:17 thorpej Exp $
 
 VERSION=       20180207
 GITHUB_PROJECT=        arm-trusted-firmware
@@ -6,6 +6,7 @@
 
 PKGNAME=       ${GITHUB_PROJECT}-sun50i-h6-${VERSION}
 DISTNAME=      ${PKGNAME}
+PKGREVISION=   1
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=Icenowy/}
 EXTRACT_SUFX=  .zip
diff -r 250c31b398a7 -r 98fb340cd5e6 sysutils/arm-trusted-firmware-sun50i-h6/buildlink3.mk
--- a/sysutils/arm-trusted-firmware-sun50i-h6/buildlink3.mk     Sat Apr 04 09:31:31 2020 +0000
+++ b/sysutils/arm-trusted-firmware-sun50i-h6/buildlink3.mk     Sat Apr 04 15:12:17 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2018/05/26 17:51:33 jmcneill Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2020/04/04 15:12:17 thorpej Exp $
 
 BUILDLINK_DEPMETHOD.arm-trusted-firmware-sun50i-h6?=   build
 
@@ -7,7 +7,7 @@
 .if !defined(ARM_TRUSTED_FIRMWARE_SUN50I_H6_BUILDLINK3_MK)
 ARM_TRUSTED_FIRMWARE_SUN50I_H6_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.arm-trusted-firmware-sun50i-h6+= arm-trusted-firmware-sun50i-h6>=20180207
+BUILDLINK_API_DEPENDS.arm-trusted-firmware-sun50i-h6+= arm-trusted-firmware-sun50i-h6>=20180207nb1
 BUILDLINK_PKGSRCDIR.arm-trusted-firmware-sun50i-h6?=   ../../sysutils/arm-trusted-firmware-sun50i-h6
 .endif # ARM_TRUSTED_FIRMWARE_SUN50I_H6_BUILDLINK3_MK
 
diff -r 250c31b398a7 -r 98fb340cd5e6 sysutils/arm-trusted-firmware-sun50i-h6/distinfo
--- a/sysutils/arm-trusted-firmware-sun50i-h6/distinfo  Sat Apr 04 09:31:31 2020 +0000
+++ b/sysutils/arm-trusted-firmware-sun50i-h6/distinfo  Sat Apr 04 15:12:17 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2018/05/26 17:51:33 jmcneill Exp $
+$NetBSD: distinfo,v 1.2 2020/04/04 15:12:17 thorpej Exp $
 
-SHA1 (arm-trusted-firmware-sun50i-h6-20180207-406a637162bee1f1b0c26525c3aae204aac241fa.zip) = 57cb3ee8bbcd225e3b643bc57676a85fd413e77a
-RMD160 (arm-trusted-firmware-sun50i-h6-20180207-406a637162bee1f1b0c26525c3aae204aac241fa.zip) = 60a903dfbb523ef09c9c052cbc77bcf21efe7a67
-SHA512 (arm-trusted-firmware-sun50i-h6-20180207-406a637162bee1f1b0c26525c3aae204aac241fa.zip) = 
6f9b7b27b1d449a313b7b04b400f463356018b446e6e7c3cf20f6ee9625231d39d2e1bbe35049eb2c992a7b9c1e902e69e2ffb8b207a8c7bec577eae2fe1e472
-Size (arm-trusted-firmware-sun50i-h6-20180207-406a637162bee1f1b0c26525c3aae204aac241fa.zip) = 3330975 bytes
+SHA1 (arm-trusted-firmware-sun50i-h6-20180207nb1-406a637162bee1f1b0c26525c3aae204aac241fa.zip) = 57cb3ee8bbcd225e3b643bc57676a85fd413e77a
+RMD160 (arm-trusted-firmware-sun50i-h6-20180207nb1-406a637162bee1f1b0c26525c3aae204aac241fa.zip) = 60a903dfbb523ef09c9c052cbc77bcf21efe7a67
+SHA512 (arm-trusted-firmware-sun50i-h6-20180207nb1-406a637162bee1f1b0c26525c3aae204aac241fa.zip) = 
6f9b7b27b1d449a313b7b04b400f463356018b446e6e7c3cf20f6ee9625231d39d2e1bbe35049eb2c992a7b9c1e902e69e2ffb8b207a8c7bec577eae2fe1e472
+Size (arm-trusted-firmware-sun50i-h6-20180207nb1-406a637162bee1f1b0c26525c3aae204aac241fa.zip) = 3330975 bytes
+SHA1 (patch-plat_allwinner_sun50i_h6_include_sunxi_mmap.h) = 08a603aa0fdb2c352ce50ee5644d24af71040062
diff -r 250c31b398a7 -r 98fb340cd5e6 sysutils/arm-trusted-firmware-sun50i-h6/patches/patch-plat_allwinner_sun50i_h6_include_sunxi_mmap.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/arm-trusted-firmware-sun50i-h6/patches/patch-plat_allwinner_sun50i_h6_include_sunxi_mmap.h       Sat Apr 04 15:12:17 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-plat_allwinner_sun50i_h6_include_sunxi_mmap.h,v 1.1 2020/04/04 15:12:17 thorpej Exp $
+
+Work around broken H6 WDOG reset.
+
+--- plat/allwinner/sun50i_h6/include/sunxi_mmap.h.orig 2020-03-26 22:13:21.000000000 +0000
++++ plat/allwinner/sun50i_h6/include/sunxi_mmap.h
+@@ -65,4 +65,8 @@
+ #define SUNXI_R_UART_BASE             0x07080000
+ #define SUNXI_R_PIO_BASE              0x07022000
+ 
++/* Work around broken H6 WDOG reset. */
++#undef SUNXI_WDOG_BASE
++#define SUNXI_WDOG_BASE                       SUNXI_R_WDOG_BASE
++
+ #endif /* __SUNXI_MMAP_H__ */



Home | Main Index | Thread Index | Old Index