Forum Discussion
Altera_Forum
Honored Contributor
20 years agokernel bug in page mapping
lwbuss had found a page mapping bug in the kernel 2.6.11 and newer. Best thanks to lwbuss. please check if the patches work for you, Index: include/asm-nios2nommu/io.h
========================...
Altera_Forum
Honored Contributor
20 years agoThere are actually several changes here. The first file is just to improve the amount of memory the PCI driver can allocate to devices. Since we used 4 tables setup as
0x0000000 Configuration 0x0010000 I/O 0x0020000 32-bit memory 0x0030000 32-bit memory we can then use 0x200000 or 2 MB for the memory space from PCI. The second corrects the problem with the mapping functions that PCI eventually uses. The third allows the Opencores I2C function to compile and also allows for one I2C module as opposed to two. This set of diffs is meant for the 2.6.16.2 kernel.