AnsweredAssumed Answered

customizing Uboot for customized board

Question asked by srinivasaporam on Jun 29, 2015
Latest reply on Jun 30, 2015 by Daiane Angolini

Hi,

We have got imx6dl customized board, for which we want to port OS. We are following "IMX 6 BSP Porting Guide" from  "Yocto Project" (fsl-L3.10.53_1.1.0_iMX6qdls_Bundle).

 

wrote "build_u-boot.sh" scripting file in <UBOOT_DIR> (which is working director i.e in our case /home/srinivas/fsl-release-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/u-boot-imx/2014.04-r0/git)

 

build_u-boot.sh is as follows:

 

#!/bin/bash

export ARCH=arm

export CROSS_COMPILE=/home/srinivas/fsl-release-bsp/build/tmp/work/arm-poky-linux-gnueabi-

make distclean;

make custom_board_config

make

 

when we are compiling this scripting file (build_u-boot.sh) we are getting following  errors:

 

$bash ./build_u-boot.sh

make: /home/srinivas/fsl-release-bsp/build/tmp/work/arm-poky-linux-gnueabi-gcc: Command not found

/bin/sh: 1: /home/srinivas/fsl-release-bsp/build/tmp/work/arm-poky-linux-gnueabi-gcc: not found

dirname: missing operand

Try 'dirname --help' for more information.

/bin/sh: 1: /home/srinivas/fsl-release-bsp/build/tmp/work/arm-poky-linux-gnueabi-gcc: not found

dirname: missing operand

Try 'dirname --help' for more information.

  CLEAN   examples/standalone

  CLEAN   tools

  CLEAN   u-boot.lds include/bmp_logo.h include/bmp_logo_data.h include/autoconf.mk include/autoconf.mk.dep

  CLEAN   u-boot.map

  CLEAN   scripts/basic

  CLEAN   include/config include/generated

  CLEAN   include/config.h include/config.mk

Configuring for custom_board - Board: wandboard, Options: IMX_CONFIG=board/custom_board/custom_board.cfg,MX6DL_LPDDR2,DDR_MB=1024

make: /home/srinivas/fsl-release-bsp/build/tmp/work/arm-poky-linux-gnueabi-gcc: Command not found

/bin/sh: 1: /home/srinivas/fsl-release-bsp/build/tmp/work/arm-poky-linux-gnueabi-gcc: not found

dirname: missing operand

Try 'dirname --help' for more information.

  GEN     include/autoconf.mk.dep

/bin/sh: 1: /home/srinivas/fsl-release-bsp/build/tmp/work/arm-poky-linux-gnueabi-gcc: not found

  GEN     include/autoconf.mk

/bin/sh: 1: /home/srinivas/fsl-release-bsp/build/tmp/work/arm-poky-linux-gnueabi-gcc: not found

  CHK     include/config/uboot.release

  UPD     include/config/uboot.release

  CHK     include/generated/version_autogenerated.h

/bin/sh: 1: /home/srinivas/fsl-release-bsp/build/tmp/work/arm-poky-linux-gnueabi-gcc: not found

/bin/sh: 1: /home/srinivas/fsl-release-bsp/build/tmp/work/arm-poky-linux-gnueabi-ld: not found

  UPD     include/generated/version_autogenerated.h

  CHK     include/generated/timestamp_autogenerated.h

  UPD     include/generated/timestamp_autogenerated.h

  HOSTCC  scripts/basic/fixdep

  CC      lib/asm-offsets.s

/bin/sh: 1: /home/srinivas/fsl-release-bsp/build/tmp/work/arm-poky-linux-gnueabi-gcc: not found

make[1]: *** [lib/asm-offsets.s] Error 127

make: *** [prepare0] Error 2

 

how to solve this error

Outcomes