On 24 February 2017 at 18:59, H. Nikolaus Schaller <hns@goldelico.com> wrote:
I have heard you have 4GB working! Congrats!

Indeed!  In retrospect it basically just worked with trivial changes, I was just getting distracted by various unrelated problems.

In particular, I discovered that one SD card had a tendency to return different data than I had written to it. That probably didn't help with the crash probability :P
 
What is the status? Still a hack or already something we should integrate into our git repo?

Hack :-)

https://github.com/mvduin/u-boot/commit/dd32990a8f3c8e1ee3849c380d01372b6af025ca

Right now it also still tells the kernel it has 2GB via DT. For testing I've overridden that using kernel parameters. I still need to check how the memory info ends up in DT exactly.

And preferably I'd do auto-detection of the memory size, which shouldn't be hard though.

Matthijs