[ipxe-devel] Flashing 3Com Corporation 3c905C-TX/TX-M
Michael Brown
mbrown at fensystems.co.uk
Mon Mar 28 01:46:14 UTC 2011
On Sunday 27 Mar 2011 18:14:27 Tadas wrote:
> I'm trying to flash this NIC to support ipxe. As I couldn't find any
> original software for flashing from 3COM, I tried using flashrom. Flashrom
> supports flashing 3COM NIC's, but I ran into problem. IPXE generated image
> is 59.5 KiB and space in NIC option ROM ir 64 KiB. The main problem is that
> flashrom can't use images if they aren't the same size as ROM. Can I
> somehow generate IPXE image that is exactly 64 KiB in size, o should I
> report this issue to flashrom devs?
As a workaround, you can manually pad the image using util/padimg.pl. For
example:
make bin/10b79200.rom
./util/padimg.pl --blksize=65536 --byte=0xff bin/10b79200.rom
will produce a 64kB ROM image.
Being able to use non-padded images does seem like a sensible feature request
for flashrom. You could try the attached flashrom patch (which compiles, but is
otherwise totally untested). It should allow you to use an image that is
smaller than the space available in the ROM. Please let me know if it works!
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flashrom-image-size.patch
Type: text/x-patch
Size: 1118 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20110328/e1b34c25/attachment.bin>
More information about the ipxe-devel
mailing list