Hi, Mondrian,
Thanks very much! I works now! I found that the function has not been called before I did some modifications: 1 add a option to the flashrom command line, such as: -m iwill:dk8_htx 2 I comment the pci device search in the board_match_linuxbios_name function because it seems that I can't find the pci device which we add into the board_pciid_enables table. Perhaps I should modify the table finally. But for tests, I just comment the pci device search and it works now!
Thank you very much again for your help!
Best, Ning
On 4/25/07, Mondrian Nuessle nuessle@uni-mannheim.de wrote:
This is really strange. We are using the same setup, a biossavior with Pm49FL004 part, and it works just fine... hmhm
Regards, Mondrian
Ning (Michael) Qu wrote:
Hi, Mondrian,
Unfortunately, after patching flashrom, the results remain the same as before. Only the page 7 is programmed. I guess I should first check the WP pin of Savior, and then perhaps I need this patch to program it. Thanks for your help!
Best, Ning
On 4/25/07, Mondrian Nuessle nuessle@uni-mannheim.de wrote:
Hi! You need to enable writing to the flash. In case of the Iwill board, some SuperIO GPIOs need to be properly set. I sent an email to the list with a patch attached, which configures flashrom to handle the iwill dk8_htx correctly.
Regards, Mondrian
-- Mondrian Nuessle University of Mannheim Phone: +49 621 181 2717 Computer Architecture Group Fax: +49 621 181 2713 http://ra.ti.uni-mannheim.de mailto:nuessle@uni-mannheim.de
-- Mondrian Nuessle University of Mannheim Phone: +49 621 181 2717 Computer Architecture Group Fax: +49 621 181 2713 http://ra.ti.uni-mannheim.de mailto:nuessle@uni-mannheim.de
Hi
I found that I have a different ID for the ISA bridge, so the only difference between our codes is the device id from 0x746b to 0x7468.
{ 0x1022, 0x7468, 0x1022, 0x7468, 0x0000, 0x0000, 0x0000, 0x0000, "iwill", "dk8_htx", "IWILL DK8-HTX", board_iwill_dk8htx },
Best, Ning
On 4/25/07, Ning (Michael) Qu quning@gmail.com wrote:
Hi, Mondrian,
Thanks very much! I works now! I found that the function has not been called before I did some modifications: 1 add a option to the flashrom command line, such as: -m iwill:dk8_htx 2 I comment the pci device search in the board_match_linuxbios_name function because it seems that I can't find the pci device which we add into the board_pciid_enables table. Perhaps I should modify the table finally. But for tests, I just comment the pci device search and it works now!
Thank you very much again for your help!
Best, Ning
On 4/25/07, Mondrian Nuessle nuessle@uni-mannheim.de wrote:
This is really strange. We are using the same setup, a biossavior with Pm49FL004 part, and it works just fine... hmhm
Regards, Mondrian
Ning (Michael) Qu wrote:
Hi, Mondrian,
Unfortunately, after patching flashrom, the results remain the same as before. Only the page 7 is programmed. I guess I should first check the WP pin of Savior, and then perhaps I need this patch to program it. Thanks for your help!
Best, Ning
On 4/25/07, Mondrian Nuessle nuessle@uni-mannheim.de wrote:
Hi! You need to enable writing to the flash. In case of the Iwill board, some SuperIO GPIOs need to be properly set. I sent an email to the list with a patch attached, which configures flashrom to handle the iwill dk8_htx correctly.
Regards, Mondrian
-- Mondrian Nuessle University of Mannheim Phone: +49 621 181 2717 Computer Architecture Group Fax: +49 621 181 2713 http://ra.ti.uni-mannheim.de mailto:nuessle@uni-mannheim.de
-- Mondrian Nuessle University of Mannheim Phone: +49 621 181 2717 Computer Architecture Group Fax: +49 621 181 2713 http://ra.ti.uni-mannheim.de mailto:nuessle@uni-mannheim.de
I found that I have a different ID for the ISA bridge, so the only difference between our codes is the device id from 0x746b to 0x7468.
7468 is the LPC bridge, 746b is the SM function. Both of these contain bits related to flash operation.
Segher
On Wed, Apr 25, 2007 at 01:22:44PM -0400, Ning (Michael) Qu wrote:
I found that I have a different ID for the ISA bridge, so the only difference between our codes is the device id from 0x746b to 0x7468.
{ 0x1022, 0x7468, 0x1022, 0x7468, 0x0000, 0x0000, 0x0000, 0x0000, "iwill", "dk8_htx", "IWILL DK8-HTX", board_iwill_dk8htx },
Ning, did flashrom work without -m after you changed the code in Mondrian's patch to the above?
Mondrian, if so, please send a new patch with both PCI IDs and I'll ack and commit.
Thanks!
//Peter
No. I must add this option on my machine for LinuxBIOS v2587. Without it, flashrom can't get the vendor and part name of my mainboard.
Mandrian, do you have the same problem?
Ning
On 4/25/07, Peter Stuge stuge-linuxbios@cdy.org wrote:
On Wed, Apr 25, 2007 at 01:22:44PM -0400, Ning (Michael) Qu wrote:
I found that I have a different ID for the ISA bridge, so the only difference between our codes is the device id from 0x746b to 0x7468.
{ 0x1022, 0x7468, 0x1022, 0x7468, 0x0000, 0x0000, 0x0000, 0x0000, "iwill", "dk8_htx", "IWILL DK8-HTX", board_iwill_dk8htx },
Ning, did flashrom work without -m after you changed the code in Mondrian's patch to the above?
Mondrian, if so, please send a new patch with both PCI IDs and I'll ack and commit.
Thanks!
//Peter
-- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios