Imx7d opkg install

Hello,

I have a problem when i want to install my ipk on my board.
I used these commands with my own layer:

bitbake emergencycall-gsm
sudo scp /home/mios/oe-core/deploy/ipk/armv7at2hf-neon/emergencycall-gsm_1.0-r03_armv7at2hf-neon.ipk root@[192.168.0.100]:/home/root

then in my board :

opkg install emergencycall-gsm_1.0-r03_armv7at2hf-neon.ipk

but I got this result :

Collected errors:
 * Solver encountered 1 problem(s):
 * Problem 1/1:
 *   - nothing provides libgcc1 >= linaro-5.2 needed by emergencycall-gsm-1.0-rn
 * 
 * Solution 1:
 *   - do not ask to install emergencycall-gsm-1.0-r03.armv7at2hf-neon

what this error mean ? i need to bitbake another thing ?

thank you for your help !

Hi @tupperware

You need also to install libgcc1 ( opkg install libgcc1 ) on the module which is missing.
Alternatively you can also add this package to your custom image by adding

IMAGE_INSTALL_append = " emergencycall-gsm"

to the local.conf file and compile a complete (lxde, console, custom) image.

Best regards,
Jaski

Hello, thank you for your help.

I add “IMAGE_INSTALL_append = " emergencycall-gsm”" in my local.conf (/build/conf/). See the attach file.

link text

Then i put this command to bitbake : " bitbake emergencycall-gsm" and transfer the ipk file on my board. I got the same issue and i don’t install.

So i decide to install libgcc1 ipk by myself . it work and i can install emergency-call ipk. But the emergency-call application do not work because i got this error :

 ..Error retrieving default audio device parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) ]

I check the audio device by this command " aplay -l" and i got :

aplay: device_list:270: no soundcards found...

I don’t know what happend. Yesterday all thing work normally and now nothing. I just change the kernel by this one : “Colibri-iMX7_LXDE-Image_2.8b6.184-20190401”.

my DTS is the same and sai1 is okay :

&sai1 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_sai1>;
	assigned-clocks = <&clks IMX7D_SAI1_ROOT_SRC>,
			  <&clks IMX7D_SAI1_ROOT_CLK>;
	assigned-clock-parents = <&clks IMX7D_PLL_AUDIO_POST_DIV>;
	assigned-clock-rates = <0>, <36864000>;
	status = "okay";
};

Hi

You are welcome.

Then i put this command to bitbake : " bitbake emergencycall-gsm" and transfer the ipk file on my board. I got the same issue and i don’t install.

After adding the package to local.conf, you need to build a complete image.

I don’t know what happened. Yesterday all thing work normally and now nothing. I just change the kernel by this one : “Colibri-iMX7_LXDE-Image_2.8b6.184-20190401”.

Could you install the regular Bsp 2.8b6 and check if the audio devices are there or not? Once you ensured that the audio devices are there then you should reinstall the package emergencycall-gsm.

Best regards,
Jaski

hello,

I tried with 2.7.4 Bsp as my old Bsp. I got the same things and the soundcard its not found.

cat /proc/asound/cards

 --- no soundcards ---

zcat /proc/config.gz |grep SND | grep -v “not set”

CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_DMAENGINE_PCM=y
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_COMPRESS_OFFLOAD=y
CONFIG_SND_JACK=y
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
CONFIG_SND_DRIVERS=y
CONFIG_SND_ARM=y
CONFIG_SND_SPI=y
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=m
CONFIG_SND_SOC=y
CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM=y
CONFIG_SND_SOC_FSL_ASRC=y
CONFIG_SND_SOC_FSL_SAI=y
CONFIG_SND_SOC_FSL_SSI=y
CONFIG_SND_SOC_FSL_SPDIF=y
CONFIG_SND_SOC_FSL_ESAI=y
CONFIG_SND_SOC_IMX_PCM_DMA=y
CONFIG_SND_SOC_IMX_AUDMUX=y
CONFIG_SND_IMX_SOC=y
CONFIG_SND_SOC_IMX_SGTL5000=y
CONFIG_SND_SOC_I2C_AND_SPI=y
CONFIG_SND_SOC_CS42XX8=y
CONFIG_SND_SOC_CS42XX8_I2C=y
CONFIG_SND_SOC_SGTL5000=y
CONFIG_SND_SIMPLE_CARD=y

I forget something ?

Is this the colibri_imx7_deconfig? Did you change anything?

I change nothing in my colibri_imx7_defconfig.
I change these two Dtsi file to disable lcd and use Gpio.

link text

Did you rebuild the kernel? If yes, did you also deploy the kernel modules? Could you provide the complete dmesg log in a text file and the output of lsmod?

Thanks.

Yes when i rebuild my kernel i made :

make -j3 modules
sudo -E env "PATH=$PATH" make INSTALL_MOD_PATH=<path-to-rootfs>/ modules_install
cd Colibri-iMX7_LXDE-Image_2.7.4/
sudo ./update.sh -o /media/xxx/lo/
depmod #into target and after boot

you can find my dmesg and lsmod file in this link

link text

Thank you

Hi
Thanks for the files.

Concerning the deployment of the modules, for the , you have to provide a value. Alternatively you can have a look here.

For the dmesg log, the lines are not fully shown. Could you try to write the dmesg log in a file ( dmesg > dmesg.txt )?

There are some error concerning iomux in the dmesg log and sgtl5000 codec. You need to check for these errors.

Best regards,
Jaski

Ok thank you for you reply. I look now for iomux error.

there is my dmesg file :

link text

Perfect that it works. Thanks for the feedback.

Hello @jaski.tx, I have some good news.

I download this dtsi “imx7-coliibri-eval-v3.dtsi” from : http://git.toradex.com/cgit/linux-toradex.git/tree/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi?h=toradex_4.1-2.0.x-imx

and replace by my “imx7-coliibri-eval-v3.dtsi” file. And now it work and the codec it recognize. I think i made a bad modification on my dtsi file.

tomorow i will check what is the difference between these 2 files and so find my error.

Thank you so much Jaski.tx

link text