Re: [flashrom] [PATCH] Add support for RayeR SPIPGM hardware.

2010-05-26 Thread Carl-Daniel Hailfinger
On 27.05.2010 02:32, Carl-Daniel Hailfinger wrote: > New version, fixes a few bugs where #ifdefs were missing. > > Add support for RayeR SPIPGM hardware as described in > http://rayer.ic.cz/elektro/spipgm.htm > > Known bugs/limitations: > - Won't compile/work on non-x86 architectures. Guards agains

[flashrom] [PATCH] Add Nvidia nForce MCP6x/MCP7x series SPI flashing support

2010-05-26 Thread Carl-Daniel Hailfinger
Add Nvidia nForce MCP61/MCP65/MCP67/MCP78S/MCP73/MCP79 SPI flashing support. This code is totally untested and may fry your flash chip, explode mysteriously and abduct your dog. Do NOT try to read/write/erase with this code until we know that it behaves correctly. Logs from "flashrom -V" on all n

Re: [flashrom] [PATCH] Add support for RayeR SPIPGM hardware.

2010-05-26 Thread Carl-Daniel Hailfinger
On 27.05.2010 01:19, Joseph Smith wrote: > On 05/26/2010 06:12 PM, Michael Karcher wrote: >> Am Mittwoch, den 26.05.2010, 19:23 +0200 schrieb Carl-Daniel Hailfinger: >>> +int rayer_bitbang_spi_init(void) >>> +{ >>> + /* Pick a default value for now. */ >>> + lpt_iobase = 0x378; >>> + >>

Re: [flashrom] [PATCH 1/3] Sort boards alphabetically.

2010-05-26 Thread Uwe Hermann
On Thu, May 27, 2010 at 12:28:01AM +0200, Uwe Hermann wrote: > On Wed, May 26, 2010 at 09:30:26PM +0400, Peter Lemenkov wrote: > > Signed-off-by: Peter Lemenkov > > Thanks, committed with a few more re-orderings so that the respective > parts of the "flashrom -L > foo" output for board-enable boa

Re: [flashrom] [PATCH 3/3] Unify board info handling

2010-05-26 Thread Uwe Hermann
Hi, quick review below, I think this patch needs one more round. I'm a bit undecided whether it's really a good idea to merge the tables for good and bad boards, I kinda liked them being separate tables. But I guess for users it's more intuitive to have one big table. On Wed, May 26, 2010 at 09

Re: [flashrom] [PATCH] Add support for RayeR SPIPGM hardware.

2010-05-26 Thread Joseph Smith
On 05/26/2010 06:12 PM, Michael Karcher wrote: Am Mittwoch, den 26.05.2010, 19:23 +0200 schrieb Carl-Daniel Hailfinger: +int rayer_bitbang_spi_init(void) +{ + /* Pick a default value for now. */ + lpt_iobase = 0x378; + + get_io_perms(); Ah, direct port access for the parallel

Re: [flashrom] [PATCH 2/3] This board is not an 'Albatron PM266A' but a 'Albatron PM266A Pro'.

2010-05-26 Thread Uwe Hermann
On Wed, May 26, 2010 at 09:30:45PM +0400, Peter Lemenkov wrote: > It seems that this board is actually a 'Pro' version. At least it's addressed > as 'Pro' > in the list of boards, which requires board_enable. > > Signed-off-by: Peter Lemenkov Yep, thanks, r1015. See also: http://www.flashrom.o

[flashrom] [commit] r1015 - trunk

2010-05-26 Thread repository service
Author: uwe Date: Thu May 27 00:29:51 2010 New Revision: 1015 URL: http://flashrom.org/trac/coreboot/changeset/1015 Log: It seems that this board is actually a 'Pro' version. At least it's addressed as 'Pro' in the list of boards, which requires board_enable. See also: http://www.flashrom.org/pip

Re: [flashrom] [PATCH 1/3] Sort boards alphabetically.

2010-05-26 Thread Uwe Hermann
On Wed, May 26, 2010 at 09:30:26PM +0400, Peter Lemenkov wrote: > Signed-off-by: Peter Lemenkov Thanks, committed with a few more re-orderings so that the respective parts of the "flashrom -L > foo" output for board-enable boards is identical to the "sort foo" output. Uwe. -- http://hermann-uw

[flashrom] [commit] r1014 - trunk

2010-05-26 Thread repository service
Author: uwe Date: Thu May 27 00:26:44 2010 New Revision: 1014 URL: http://flashrom.org/trac/coreboot/changeset/1014 Log: Sort boards in board-enable table alphabetically. Signed-off-by: Peter Lemenkov Acked-by: Uwe Hermann Modified: trunk/board_enable.c Modified: trunk/board_enable.c =

Re: [flashrom] [PATCH] Add support for RayeR SPIPGM hardware.

2010-05-26 Thread Michael Karcher
Am Mittwoch, den 26.05.2010, 19:23 +0200 schrieb Carl-Daniel Hailfinger: > +int rayer_bitbang_spi_init(void) > +{ > + /* Pick a default value for now. */ > + lpt_iobase = 0x378; > + > + get_io_perms(); Ah, direct port access for the parallel port. While this is definitely the way

Re: [flashrom] [PATCH] Add support for RayeR SPIPGM hardware.

2010-05-26 Thread Rudolf Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Here is DOS version of flashrom with the patch applied: wget http://assembler.cz/rayer.exe Rudolf -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkv9k

[flashrom] [PATCH 2/3] This board is not an 'Albatron PM266A' but a 'Albatron PM266A Pro'.

2010-05-26 Thread Peter Lemenkov
It seems that this board is actually a 'Pro' version. At least it's addressed as 'Pro' in the list of boards, which requires board_enable. Signed-off-by: Peter Lemenkov --- board_enable.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board_enable.c b/board_enable.c i

[flashrom] [PATCH 1/3] Sort boards alphabetically.

2010-05-26 Thread Peter Lemenkov
Signed-off-by: Peter Lemenkov --- board_enable.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board_enable.c b/board_enable.c index 4251601..963bf58 100644 --- a/board_enable.c +++ b/board_enable.c @@ -1402,12 +1402,12 @@ struct board_pciid_enable board_pciid_enable

Re: [flashrom] [PATCH] Add support for RayeR SPIPGM hardware.

2010-05-26 Thread Joseph Smith
On Wed, 26 May 2010 19:23:18 +0200, Carl-Daniel Hailfinger wrote: > On 26.05.2010 16:31, Joseph Smith wrote: >> On Wed, 26 May 2010 16:26:03 +0200, Carl-Daniel Hailfinger wrote: >> >>> Add support for RayeR SPIPGM hardware as described in >>> http://rayer.ic.cz/elektro/spipgm.htm >>> >>> Thanks

Re: [flashrom] [PATCH] Add support for RayeR SPIPGM hardware.

2010-05-26 Thread Carl-Daniel Hailfinger
On 26.05.2010 16:31, Joseph Smith wrote: > On Wed, 26 May 2010 16:26:03 +0200, Carl-Daniel Hailfinger wrote: > >> Add support for RayeR SPIPGM hardware as described in >> http://rayer.ic.cz/elektro/spipgm.htm >> >> Thanks go to Martin Rehak for giving me his SPIPGM source code as >> reference. >

Re: [flashrom] [PATCH] Add support for RayeR SPIPGM hardware.

2010-05-26 Thread Joseph Smith
On Wed, 26 May 2010 16:26:03 +0200, Carl-Daniel Hailfinger wrote: > Add support for RayeR SPIPGM hardware as described in > http://rayer.ic.cz/elektro/spipgm.htm > > Thanks go to Martin Rehak for giving me his SPIPGM source code as > reference. > > Should work on all supported platforms (mayb

Re: [flashrom] [PATCH 1/1] Unify board info handling

2010-05-26 Thread Michael Karcher
Am Mittwoch, den 26.05.2010, 17:54 +0400 schrieb Peter Lemenkov: > > I fully appreciate the idea of merging the tables from print.c and > > print_wiki.c . Do you know > > http://patchwork.coreboot.org/patch/1044/ > > which I submitted with basically the same idea? > Unfortunately I wasn't aware of

[flashrom] [PATCH] Add support for RayeR SPIPGM hardware.

2010-05-26 Thread Carl-Daniel Hailfinger
Add support for RayeR SPIPGM hardware as described in http://rayer.ic.cz/elektro/spipgm.htm Thanks go to Martin Rehak for giving me his SPIPGM source code as reference. Should work on all supported platforms (maybe even Windows, not sure about that), but you may have to unload any parport drivers

Re: [flashrom] [PATCH] Support for HP DL165 G6

2010-05-26 Thread Michael Karcher
Am Mittwoch, den 26.05.2010, 16:08 +0200 schrieb Arne Georg Gleditsch: > On 26. mai 2010 15:56, Michael Karcher wrote: > > Try to find an lspci dump of that DL145 and check whether some PCI > > signature is different. If not, check whether DMI contains some string > As Google has it, it would appe

Re: [flashrom] [PATCH] Support for HP DL165 G6

2010-05-26 Thread Arne Georg Gleditsch
On 26. mai 2010 15:56, Michael Karcher wrote: > Try to find an lspci dump of that DL145 and check whether some PCI > signature is different. If not, check whether DMI contains some string > that makes it possible to tell the systems apart. If nothing helps, PCI > subsystem IDs (not the normal vendo

Re: [flashrom] [PATCH] Support for HP DL165 G6

2010-05-26 Thread Michael Karcher
Am Mittwoch, den 26.05.2010, 13:27 +0200 schrieb Arne Georg Gleditsch: > Attached is a patch to board_enable.c for the HP DL165 board. > Apparently, the PCI signature of the DL165 is identical to the DL145, > but the enable pins are placed differently... :/ I'm not sure what the > best way to hand

[flashrom] [PATCH] Support for HP DL165 G6

2010-05-26 Thread Arne Georg Gleditsch
Hi, Attached is a patch to board_enable.c for the HP DL165 board. Apparently, the PCI signature of the DL165 is identical to the DL145, but the enable pins are placed differently... :/ I'm not sure what the best way to handle that is. Signed-off-by: Arne Georg Gleditsch --

[flashrom] [PATCH] Convert PCI-based programmers to LE MMIO accessors

2010-05-26 Thread Carl-Daniel Hailfinger
Misha, could you please test this patch with the satasii programmer on your CurtisWright Raptor and ack it if it works? A verbose log from a successful write would be appreciated. The patch applies on top of an otherwise unpatched tree with latest flashrom from svn. Convert all PCI-based external

Re: [flashrom] [PATCH] Disallow the internal programmer on non-x86 for now

2010-05-26 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Carl-Daniel Hailfinger wrote: > On 26.05.2010 08:22, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > >> Carl-Daniel Hailfinger wrote: >> >> >>> The internal programmer needs correct information about flash_base and >>> chip window top/bottom alignment on non-x86 before it can be used. Abo

Re: [flashrom] [PATCH] Disallow the internal programmer on non-x86 for now

2010-05-26 Thread Carl-Daniel Hailfinger
On 26.05.2010 08:22, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Carl-Daniel Hailfinger wrote: > >> The internal programmer needs correct information about flash_base and >> chip window top/bottom alignment on non-x86 before it can be used. Abort >> any internal programmer action for now unti

Re: [flashrom] [PATCH 1/1] Unify board info handling

2010-05-26 Thread Michael Karcher
Am Mittwoch, den 26.05.2010, 10:51 +0400 schrieb Peter Lemenkov: > With this patch boards info is stored in one common place. Previously, the > information about different boards was spreaded between few different places, > and manual synchronization was required (which already led to some > discr