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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

433 Views
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 Kudos
2 Replies

23 Views
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 Kudos

23 Views
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 Kudos