AnsweredAssumed Answered

compile uboot for t2080qds(ppc)

Question asked by gavriel medina on Mar 5, 2018
Latest reply on Mar 5, 2018 by Pavel Chubakov

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

Outcomes