Hey folks,
we've just tagged a release candidate for flashrom-1.0. It seems very stable; though, testing of this specific revision was rather limited [1]. So please test! especially if you use a rare setup (e.g. non-Linux / non-x86).
If you don't use Git, you can find a tarball here: https://review.coreboot.org/cgit/flashrom.git/snapshot/flashrom-1.0-rc2.tar....
Nico
[1] Beside being used by developers, it's currently build tested on the following OS's (mostly thanks to Docker multiarch images):
NetBSD 7.1 amd64 NetBSD 7.1 i386 alpine:amd64-v3.6 alpine:amd64-v3.7 alpine:i386-v3.6 alpine:i386-v3.7 centos:7.2-amd64-clean centos:7.3-aarch64-clean centos:7.3-amd64-clean debian-debootstrap:amd64-sid debian-debootstrap:amd64-stretch debian-debootstrap:armhf-stretch debian-debootstrap:i386-sid debian-debootstrap:i386-stretch debian-debootstrap:mips-stretch debian-debootstrap:mipsel-stretch debian-debootstrap:powerpc-sid debian-debootstrap:ppc64el-stretch fedora:24-x86_64 fedora:25-aarch64 fedora:25-ppc64le fedora:25-x86_64 ubuntu-debootstrap:amd64-xenial ubuntu-debootstrap:amd64-zesty ubuntu-debootstrap:arm64-xenial ubuntu-debootstrap:i386-xenial ubuntu-debootstrap:i386-zesty
Hi
Dne 28.12.2017 v 16:23 Nico Huber napsal(a):
Hey folks, [1]. So please test! especially if you use a rare setup (e.g. non-Linux / non-x86).
I tried to run cross-compile it for DOS. The README is bit outdated. The idea was to ask Rayer on CC to test it with some real HW. However, even with QEMU, it complains that the low 1MB mappings failed (when it searches for coreboot table and for a DMI). I wanted to look who worked on that, and it was me in 2010 - maybe something changed in DJGPP
I tried to use latest DJGPP with GCC 7.2.0. I don't know what is wrong with that yet.
Anyone used the DOS port recently?
Anyway, I will try to look into that tomorrow.
Thanks Rudolf
Draft patch in case someone wants to compile it too:
--- a/README +++ b/README @@ -101,11 +101,14 @@ To cross-compile on Linux for DOS: The cross toolchain packages for your distribution may have slightly different names (look for packages named *djgpp*).
+ You could use a script to build it from scratch: https://github.com/andrewwutw/build-djgpp + You will need the following library source trees containing their compiled static libraries either in the parent directory of the flashrom source or specify the base folder on compile time with the LIBS_BASE parameter. The default as described above is equal to calling - 'make djgpp-dos LIBS_BASE=..' + + 'make CC=i586-pc-msdosdjgpp-gcc STRIP=i586-pc-msdosdjgpp-strip LIBS_BASE=../libpci/'
Hi all
Something wrong with "valloc" in the latest DJGPP (djcrx205.zip)
We need 1MB of VALLOCed space in flashrom, to map the legacy DOS area. As you can see, something is wrong with that.
Is there someone with DJGPP who could try?
#include <stdio.h> #include <stdlib.h> #include <malloc.h>
//void *valloc(size_t size); int main(void) { printf("VALLOC %lx\n", valloc(1024*1024)); /* Fails with 0 */ printf("MALLOC %lx\n", malloc(1024)); printf("MALLOC %lx\n", malloc(1024*1024)); printf("VALLOC %lx\n", valloc(1024)); /* Fails with 0 */ printf("MEMALIGN %lx\n", memalign(4096, 1024)); /* Fails with 0 */ printf("MEMALIGN %lx\n", memalign(64, 1024)); /* Fails with 0 */ printf("MEMALIGN %lx\n", memalign(32, 64)); }
Thanks Rudolf
Hi,
Compilation on FreeBSD 12-current is fine, but could you please merge https://patchwork.coreboot.org/patch/4498/ before release?
Thank you!
On Thu, Dec 28, 2017 at 6:23 PM, Nico Huber nico.h@gmx.de wrote:
Hey folks,
we've just tagged a release candidate for flashrom-1.0. It seems very stable; though, testing of this specific revision was rather limited [1]. So please test! especially if you use a rare setup (e.g. non-Linux / non-x86).
If you don't use Git, you can find a tarball here: https://review.coreboot.org/cgit/flashrom.git/snapshot/flash rom-1.0-rc2.tar.bz2
Nico
[1] Beside being used by developers, it's currently build tested on the following OS's (mostly thanks to Docker multiarch images):
NetBSD 7.1 amd64 NetBSD 7.1 i386 alpine:amd64-v3.6 alpine:amd64-v3.7 alpine:i386-v3.6 alpine:i386-v3.7 centos:7.2-amd64-clean centos:7.3-aarch64-clean centos:7.3-amd64-clean debian-debootstrap:amd64-sid debian-debootstrap:amd64-stretch debian-debootstrap:armhf-stretch debian-debootstrap:i386-sid debian-debootstrap:i386-stretch debian-debootstrap:mips-stretch debian-debootstrap:mipsel-stretch debian-debootstrap:powerpc-sid debian-debootstrap:ppc64el-stretch fedora:24-x86_64 fedora:25-aarch64 fedora:25-ppc64le fedora:25-x86_64 ubuntu-debootstrap:amd64-xenial ubuntu-debootstrap:amd64-zesty ubuntu-debootstrap:arm64-xenial ubuntu-debootstrap:i386-xenial ubuntu-debootstrap:i386-zesty
flashrom mailing list flashrom@flashrom.org https://mail.coreboot.org/mailman/listinfo/flashrom