A post in "Can't connect to TFTP" requires staff attention


#1

It doesn’t matter anymore. I’ve loaded u-boot from SD card via fatload mmc 0 1080000 u-boot.bin && store rom_write 1080000 0 1000000 And now I face a bigger problem:(


#2

Thanks for letting us know. We agree there is an issue and we’re looking into it.


#3

what problem you faced?


#4

wrong uboot image.
1st time I did it with kvim_defconfig from default tree
2nd time I cloned “ubuntu” tree and built it with “aarch64-linux-gnu-” not with “aarch64-none-elf-”
3rd time I wasn’t able to build it at all using your fenix(https://github.com/khadas/fenix/blob/master/packages/gcc-linaro-aarch64-none-elf/package.mk) script gcc:
https://releases.linaro.org/archive/13.11/components/toolchain/binaries/gcc-linaro-aarch64-none-elf-4.8-2013.11_linux.tar.xz
it said

/opt/toolchains/gcc-linaro-aarch64-none-elf-4.8-2013.11_linux/bin/../libexec/gcc/aarch64-none-elf/4.8.3/cc1:
 error while loading shared libraries: libz.so.1:
 cannot open shared object file: No such file or directory

So I gave up after wasting several hours on it.


#5

What u-boot you want to build?

If you want to build u-boot for Android, please refer to

If you want to build u-boot for u-boot, I suggest you to build use fenix, you don’t need to install the toolchains, just need to build whith command make uboot.


#6

All I wanted to do is to build custom uboot for ubuntu machine that could boot armbian sd also.
If you could make a simple faq like:

In order to build uboot from source you need:
git clone https://github.com/khadas/u-boot -b ubuntu"
wget https://releases.linaro.org/components/toolchain/binaries/4.9-2017.01/aarch64-elf/gcc-linaro-4.9.4-2017.01-x86_64_aarch64-elf.tar.xz
tar xf gcc-linaro-4.9-2017.01.tar.xz -C /opt/toolchains
export ARCH=arm64 
export CROSS_COMPILE=aarch64-elf-
export PATH=$PATH:/opt/toolchains/gcc-linaro-4.9.4-2017.01-x86_64_aarch64-elf/bin/
cd u-boot
#make changes you need
make kvim2_defconfig
make -j4
cp ./build/u-boot.bin /sdcard
...etc

And with TFTP that is not working it is VIM2_Ubuntu-xenial_Linux-3.14_mate_arm64_EMMC_2018-05-31.7z


#7