[coreboot] GRUB boot menu is not showing GRUB2

Dhanasekar Jaganathan jdhanasekarmca at gmail.com
Wed Jun 7 17:34:56 CEST 2017


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?

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 --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot/attachments/20170607/b96ec2b1/attachment.html>


More information about the coreboot mailing list