yocto编译好后怎么只有u-boot.img没有u-boot.imx

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

yocto编译好后怎么只有u-boot.img没有u-boot.imx

1,159 Views
0609ccj
Contributor I

你好!

yocto版本使用的是V2.4, 

配置文件local.conf 内容如下

MACHINE ??= 'imx6qdlsabresd'

  2 DISTRO ?= 'fslc-x11'

  3 PACKAGE_CLASSES ?= "package_rpm"

  4 EXTRA_IMAGE_FEATURES ?= "debug-tweaks"

  5 USER_CLASSES ?= "buildstats image-mklibs image-prelink"

  6 PATCHRESOLVE = "noop"

  7 BB_DISKMON_DIRS ??= "\

  8     STOPTASKS,${TMPDIR},1G,100K \

  9     STOPTASKS,${DL_DIR},1G,100K \

 10     STOPTASKS,${SSTATE_DIR},1G,100K \

 11     STOPTASKS,/tmp,100M,100K \

 12     ABORT,${TMPDIR},100M,1K \

 13     ABORT,${DL_DIR},100M,1K \

 14     ABORT,${SSTATE_DIR},100M,1K \

 15     ABORT,/tmp,10M,1K"

 16 PACKAGECONFIG_append_pn-qemu-native = " sdl"

 17 PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"

 18 CONF_VERSION = "1"

在编译imx6Q成功后查看<build dir>/tmp/deploy/images/imx6qdlsabresd目录只有u-boot.img文件,用mfgtool下载固件时的启动文件是u-boot.imx,请问这个文件怎么配置才能编译出来?

Labels (1)
Tags (2)
0 Kudos
Reply
1 Reply

790 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi Changjing,

  

    The method for compiling u-boot.imx has been described in "i.MX_Linux_User's_Guide.pdf", like below:

---------------------------------------

To build an i.MX 6 or i.MX 7 U-Boot in the standalone environment, find the configuration for the target boot. In the
following example, i.MX 6ULL is the target.
Download source by cloning with git clone http://git.freescale.com/git/cgit.cgi/imx/
uboot-imx.git -b imx_v2017.03_4.9.11-1.0.0_ga
cd uboot-imx
make clean
make mx6ull_14x14_evk_defconfig
make u-boot.imx

-----------------------------------------

So read the user's guide, please!

Have a nice day!

BR,

NXP TIC Weidong Sun

0 Kudos
Reply