答复: 答复: 答复: 答复: 答复: flash_rom support for AMD64

YhLu YhLu at tyan.com
Thu Mar 18 13:44:01 CET 2004


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;

-----邮件原件-----
发件人: ron minnich [mailto:rminnich at lanl.gov] 
发送时间: 2004年3月18日 10:35
收件人: Li-Ta Lo
抄送: YhLu; Hendricks David W.; LinuxBIOS
主题: Re: 答复: 答复: 答复: 答复: flash_rom support for AMD64

On Thu, 18 Mar 2004, Li-Ta Lo wrote:

> You have to install it from source, I believe.

be sure to enable intel configuration types 1 and 2. The standard bios 
hides the 8151 bridge.

ron



More information about the coreboot mailing list