[flashrom] report for Intel QM67 | Winbond W25Q64 - layout patches
Frei, Thomas (GE Germany)
Thomas.Frei at ge.com
Thu Sep 1 15:28:42 CEST 2011
Hi,
I tried to clean the build environment (make clean), and reloaded the sources.
With this clean base I started step by step to patch:
Make -> PASS
Patch < 0001....patch -> PASS
Make -> PASS
Patch < 0002....patch -> ERROR!!!
--- snip ---
(Stripping trailing CRs from patch)
patching file cli_classic.c
Hunk #1 FAILED at 226.
Hunk #2 FAILED at 318.
2 out of 2 hunks FAILED -- saving rejects to cli_classic.c.rej
(Stripping trailing CRs from patch)
patching file flash.h
Hunk #1 FAILED at 255.
1 out of 1 hunk FAILED -- saving rejects to flash.h.rej
(Stripping trailing CRs from patch)
patching file layout.c
--- snip ---
Am I doinf wrong, or what else can be?
Best regards
Thomas
-----Original Message-----
From: Frei, Thomas (GE Germany)
Sent: Freitag, 26. August 2011 11:25
To: 'flashrom at flashrom.org'
Subject: RE: [flashrom] report for Intel QM67 | Winbond W25Q64 - layout patches
Hi,
Now I loaded the Revision 1421 from SVN repository, patched it and tried to compile - nope :-(
Output of GCC:
---snip---
Checking for a C compiler... found.
ARCH is "x86"
Checking for libpci headers... found.
Checking if libpci is present and sufficient... yes.
Checking for FTDI support... not found.
Checking for utsname support... found.
cc -MMD -Os -Wall -Wshadow -Werror -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_RAYER_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_NIC3COM=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICREALTEK=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'CONFIG_SATAMV=1' -D'NEED_PCI=1' -D'HAVE_UTSNAME=1' -D'FLASHROM_VERSION="0.9.4-r1421"' -o layout.o -c layout.c
layout.c:43:20: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before ârom_entriesâ
layout.c: In function âread_romlayoutâ:
layout.c:161:50: error: ârom_entriesâ undeclared (first use in this function)
layout.c:161:50: note: each undeclared identifier is reported only once for each function it appears in
layout.c: At top level:
layout.c:214:12: error: static declaration of âfind_romentryâ follows non-static declaration
flash.h:256:5: note: previous declaration of âfind_romentryâ was here
layout.c: In function âfind_romentryâ:
layout.c:230:15: error: ârom_entriesâ undeclared (first use in this function)
layout.c: At top level:
layout.c:279:13: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token
layout.c:309:47: error: expected â)â before â*â token
layout.c: In function âbuild_new_imageâ:
layout.c:355:2: error: âromlayout_tâ undeclared (first use in this function)
layout.c:355:15: error: âentryâ undeclared (first use in this function)
cc1: warnings being treated as errors
layout.c:368:3: error: implicit declaration of function âget_next_included_romentryâ
layout.c:381:3: error: implicit declaration of function âread_content_from_fileâ
make: *** [layout.o] Error 1
---snip---
???
Please help.
Thank you
Thomas
-----Original Message-----
From: Stefan Tauner [mailto:stefan.tauner at student.tuwien.ac.at]
Sent: Mittwoch, 24. August 2011 17:42
To: Frei, Thomas (GE Germany)
Cc: flashrom at flashrom.org
Subject: Re: [flashrom] report for Intel QM67 | Winbond W25Q64 - layout patches
On Wed, 24 Aug 2011 17:00:43 +0200
"Frei, Thomas (GE Germany)" <Thomas.Frei at ge.com> wrote:
> Hi,
>
> sorry, msg_gsbg2 is a typo - it is of course msg_gdbg2.
>
> I'm using the 0.9.4 from http://www.flashrom.org/Downloads.
>
> Isn't this the latest?
>
0.9.4 is the latest *stable* release, but the patches floating around here usually are to be applied on the latest *development* source code.
please check out the source code with subversion as described on the download page and retry.
--
Kind regards/Mit freundlichen Grüßen, Stefan Tauner
More information about the flashrom
mailing list