Hello,
I am really new to linux and trying to learn. I have a T2080QDS evaluation board. I need to build Uboot for ppc.
I have linux, uboot source files, qorIQ linux sdk 2.0.
First i built the qorIQ sdk, now i have: ls opt/fsl-qoriq/2.0/
environment-setup-ppc64e6500-fsl-linux sysroots environment-setup-ppce6500-fsl-linux version-ppc64e6500-fsl-linux
site-config-ppc64e6500-fsl-linux version-ppce6500-fsl-linux site-config-ppce6500-fsl-linux
Then i do gavri55@gavri55-PC:~/u-boot$ sudo make T2080QDS_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
then gavri55@gavri55-PC:~/u-boot$ sudo make all
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
CFG u-boot.cfg
/bin/sh: 1: ppc_8xx-gcc: not found
scripts/Makefile.autoconf:79: recipe for target 'u-boot.cfg' failed
make[1]: *** [u-boot.cfg] Error 1
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'. Stop.
i havent defined ARCH or CROSS_COMPILE because i dont know how.
Please help me
Thanks
Usually the following commands are used for u-boot building:
bitbake -c cleansstate u-boot
bitbake -c patch u-boot // source of the u-boot
bitbake -c compile -f u-boot
bitbake u-boot
See the Section 3.3.13 of SDK 2.0-1703 documentation:
https://www.nxp.com/docs/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------