Hi,
[fullquote for [email protected]]
On 23.03.2010 22:58, RayeR wrote:
> >That is very strange. Do you have a log?
> >SB600 should work fine. Maybe the SPI chip is not
> >attached to the SB600 but instead to the SuperI/O.
> >Can you try
> >flashrom -p it87spi
>
> Yes here's it:
>
> C:\F>flashrom.exe -p it87spi
> flashrom v0.9.1-r933
> Error: Programmer initialization failed.
OK, so it is not ITE IT87.
> C:\F>flashrom.exe -V -r
> flashrom v0.9.1-r933
> No coreboot table found.
> DMI string system-manufacturer: "Dell Inc. "
> DMI string system-product-name: "OptiPlex 320 "
> DMI string system-version: "Not Specified"
> DMI string baseboard-manufacturer: "Dell Inc. "
> DMI string baseboard-product-name: "0CU395"
> DMI string baseboard-version: " "
> DMI string chassis-type: "Tower"
> Found chipset "AMD SB600", enabling flash write... SPI base address is
> at 0xd8000
> Error accessing SB600 SPI registers, 0x1000 bytes at 0x000d8000
> dpmi mmap failed: No such file or directory (ENOENT)
Ah yes. That's a limitation of the DOS port of flashrom.
Usually the SB600 SPI base address is near the top of the address space
(4 GB). On your board it is below 1 MB, and AFAIK Rudolf said that we
can't map any region below 1 MB as uncached due to CWSDPMI/DJGPP
limitations.
If anyone has an idea how to overcome these limitations, we can fix
flashrom for this special case.
> See PCI device listing attached.
>
> >The W25x40 supports multiple erase commands,
> >and your chipset does not allow flashrom to use
> >the spi_block_erase_20 command. Flashrom notices
> >that this command failed and tries another erase command which works.
>
> OK
>
> >Yes, strange. Maybe that happens as side effect from DJGPP compilation?
>
> I don't know...
>
> >It should try only 2 times. If it tries more often,
> >we have to check the code (bug?). I think Rudolf(?) said that there
> >are problems if we try to run a CWSDPMI app (dmidecode) from another
> >CWSDPMI app (flashrom).
> >Does it work if dmidecode.exe is in the PATH?
> >Hm. DMIDECODE.EXE is a name with 9+3 letters. That can't work on old
> DOS.
>
> Yes it works with dmidecode in path but nobody told me that I need it.
> On my home PC I already have dmidecode for DOS in my utilities
> directory. The file name is not problem because of DJGPP is smart
> and do some file name translation. If there's no LFN support it
> tries to look for "dmidecod.exe" and when run on LFN enabled OS
> it will use "dmidecode.exe". But it's different LFN truncating
> mode than windows use ("dmidec~1.exe"). I don't know why but e.g.
> DJGPP PKUNZIP tool use filename truncate this way without ~.
> But it would be better to check if both version of name exist and
> display non-confusing error message when nothing found.
Michael? Is there a good way to handle this?
Regards,
Carl-Daniel
--
http://www.hailfinger.org/
SMBus Communication Program 2.08 (C) 2001-2009 by Martin Rehak; [email protected]
Compiled by GCC 4.3.2 at 00:37:45, Aug 27 2009 (DOS/Win9x compatability)
Designed for motherboards with southbridge i82371(PIIX4) or i82801(ICHx) only!
PCI device #0 found at bus: 0, dev: 0, func: 0
Vendor ID: 1002h (ATI Tech.)
Device ID: 5A33h, Revision ID: 1, Class: 06h (bridge)
Sub-Class: 00h (PCI to host bridge)
IRQ: none, Cache line: 0B, Latency: 64
BAR: 00000000h, 00000000h, 00000000h, 00000000h, 00000000h, 00000000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 0 0 1 1 0
PCI device #1 found at bus: 0, dev: 1, func: 0
Vendor ID: 1002h (ATI Tech.)
Device ID: 5A3Fh, Revision ID: 0, Class: 06h (bridge)
Sub-Class: 04h (PCI to PCI bridge)
IRQ: none, Cache line: 0B, Latency: 64
BAR: 00000000h, 00000000h, 40010100h, 2220E1E1h, DFE0DFD0h, D7F0D000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 0 0 1 1 1
PCI device #2 found at bus: 0, dev: 18, func: 0
Vendor ID: 1002h (ATI Tech.)
Device ID: 4380h, Revision ID: 0, Class: 01h (mass storage device)
Sub-Class: 01h (IDE controller)
IRQ: 11, INTA, Cache line: 64B, Latency: 64
BAR: 0000FE01h, 0000FE11h, 0000FE21h, 0000FE31h, 0000FEC1h, DFFF6C00h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 0 0 1 1 1
PCI device #3 found at bus: 0, dev: 19, func: 0
Vendor ID: 1002h (ATI Tech.)
Device ID: 4387h, Revision ID: 0, Class: 0Ch (serial controller)
Sub-Class: 03h (USB controller)
IRQ: 10, INTA, Cache line: 64B, Latency: 64
BAR: DFFF7000h, 00000000h, 00000000h, 00000000h, 00000000h, 00000000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 1 0 1 1 1
PCI device #4 found at bus: 0, dev: 19, func: 1
Vendor ID: 1002h (ATI Tech.)
Device ID: 4388h, Revision ID: 0, Class: 0Ch (serial controller)
Sub-Class: 03h (USB controller)
IRQ: 5, INTB, Cache line: 64B, Latency: 64
BAR: DFFF8000h, 00000000h, 00000000h, 00000000h, 00000000h, 00000000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 1 0 1 1 1
PCI device #5 found at bus: 0, dev: 19, func: 2
Vendor ID: 1002h (ATI Tech.)
Device ID: 4389h, Revision ID: 0, Class: 0Ch (serial controller)
Sub-Class: 03h (USB controller)
IRQ: 3, INTC, Cache line: 64B, Latency: 64
BAR: DFFF9000h, 00000000h, 00000000h, 00000000h, 00000000h, 00000000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 1 0 1 1 1
PCI device #6 found at bus: 0, dev: 19, func: 3
Vendor ID: 1002h (ATI Tech.)
Device ID: 438Ah, Revision ID: 0, Class: 0Ch (serial controller)
Sub-Class: 03h (USB controller)
IRQ: 5, INTB, Cache line: 64B, Latency: 64
BAR: DFFFA000h, 00000000h, 00000000h, 00000000h, 00000000h, 00000000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 1 0 1 1 1
PCI device #7 found at bus: 0, dev: 19, func: 4
Vendor ID: 1002h (ATI Tech.)
Device ID: 438Bh, Revision ID: 0, Class: 0Ch (serial controller)
Sub-Class: 03h (USB controller)
IRQ: 3, INTC, Cache line: 64B, Latency: 64
BAR: DFFFB000h, 00000000h, 00000000h, 00000000h, 00000000h, 00000000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 1 0 1 1 1
PCI device #8 found at bus: 0, dev: 19, func: 5
Vendor ID: 1002h (ATI Tech.)
Device ID: 4386h, Revision ID: 0, Class: 0Ch (serial controller)
Sub-Class: 03h (USB controller)
IRQ: 11, INTD, Cache line: 64B, Latency: 64
BAR: DFFF6900h, 00000000h, 00000000h, 00000000h, 00000000h, 00000000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 1 0 1 1 1
PCI device #9 found at bus: 0, dev: 20, func: 0
Vendor ID: 1002h (ATI Tech.)
Device ID: 4385h, Revision ID: 19, Class: 0Ch (serial controller)
Sub-Class: 05h (SMBus controller)
IRQ: none, Cache line: 0B, Latency: 0
BAR: 00000B01h, FED00000h, 00000000h, 00000000h, 00000000h, 00000000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 0 0 0 1 1
PCI device #10 found at bus: 0, dev: 20, func: 1
Vendor ID: 1002h (ATI Tech.)
Device ID: 438Ch, Revision ID: 0, Class: 01h (mass storage device)
Sub-Class: 01h (IDE controller)
IRQ: 10, INTA, Cache line: 64B, Latency: 64
BAR: 000001F1h, 000003F5h, 00000171h, 00000375h, 0000FFA1h, 00000000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 1 0 1 0 1
PCI device #11 found at bus: 0, dev: 20, func: 2
Vendor ID: 1002h (ATI Tech.)
Device ID: 4383h, Revision ID: 0, Class: 04h (multimedia device)
Sub-Class: 03h (HD audio device)
IRQ: 10, INTA, Cache line: 64B, Latency: 64
BAR: DFFFC004h, 00000000h, 00000000h, 00000000h, 00000000h, 00000000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 0 0 0 0 0 0 1 1 0
PCI device #12 found at bus: 0, dev: 20, func: 3
Vendor ID: 1002h (ATI Tech.)
Device ID: 438Dh, Revision ID: 0, Class: 06h (bridge)
Sub-Class: 01h (PCI to ISA bridge)
IRQ: none, Cache line: 0B, Latency: 0
BAR: 00000000h, 00000000h, 00000000h, 00000000h, 00000000h, 00000000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 0 1 1 1 1
PCI device #13 found at bus: 0, dev: 20, func: 4
Vendor ID: 1002h (ATI Tech.)
Device ID: 4384h, Revision ID: 0, Class: 06h (bridge)
Sub-Class: 04h (PCI to PCI bridge)
IRQ: none, Cache line: 0B, Latency: 64
BAR: 00000000h, 00000000h, 40020200h, 228000F0h, DFC0DFC0h, 0000FFF0h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 0 0 1 1 1
PCI device #14 found at bus: 1, dev: 5, func: 0
Vendor ID: 1002h (ATI Tech.)
Device ID: 5A61h, Revision ID: 0, Class: 03h (display adapter)
Sub-Class: 00h (VGA controller)
IRQ: 5, INTA, ROM base: DFE00000h, Cache line: 64B, Latency: 64
BAR: D0000008h, 0000EC01h, DFDF0000h, 00000000h, 00000000h, 00000000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 0 0 0 1 1
PCI device #15 found at bus: 1, dev: 5, func: 1
Vendor ID: 1002h (ATI Tech.)
Device ID: 5A61h, Revision ID: 0, Class: 03h (display adapter)
Sub-Class: 00h (VGA controller)
IRQ: 5, INTA, ROM base: DFE00000h, Cache line: 64B, Latency: 64
BAR: D0000008h, 0000EC01h, DFDF0000h, 00000000h, 00000000h, 00000000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 0 0 0 1 1
PCI device #16 found at bus: 1, dev: 5, func: 2
Vendor ID: 1002h (ATI Tech.)
Device ID: 5A61h, Revision ID: 0, Class: 03h (display adapter)
Sub-Class: 00h (VGA controller)
IRQ: 5, INTA, ROM base: DFE00000h, Cache line: 64B, Latency: 64
BAR: D0000008h, 0000EC01h, DFDF0000h, 00000000h, 00000000h, 00000000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 0 0 0 1 1
PCI device #17 found at bus: 1, dev: 5, func: 3
Vendor ID: 1002h (ATI Tech.)
Device ID: 5A61h, Revision ID: 0, Class: 03h (display adapter)
Sub-Class: 00h (VGA controller)
IRQ: 5, INTA, ROM base: DFE00000h, Cache line: 64B, Latency: 64
BAR: D0000008h, 0000EC01h, DFDF0000h, 00000000h, 00000000h, 00000000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 0 0 0 1 1
PCI device #18 found at bus: 1, dev: 5, func: 4
Vendor ID: 1002h (ATI Tech.)
Device ID: 5A61h, Revision ID: 0, Class: 03h (display adapter)
Sub-Class: 00h (VGA controller)
IRQ: 5, INTA, ROM base: DFE00000h, Cache line: 64B, Latency: 64
BAR: D0000008h, 0000EC01h, DFDF0000h, 00000000h, 00000000h, 00000000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 0 0 0 1 1
PCI device #19 found at bus: 1, dev: 5, func: 5
Vendor ID: 1002h (ATI Tech.)
Device ID: 5A61h, Revision ID: 0, Class: 03h (display adapter)
Sub-Class: 00h (VGA controller)
IRQ: 5, INTA, ROM base: DFE00000h, Cache line: 64B, Latency: 64
BAR: D0000008h, 0000EC01h, DFDF0000h, 00000000h, 00000000h, 00000000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 0 0 0 1 1
PCI device #20 found at bus: 1, dev: 5, func: 6
Vendor ID: 1002h (ATI Tech.)
Device ID: 5A61h, Revision ID: 0, Class: 03h (display adapter)
Sub-Class: 00h (VGA controller)
IRQ: 5, INTA, ROM base: DFE00000h, Cache line: 64B, Latency: 64
BAR: D0000008h, 0000EC01h, DFDF0000h, 00000000h, 00000000h, 00000000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 0 0 0 1 1
PCI device #21 found at bus: 1, dev: 5, func: 7
Vendor ID: 1002h (ATI Tech.)
Device ID: 5A61h, Revision ID: 0, Class: 03h (display adapter)
Sub-Class: 00h (VGA controller)
IRQ: 5, INTA, ROM base: DFE00000h, Cache line: 64B, Latency: 64
BAR: D0000008h, 0000EC01h, DFDF0000h, 00000000h, 00000000h, 00000000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 0 0 0 1 1
PCI device #22 found at bus: 2, dev: 9, func: 0
Vendor ID: 14E4h (Broadcom)
Device ID: 170Ch, Revision ID: 2, Class: 02h (network adapter)
Sub-Class: 00h (ethernet controller)
IRQ: 10, INTA, Cache line: 0B, Latency: 64
BAR: DFCFE000h, 00000000h, 00000000h, 00000000h, 00000000h, 00000000h
Device cfg: FBtoB,SERRE,WaitC,PaErr,VGAPS,MemWr,SpecC,BusMa,MemSE,IOSEn
0 1 0 0 0 0 0 1 1 0
_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom