The mmc switch was misbehaving for me. This fixes the problem:
The rest of the master branch of that repository is some experimentation I did to see if I could get some of the features of the dra7 and beaglebone u-boot's working, and to get a bit more familiar with the u-boot source code.
Highlights:
- LPAE build of u-boot, runs in hypervisor mode
- usb mass storage gadget mode allows flashing or mounting the eMMC (or any attached card) via the USB3 device port. It's not fast, but useful for testing and recovery purposes.
- made some way in converting to the new driver model
- cosmetic stuff here and there
I've also explored how ram init is done, but haven't yet attempted to get it to recognize the 4 GB.
I'm afraid that most of the work and play is in one big commit. I should probably try to separate out the more useful stuff, but that's not going to happen today anymore :-)
Matthijs