RT,
i am trying to use git and aarch64 tools to compile a lastest u-boot by my own,but ,it failed.
there're the steps i was doing:
1. downloads the latest u-boot source code from offical web:
git clone git://git.denx.de/u-boot.git
2.downloads the ARM Trusted Firmware from offcial web:
git clone https://github.com/ARM-software/arm-trusted-firmware
3.compile the ATF for BL31 by using this cmd:
sudo make CROSS_COMPILE=aarch64-linux-gnu- PLAT=sun50i_h6 all
and then move the BL31 file into the u-boot root fold.
4. compile the u-boot for H6 by using this cmd:
sudo make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- orangepi_lite2_defconfig
sudo make
5.burn the u-boot-sunxi-with-spl.bin file on SD card following the README.sunxi64 file
dd if=u-boot-sunxi-with-spl.bin of=/dev/sdx bs=8k seek=1
6.plug in the sd card and connect the uart port and power on,i think and i am sure the default baudrate is 115200,
but when i open the terminal and try to read and debug the u-boot,it displayed as blow:
"
膂秜?第曤W -#1?!?!!?!%縠ey濆?y,XWm颟Y纣?搔f鞗df氭停搾MO5Z&?挺?矻歀2撡33N檍曋?攻K/]媬~{紊觙斐─蓲懗逃痔L嫣1ff瞟黍骃娉姒鍸?,XW阱℡骟?搔f袒﹔'Q摀?:ど$$M~迿麚%?驧&?LM?,XW阱?篌?e觙? 猟蓳SU?蓱s筫r潴?騠檽揙鏆SI覔搾1摔2IS撜蓅K蒕?y?W隍?篌螗K+Y篌ed疑扡觵邋歃櫈=y統経i疕H眼鲋謑碇Vm旉V龆諺-赩谥谥獀?鷞徽竖膂鲔鲋鲮+V冬鰈熘霮?鲻鲋黼?娫U蕑
:
妀T脲難_U嬁靠}''-##5縪摽痀Uc暉m隤+镾右?m?姫?岛V雡[}e嬁繚縬-{咫YY^丙U5氇胨u?曞-V雊!=7-#1縰#-!#%5#?!%縮}W#?U踊蔜?*竖?mm?[けT谠?鶸鲻鲻Vo/V蜒丙T谠?鶸鲻鲻Vo创禧T谠?鶸鲻鲻Vo央j鬕猨艋t轸氇ti
篢鳆埚镲镫?镲稃??FDKQч?在t蚤?iR羲鹶??%9熆-?5#?5-95咫档k?氷:j胡趖詑?i译鯷[+?=-#1縐Y{#e隿!?!#!''5?!#7咫UY{??!57?_'5=5?5勘;?=笨3-e?=-#1縐Y{#e隿!?!#!''5?!#7咫c!?/5#5?!#7e?--#1?#-!#%5#?=-=;'5嬁5-7咫%--#1?#-!#%5#?=-=;'5嬁;!!3-'5咫[5-5-#1?-'5嬁5'-#?31煙煙煙熷隿!?/5#5?!#7e?--#1?#-!#%5#?=-=;'5嬁;!!3-'5咫[5-5-#1?-'5嬁5'-#?31煙煙煙咫c!?/5#5?!#7e?--#1?#-!#%5#?=-=;'5嬁;!!3-'5咫[5-5-#1?-'5嬁5'-#?31煙煙熷隿!?/5#5?!#7e?--#1?#-!#%5#?=-=;'5嬁;!!3-'5咫[5-5-#1?-'5嬁5'-#?31煙煙咫c!?/5#5?!#7e?--#1?#-!#%5#?=-=;'5嬁;!!3-'5咫[5-5-#1?-'5嬁5'-#?31煙熷隿!?/5#5?!#7e?--#1?#-!#%5#?=-=;'5嬁;!!3-'5咫[5-5-#1?-'5嬁5'-#?31煙咫c!?/5#5?!#7e?--#1?#-!#%5#?=-=;'5嬁;!!3-'5咫[5-5-#1?-'5嬁5'-#?31熷隿!?/5#5?!#7e?--#1?#-!#%5#?=-=;'5嬁;!!3-'5咫[5-5-#1?-'5嬁5'-#?31咫c!?/5#5?!#7e?--#1?#-!#%5#?=-=;'5嬁;!!3-'5咫[5-5-#1?-'5嬁5'-#?31?53='?%?#-咫c!?/5#5?!#7e?--#1?#-!#%5#?=-=;'5嬁;!!3-'5咫[5-5-#1?-'5嬁5'-#?31?53='?%咫c!?/5#5?!#7e?--#1?#-!#%5#?=-=;'5嬁;!!3-'5咫[5-5-#1?-'5嬁5'-#?31?53='咫c!?/5#5?!#7e難!#3-1?-'5?!?!#7咫=-#1縐Y{#e隿!?!#!''5?!#7咫c!?/5#5?!#7e?"
(sorry for unable to paste the sreenshot.....)
i can't read anything...
can you help me?
thx so much!!!