
From: "Dr. Philipp Tomsich" philipp.tomsich@theobroma-systems.com Date: Mon, 9 Oct 2017 12:31:22 +0200
The "pure" U-Boot approach that is currently documented works just fine. The only problem is that the firefly-rk3399 by default boots from eMMC. And the first-stage bootloader only recognizes SD-cards with the propriatary loader. So the trick is to wipe the firmware stored in eMMC or replace it with U-Boot.
Would you be willing to submit a patch with documentation for this?
I'm still not sure what the right approach is...
Doing what I did (boot into the Ubuntu shipped with the original firmware and use dd(1) to overwrite the firmware image) almost certainly isn't.
I suppose the best approach would be to use the "rockusb" mode to overwrite the eMMC firmware with a "pure" U-Boot image would be the way to go, but I didn't get that to work using OpenBSD's libusb and I didn't have a Linux box around. I plan to come back to that but not before november :(.
Cheers,
Mark