meta-imx error when building u-boot.imx

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

meta-imx error when building u-boot.imx

603 次查看
maclark88
Contributor I

Bitbake fails with an error during the build of u-boot.imx.  The recipe is trying to copy the same file.  I am not sure how to get past this.  It appears it may be related to tagged vs untagged versions but I can't tell.

Here is a detailed error of what is happening.

+ [ u-boot.imx != ]
+ cp /workdir/build/tmp/work/imx6sxdmsba51-poky-linux-gnueabi/u-boot-imx/2022.04-r0/deploy-u-boot-imx/u-boot.imx /workdir/build/tmp/work/imx6sxdmsba51-poky-linux-gnueabi/u-boot-imx/2022.04-r0/deploy-u-boot-imx/u-boot-tagged.imx

+ cp /workdir/build/tmp/work/imx6sxdmsba51-poky-linux-gnueabi/u-boot-imx/2022.04-r0/deploy-u-boot-imx/u-boot.imx /workdir/build/tmp/work/imx6sxdmsba51-poky-linux-gnueabi/u-boot-imx/2022.04-r0/deploy-u-boot-imx/

cp: '/workdir/build/tmp/work/imx6sxdmsba51-poky-linux-gnueabi/u-boot-imx/2022.04-r0/deploy-u-boot-imx/u-boot.imx' and '/workdir/build/tmp/work/imx6sxdmsba51-poky-linux-gnueabi/u-boot-imx/2022.04-r0/deploy-u-boot-imx/u-boot.imx' are the same file

+ bb_sh_exit_handler

0 项奖励
回复
2 回复数

582 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

You need erase everything about the previous bitbake since it taking the tagged version of uboot and build the correct recipe.

Regards

0 项奖励
回复

570 次查看
maclark88
Contributor I

Thanks.  I have erased everything except the downloads.  I'm assuming I don't have to erase those.  The offending line is actually in meta-freescale in uuu_bootloader_tag.classes. The commented out line for UUU_BOOTLOADER_UNTAGGED is the offending line.  This line was added in this commit.

https://github.com/Freescale/meta-freescale/commit/4375edbb9da1eb18a46b30a29d2574f06b331a88


# Append a tag to the bootloader image used in the SD card image. The tag
# contains the size of the bootloader image so UUU can easily find the end of
# the bootloader in the SD card image.
do_deploy:append() {
  if [ "${UUU_BOOTLOADER}" != "" ]; then
  cp ${DEPLOYDIR}/${UUU_BOOTLOADER} ${DEPLOYDIR}/${UUU_BOOTLOADER_TAGGED}
#  cp ${DEPLOYDIR}/${UUU_BOOTLOADER} ${DEPLOYDIR}/${UUU_BOOTLOADER_UNTAGGED
  ln -sf ${UUU_BOOTLOADER_TAGGED} ${DEPLOYDIR}/${UUU_BOOTLOADER}
  stat -L -cUUUBURNXXOEUZX7+A-XY5601QQWWZ%sEND   ${DEPLOYDIR}/${UUU_BOOTLOADER_TAGGED} \
  >> ${DEPLOYDIR}/${UUU_BOOTLOADER_TAGGED}
  fi
}

 

标记 (1)
0 项奖励
回复