On Wed, Mar 01, 2017 at 10:27:06PM -0300, Daniel Bolgheroni wrote: > Hi, > > Trying the latest snapshot on Banana Pi and Orange Pi One stopped > before running the EFI workload. > > I suspect it's something obvious when modifying the image, but this used > to work to boot the boards without miniroot just fine. > > http://marc.info/?l=openbsd-arm&m=148288574314135&w=2 > > I'd appreciate any pointer to something that is really obvious that I > missed from following the commit messages.
I don't have any allwinner systems here but perhaps a newer u-boot would help? Index: Makefile =================================================================== RCS file: /cvs/ports/sysutils/u-boot/Makefile,v retrieving revision 1.15 diff -u -p -r1.15 Makefile --- Makefile 18 Feb 2017 12:10:50 -0000 1.15 +++ Makefile 2 Mar 2017 01:37:39 -0000 @@ -6,8 +6,7 @@ FLAVORS= aarch64 arm FLAVOR?= arm COMMENT= U-Boot firmware -VERSION= 2017.01 -REVISION= 0 +VERSION= 2017.03-rc3 DISTNAME= u-boot-${VERSION} PKGNAME= u-boot-${FLAVOR}-${VERSION} FULLPKGNAME= ${PKGNAME} @@ -78,6 +77,7 @@ SUNXI=\ orangepi_pc_plus \ orangepi_plus \ orangepi_plus2e \ + orangepi_zero \ Sinovoip_BPI_M2_plus IMX=\ cm_fx6 \ Index: distinfo =================================================================== RCS file: /cvs/ports/sysutils/u-boot/distinfo,v retrieving revision 1.5 diff -u -p -r1.5 distinfo --- distinfo 10 Jan 2017 02:35:52 -0000 1.5 +++ distinfo 2 Mar 2017 01:39:25 -0000 @@ -1,2 +1,2 @@ -SHA256 (u-boot-2017.01.tar.bz2) = bEJRdfk6S88uyfr1ZY7yeWM9vXhWopPZW9H/UWUo7PI= -SIZE (u-boot-2017.01.tar.bz2) = 12224884 +SHA256 (u-boot-2017.03-rc3.tar.bz2) = uyhk7kc3ig1hcsHo3d+jlRgWMcBPARTUtBRu5p15SnI= +SIZE (u-boot-2017.03-rc3.tar.bz2) = 12291993 Index: patches/patch-configs_Sinovoip_BPI_M2_plus_defconfig =================================================================== RCS file: /cvs/ports/sysutils/u-boot/patches/patch-configs_Sinovoip_BPI_M2_plus_defconfig,v retrieving revision 1.1 diff -u -p -r1.1 patch-configs_Sinovoip_BPI_M2_plus_defconfig --- patches/patch-configs_Sinovoip_BPI_M2_plus_defconfig 10 Jan 2017 02:35:52 -0000 1.1 +++ patches/patch-configs_Sinovoip_BPI_M2_plus_defconfig 2 Mar 2017 03:22:12 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-configs_Sinovoip_BPI_M2_plus_defconfig,v 1.1 2017/01/10 02:35:52 jsg Exp $ ---- configs/Sinovoip_BPI_M2_plus_defconfig.orig Tue Jan 10 10:44:48 2017 -+++ configs/Sinovoip_BPI_M2_plus_defconfig Tue Jan 10 10:44:48 2017 -@@ -0,0 +1,18 @@ +--- configs/Sinovoip_BPI_M2_plus_defconfig.orig Thu Mar 2 12:44:49 2017 ++++ configs/Sinovoip_BPI_M2_plus_defconfig Thu Mar 2 13:02:25 2017 +@@ -0,0 +1,21 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_MACH_SUN8I_H3=y @@ -18,5 +18,8 @@ $OpenBSD: patch-configs_Sinovoip_BPI_M2_ +# CONFIG_CMD_IMLS is not set +# CONFIG_CMD_FLASH is not set +# CONFIG_CMD_FPGA is not set ++# CONFIG_SPL_DOS_PARTITION is not set ++# CONFIG_SPL_ISO_PARTITION is not set ++# CONFIG_SPL_EFI_PARTITION is not set +CONFIG_SUN8I_EMAC=y +CONFIG_USB_EHCI_HCD=y Index: patches/patch-scripts_Makefile_lib =================================================================== RCS file: patches/patch-scripts_Makefile_lib diff -N patches/patch-scripts_Makefile_lib --- patches/patch-scripts_Makefile_lib 10 Jan 2017 02:35:52 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -$OpenBSD: patch-scripts_Makefile_lib,v 1.1 2017/01/10 02:35:52 jsg Exp $ ---- scripts/Makefile.lib.orig Tue Jan 10 03:57:05 2017 -+++ scripts/Makefile.lib Tue Jan 10 10:44:39 2017 -@@ -311,7 +311,7 @@ quiet_cmd_dtc = DTC $@ - # Bring in any U-Boot-specific include after the '/dts-v1/;' header - cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \ - cat $< $(if $(u_boot_dtsi),\ -- | sed 's%^/ {$$%\#include \"$(u_boot_dtsi)\"\n&%') | \ -+ | sed '/^\/ {$$/{x;s%$$%\#include \"$(u_boot_dtsi)\"%;G;}') | \ - $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) - ; \ - $(DTC) -O dtb -o $@ -b 0 \ - -i $(dir $<) $(DTC_FLAGS) \ Index: pkg/PFRAG.arm =================================================================== RCS file: /cvs/ports/sysutils/u-boot/pkg/PFRAG.arm,v retrieving revision 1.3 diff -u -p -r1.3 PFRAG.arm --- pkg/PFRAG.arm 10 Jan 2017 02:35:52 -0000 1.3 +++ pkg/PFRAG.arm 2 Mar 2017 03:02:41 -0000 @@ -179,6 +179,11 @@ share/u-boot/orangepi_plus2e/u-boot share/u-boot/orangepi_plus2e/u-boot-sunxi-with-spl.bin share/u-boot/orangepi_plus2e/u-boot.bin share/u-boot/orangepi_plus2e/u-boot.img +share/u-boot/orangepi_zero/ +share/u-boot/orangepi_zero/u-boot +share/u-boot/orangepi_zero/u-boot-sunxi-with-spl.bin +share/u-boot/orangepi_zero/u-boot.bin +share/u-boot/orangepi_zero/u-boot.img share/u-boot/riotboard/ share/u-boot/riotboard/u-boot share/u-boot/riotboard/u-boot.bin