Skip to contentSkip to conversation

package/memtest86: bump version to 8.00

PATCH In review Bernd Kuhls 2 participants 2 messages Mar 6 – Mar 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/memtest86: bump version to 8.00

https://github.com/memtest86plus/memtest86plus/releases/tag/v8.00

Upstream merged memtest.bin and memtest.efi into mt86plus:
https://github.com/memtest86plus/memtest86plus/commit/71d061a4c7cd22fe882bb025b3a061745d952d4c

and renamed the build directories:
https://github.com/memtest86plus/memtest86plus/commit/a10664a2515a81b07ab8ae999f91e8151a87eec6

Upstream commit
https://github.com/memtest86plus/memtest86plus/commit/6f4ec848c4e9291626236bca457baf7b95542325
removed the override of $CC, for details of the problem see this thread:
https://lists.buildroot.org/pipermail/buildroot/2023-December/366174.html

and in fact the first build command now reads

/home/bernd/buildroot/output/per-package/memtest86/host/bin/i686-buildroot-linux-gnu-gcc
-m32 -x assembler-with-cpp -c -I../../boot -o boot/x86/startup.o ../../boot/x86/startup32.S

instead of this command seen with version 7.20:
gcc -m32 -x assembler-with-cpp -c -I../boot -o boot/startup.o ../boot/startup32.S

This should hopefully fix the build on non-x86 hosts:
https://autobuild.buildroot.net/results/fc1/fc14be4f2e5b1db2f7313156b50c9e2e298b06e9/

---
Deliberately not used "Fixed:" tag because I cannot easily test the build on non-x86 hosts.

 package/memtest86/Config.in      |  6 +++---
 package/memtest86/memtest86.hash |  2 +-
 package/memtest86/memtest86.mk   | 12 +++++-------
 3 files changed, 9 insertions(+), 11 deletions(-)
package/memtest86/Config.in +3 -3
index c9a8cf749f..3883176efb 100644
@@ -30,17 +30,17 @@ config BR2_PACKAGE_MEMTEST86
 	  line:
 
 	  menuentry "Start Memtest86+ (USB keyboards)" {
-	      linux16 /boot/memtest.bin keyboard=both
+	      linux16 /boot/mt86plus keyboard=both
 	  }
 	  menuentry "Start Memtest86+ (serial line)" {
-	      linux16 /boot/memtest.bin console=ttyS0,115200
+	      linux16 /boot/mt86plus console=ttyS0,115200
 	  }
 
 	  Or for UEFI BIOS using the Linux 32-bit or 64-bit boot
 	  protocols, using USB keyboard:
 
 	  menuentry "Start Memtest86+ (USB keyboards)" {
-	      linux /EFI/BOOT/memtest.efi keyboard=both
+	      linux /EFI/BOOT/mt86plus keyboard=both
 	  }
 
 	  Other boot loaders will have similar requirements.
package/memtest86/memtest86.hash +1 -1
index 20d96dce95..109e9f3761 100644
@@ -1,3 +1,3 @@
 # locally computed using sha256sum
-sha256  8bad4b5788bc28e4dd1db78c9069bd0c65a4a6baf16409ab537c795bb04578b3  memtest86-7.20.tar.gz
+sha256  ec7edde55f60d12d9e7bc1cc560837cdbaa14cf00020cebb4a1d7fe4afeddb4a  memtest86-8.00.tar.gz
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  LICENSE
package/memtest86/memtest86.mk +5 -7
index 4f9c1b9a28..30336a3dc5 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MEMTEST86_VERSION = 7.20
+MEMTEST86_VERSION = 8.00
 MEMTEST86_SITE = $(call github,memtest86plus,memtest86plus,v$(MEMTEST86_VERSION))
 MEMTEST86_LICENSE = GPL-2.0
 MEMTEST86_LICENSE_FILES = LICENSE
@@ -12,10 +12,10 @@ MEMTEST86_INSTALL_IMAGES = YES
 MEMTEST86_INSTALL_TARGET = NO
 
 ifeq ($(BR2_i386),y)
-MEMTEST86_BUILD_DIR = build32
+MEMTEST86_BUILD_DIR = build/i586
 else
 ifeq ($(BR2_x86_64),y)
-MEMTEST86_BUILD_DIR = build64
+MEMTEST86_BUILD_DIR = build/x86_64
 endif
 endif
 
@@ -24,10 +24,8 @@ define MEMTEST86_BUILD_CMDS
 endef
 
 define MEMTEST86_INSTALL_IMAGES_CMDS
-	$(foreach ext, bin efi, \
-		$(INSTALL) -m 0755 -D $(@D)/$(MEMTEST86_BUILD_DIR)/memtest.$(ext) \
-			$(BINARIES_DIR)/memtest.$(ext)
-	)
+	$(INSTALL) -m 0755 -D $(@D)/$(MEMTEST86_BUILD_DIR)/mt86plus \
+		$(BINARIES_DIR)/mt86plus
 endef
 
 $(eval $(generic-package))
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 19 lines · Bernd Kuhls

https://github.com/memtest86plus/memtest86plus/releases/tag/v8.00

Upstream merged memtest.bin and memtest.efi into mt86plus:
https://github.com/memtest86plus/memtest86plus/commit/71d061a4c7cd22fe882bb025b3a061745d952d4c

and renamed the build directories:
https://github.com/memtest86plus/memtest86plus/commit/a10664a2515a81b07ab8ae999f91e8151a87eec6

Upstream commit
https://github.com/memtest86plus/memtest86plus/commit/6f4ec848c4e9291626236bca457baf7b95542325
removed the override of $CC, for details of the problem see this thread:
https://lists.buildroot.org/pipermail/buildroot/2023-December/366174.html

and in fact the first build command now reads

/home/bernd/buildroot/output/per-package/memtest86/host/bin/i686-buildroot-linux-gnu-gcc
-m32 -x assembler-with-cpp -c -I../../boot -o boot/x86/startup.o
../../boot/x86/startup32.S

Quoted 7 lines

instead of this command seen with version 7.20:
gcc -m32 -x assembler-with-cpp -c -I../boot -o boot/startup.o ../boot/startup32.S

This should hopefully fix the build on non-x86 hosts:
https://autobuild.buildroot.net/results/fc1/fc14be4f2e5b1db2f7313156b50c9e2e298b06e9/

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot