export CROSS_COMPILE=arm-linux-gnu- make distclearn make nanopi_neo_defconfig make allThe final result of this is "u-boot-sunxi-with-spl.bin". Here is the file for you to download and use: This I place on an SD card (using a USB card reader in my linux desktop), via:
dd if=u-boot-sunxi-with-spl.bin of=/dev/sdx bs=1024 seek=8 435+1 records in 435+1 records out 445541 bytes (446 kB, 435 KiB) copied, 0.0927616 s, 4.8 MB/s syncBe careful doing this to be sure you are using the correct device (here sdx) on your system so you don't overwrite some hard drive and cause yourself endless misery. One wrong letter and your linux system is gone, stay on your toes. On my system, my card reader automounts as "sdc".
This does run, talking to the serial console at 115200 baud. I interrupt the boot sequence (which goes noplace since I have nothing but U-Boot on the SD card and no network cable attached.) I type:
setenv bootaddr 0x40000000 boot_kyu=echo Booting Kyu via dhcp ; dhcp 0x40000000; go 0x40000000 setenv bootcmd run boot_kyu saveenvTo discover the MAC address used by U-Boot, type:
printenv ethaddr ethaddr=02:20:a1:5a:xx:yyAfter doing this and adding an entry in my DHCP server for this mac address, it works just fine to network boot an orangepi executable, which actually runs pretty well on the Nanopi.
Tom's electronics pages / tom@mmto.org