summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2019-09-05 16:09:09 +0000
committerbouyer <bouyer@pkgsrc.org>2019-09-05 16:09:09 +0000
commit28667bd8ce57cfd33e9055840e79581475cd245a (patch)
tree87ff038336006e41e842a896b43925cbfd8563a0 /sysutils
parent99325aafb8354e937a30ac4997a74d75a622db1c (diff)
downloadpkgsrc-28667bd8ce57cfd33e9055840e79581475cd245a.tar.gz
Newer lime2-emmc boards have a SPI NOR flash as they can't boot directly from
the emmc. So add CONFIG_SPL_SPI_SUNXI=yes to the A20-OLinuXino-Lime2-eMMC_defconfig file. Bump PKGREVISION for u-boot-a20-olinuxino-lime2-emmc.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/u-boot-a20-olinuxino-lime2-emmc/Makefile4
-rw-r--r--sysutils/u-boot/distinfo4
-rw-r--r--sysutils/u-boot/patches/patch-configs_A20-OLinuXino-Lime2-eMMC_defconfig14
3 files changed, 14 insertions, 8 deletions
diff --git a/sysutils/u-boot-a20-olinuxino-lime2-emmc/Makefile b/sysutils/u-boot-a20-olinuxino-lime2-emmc/Makefile
index facc226cc76..3fdcf97f514 100644
--- a/sysutils/u-boot-a20-olinuxino-lime2-emmc/Makefile
+++ b/sysutils/u-boot-a20-olinuxino-lime2-emmc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2019/07/18 19:18:33 bouyer Exp $
+# $NetBSD: Makefile,v 1.3 2019/09/05 16:09:09 bouyer Exp $
UBOOT_TARGET= a20-olinuxino-lime2-emmc
UBOOT_CONFIG= A20-OLinuXino-Lime2-eMMC_defconfig
@@ -6,6 +6,6 @@ UBOOT_BIN= u-boot-sunxi-with-spl.bin
UBOOT_INSTALLBOOT_PLIST=installboot.plist
-PKGREVISION= 1
+PKGREVISION= 2
.include "../../sysutils/u-boot/u-boot-arm.mk"
diff --git a/sysutils/u-boot/distinfo b/sysutils/u-boot/distinfo
index 79a7d9dfe1d..0fc566200ea 100644
--- a/sysutils/u-boot/distinfo
+++ b/sysutils/u-boot/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.24 2019/07/18 19:18:33 bouyer Exp $
+$NetBSD: distinfo,v 1.25 2019/09/05 16:09:09 bouyer Exp $
SHA1 (u-boot-2018.11.tar.bz2) = e58e86c633ad3e2613196e0c0b0a7760ae5966d6
RMD160 (u-boot-2018.11.tar.bz2) = f63c67750951d0e2883935a5d4cc3252f51a5453
@@ -9,7 +9,7 @@ SHA1 (patch-arch_arm_cpu_armv8_Kconfig) = 63cbbf2e3cebd46793fc03cc8e62297f6dc01a
SHA1 (patch-arch_arm_dts_Makefile) = 184fdb8b04b25c0c827823779874306ce1bc746d
SHA1 (patch-arch_arm_dts_sun8i-h2-plus-bananapi-m2-zero.dts) = aaa530a5f520eea0cb5dcece0b730e23db59eb40
SHA1 (patch-arch_arm_dts_sun8i-h2-plus-bananapi-p2-zero.dts) = 8c78d0e0877aa9784fa209af2e16e80cb1110364
-SHA1 (patch-configs_A20-OLinuXino-Lime2-eMMC_defconfig) = 38cbe5607bed15ed63ec48be51bc075ec5efde87
+SHA1 (patch-configs_A20-OLinuXino-Lime2-eMMC_defconfig) = 425ae3a82ce9006dbd734f41f7d49bb3587b1493
SHA1 (patch-configs_A20-OLinuXino-Lime2_defconfig) = 9eecb0a44ec9ddda2425b042c219f59ba546a494
SHA1 (patch-configs_bananapi_m2_zero_defconfig) = 5e4baef63f0e51cb8c94a1dc0c0e50ecb016807d
SHA1 (patch-configs_bananapi_p2_zero_defconfig) = 6468b3246cbf35d10320c8a974fc06b794ae68dc
diff --git a/sysutils/u-boot/patches/patch-configs_A20-OLinuXino-Lime2-eMMC_defconfig b/sysutils/u-boot/patches/patch-configs_A20-OLinuXino-Lime2-eMMC_defconfig
index d17be153b12..857c075e514 100644
--- a/sysutils/u-boot/patches/patch-configs_A20-OLinuXino-Lime2-eMMC_defconfig
+++ b/sysutils/u-boot/patches/patch-configs_A20-OLinuXino-Lime2-eMMC_defconfig
@@ -1,11 +1,13 @@
-$NetBSD: patch-configs_A20-OLinuXino-Lime2-eMMC_defconfig,v 1.1 2019/07/18 19:18:33 bouyer Exp $
+$NetBSD: patch-configs_A20-OLinuXino-Lime2-eMMC_defconfig,v 1.2 2019/09/05 16:09:09 bouyer Exp $
CONFIG_GMAC_TX_DELAY=4 required for lime2 boards with a Micrel PHY,
doesn't hurt for older ones (with the realtek PHY)
---- configs/A20-OLinuXino-Lime2-eMMC_defconfig.orig 2019-07-17 18:57:03.912432611 +0200
-+++ configs/A20-OLinuXino-Lime2-eMMC_defconfig 2019-07-17 18:59:35.091714198 +0200
-@@ -9,6 +9,7 @@
+Add SPI flash support (for newer Lime2-eMMC boards)
+
+--- configs/A20-OLinuXino-Lime2-eMMC_defconfig.orig 2018-11-14 17:10:06.000000000 +0100
++++ configs/A20-OLinuXino-Lime2-eMMC_defconfig 2019-09-05 16:38:07.781366370 +0200
+@@ -10,9 +10,11 @@
CONFIG_I2C1_ENABLE=y
CONFIG_SATAPWR="PC3"
CONFIG_AHCI=y
@@ -13,3 +15,7 @@ doesn't hurt for older ones (with the realtek PHY)
CONFIG_NR_DRAM_BANKS=1
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
CONFIG_SPL_I2C_SUPPORT=y
++CONFIG_SPL_SPI_SUNXI=y
+ CONFIG_CMD_DFU=y
+ # CONFIG_CMD_FLASH is not set
+ CONFIG_CMD_USB_MASS_STORAGE=y