Where is my package?

I could successfully cross-compile PJSIP for my Colibri iMX7 on Ubuntu 16.04 with the bitbake command but I can’t find it in the deploy/ipk/colibri-imx7 folder.

Is this normal? Or do I have to install the complete image of the sdk on my board?

Thank you for you help !

The solution provided by max.tx does not solved my problem but it is marked as best answer but it’s not…

According to the comments below the ipks in deploy/ipk/armv7at2hf-neon are compatible with the Colibri iMX7, but when I try to install them I have this error :

root@colibri-imx7:~/pjproject ipk# opkg install pjproject_2.6-r0_armv7at2hf-neon.ipk pjproject-dev_2.6-r0_armv7at2hf-neon.ipk pjproject-dbg_2.6-r0_armv7at2hf-neon.ipk pjproject-staticdev_2.6-r0_armv7at2hf-neon.ipk 
Not selecting pjproject 2.6 due to incompatible architecture.
Unknown package 'pjproject'.
Not selecting pjproject-dev 2.6 due to incompatible architecture.
Unknown package 'pjproject-dev'.
Not selecting pjproject-dbg 2.6 due to incompatible architecture.
Unknown package 'pjproject-dbg'.
Not selecting pjproject-staticdev 2.6 due to incompatible architecture.
Unknown package 'pjproject-staticdev'.
Collected errors:
 * opkg_install_cmd: Cannot install package pjproject.
 * opkg_install_cmd: Cannot install package pjproject-dev.
 * opkg_install_cmd: Cannot install package pjproject-dbg.
 * opkg_install_cmd: Cannot install package pjproject-staticdev.

Of course I have changed the MACHINE in the local.conf to MACHINE ?= "colibri-imx7".

Packages are copied into a subdirectory depending on the package arch: deploy/ipk/(package-arch)/(package name) .

Assuming it got built without error.

So you can find the main package of a recipe pjsip_2.6.bb e.g. like this:

ls ipk/*/pjsip_*

Hi thank you for your help. I know I can found it like this, but there is no pjsip package in the imx7 folder… And the others pjsip ipk are not compatible with my board.


Where did you find it?

And why do you know that it is not compatible with your board?

Note that very few package are machine specific (end up in the machine specific folder deploy/ipk/colibri-imx7). Most packages are more generic, and hence end up in deploy/ipk/armv7at2hf-neon or deploy/ipk/armv7ahf-neon. They should work just fine with the Colibri iMX7. You can find the list of compatible architectures in /etc/opkg/arch.conf.

root@colibri-imx7:~# cat /etc/opkg/arch.conf 
arch all 1
arch any 6
arch noarch 11
arch armv5hf-vfp 16
arch armv5thf-vfp 21
arch armv5ehf-vfp 26
arch armv5tehf-vfp 31
arch armv6hf-vfp 36
arch armv6thf-vfp 41
arch armv7ahf-vfp 46
arch armv7at2hf-vfp 51
arch armv7ahf-neon 56
arch armv7at2hf-neon 61
arch armv7at2hf-neon-mx7d 66
arch armv7ahf-neon-mx7d 71
arch colibri_imx7 76

I find them in the deploy/ipk/armv7ahf-neon and deploy/ipk/armv7ahf-neon folders. And I tested them on my board but I could not install them the board saying that the binary was wrong.
I have restarted a compilation of bitbake from scratch to see if I have the problem…

I have updated my post to show you the problem… Thank you for your help.

You are probably trying to install a later version of a package to an earlier version of the BSP which since may have had certain changes within its list of compatible architectures. You may just add the missing one to your arch.conf file like @stefan.tx showed.

Thank you for your help. I try this and I let you know.