Yeah, I found the original uboot under /usr/lib and also compiled it from the source using armbian build, but it seems it's built without env support. Any ideas on how to enable it? I need to extend the usb init timeout so the external ssd has time to initialize.
EDIT: nevermind, setting usb_pgood_delay to 10000 instead of 1000 fixed the issue
EDIT2 : for future reference:
remove sdcard if any, remove 1 jumper lead, rember where it was (it's needed to boot the device into FEL mode)
connect serial adapter to board, with 115200 baud
connect usb-c to computer (if working in a VM pass the allwinner device to the VM)
go to the latest official build, extract it and under it go to: {extracted_path}/usr/lib/linux-u-boot-current-orangepizero2 or simmilar u-boot path
use: "sudo sunxi-fel -v -p spiflash-write 0 u-boot-sunxi-with-spl.bin" to write u-boot into device
reconnect the previusly removed jumper lead (this allow for the device to boot from it's memory chip also known as SPI)
restart the device and monitor the serial (tty) output
if it fails to detect the usb ssd, increase the usb_pgood_delay envoiroment variable using the serial console:
editenv usb_pgood_delay
-> input a number, bigger than the exsting (ms)
saveenv
if it boots succefully, remove serial cables and close