[coreboot] GRUB boot menu is not showing GRUB2

Nico Huber nico.huber at secunet.com
Thu Jun 8 11:31:09 CEST 2017


On 07.06.2017 17:34, Dhanasekar Jaganathan wrote:
> Hi Nico,
> 
> I have taken the Flash Region's dump of my vendor BIOS using Ifdtool (which
> is copied below),
> 
> *FLREG0:    0x000f0000*
> *  Flash Region 0 (Flash Descriptor): 00000000 - 0000ffff *
> *FLREG1:    0x07ff0200*
> *  Flash Region 1 (BIOS): 00200000 - 007fffff *
> *FLREG2:    0x00000fff*
> *  Flash Region 2 (Intel ME): 00fff000 - 00000fff (unused)*
> *FLREG3:    0x00000fff*
> *  Flash Region 3 (GbE): 00fff000 - 00000fff (unused)*
> *FLREG4:    0x00000fff*
> *  Flash Region 4 (Platform Data): 00fff000 - 00000fff (unused)*
> 
> From this dump, BIOS region is from 0x200000 to 0x07FFFFF.
> 
> So *CONFIG_ROM_SIZE is 8MB *and *CONFIG_CBFS_SIZE is 6MB ( 0x7FFFFF -
> 0x200000 = 0x5FFFFF)*
> 
> Am I correct?

Yes, that's correct. The 0x7fffff is actually inclusive, so it's exactly
6MiB.

Nico

> 
> Please correct me, if I am wrong.
> 
> Thanks,
> Dhanasekar
> 
> 
> On Wed, Jun 7, 2017 at 8:26 PM, Nico Huber <nico.huber at secunet.com> wrote:
> 
>> On 07.06.2017 16:49, Dhanasekar Jaganathan wrote:
>>> Hi Nico,
>>>
>>> Thanks for the info..
>>>
>>> Actually, I have given "*make al*l" to rebuild the coreboot source.
>>>
>>> Is it correct way to rebuilt to the source?
>>
>> That should work fine.
>>
>>>
>>> Or I have to run *make crossgcc-i386 CPUS=$(nproc)* and *make*
>>
>> crossgcc is only needed once.
>>
>> Nico
>>
>>>
>>> Thanks,
>>> Dhanaeskar
>>>
>>> On Wed, Jun 7, 2017 at 7:17 PM, Nico Huber <nico.huber at secunet.com>
>> wrote:
>>>
>>>> On 07.06.2017 15:38, Dhanasekar Jaganathan wrote:
>>>>> Hi Nico,
>>>>>
>>>>> Following is my complete Payload setting,
>>>>>
>>>>> 1.Add a payload -> (GRUB2)
>>>>> 2.GRUB2 version -> (HEAD)
>>>>> 3.Include GRUB2 runtime config file into ROM image = Y
>>>>> 4.Gave the path of grub.cfg (which I copied from Fedora OS when booted
>> is
>>>>> booted with other BIOS vendor).
>>>>>
>>>>> Based on this, please provide your comments.
>>>>
>>>> I can only repeat myself: With this setup, you have to rebuild your
>>>> coreboot every time you make changes to your grub.cfg. (You probably
>>>> know that already and did so, but didn't tell it?)
>>>>
>>>> Nico
>>>>
>>>
>>
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x138B3CE3.asc
Type: application/pgp-keys
Size: 5129 bytes
Desc: not available
URL: <http://mail.coreboot.org/pipermail/coreboot/attachments/20170608/3fc26c06/attachment.skr>


More information about the coreboot mailing list