From: Giorgio T. <de...@ip...> - 2002-10-07 17:34:19
|
Hello all, as i said time ago i had problems with XFree86 some still remain but one i think i have solved: I had a problem of bad addressing during Xdm (Kdm-Gdm) loading that trashed all the graphics with these symptoms: background sometimes trashed, graphics and widgets in the greetings window become invisible but selectable. Note that these problems was found also before the CyberstormPPC firmware upgrading. After firmware upgrading i have seen that there was some differences between the PCI addressing declaration in apus_pci.c & pm2fb.c files and what the new ROM firmware reported. I attack my dmesg file where is possible to see this adresses difference and some (i think) non-influent Zorro vs. PCI address space conflicts. I have tried the modifies below and now seems that this problem is solved: diff -urN orig/apus_pci.c modif/apus_pci.c --- orig/apus_pci.c Sun Oct 28 12:44:01 2001 +++ modif/apus_pci.c Sun Sep 1 11:46:07 2002 @@ -167,7 +167,9 @@ DEFW(); writel(CVPPC_FB_APERTURE_ONE, apus_hose->cfg_data + PCI_BASE_ADDRESS_1); DEFW(); - writel(CVPPC_FB_APERTURE_TWO, apus_hose->cfg_data + PCI_BASE_ADDRESS_2); + writel(0xe0800000, apus_hose->cfg_data + PCI_BASE_ADDRESS_2); + DEFW(); + writel(CVPPC_FB_APERTURE_TWO, apus_hose->cfg_data + PCI_BASE_ADDRESS_3); DEFW(); writel(CVPPC_ROM_ADDRESS, apus_hose->cfg_data + PCI_ROM_ADDRESS); DEFW(); diff -urN orig/pm2fb.c modif/pm2fb.c --- orig/pm2fb.c Tue Aug 20 14:47:29 2002 +++ modif/pm2fb.c Sun Sep 1 11:47:22 2002 @@ -998,7 +998,8 @@ WR32(p->pci_config, PCI_CACHE_LINE_SIZE, 0xff00); WR32(p->pci_config, PCI_BASE_ADDRESS_0, CVPPC_REGS_REGION); WR32(p->pci_config, PCI_BASE_ADDRESS_1, CVPPC_FB_APERTURE_ONE); - WR32(p->pci_config, PCI_BASE_ADDRESS_2, CVPPC_FB_APERTURE_TWO); + WR32(p->pci_config, PCI_BASE_ADDRESS_2, 0xe0800000); + WR32(p->pci_config, PCI_BASE_ADDRESS_3, CVPPC_FB_APERTURE_TWO); WR32(p->pci_config, PCI_ROM_ADDRESS, CVPPC_ROM_ADDRESS); DEFW(); WR32(p->pci_config, PCI_COMMAND, 0xef000000 | I wish to submit these modifies if you think they have "a sense" . Remaining problems: Note also that the vterminal exchange problem is still present as i wrote time ago. The warbled text problem i signaled succedes only in the X text windows as Xterm or Mozilla and so on. I think this is a driver's limitation because with 1024x768x16 resolution this succedes only when the machine is very stressed but with 1152x864x16 and over this succedes everytime i open a window. With these high resolutions it warbles also the graphics. Every suggestion is welcome. Regards, Giorgio Terzi |