How to include memtool in the core-image-base ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to include memtool in the core-image-base ?

ソリューションへジャンプ
5,672件の閲覧回数
matt67
Contributor III

Hello guys,

We are trying to include the memtool utilities from imx-test packages, but I can't figure out how to do it.

Hereunder is the content of my local.conf file :

MACHINE ??= 'imx6ulevk'

DISTRO ?= 'fsl-imx-x11'

PACKAGE_CLASSES ?= "package_ipk"

EXTRA_IMAGE_FEATURES = "debug-tweaks"

USER_CLASSES ?= "buildstats image-mklibs"

PATCHRESOLVE = "noop"

BB_DISKMON_DIRS = "\

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

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

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

STOPTASKS,/tmp,100M,100K \

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

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

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

ABORT,/tmp,10M,1K"

PACKAGECONFIG_append_pn-qemu-native = " sdl"

PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"

ASSUME_PROVIDED += "libsdl-native"

CONF_VERSION = "1"

DL_DIR ?= "${BSPDIR}/downloads/"

ACCEPT_FSL_EULA = "1"

#IMAGE_INSTALL_append = "kernel-module-wilc1000 hostapd wpa-supplicant minicom"

IMAGE_INSTALL_append = " hostapd imx-test wpa-supplicant minicom kernel-dev"

DISTRO_FEATURES_append = " systemd"

#VIRTUAL-RUNTIME_init_manager = "systemd"

IMAGE_FEATURES_append = " tools-testapps tools-debug tools-sdk dev-pkgs"

I see the imx-test.ipk package correctly build in the deploy directory but not shipped in the final image. I can't figure out why. Any idea ?

See u

タグ(2)
0 件の賞賛
1 解決策
3,251件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

I tried to build it again. The unit_test can be found in my new built image.

Here is my step:

1. MACHINE=imx6ulevk source fsl-setup-release.sh -b build-6ul-x11

2. Add IMAGE_iNSTALL_append = "imx-test" in the local.conf

3. bitbake core-image-base

After built succeed, unit_test can be found in build-6ul-x11/tmp/deploy/images/imx6ulevk/core-image-base-imx6ulevk.tar.bz2

元の投稿で解決策を見る

6 返答(返信)
3,251件の閲覧回数
matt67
Contributor III

Thanks finally it works !

0 件の賞賛
3,252件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

I tried to build it again. The unit_test can be found in my new built image.

Here is my step:

1. MACHINE=imx6ulevk source fsl-setup-release.sh -b build-6ul-x11

2. Add IMAGE_iNSTALL_append = "imx-test" in the local.conf

3. bitbake core-image-base

After built succeed, unit_test can be found in build-6ul-x11/tmp/deploy/images/imx6ulevk/core-image-base-imx6ulevk.tar.bz2

3,251件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

do you see the unit_test folder in your rootfs?

0 件の賞賛
3,251件の閲覧回数
matt67
Contributor III

Hello,

No I can't see it's not shipped in the final image.

See u

0 件の賞賛
3,251件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

I tried to add  IMAGE_INSTALL_append = "imx-test"  in my local.conf. And then 'bitbake core-image-base' again. I can see the unit_test in the new core-image-base .tar.bz2 image.

Would you tell me which BSP are you using?

so, let me try to reproduce your issue on my side.

3,251件の閲覧回数
matt67
Contributor III

Hi,

I use branch imx-4.1.15-1.0.0_ga of fsl-arm-yocto-bsp.git reopositorie, my target is imx6ul evk board.

See u

0 件の賞賛