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:[EMAIL PROTECTED] > 发送时间: 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:[EMAIL PROTECTED] > > > å‘逿—¶é—´: 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:[EMAIL PROTECTED] > > > > ·¢ËÃʱ¼ä: 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 > > > > [EMAIL PROTECTED] > > > > http://www.clustermatic.org/mailman/listinfo/linuxbios > > > > > > > > > > > _______________________________________________ > > Linuxbios mailing list > > [EMAIL PROTECTED] > > http://www.clustermatic.org/mailman/listinfo/linuxbios > > > _______________________________________________ > Linuxbios mailing list > [EMAIL PROTECTED] > http://www.clustermatic.org/mailman/listinfo/linuxbios > _______________________________________________ Linuxbios mailing list [EMAIL PROTECTED] http://www.clustermatic.org/mailman/listinfo/linuxbios

