答复: 答复: 答复: 答复: 答复: 答复: 答复: 答复: flash_rom support for AMD64 [PMX:#]

Hendricks David W. dwh at lanl.gov
Thu Mar 18 16:06:01 CET 2004


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 at 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 at 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 at 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 at clustermatic.org
> > > > http://www.clustermatic.org/mailman/listinfo/linuxbios
> > > > 
> > > 
> > 
> > _______________________________________________
> > Linuxbios mailing list
> > Linuxbios at clustermatic.org
> > http://www.clustermatic.org/mailman/listinfo/linuxbios
> > 
> _______________________________________________
> Linuxbios mailing list
> Linuxbios at clustermatic.org
> http://www.clustermatic.org/mailman/listinfo/linuxbios
> 




More information about the coreboot mailing list