Something very strange just happened. Ollie and I tried using a SST49LF080A and it worked perfectly. The specifications on this part and the 49LF040 are exactly the same except for the device ID.
Perhaps there's a bug in the 49LF040? We do not have any 49LF040A parts in our lab at the moment that we can test with.
On Thu, 18 Mar 2004, YhLu wrote:
Can you try by block instead of sector?
YH
-----é®ä»¶å件----- å件人: Hendricks David W. [mailto:dwh@lanl.gov] åéæ¶é´: 2004å¹´3æ18æ¥ 13:16 æ¶ä»¶äºº: YhLu æé: Li-Ta Lo; ron minnich; LinuxBIOS 主é¢: Re: ´ð¸´: ´ð¸´: ´ð¸´: ´ð¸´: ´ð¸´: ´ð¸´: ´ð¸´: flash_rom support for AMD64 [PMX:#]
I should clarify that statement. The SST49LF040 part will flash with errors under 64-bit SuSE resulting in an unusable part. The PM part will flash properly in both 32-bit and 64-bit environments.
On Thu, 18 Mar 2004, Hendricks David W. wrote:
Yes. The SST part will flash under 32-bit Gentoo, but not 64-bit SuSE.
The PM part will flash using either 32-bit or 64-bit environments.
On Thu, 18 Mar 2004, YhLu wrote:
Does it work in 32 bit?
-----éâ®ä»¶åŽŸä»¶----- Ã¥Ââ件人: Hendricks David W. [mailto:dwh@lanl.gov] Ã¥Ââéâ¬Âæâ¶éâ´: 2004å¹´3æÅË18æâÂ¥ 13:06 æâ¶ä»¶äºº: YhLu æŠâéâ¬Â: Li-Ta Lo; ron minnich; LinuxBIOS 主é¢Ë: Re: ôðøô: ôðøô: ôðøô: ôðøô: ôðøô: ôðøô:
flash_rom support for AMD64
I have verified this.
The SST part still won't flash under 64-bit SuSE, however.
On Thu, 18 Mar 2004, YhLu wrote:
It works with pm49lf004 under 64 bit.
-----ÃâÊüþÃâÃÂüþ----- ÷âüþÃËÃâ¹: Li-Ta Lo [mailto:ollie@lanl.gov] ։Ãâ¹ÃÂÊñüä: 2004Ãâê3ÃâÃâ18ÃËÃ⢠11:50 ÃÅ Ãâ¢Ã¼Ã¾ÃËÃâ¹: YhLu óÃÂÃâ¹ÃÂ: ron minnich; Hendricks David W.; LinuxBIOS Ãâ÷ÃÅâ: Re: ôðøô: ôðøô: ôðøô: ôðøô: ôðøô:
flash_rom support for AMD64
On Thu, 2004-03-18 at 12:13, YhLu wrote:
Stuck after 3.
It seems it doesn't allow write mmio.
int probe_49fl004 (struct flashchip * flash) { volatile char * bios = flash->virt_addr; unsigned char id1, id2; printf("3\n"); *(volatile char *) (bios + 0x5555) = 0xAA; myusec_delay(10); printf("4\n"); *(volatile char *) (bios + 0x2AAA) = 0x55; myusec_delay(10); printf("5\n"); *(volatile char *) (bios + 0x5555) = 0x90;
There is some arithmeatic error in old flash_rom, please cvs update.
Ollie
Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios