[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linuxbios
Subject:    Re: [coreboot] coreboot image signature
From:       Zoran Stojsavljevic <zoran.stojsavljevic () gmail ! com>
Date:       2016-08-24 12:20:44
Message-ID: CAGAf8LxdDFkRbkT68ypQJ971REY9-JxnatJn2gES0ZXHSq1Q6w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/related)]

[Attachment #4 (multipart/alternative)]


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
>>
>
>
>

[Attachment #7 (text/html)]

<div dir="ltr"><div><div><div><div>Hello John,<br><br></div>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):<br>_______<br><br></div>[zoran@localhost tools]$ dnf whatprovides \
hexedit<br>hexedit-1.2.13-8.fc24.x86_64 : A hexadecimal file viewer and \
editor<br>Repo               : fedora<br><br>[root@localhost tools]$ sudo dnf install \
hexedit-1.2.13-8.fc24.x86_64<br>Last metadata expiration check: 4:34:55 ago on Wed \
Aug 24 09:22:24 2016.<br>Dependencies \
resolved.<br>==============================================================================<br> \
Package                                             Arch                              \
Version                                                             Repository        \
Size<br>==============================================================================<br>Installing:<br> \
hexedit                                             x86_64                            \
1.2.13-8.fc24                                                 fedora                  \
44 k<br><br></div><div>[snap - deleted unimportant \
logs]<br></div><div><br>Installed:<br>   hexedit.x86_64 1.2.13-8.fc24                 \
<br><br>Complete!<br>[root@localhost tools]$ which \
hexedit<br>/usr/bin/hexedit<br>_______<br><br></div>Thank you \
again,<br></div>Zoran<br></div><div class="gmail_extra"><br><div \
class="gmail_quote">On Wed, Aug 24, 2016 at 11:20 AM, John Lewis <span \
dir="ltr">&lt;<a href="mailto:jlewis@johnlewis.ie" \
target="_blank">jlewis@johnlewis.ie</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>Zoran,</p>
    <p>I&#39;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&#39;m not a fan of using sledgehammers to crack nuts. <br><span \
class="HOEnZb"><font color="#888888">  </font></span></p><span class="HOEnZb"><font \
color="#888888">  <p>John.<br>
    </p></font></span><div><div class="h5">
    <br>
    <div>On 24/08/16 09:54, Zoran Stojsavljevic
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>&gt; Please see <a href="https://www.coreboot.org/CBFS" \
target="_blank">https://www.coreboot.org/CBFS</a><br>  <br>
              </div>
              <div>Hello John,<br>
              </div>
              <div><br>
                From the pointer:<b> <i><u>magic</u></i></b><i><u> is a
                    32 bit number that identifies the ROM as a CBFS
                    type. <b><span style="color:rgb(255,0,0)">The magic
                        number is 0x4F524243, which is &#39;ORBC&#39; in \
ASCII</span></b>.</u></i><br>  <br>
              </div>
              I did install on my F24 VM (in order to verify this info)
              wxHexEditor source code package
              (wxHexEditor-v0.23-src.tar.<wbr>bz2): <a \
href="http://www.wxhexeditor.org/home.php" \
target="_blank">http://www.wxhexeditor.org/<wbr>home.php</a><br>  <br>
            </div>
            <div>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:<br>
            </div>
            <div><br>
            </div>
            <img alt="Inline image 1" src="cid:part3.A5583072.02DA8FE6@johnlewis.ie" \
width="472" height="140"><br>  <br>
          </div>
          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??? ;-)<br>
          <br>
        </div>
        Zoran<br>
        <div><font color="#00FF00"><font align="right" size="3" face="Monospace"> \
</font></font></div>  </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Fri, Aug 19, 2016 at 11:49 AM, John
          Lewis <span dir="ltr">&lt;<a href="mailto:jlewis@johnlewis.ie" \
target="_blank">jlewis@johnlewis.ie</a>&gt;</span>  wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex">  <div bgcolor="#FFFFFF" text="#000000">
              <p>Hi Benoit,</p>
              <p>Please see <a href="https://www.coreboot.org/CBFS" \
target="_blank">https://www.coreboot.org/CBFS</a></p>  <p>Kind Regards,</p>
              <p>John.<br>
              </p>
              <div>
                <div> <br>
                  <div>On 19/08/16 10:43, Benoit SANSONI wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>
                        <div>
                          <div>Hi all,<br>
                            <br>
                          </div>
                          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
                          &quot;coreboot&quot; file.<br>
                        </div>
                        I did not find anything in the Makefile.inc.<br>
                        <br>
                      </div>
                      Thanks in advance<br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <br>
            --<br>
            coreboot mailing list: <a href="mailto:coreboot@coreboot.org" \
target="_blank">coreboot@coreboot.org</a><br>  <a \
href="https://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" \
target="_blank">https://www.coreboot.org/mailm<wbr>an/listinfo/coreboot</a><br>  \
</blockquote>  </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>


[Attachment #8 (image/png)]

-- 
coreboot mailing list: coreboot@coreboot.org
https://www.coreboot.org/mailman/listinfo/coreboot

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic