I know from cpu manual that when machine starts, it executes instruction at FFFFFFF0, and then execute some code at FFFF0000-FFFFFFF0, i hope i can get these machine code directly from my memory, any tool to help me display the hexadecimal or binary content?
thanks!
Hi Star,
It is often considered quite unpolite to cross-post to several mailing lists, unless the issue genuinely requires all different list participants to be involved.
On Mon, Jul 14, 2008 at 04:02:42PM +0800, Star Liu wrote:
I know from cpu manual that when machine starts, it executes instruction at FFFFFFF0, and then execute some code at FFFF0000-FFFFFFF0, i hope i can get these machine code directly from my memory, any tool to help me display the hexadecimal or binary content?
I suggest you use flashrom to read the contents of your system firmware flash chip into a file. Then you can use xxd or hexdump -C to print the contents of that file. See more about flashrom on: http://coreboot.org/Flashrom
//Peter
On Mon, Jul 14, 2008 at 6:00 PM, Peter Stuge peter@stuge.se wrote:
Hi Star,
It is often considered quite unpolite to cross-post to several mailing lists, unless the issue genuinely requires all different list participants to be involved.
Yes, I agree with you, I won't do it in the future :)
On Mon, Jul 14, 2008 at 04:02:42PM +0800, Star Liu wrote:
I know from cpu manual that when machine starts, it executes instruction at FFFFFFF0, and then execute some code at FFFF0000-FFFFFFF0, i hope i can get these machine code directly from my memory, any tool to help me display the hexadecimal or binary content?
I suggest you use flashrom to read the contents of your system firmware flash chip into a file. Then you can use xxd or hexdump -C to print the contents of that file. See more about flashrom on: http://coreboot.org/Flashrom
thank you, but i'm the unlucky one whose PC is not supported by flashrom :)
//Peter
-- coreboot mailing list coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
On Mon, Jul 14, 2008 at 06:27:33PM +0800, Star Liu wrote:
I suggest you use flashrom
thank you, but i'm the unlucky one whose PC is not supported by flashrom :)
Maybe we can change that. Also, flashrom has recently gotten support for reading out flash chip contents also on unsupported hardware, but you need to know how large your flash chip is, and how it is connected to the system.
What components are in your system? AMD64 CPU, but which chipset, which superio and which flash chip?
lspci -nn should show the chipset. superiotool -dV may show the superio
The flash chip is only identifiable by inspection, so open your system and look for a flash component. There is a section on how to identify it on the coreboot FAQ page: http://coreboot.org/FAQ
//Peter
Then you can use xxd or hexdump -C
I use dd with hexdump -C, it works pretty good.
Thanks, Joseph Smith Set-Top-Linux www.settoplinux.org
On Mon, Jul 14, 2008 at 6:00 PM, Peter Stuge peter@stuge.se wrote:
I suggest you use flashrom to read the contents of your system firmware flash chip into a file. Then you can use xxd or hexdump -C to print the contents of that file. See more about flashrom on: http://coreboot.org/Flashrom
thank you, flashrom works on my computer now, so i got the bios bin file, though it didn't work 1 month ago :)
//Peter
-- coreboot mailing list coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot