Mailinglist Archive: radeonhd (265 mails)
| < Previous | Next > |
AtomBIOS dumper (Was: Re: [radeonhd] M72)
- From: Matthias Hopf <mhopf@xxxxxxx>
- Date: Thu, 8 Jan 2009 19:32:05 +0100
- Message-id: <20090108183205.GB11305@xxxxxxx>
On Jan 07, 09 14:52:23 -0500, Jeff Collins wrote:
Ah right, there is one thing we just forgot to release in the meantime.
It's a BIOS disassembler and table dumper, that has been enormously
helpful in radeonhd development, especially in the early days. It has
been build essentially by analyzing the AtomBIOS parser from AMD.
As the parser is now released by AMD (it's part of the radeonhd driver
for a long time now) this can be used by anybody interested in the BIOS
code. Remember that this is some sort of interpreted assembler-like
language, which is CPU independent. The disassembler is not endian safe
yet, though.
I pushed the dumper to freedesktop:
git://people.freedesktop.org/~mhopf/AtomDis
You need to link/copy the atombios.h from radeonhd/src/AtomBios/includes
into this directory, before you can actually compile it.
That said, it doesn't help in telling you in which order which command
tables have to be called. But often you can understand a lot of things
by looking at the disassembled code.
Hope this helps
Matthias
--
Matthias Hopf <mhopf@xxxxxxx> __ __ __
Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ mat@xxxxxxxxx
Phone +49-911-74053-715 __) |_| __) |__ R & D www.mshopf.de
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx
Have documents been released on the Atombios command tables, and in which
order to call them? If not are they going to be released? Are there
documents for the Atombios to be released?
Ah right, there is one thing we just forgot to release in the meantime.
It's a BIOS disassembler and table dumper, that has been enormously
helpful in radeonhd development, especially in the early days. It has
been build essentially by analyzing the AtomBIOS parser from AMD.
As the parser is now released by AMD (it's part of the radeonhd driver
for a long time now) this can be used by anybody interested in the BIOS
code. Remember that this is some sort of interpreted assembler-like
language, which is CPU independent. The disassembler is not endian safe
yet, though.
I pushed the dumper to freedesktop:
git://people.freedesktop.org/~mhopf/AtomDis
You need to link/copy the atombios.h from radeonhd/src/AtomBios/includes
into this directory, before you can actually compile it.
That said, it doesn't help in telling you in which order which command
tables have to be called. But often you can understand a lot of things
by looking at the disassembled code.
Hope this helps
Matthias
--
Matthias Hopf <mhopf@xxxxxxx> __ __ __
Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ mat@xxxxxxxxx
Phone +49-911-74053-715 __) |_| __) |__ R & D www.mshopf.de
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx
| < Previous | Next > |