Hi Benoit,
Please see https://www.coreboot.org/CBFS
Kind Regards,
John.
On 19/08/16 10:43, Benoit SANSONI wrote:
Hi all,
I would like to know if it is possible, via a signature or a magic number, in the coreboot.rom file to recognize that it is a "coreboot" file. I did not find anything in the Makefile.inc.
Thanks in advance
Bear in mind that on some mainboards (at least the one that I'm trying to port) the beginning of the rom is occupied by EC firmware blob. On x86 you could check the reset vector at 0xFFFFFFF0 but i don't know if it's the same way with all architectures. Also You would have to somehow tell the difference between vendor bios and coreboot rom.
To me it seems that storing cb roms with ".cbrom" extension would be more practical.
Please see https://www.coreboot.org/CBFS
Hello John,
From the pointer:* magic** is a 32 bit number that identifies the ROM as a
CBFS type. The magic number is 0x4F524243, which is 'ORBC' in ASCII.*
I did install on my F24 VM (in order to verify this info) wxHexEditor source code package (wxHexEditor-v0.23-src.tar.bz2): http://www.wxhexeditor.org/home.php
Please, you can all try it, there are some environmental catches/packages and CCP flags (CCPFLAGS) to be added, but it is fairly manageable. Here is how GUI looks like:
[image: Inline image 1]
Interesting enough, wxHexAuthor Erdem (U. Altinyurt) is a jobless computer engineer, born and living since 1981,in Istanbul, Turkey. Why Erdem is jobless, that is the (crucial) question??? ;-)
Zoran
On Fri, Aug 19, 2016 at 11:49 AM, John Lewis jlewis@johnlewis.ie wrote:
Hi Benoit,
Please see https://www.coreboot.org/CBFS
Kind Regards,
John.
On 19/08/16 10:43, Benoit SANSONI wrote:
Hi all,
I would like to know if it is possible, via a signature or a magic number, in the coreboot.rom file to recognize that it is a "coreboot" file. I did not find anything in the Makefile.inc.
Thanks in advance
-- coreboot mailing list: coreboot@coreboot.org https://www.coreboot.org/mailman/listinfo/coreboot