U-Boot version I am using u-boot-2012.10, step is to compile
cd u-boot-2012.10
make s5p_goni_config
sudo make
Then, you will see an error message
/bin/bash: arm-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
In the arm-linux-gcc confirm correct installation premise (can refer https://www.cnblogs.com/mfyfymeng/p/11895795.html install version 4.5.1 arm-linux-gcc), the following solution
sudo ln -s /opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-gcc /usr/bin/arm-linux-gcc
/bin/bash: arm-linux-ld: command not found
Then the corresponding solutions to
sudo ln -s /opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi-ld /usr/bin/arm-linux-ld