[coreboot] Flashing problem with SST49LF004B

Corey Osgood corey.osgood at gmail.com
Fri Apr 4 14:59:44 CEST 2008


Ok, so if you open up the sst_after_erase.bin with a hex editor, is there
anything in it? Does that match the data from the diff, or is it a binary
ORing of the data from the diff? Do you have any other flash chips you can
try on the board?

On Fri, Apr 4, 2008 at 8:41 AM, malatesh kamatad <malateshkamat at gmail.com>
wrote:

>  Ya i got result like this after comparing
>
>   [root at localhost ~]# diff -us original.bin sst_after_write.bin
> Binary files original.bin and sst_after_write.bin differ
>
>    but its showing that there is a difference in between to files ....
>
>   i think write is not happening proper ....
>
> Thanks .
> malatesh
>
>
> On 04/04/2008, Corey Osgood <corey.osgood at gmail.com> wrote:
> >
> > what's the output of diff -us original.bin sst_after_write.bin? Can you
> > download the bios from the manufacturer and see if flashing that works?
> >
> > -Corey
> >
> > On Fri, Apr 4, 2008 at 7:03 AM, malatesh kamatad <
> > malateshkamat at gmail.com> wrote:
> >
> > >    I worked with the step by step this is the output......
> > >
> > > [root at localhost ~]# flashrom -r original.bin
> > > Calibrating delay loop... OK.
> > > No coreboot table found.
> > > Found chipset "VIA VT8237", enabling flash write... OK.
> > > Pm49FL004 found at physical address 0xfff80000.
> > > Flash part is Pm49FL004 (512 KB).
> > > Reading Flash...done
> > >
> > > [root at localhost ~]# flashrom -E
> > > Calibrating delay loop... OK.
> > > No coreboot table found.
> > > Found chipset "VIA VT8237", enabling flash write... OK.
> > > SST49LF004A/B found at physical address 0xfff80000.
> > > Flash part is SST49LF004A/B (512 KB).
> > > Erasing flash chip
> > >
> > > [root at localhost ~]# flashrom -r sst_after_erase.bin
> > > Calibrating delay loop... OK.
> > > No coreboot table found.
> > > Found chipset "VIA VT8237", enabling flash write... OK.
> > > SST49LF004A/B found at physical address 0xfff80000.
> > > Flash part is SST49LF004A/B (512 KB).
> > > Reading Flash...done
> > >
> > > [root at localhost ~]# flashrom -w original.bin
> > > Calibrating delay loop... OK.
> > > No coreboot table found.
> > > Found chipset "VIA VT8237", enabling flash write... OK.
> > > SST49LF004A/B found at physical address 0xfff80000.
> > > Flash part is SST49LF004A/B (512 KB).
> > > Flash image seems to be a legacy BIOS. Disabling checks.
> > > Programming page: 0007 at address: 0x00070000
> > >
> > > [root at localhost ~]# flashrom -r sst_after_write.bin
> > > Calibrating delay loop... OK.
> > > No coreboot table found.
> > > Found chipset "VIA VT8237", enabling flash write... OK.
> > > SST49LF004A/B found at physical address 0xfff80000.
> > > Flash part is SST49LF004A/B (512 KB).
> > > Reading Flash...done
> > >
> > > Thanks,
> > > Malatesh.
> > >
> > > On 04/04/2008, malatesh kamatad <malateshkamat at gmail.com> wrote:
> > > >
> > > > Hi..
> > > >
> > > >          We are having two BIOS i.e, PM49FL004( motherboard's BIOS)
> > > > and empty flashrom
> > > >
> > > >         SST49LF004B ..
> > > >
> > > >        We are trying to flash the content of PM49FL004 to
> > > > SST49LF004B flashrom
> > > >
> > > >         according to your suggestion we have done ..we are getting
> > > > output  as bellow..
> > > >
> > > >
> > > >
> > > > [root at localhost ~]# flashrom -E
> > > >
> > > > Calibrating delay loop... OK.
> > > >
> > > > No coreboot table found.
> > > >
> > > > Found chipset "VIA VT8237", enabling flash write... OK.
> > > >
> > > > SST49LF004A/B found at physical address 0xfff80000.
> > > >
> > > > Flash part is SST49LF004A/B (512 KB).
> > > >
> > > > Erasing flash chip
> > > >
> > > > Erasing page: 0007 at address: 0x00070000
> > > >
> > > > [root at localhost ~]# flashrom -r malateh.bin
> > > >
> > > > Calibrating delay loop... OK.
> > > >
> > > > No coreboot table found.
> > > >
> > > > Found chipset "VIA VT8237", enabling flash write... OK.
> > > >
> > > > SST49LF004A/B found at physical address 0xfff80000.
> > > >
> > > > Flash part is SST49LF004A/B (512 KB).
> > > >
> > > > Reading Flash...done
> > > >
> > > > [root at localhost ~]# flashrom -w malateh.bin
> > > >
> > > > Calibrating delay loop... OK.
> > > >
> > > > No coreboot table found.
> > > >
> > > > Found chipset "VIA VT8237", enabling flash write... OK.
> > > >
> > > > SST49LF004A/B found at physical address 0xfff80000.
> > > >
> > > > Flash part is SST49LF004A/B (512 KB).
> > > >
> > > > Flash image seems to be a legacy BIOS. Disabling checks.
> > > >
> > > > Programming page: 0007 at address: 0x00070000
> > > >
> > > > [root at localhost ~]# flashrom -v malateh.bin
> > > >
> > > > Calibrating delay loop... OK.
> > > >
> > > > No coreboot table found.
> > > >
> > > > Found chipset "VIA VT8237", enabling flash write... OK.
> > > >
> > > > SST49LF004A/B found at physical address 0xfff80000.
> > > >
> > > > Flash part is SST49LF004A/B (512 KB).
> > > >
> > > > Flash image seems to be a legacy BIOS. Disabling checks.
> > > >
> > > > Verifying flash... VERIFIED.
> > > >
> > > >
> > > >  After that we tried to boot the system by SST49lf004B but system is
> > > > not rebooting....
> > > >
> > > > So we want to flash the content of the Pm49fl004 to SST49lf004 so
> > > > that our system can boot
> > > >
> > > > using SST49lf004....
> > > >
> > > > thanks,
> > > > Malatesh..
> > > >
> > > >
> > > > On 04/04/2008, bari <bari at onelabs.com> wrote:
> > > > >
> > > > > Try Peters suggestion of reading the flash after an erase and see
> > > > > what is there.
> > > > >
> > > > > If it is erased, read back after you have tried to write and
> > > > > compare.
> > > > >
> > > > > See what is or is not happening.
> > > > >
> > > > > -Bari
> > > > >
> > > > > malatesh kamatad wrote:
> > > > >
> > > > > > Hi...
> > > > > >       I am working on ASRock motherboard .....in FWH mode...
> > > > > >
> > > > > > with regards.
> > > > > > Malatesh
> > > > > >
> > > > > > On 03/04/2008, *bari* <bari at onelabs.com <mailto:bari at onelabs.com>>
> > > > > > wrote:
> > > > > >
> > > > > >    malatesh kamatad wrote:
> > > > > >
> > > > > >
> > > > > >        Hi all..
> > > > > >              I have worked with PM49fl00x.diff patch ,its worked
> > > > > > fine
> > > > > >        and i got the output as below
> > > > > >
> > > > > >    The PM49fl00x can work in LPC and FWH modes. Do you know
> > > > > > which
> > > > > >    mode is being used?
> > > > > >    What mainboard did you test this in?
> > > > > >
> > > > > >                           Now i am working on SST49LF004B
> > > > > >                                    33-4C-NHE
> > > > > >                                          0710022-CA   with the
> > > > > >         motherboard  K8Upgrade-VM800
> > > > > >                         The flashrom detect flash device on this
> > > > > >        board, But the erasing and writting operation is not
> > > > > > happening
> > > > > >        properly
> > > > > >          hier flashrom output :
> > > > > >    Is this the board by ASRock?
> > > > > >
> > > > > >    -Bari
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> > > --
> > > coreboot mailing list
> > > coreboot at coreboot.org
> > > http://www.coreboot.org/mailman/listinfo/coreboot
> > >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080404/4d171311/attachment.html>


More information about the coreboot mailing list