From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] memtest: update to memtest86+ v6.00 Date: Thu, 27 Oct 2022 10:20:22 +0100 Message-ID: <2125BDE5-AC16-4A95-B5BA-5460668433D3@ipfire.org> In-Reply-To: <20221027082639.11737-1-arne_f@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8641471166069148589==" List-Id: --===============8641471166069148589== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Arne, Great patch. I saw the announcement, too. Is there still no chance to build this from source, or do we just lack some t= ools? -Michael > On 27 Oct 2022, at 09:26, Arne Fitzenreiter wrote: >=20 > This is now a version 64bit version that can also boot via efi. >=20 > Signed-off-by: Arne Fitzenreiter > --- > config/cdrom/grub.cfg | 6 ++++++ > config/rootfiles/common/memtest | 2 +- > lfs/cdrom | 2 +- > lfs/memtest | 14 ++++++-------- > 4 files changed, 14 insertions(+), 10 deletions(-) >=20 > diff --git a/config/cdrom/grub.cfg b/config/cdrom/grub.cfg > index 421c0e662..50a7c2488 100644 > --- a/config/cdrom/grub.cfg > +++ b/config/cdrom/grub.cfg > @@ -32,3 +32,9 @@ submenu 'Other Installation Options -->' { > initrd /boot/isolinux/instroot > } > } > + > +submenu 'Tools -->' { > + menuentry 'memtest86+' { > + linux /boot/isolinux/memtest > + } > +} > diff --git a/config/rootfiles/common/memtest b/config/rootfiles/common/memt= est > index 1804dfa94..7978436fd 100644 > --- a/config/rootfiles/common/memtest > +++ b/config/rootfiles/common/memtest > @@ -1,2 +1,2 @@ > #usr/lib/memtest86+ > -#usr/lib/memtest86+/memtest.bin > +#usr/lib/memtest86+/memtest.efi > diff --git a/lfs/cdrom b/lfs/cdrom > index a47faa49e..f4e6e050c 100644 > --- a/lfs/cdrom > +++ b/lfs/cdrom > @@ -199,7 +199,7 @@ endif >=20 > ifeq "$(HAS_MEMTEST)" "1" > # Install memtest > - cp /usr/lib/memtest86+/memtest.bin $(DIR_TMP)/cdrom/boot/isolinux/memtest > + cp /usr/lib/memtest86+/memtest.efi $(DIR_TMP)/cdrom/boot/isolinux/memtest > endif >=20 > ifeq "$(HAS_IPXE)" "1" > diff --git a/lfs/memtest b/lfs/memtest > index 7e5ac895f..ae87558de 100644 > --- a/lfs/memtest > +++ b/lfs/memtest > @@ -24,9 +24,9 @@ >=20 > include Config >=20 > -VER =3D 5.01 > +VER =3D 6.00 >=20 > -THISAPP =3D memtest86+-$(VER) > +THISAPP =3D memtest86plus-$(VER) > DL_FILE =3D $(THISAPP).tar.gz > DL_FROM =3D $(URL_IPFIRE) > DIR_APP =3D $(DIR_SRC)/$(THISAPP) > @@ -41,7 +41,8 @@ objects =3D $(DL_FILE) >=20 > $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) >=20 > -$(DL_FILE)_BLAKE2 =3D ef63eaabaf6d3d27b85c73618c692dd61cce52f3670a57958d18= 1623888bdc3aa538855da9a82ec2ab70b180938e3df99f0b06f606b2d6f64e8aabbe781b3050 > +$(DL_FILE)_BLAKE2 =3D bba26dab7165239fe95dc7f174e5f876f47421008ca6201bc575= 49598f512df56a6a0ca71f8c2c26c01188d243b58ab6ddd525cf01f0dece0cdb61a6acf38685 > + >=20 > install : $(TARGET) >=20 > @@ -71,11 +72,8 @@ $(subst %,%_BLAKE2,$(objects)) : > $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) > @$(PREBUILD) > @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) > + cd $(DIR_APP)/build64 && make memtest.efi > -mkdir -p /usr/lib/memtest86+ > - > - # 64bit only systems cannot link mentest without 32bit gcc libs > - # so we use the precompiled binary from memtest author > - cd $(DIR_APP) && cp -f precomp.bin /usr/lib/memtest86+/memtest.bin > - > + cd $(DIR_APP)/build64 && cp -f memtest.efi /usr/lib/memtest86+/memtest.efi > @rm -rf $(DIR_APP) > @$(POSTBUILD) > --=20 > 2.37.1 >=20 --===============8641471166069148589==--