
Hi Pavel,
On Mon, 2014-09-08 at 14:08 +0200, ZY - pavel wrote:
Hi!
I know coding style leaves something to be desired.
But.. it recognizes MMC/ethernet, and can load linux kernel.
Unfortunately, 1MB of memory at 0 is not available for some reason; but linux works ok if you avoid that area.
The lowest 1MB region is configurable based on the ARM interconnect NIC-301 / L3REGS setting. I saw in this patch, there is a code which setup the PL310 / L2 controller address filter start address. This code will convert the lowest 1MB region as SDRAM. If the next 1MB memory is working, the lowest 1MB should work too.
At same time, I noticed that the L2 controller address filter start address configuration is done at cpu_eth_init. I am wonder the failure you spotted is happening before this function is called?
Chin Liang