Hi Myy
I just wanna say that I'm following this thread with great interest and a thank you! Much appreciated to finally get something else potentially running on my OPi RK3399 than the images from the OrangePi website.
KEEP UP THE GOOD WORK! :-)
Personally, I managed to compile idbloader.img, rk3399_loader_v1.08.106.bin, trust.img, uboot.img, boot.img and then flash the eMMC (together with a rootfs-partition) to and boot up successfully. However, I have used the downloads provided by OrangePi for this and they are not really satisfactory, lacks certain drivers, have eth0 problems, etc, etc. I have been stuck for quite some time but now you have given me back my hope. :-)
Note: To build the images, I have used their provided downloads OrangePi-RK3399_Linux4.4_V1.0_2018_1030.tar.gz (for build-scripts and tools) and OrangePi-rk3399_Debian9_20181016_HDMI IN.tar.gz (for the rootfs partition). Both are available here: https://mega.nz/#F!ggt3QaoJ!ZexfJRVdf7_6C1bs75-fJQ
Can I assist you in any way? I'm not really a "pro" at this, but I am learning as things move along...