Messages in this thread | | | Date | Mon, 30 Aug 2004 18:16:38 -0400 | Subject | Re: TG3(Tigoon) & Kernel 2.4.27 | From | (Nathanael Nerode) |
| |
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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |