The first is the official U-Boot sources (mainline) from Denx. I selected the orangepi-rk3399_defconfig file and built this entirely without problems.
The second is another tree entirely in the hardware collection provided by hceng (huangcheng). This is not nearly so convoluted as the mainline sources and I am finding it very useful
The excellent starting point in huangcheng's files is drivers/serial/serial_rk.c
Control-] -- goes to the definition of whatever the cursor is on. Control-t -- unwinds the above one level (a "back" button).There is more to know, but this does over 90 perent of what I want.
To go directly to a function definition -- vi -t func
Tom's electronics pages / [email protected]