Zoran,
I'm a bit confused as to where you are coming from with this - you can search for ASCII/hex strings using something as light as hexedit. No need to install a more full-blown hex editor especially. I'm not a fan of using sledgehammers to crack nuts.
John.
On 24/08/16 09:54, Zoran Stojsavljevic wrote:
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:
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 mailto: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 <mailto:coreboot@coreboot.org> https://www.coreboot.org/mailman/listinfo/coreboot <https://www.coreboot.org/mailman/listinfo/coreboot>
Hello John,
Thank you for guiding me. I used last 5 years (while being with INTEL) mainly HxD (for WIN). Did not used very long hex editors for Linux. Here it is (your suggestion): _______
[zoran@localhost tools]$ dnf whatprovides hexedit hexedit-1.2.13-8.fc24.x86_64 : A hexadecimal file viewer and editor Repo : fedora
[root@localhost tools]$ sudo dnf install hexedit-1.2.13-8.fc24.x86_64 Last metadata expiration check: 4:34:55 ago on Wed Aug 24 09:22:24 2016. Dependencies resolved. ============================================================================== Package Arch Version Repository Size ============================================================================== Installing: hexedit x86_64 1.2.13-8.fc24 fedora 44 k
[snap - deleted unimportant logs]
Installed: hexedit.x86_64 1.2.13-8.fc24
Complete! [root@localhost tools]$ which hexedit /usr/bin/hexedit _______
Thank you again, Zoran
On Wed, Aug 24, 2016 at 11:20 AM, John Lewis jlewis@johnlewis.ie wrote:
Zoran,
I'm a bit confused as to where you are coming from with this - you can search for ASCII/hex strings using something as light as hexedit. No need to install a more full-blown hex editor especially. I'm not a fan of using sledgehammers to crack nuts.
John.
On 24/08/16 09:54, Zoran Stojsavljevic wrote:
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