how to use bitbake to add the package into the build image imx8m mini

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

how to use bitbake to add the package into the build image imx8m mini

2,112 次查看
jiye
Contributor V

Before I perform the bitbake core-image-base I want to add openssh package so after I generate the image I am able to have ssh to the device

is

bitbake -s openssh

then

bitbake core-image-base

works

or

bitbake  openssh

then

bitbake core-image-base

work?

2) Also I add package management into the build then follow this thread

https://community.nxp.com/docs/DOC-328199 

but after I build the image then I perform smart command it tells me that smart command not found

anyone knows why?

0 项奖励
回复
2 回复数

1,702 次查看
shivanipatel
Senior Contributor II

Hi, Jiye Tang

Add below-mentioned lines in your conf/local.conf file to add openssh package.

  • IMAGE_INSTALL_append += " openssh"

You are not able to run smart command because the smart package manager is replaced by DNF package manager from Yocto Project version 2.3. You can refer section 4.11.8 in Yocto Project Reference Manual for more information.

Regards,

Shivani

0 项奖励
回复

1,702 次查看
jiye
Contributor V

I build a bitbake core-image-full-cmdline

I put this in the local,conf

IMAGE_INSTALL_append += " iw wpa-supplicant net-tools ethtool

pciutils i2c-tools wireless-tools kernel-modules"

then I found out that the image I built does not have wlan0 interface only

has usb0, eth0 and lo. Did I miss anything?

On Thu, Jun 27, 2019 at 10:25 AM shivanipatel <admin@community.nxp.com>

0 项奖励
回复