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 !
EDIT : 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".
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.
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.
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…
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.