Seems my mailer broke the patch, so I'm sending it as attachement. Ilya A. Volynets-Evenbakh wrote: > Ilya A. Volynets-Evenbakh wrote: > >> Hi all, >> >> Here is patch to allow IP32 to access full 1G of memory. >> I was able to boot an O2 with 576M of ram using NFS-root. >> >> Two notes: >> 1. This patch will only work with latest linux-mips.org CVS tree >> 2. Seems that PCI support is messed up by this patch, so SCSI >> doesn't work. >> >> If someone can see something obvious regarding #2, I'll be glad to >> hear it. >> >> Ilya. >> > So, I found the problem. > Memory above 256M is mapped at 0x40000000+256M in IP32. However, PCI > sees whole 1G as contiguous chunk at > offset 0. This means we have to translate dma addreses differently, > depending on wether they fall within first > 256M or not. > > So, I created separate implemetation of pci_dma_* routines. >