Re: [U-Boot] Dynamically determine RAM size and pass it to kernel

2016-11-18 Thread Michal Simek
On 17.11.2016 15:09, Mike Looijmans wrote: > On 17-11-16 13:34, Mike Looijmans wrote: >> We have some Zynq based boards still in the field that have only 512MB >> RAM >> instead of 1GB. The memory chips are compatible and use the same settings >> apart from that one extra address bit. >> >> So

Re: [U-Boot] Dynamically determine RAM size and pass it to kernel

2016-11-17 Thread Mike Looijmans
On 17-11-16 13:34, Mike Looijmans wrote: We have some Zynq based boards still in the field that have only 512MB RAM instead of 1GB. The memory chips are compatible and use the same settings apart from that one extra address bit. So what works is just configure the DDR controller for 1GB and

[U-Boot] Dynamically determine RAM size and pass it to kernel

2016-11-17 Thread Mike Looijmans
We have some Zynq based boards still in the field that have only 512MB RAM instead of 1GB. The memory chips are compatible and use the same settings apart from that one extra address bit. So what works is just configure the DDR controller for 1GB and then check if writing some data "wraps"