As topic says,I'm running a embedded linux(provideded by the develop board,that made by Yocto) on P1020.I need the ecc checking of P1020.So I try to mmap ddr's control register and modify the value of reigister DDR_SDRAM_CFG. But I failed.I can mmap ddr controllor's registers only with PROT_READ permission while other registers such as PVR can be mmap as PROT_READ|PROT_WRITE.Only if I mmap ddr's controllor reigister with PROT_WRITE permission,then linux will stop running .
So how can i enable ecc check under linux running p1020??
thansk very much.