/************************************************************************** * OK335XS U-boot compilation problem & no Li Nux Shell Problem * Statement: * Mainly because the system was made by my master, he removed some information, and because he is not currently in the next, in reference to some documents when the following situations occur. * 2015-7-17 Yin Shenzhen Nanshan Ping Shan village Zengjianfeng ************************************************************** ***********/first, the use of official production U-boot (Make Cross_compile=arm-linux-gnueabihf-arch=arm o=am335x AM335X_EVM) The following error occurred:1. Issue: Make: * * *No rule to make target am335x_evm_config1. Cat Makefile: ... Mkconfig:= $ (Srctree)/mkconfig export Mkconfig ...%_config:: Outputmakefile @$ (mkconfig)-A $ (@:_config=) ...... 2. Cat Mkconfigif[\ ($#-eq2\)-A \ (" $"="-A" \) ] ; Then # Automatic mode Line= ' awk'($!~/^#/&& $7 ~/^' " $"'$/) {Print $, $ $, $ $, $4, $ $, $6, $7, $8}'$srctree/boards.cfg 'if[-Z"$line" ] ; Then Echo"Make : * * * No rule to make target \ ' $2_config '. Stop.">&2Exit1fiSet${line} # AdddefaultBoard Nameifneeded [$#=3] &&Set${line} ${1} fi2. Issue: Generate U-boot.bin Error:bad value (ARMV5) for-march=Switchhttp://arm9home.net/read.php?tid-82914.html 3. Workaround: Cat> remake.sh <<EOF Export Cross_compile=arm-linux-gnueabihf-Export ARCH=arm make Am335x_evm_config make EOF II, file system cannot get Linux shell terminal after running: # # the"ID"field must be the same asThe last # Characters of the device ( after"TTY"). # # Format: #<id>:<runlevels>:<action>:<process># #S:2345: Respawn:/sbin/getty115200ttyO00:2345: Respawn:/sbin/getty115200ttyO0
OK335XS u-boot Compilation Issues & No Linux shell issues