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/'
 



_______________________________________________
flashrom mailing list
flashrom@flashrom.org
https://mail.coreboot.org/mailman/listinfo/flashrom

Reply via email to