[LinuxBIOS] flashrom on the host or target ?

Myles Watson myles at pel.cs.byu.edu
Wed Jan 2 17:37:50 CET 2008


On Jan 1, 2008 1:24 PM, Phani Babu Giddi <phanig at gmail.com> wrote:
> Hi Corey,
>
> Is there a way by which I can use the external programmer to flash the
> complete chip at once. I mean There is the Linux BIOS image which includes
> the kernel and then there is the root file system and a fall back image. So
> that I can have a single file which I can generate and distribute.
>
> Have this been done before ?

It sounds like your problem is not how to flash the BIOS, but how to
generate a single image including LinuxBIOS, the filesystem, and the
kernel.

If this is your question, then you should look at a LAB (Linux As
Bootloader) implementation.  It puts everything in a single ROM image.
 The easiest way to do this is to get buildrom and follow one of the
configurations for LAB.  You need to have at least a 1MB chip to fit
LinuxBIOS and a kernel.  With a 2MB chip you wouldn't have to strip it
down so much.

Good luck,
Myles

> Regards,
> Phani
>
>
>
> On Jan 1, 2008 9:32 AM, Corey Osgood <corey.osgood at gmail.com> wrote:
>
> >
> > Phani Babu Giddi wrote:
> > > Hi Corey,
> > >
> > > Thanks for your reply but I am not clear. Let me list the steps, may
> > > be that will explain the problem I see.
> > >
> > > 1. I have a host target environment
> > > 2. I build Linux Kernel image with initrd on the host
> > > 3. I also build the root file system on the host
> > > 4. Now I build Linux BIOS and specify the Linux Kernel as payload.
> > > 5. So at this point I have the .bin/.rom for Linux BIOS and an image
> > > file for the root file system.
> > > 6. So my question was how do I get this on the flash device. Do I have
> > > to use an external programmer for this ? Because there is nothing on
> > > the target for me to run flashrom.
> >
> > Yep, you can use an external programmer, or you can use some other board
> > that's compatible with flashrom and your flash chip, by hot swapping the
> > flash chips.
> >
> > -Corey
> >
>
>
> --
> linuxbios mailing list
> linuxbios at linuxbios.org
> http://www.linuxbios.org/mailman/listinfo/linuxbios
>




More information about the coreboot mailing list