Re: TG3(Tigoon) & Kernel 2.4.27

Nathanael Nerode
2004-08-30T22:16:29Z

David S. Miller wrote:
>The tg3 firmware is just a bunch of MIPS instructions.
Well, good to know that. It's the first I'd heard of it.

>I guess if I ran objdump --disassemble on the image and
>used the output of that in the tg3 driver and "compiled
>that source" they'd be happy. And this makes the situation
>even more ludicrious.

Before you blithely made this claim, you should have actually tried running
objdump --disassemble on the image.

It's not packed up in a standard ELF/COFF/etc format, so that doesn't
actually work. You can use simple assembler trickery to pack it up into a
normal object file *if* you have an assembler for mips *and* you know whether
the chip is running little-endian or big-endian (I have no idea). You may
need other information as well. :-P Then and only then can you try to
dissassemble it with objdump. Then you have to separate data in the text
section out from the code in order to get something which actually
approximates source code.

Much simpler for Broadcom to just release the source code. :-P

--
This space intentionally left blank.