Hi all..
I have worked with PM49fl00x.diff patch ,its worked fine and i got the output as below
[root@localhost ~]# flashrom
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).
No operations were specified.
[root@localhost ~]# flashrom -r backup.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@localhost ~]# flashrom -E
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).
Erasing flash chip
Erasing page: 0007 at address: 0x00070000
[root@localhost ~]# flashrom -w backup.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).
Flash image seems to be a legacy BIOS. Disabling checks.
Programming page: 0007 at address: 0x00070000
[root@localhost ~]# flashrom -v backup.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).
Flash image seems to be a legacy BIOS. Disabling checks.
Verifying flash... VERIFIED.
**************************************************************************************************************************************
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 :
[root@localhost ~]# flashrom
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).
No operations were specified.
[root@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@localhost ~]# flashrom -w backup.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@localhost ~]# flashrom -v backup.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... FAILED!
Now we are analysing the code but we are not getting idea...
please guide us how to change the code ..we are ready to fix the things.
Thanks in advance........
with regards,
Malatesh kamatad..
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
Hi... I am working on ASRock motherboard .....in FWH mode...
with regards. Malatesh
On 03/04/2008, bari bari@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
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@onelabs.com mailto:bari@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
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@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@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@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@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@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@onelabs.com mailto:bari@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
On Fri, Apr 04, 2008 at 02:11:02PM +0530, malatesh kamatad wrote:
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..
Yes, you said so earlier. There is clearly a language issue. :\
Please start investigating what happens with the SST flash chip after each flashrom operation.
Step by step:
* Insert Pm49LF004 chip * Run flashrom -r original.bin * Insert SST49LF004B chip * Run flashrom -E * Run flashrom -r sst_after_erase.bin * Run flashrom -w original.bin * Run flashrom -r sst_after_write.bin * Analyze sst_after_*.bin and try to find a pattern that can explain what is failing at each step.
//Peter
I worked with the step by step this is the output......
[root@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@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@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@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@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@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@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@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@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@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@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@onelabs.com mailto:bari@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
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@gmail.com wrote:
I worked with the step by step this is the output......
[root@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@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@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@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@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@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@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@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@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@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@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@onelabs.com mailto:bari@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@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Ya i got result like this after comparing
[root@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@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@gmail.com wrote:
I worked with the step by step this is the output......
[root@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@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@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@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@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@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@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@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@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@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@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@onelabs.com mailto:bari@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@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
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@gmail.com wrote:
Ya i got result like this after comparing
[root@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@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@gmail.com> wrote:
I worked with the step by step this is the output......
[root@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@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@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@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@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@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@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@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@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@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@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@onelabs.com mailto:bari@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@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Ya .. after checking that file i got result like this ...it shows that there is a content in that file
[root@localhost ~]# hexdump sst_after_erase.bin 0000000 ffff ffff ffff ffff ffff ffff ffff ffff * 0080000
I think erasing is not happened properly..
Thanks.. malatesh
On 04/04/2008, Corey Osgood corey.osgood@gmail.com wrote:
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@gmail.com wrote:
Ya i got result like this after comparing
[root@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@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@gmail.com> wrote:
I worked with the step by step this is the output......
[root@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@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@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@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@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@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@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@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@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@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@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@onelabs.com mailto: bari@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@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Hello,
On Fri, Apr 04, 2008 at 06:55:11PM +0530, malatesh kamatad wrote:
Ya .. after checking that file i got result like this ...it shows that there is a content in that file
[root@localhost ~]# hexdump sst_after_erase.bin 0000000 ffff ffff ffff ffff ffff ffff ffff ffff
0080000
This shows that erasing the chip works correctly. That is good news.
hexdump uses * to indicate that the previous 16 bytes of data is repeated until the next printed address. In this case the file contains all 0xff.
I think erasing is not happened properly..
Flash memory erases to all bits set to 1. When bytes are "flashed", the neccesary bits in each byte are cleared to 0.
Please also do hexdump of sst_after_write.bin. Hopefully the contents of that file can provide some hints about why writing fails.
This could be a timing problem in flashrom, but that is just a guess.
//Peter
Hello, But the content after writing by using below command shows result like this....
[root@localhost ~]# /usr/local/sbin/flashrom -r | hexdump
0000000 6143 696c 7262 7461 6e69 2067 6564 616c 0000010 2079 6f6c 706f 2e2e 202e 4b4f 0a2e 6f4e 0000020 6320 726f 6265 6f6f 2074 6174 6c62 2065 0000030 6f66 6e75 2e64 460a 756f 646e 6320 6968 0000040 7370 7465 2220 4956 2041 5456 3238 3733 0000050 2c22 6520 616e 6c62 6e69 2067 6c66 7361 0000060 2068 7277 7469 2e65 2e2e 4f20 2e4b 530a 0000070 5453 3934 464c 3030 4134 422f 6620 756f 0000080 646e 6120 2074 6870 7379 6369 6c61 6120 0000090 6464 6572 7373 3020 6678 6666 3038 3030 00000a0 2e30 460a 616c 6873 7020 7261 2074 7369 00000b0 5320 5453 3934 464c 3030 4134 422f 2820 00000c0 3135 2032 424b 2e29 450a 7272 726f 203a 00000d0 6f4e 6620 6c69 6e65 6d61 2065 7073 6365 00000e0 6669 6569 2e64 000a 00000e7
************************************ But using only hexdump i got result like this ...
[root@localhost ~]# hexdump sst_after_write05.bin 0000000 ffff ffff ffff ffff ffff ffff ffff ffff * 0080000
Thanks. Malatesh
On 04/04/2008, malatesh kamatad malateshkamat@gmail.com wrote:
Ya .. after checking that file i got result like this ...it shows that there is a content in that file
[root@localhost ~]# hexdump sst_after_erase.bin 0000000 ffff ffff ffff ffff ffff ffff ffff ffff
0080000
I think erasing is not happened properly..
Thanks.. malatesh
On 04/04/2008, Corey Osgood corey.osgood@gmail.com wrote:
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@gmail.com> wrote:
Ya i got result like this after comparing
[root@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@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@gmail.com> wrote:
I worked with the step by step this is the output......
[root@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@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@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@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@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@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@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@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@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@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@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@onelabs.com mailto: > bari@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@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Hi,
On Sat, Apr 05, 2008 at 12:25:33PM +0530, malatesh kamatad wrote:
But the content after writing by using below command shows result like this....
I suggest you have a look at the flashrom documentation. There is no point in running flashrom like that.
[root@localhost ~]# /usr/local/sbin/flashrom -r | hexdump
0000000 6143 696c 7262 7461 6e69 2067 6564 616c 0000010 2079 6f6c 706f 2e2e 202e 4b4f 0a2e 6f4e 0000020 6320 726f 6265 6f6f 2074 6174 6c62 2065 0000030 6f66 6e75 2e64 460a 756f 646e 6320 6968 0000040 7370 7465 2220 4956 2041 5456 3238 3733 0000050 2c22 6520 616e 6c62 6e69 2067 6c66 7361 0000060 2068 7277 7469 2e65 2e2e 4f20 2e4b 530a 0000070 5453 3934 464c 3030 4134 422f 6620 756f 0000080 646e 6120 2074 6870 7379 6369 6c61 6120 0000090 6464 6572 7373 3020 6678 6666 3038 3030 00000a0 2e30 460a 616c 6873 7020 7261 2074 7369 00000b0 5320 5453 3934 464c 3030 4134 422f 2820 00000c0 3135 2032 424b 2e29 450a 7272 726f 203a 00000d0 6f4e 6620 6c69 6e65 6d61 2065 7073 6365 00000e0 6669 6569 2e64 000a
The following is the cleartext of the above hexdump:
6143 696c 7262 7461 6e69 2067 6564 616c Calibrating dela 2079 6f6c 706f 2e2e 202e 4b4f 0a2e 6f4e y loop... OK. No 6320 726f 6265 6f6f 2074 6174 6c62 2065 coreboot table 6f66 6e75 2e64 460a 756f 646e 6320 6968 found. Found chi 7370 7465 2220 4956 2041 5456 3238 3733 pset "VIA VT8237 2c22 6520 616e 6c62 6e69 2067 6c66 7361 ", enabling flas 2068 7277 7469 2e65 2e2e 4f20 2e4b 530a h write... OK. S 5453 3934 464c 3030 4134 422f 6620 756f ST49LF004A/B fou 646e 6120 2074 6870 7379 6369 6c61 6120 nd at physical a 6464 6572 7373 3020 6678 6666 3038 3030 ddress 0xfff8000 2e30 460a 616c 6873 7020 7261 2074 7369 0. Flash part is 5320 5453 3934 464c 3030 4134 422f 2820 SST49LF004A/B ( 3135 2032 424b 2e29 450a 7272 726f 203a 512 KB). Error: 6f4e 6620 6c69 6e65 6d61 2065 7073 6365 No filename spec 6669 6569 2e64 000a ified.
flashrom has not performed any action.
I do not think it is possible for flashrom to write data it has read from the flash chip to stdout. I also don't think it would be useful.
But using only hexdump i got result like this ...
[root@localhost ~]# hexdump sst_after_write05.bin 0000000 ffff ffff ffff ffff ffff ffff ffff ffff
0080000
This shows that writing fails completely.
So the problem is within the write algorithm that flashrom uses with this flash chip. Feel free to compare the code in flashrom with the programming algorithm specified in the flash chip datasheet. Best case you only have to pick another write function, but my guess is that some code needs to change.
Oh, by the way, erasing may also not work properly for this chip, if you have never successfully programmed anything into the SST chip then we don't know for sure if erase works or not. They come erased (all 0xff) from factory so failure to erase using flashrom would not be obvious. Verifying this is a good start, and easier than writing. But it also requires another, working, method of writing to the SST chip. (Flash programmer, another mainboard, etc.)
//Peter
Hi... But in the data sheet they have mentioned like the SST49LF00xB detects whether it is being
accessed via a FWH or LPC protocol by detecting the START field contents; a 1101b or 1110b
indi-cates a Firmware Memory cycle and a 0000b indicates an LPC memory cycle.
but when i checked the content in the empty SST chip it shows like this
[root at localhost http://www.coreboot.org/mailman/listinfo/coreboot ~]# hexdump sst_after_erase.bin 0000000 ffff ffff ffff ffff ffff ffff ffff ffff * 0080000
from this i came to know that SST chip is working in LPC mode as
compared to data sheet ...is it right? i am totally confusing....
please inform me how to find whether chip is in FWH or LPC mode.
thanks in advance Malatesh
On 05/04/2008, malatesh kamatad malateshkamat@gmail.com wrote:
Hello, But the content after writing by using below command shows result like this....
[root@localhost ~]# /usr/local/sbin/flashrom -r | hexdump
0000000 6143 696c 7262 7461 6e69 2067 6564 616c 0000010 2079 6f6c 706f 2e2e 202e 4b4f 0a2e 6f4e 0000020 6320 726f 6265 6f6f 2074 6174 6c62 2065 0000030 6f66 6e75 2e64 460a 756f 646e 6320 6968 0000040 7370 7465 2220 4956 2041 5456 3238 3733 0000050 2c22 6520 616e 6c62 6e69 2067 6c66 7361 0000060 2068 7277 7469 2e65 2e2e 4f20 2e4b 530a 0000070 5453 3934 464c 3030 4134 422f 6620 756f 0000080 646e 6120 2074 6870 7379 6369 6c61 6120 0000090 6464 6572 7373 3020 6678 6666 3038 3030 00000a0 2e30 460a 616c 6873 7020 7261 2074 7369 00000b0 5320 5453 3934 464c 3030 4134 422f 2820 00000c0 3135 2032 424b 2e29 450a 7272 726f 203a 00000d0 6f4e 6620 6c69 6e65 6d61 2065 7073 6365 00000e0 6669 6569 2e64 000a 00000e7
But using only hexdump i got result like this ...
[root@localhost ~]# hexdump sst_after_write05.bin 0000000 ffff ffff ffff ffff ffff ffff ffff ffff
0080000
Thanks. Malatesh
On 04/04/2008, malatesh kamatad malateshkamat@gmail.com wrote:
Ya .. after checking that file i got result like this ...it shows that there is a content in that file
[root@localhost ~]# hexdump sst_after_erase.bin 0000000 ffff ffff ffff ffff ffff ffff ffff ffff
0080000
I think erasing is not happened properly..
Thanks.. malatesh
On 04/04/2008, Corey Osgood corey.osgood@gmail.com wrote:
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@gmail.com> wrote:
Ya i got result like this after comparing
[root@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@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@gmail.com> wrote:
I worked with the step by step this is the output......
[root@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@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@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@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@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@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@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@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@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@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@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@onelabs.com mailto: > > bari@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@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Hello,
On Mon, Apr 07, 2008 at 07:17:54PM +0530, malatesh kamatad wrote:
Hi... But in the data sheet they have mentioned like the SST49LF00xB detects whether it is being accessed via a FWH or LPC protocol by detecting the START field contents; a 1101b or 1110b indicates a Firmware Memory cycle and a 0000b indicates an LPC memory cycle.
Yes, that is correct.
but when i checked the content in the empty SST chip it shows like this
[root at localhost http://www.coreboot.org/mailman/listinfo/coreboot ~]# hexdump sst_after_erase.bin 0000000 ffff ffff ffff ffff ffff ffff ffff ffff
0080000
from this i came to know that SST chip is working in LPC mode as compared to data sheet ...is it right?
No, I am afraid not.
The LPC/FWH communication protocol will never be visible to flashrom and also never visible in files that flashrom reads or writes.
Those files simply contain the data that is or will be stored in flash chips.
All other technical details are dealt with either by the flashrom program, or by chips and circuits on the mainboard.
i am totally confusing....
The flash chip is connected to the southbridge via an LPC/FWH bus. Intel uses the FWH protocol, everyone else uses LPC. FWH and LPC are compatible electrically. (Almost the same signals.) Some flash chips support both LPC and FWH, but some only one of them.
When a program uses certain memory addresses the hardware on the mainboard doesn't send those reads or writes to RAM, but instead to the flash chip. A lot of translation goes on here, all in hardware and the program can not affect it very much. This is where the LPC/FWH details you mentioned from the data sheet happen, but again it is transparent to the program.
Each flash chip has some kind of algorithm that needs to be followed to write to the flash chip, special sequences of writing special data to special addresses in the flash chip with special timing - needed because there is no way for programs to communicate with the flash chip other than read and write.
flashrom has to implement this algorithm for every supported flash chip. My guess is that it is not working correctly for the SST flash chip type you are using.
But, it can also be an issue with how writes are translated on your mainboard. I am not sure that anyone has successfully used flashrom on the mainboard model that you are using.
In order to proceed debugging your mainboard you will at the very least need another working method to read, erase and write flash chips.
You may also need to learn those programming algorithms for the flash chip, and you may need to learn some details about the southbridge on your board, all depending on where the problem actually is.
If you can not wait for all this I recommend choosing another, known working, combination of mainboard and flash chip for your further work with coreboot.
What is the purpose of your work - maybe we can suggest a suitable combination?
please inform me how to find whether chip is in FWH or LPC mode.
Intel southbridge FWH Anything else LPC
..but, I don't think it matters.
//Peter
On Thu, Apr 03, 2008 at 11:29:14AM +0530, malatesh kamatad wrote:
Now i am working on SST49LF004B
..
[root@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
Please try reading back the flash chip contents after the erase. Maybe the file contents can give some hints.
//Peter