Четверг, 9 февраля 2017, 12:16 +01:00 от Michal Widlok michalwd1979@gmail.com:
Hello,
Igor - I've checked it again. Mac is really at addresses 0x5F6000, 0x5F7000 - or my ghex editor does not work :-). The flash chip is 8MB (0x800000), so fits right in. I will try Yours procedure, but I'm concerned about cutting image at 0x400000 - are You talking about 4MB flash? All my laptops has 8MB.
Ah, looks like you should use the files from the 7UET94WW directory, which are 8MB for (unpacked) FL1 and 4MB for FL2 (you should use 200000- 400000 from it).
Zoran - Michael is OK. In fact in polish Michal should end with special polish letter "ł", so I'm not sure if "international" Michael is not better anyway.
Best Regards, Michal Widlok
On Thu, Feb 9, 2017 at 9:50 AM, Zoran Stojsavljevic < zoran.stojsavljevic@gmail.com > wrote:
Hello Igor,
Interesting emails. I should admit. For sure worth exploration, especially GIT Hub application. :-)
Michal (finally, I got your correct name, idiot me),
I'll come back to this thread. I am last 3 days very busy. Very very busy, but, certainly, I'll get free time, and will explore this opportunity, since it makes my old, not so sharp anymore eyes very wide!
Thank you all, Zoran
On Wed, Feb 8, 2017 at 10:46 PM, Igor Skochinsky via coreboot < coreboot@coreboot.org > wrote:
P.S.
Hello Michal,
The T400 BIOS is in a Pre-UEFI Phoenix FFV format. You can use phoenix_extract.py[1] to extract modules from it.
To go back to Lenovo BIOS you can try the following:
- download an update from lenovo (e.g. 7uuj49us.exe)
- unpack it with innounp
2b) apparently innoextract [2] can be used on non-Windows platforms
[2]: http://constexpr.org/innoextract/
3a) take the FL2 file (e.g. $01B8100.FL2), cut out from 0x200000 to 0x400000 and use the resulting image to replace coreboot in the BIOS region (end of flash). 3b) take the FL1 file (e.g. $01B8100.FL1), unpack it with bcpvd from [1] and flash the result (it's a complete flash image with descriptor and ME) after cutting it at 0x400000 4) according to the descriptor in unpacked FL1 , the GbE region is at 001F6000 - 001F7FFF, so that's the most likely place for storing the MAC address. I'm not sure why your desc.rom lists 5F6000 - 005F7FFF... I think that's outside the flash chip.
[1]: https://github.com/coreboot/bios_extract
-- WBR, Igor mailto:roxfan@skynet.be
-- WBR, Igor mailto:skochinsky@mail.ru -- coreboot mailing list: coreboot@coreboot.org https://www.coreboot.org/mailman/listinfo/coreboot
-- coreboot mailing list: coreboot@coreboot.org https://www.coreboot.org/mailman/listinfo/coreboot
WBR, Igor mailto:skochinsky@mail.ru
Hello Igor,
I've tried Yours procedure, but again no success. Anyway the bios update was what make this board "unbootable" in the first place. I think that I will just replace it with another one that is working with original bios and with coreboot (again disassembly and soldering, ufff). Best Regards, Michael Widlok
On Thu, Feb 9, 2017 at 2:11 PM, Igor Skochinsky skochinsky@mail.ru wrote:
Четверг, 9 февраля 2017, 12:16 +01:00 от Michal Widlok michalwd1979@gmail.com:
Hello,
Igor - I've checked it again. Mac is really at addresses 0x5F6000, 0x5F7000 - or my ghex editor does not work :-). The flash chip is 8MB (0x800000), so fits right in. I will try Yours procedure, but I'm concerned about cutting image at 0x400000 - are You talking about 4MB flash? All my laptops has 8MB.
Ah, looks like you should use the files from the 7UET94WW directory, which are 8MB for (unpacked) FL1 and 4MB for FL2 (you should use 200000- 400000 from it).
Zoran - Michael is OK. In fact in polish Michal should end with special polish letter "ł", so I'm not sure if "international" Michael is not better anyway.
Best Regards, Michal Widlok
On Thu, Feb 9, 2017 at 9:50 AM, Zoran Stojsavljevic < zoran.stojsavljevic@gmail.com > wrote:
Hello Igor,
Interesting emails. I should admit. For sure worth exploration, especially GIT Hub application. :-)
Michal (finally, I got your correct name, idiot me),
I'll come back to this thread. I am last 3 days very busy. Very very busy, but, certainly, I'll get free time, and will explore this opportunity, since it makes my old, not so sharp anymore eyes very wide!
Thank you all, Zoran
On Wed, Feb 8, 2017 at 10:46 PM, Igor Skochinsky via coreboot < coreboot@coreboot.org > wrote:
P.S.
Hello Michal,
The T400 BIOS is in a Pre-UEFI Phoenix FFV format. You can use phoenix_extract.py[1] to extract modules from it.
To go back to Lenovo BIOS you can try the following:
- download an update from lenovo (e.g. 7uuj49us.exe)
- unpack it with innounp
2b) apparently innoextract [2] can be used on non-Windows platforms
3a) take the FL2 file (e.g. $01B8100.FL2), cut out from 0x200000 to 0x400000 and use the resulting image to replace coreboot in the BIOS region (end of flash). 3b) take the FL1 file (e.g. $01B8100.FL1), unpack it with bcpvd from [1] and flash the result (it's a complete flash image with descriptor and ME) after cutting it at 0x400000 4) according to the descriptor in unpacked FL1 , the GbE region is at 001F6000 - 001F7FFF, so that's the most likely place for storing the MAC address. I'm not sure why your desc.rom lists 5F6000 - 005F7FFF... I think that's outside the flash chip.
-- WBR, Igor mailto:roxfan@skynet.be
-- WBR, Igor mailto:skochinsky@mail.ru -- coreboot mailing list: coreboot@coreboot.org https://www.coreboot.org/mailman/listinfo/coreboot
-- coreboot mailing list: coreboot@coreboot.org https://www.coreboot.org/mailman/listinfo/coreboot
WBR, Igor mailto:skochinsky@mail.ru