Onion have just released the Uboot source code: https://github.com/OnionIoT/omega2-bootloader.git