Subject: Re: Adaptec 2940UW flashed for Mac on an Ultra5
To: Sean Davis <erplefoo@gmail.com>
From: Michael <macallan18@earthlink.net>
List: port-sparc64
Date: 03/12/2005 12:00:26
--Signature=_Sat__12_Mar_2005_12_00_26_-0500_FhVKgGb=4l553=dg
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Hello,

> Am I the only one with a Sun/OF 2940UW around? if not... anybody know
> how I might convince the eeprom (or fdump) utilities that come with
> Adaptec's little firmware package (to backup the ROM) to backup 128K?
> I've only been able to pull 64K off mine. I notice that the "eeprom"
> utility on the adaptec disk takes a size argument... but the actual
> update script uses "flash4.exe" not "eeprom.exe" so I'm not sure what
> to do with that.
Hmm, write a small program that enables the ROM ( or do it by hand - pcictl and tweakpci are your friends ), mmap(/dev/mem, whatever_physical_address_it_is_at) and dump it into a file. The PCI stuff is at 0x1ff00000000, so it should be fairly easy to do. Of course this works only if the ROM is really one piece of 128KB.
I did something similar on macppc, I could send you the code if you want.

have fun
Michael

--Signature=_Sat__12_Mar_2005_12_00_26_-0500_FhVKgGb=4l553=dg
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQjMgKspnzkX8Yg2nAQKUfQf+JQAnMP8WvfMPeWcXRiHKEca43e8LFF0R
guEJdT/EA0+xzgL2ejWrX8EXOxpIOZHykKmOL0iYEnGZGUXQq/gGVCd+O9zJXPrE
/bobKnRMx56O0PUIhf939E63oS7Kg6n48pfOQ1TtDEdaahGHCl3PYq6GPqHp0car
7C2BtasdKcD9ZgvWWe+SJjllDLOitYwyvhtB0SFXmxqvMsQycKVV6J4sHJ4R1bEN
u9ln8hXx1cihV70skL5BEbHJ+Ub6/LfcqVcTcjj06OyaihsJAnUYdBNwRCfHquUd
Njq+8MqqMwDYpwe/EGNgxjRdqEASCTNGKVsKFiLftez4hBbooTmMvQ==
=tQho
-----END PGP SIGNATURE-----

--Signature=_Sat__12_Mar_2005_12_00_26_-0500_FhVKgGb=4l553=dg--