In the s2891 tutorial it shows phnxdeco producing a rom.scr file, which the readme says will reassemble the BIOS. The version I downloaded doesn't seem to produce this file with the -xs or -x options.
What's the preferred way to get the BIOS out of the .wph file so that flashrom can use it?
Thanks, Myles
On 18.07.2008 18:04, Myles Watson wrote:
In the s2891 tutorial it shows phnxdeco producing a rom.scr file, which the readme says will reassemble the BIOS. The version I downloaded doesn't seem to produce this file with the -xs or -x options.
What's the preferred way to get the BIOS out of the .wph file so that flashrom can use it?
IIRC the ROM is at the beginning or the end of the WPH file. Simply compare it with your current ROM, find the matching area, then use dd.
Regards, Carl-Daniel
-----Original Message----- From: Carl-Daniel Hailfinger [mailto:c-d.hailfinger.devel.2006@gmx.net] Sent: Friday, July 18, 2008 10:54 AM To: Myles Watson Cc: 'Coreboot'; 'Ward Vandewege' Subject: Re: [coreboot] Phoenix reassembly
On 18.07.2008 18:04, Myles Watson wrote:
In the s2891 tutorial it shows phnxdeco producing a rom.scr file, which
the
readme says will reassemble the BIOS. The version I downloaded doesn't
seem
to produce this file with the -xs or -x options.
What's the preferred way to get the BIOS out of the .wph file so that flashrom can use it?
IIRC the ROM is at the beginning or the end of the WPH file. Simply compare it with your current ROM, find the matching area, then use dd.
Since my current ROM is coreboot, that won't work, but I guess I could try 1MB sections until I find the right one.
Thanks, Myles
Regards, Carl-Daniel
On 18.07.2008 19:21, Myles Watson wrote:
-----Original Message----- From: Carl-Daniel Hailfinger [mailto:c-d.hailfinger.devel.2006@gmx.net] Sent: Friday, July 18, 2008 10:54 AM To: Myles Watson Cc: 'Coreboot'; 'Ward Vandewege' Subject: Re: [coreboot] Phoenix reassembly
On 18.07.2008 18:04, Myles Watson wrote:
In the s2891 tutorial it shows phnxdeco producing a rom.scr file, which
the
readme says will reassemble the BIOS. The version I downloaded doesn't
seem
to produce this file with the -xs or -x options.
What's the preferred way to get the BIOS out of the .wph file so that flashrom can use it?
IIRC the ROM is at the beginning or the end of the WPH file. Simply compare it with your current ROM, find the matching area, then use dd.
Since my current ROM is coreboot, that won't work, but I guess I could try 1MB sections until I find the right one.
Ah sorry, I overlooked that. The last 16 bytes of the correct image should look similar to what coreboot has there. Well, not completely, but the jump instruction at 0xfffffff0 should be there.
Regards, Carl-Daniel