How can I install gdb again?

Hallo Jaski,

I installed a symbolic link to arm-angstrom-linux-gnueabi-gcc.

calling

gcc Test.c -o Test.o

causes:

gcc: error trying to excec ‘as’: execvp: No such file or directory

I cannot find arm-angstrom-linux-gnueabi-as

Please can you tell me the new name of the assembler ?

Best regards

hi @Hermann

You need to install the binutils package. However this will not help you since gcc is broken since 2.8b2 as reported here. You will need to create a custom image with gcc preinstalled ad described here.

Best regards, Jaski

Hallo Jaski,

A custom image for gcc ?

Please, is it possible to install the last Bsp before 2.8b2 ?

Best regards

Is it possible to get back Bsp 2.7.2 ?

Yeah, you need to create a custom image. Or you can install the 2.7 Stable release.

You can install the 2.7 Stable release.

Hallo Jaski,

thank you for your answer.

Please, where can I find 2.7, and is it the same procedure with RS232, USB and Ethernet ?

Best regards

yeah, you can install it using Toradex Easy Installer.

Hallo Jaski,

I installed colibri-imx6_lxde-image-tezi_2.7-20180104.tar.
It denies compiling too.

Best regards :slight_smile:

What is the error?

Excuse me,

I’m not shure if it went well.

I found a BSP image 2.7.

But the unzipped version does not include the batch-file recovery-windows.bat and the included image is u-boot.imx.

So I renamed the image and took the batch-file I used yesterday. The procedure looked lake yesterday and took the same time.

But with Filezilla I still can see arm-angstrom-linux-gnueabi-gcc.

Now I connected the iMX6 to an ubuntu-pc and tried to start:

./wrapup.sh

causes:
This script is meant to be run on a Apalis/Colibri iMX6. Aborting…

:slight_smile:

Hallo Jaski,

I installed BSP 2.7. It works but does not offer a compile/debug-system.

Please can you give me an URL of a BSP for a Col iMX6DL that provides a well working compile/debug-system and further an URL with a description how to install it (except easy-installer).

The well working BSP I installed 2 years ago worked with an SD-card.

Best regards

Hi @Hermann

Toradex provides demo images for testing purposes. These image are not meant to use in any production environment. Anyhow if these images does not fit your need, then you are free to build your own image.

Please can you give me an URL of a BSP for a Col iMX6DL that provides a well working >compile/debug-system and further an URL with a description how to install it (except easy-installer).
The well working BSP I installed 2 years ago worked with an SD-card.

I don’t know which image are you talking about. You can find the older images here. Further you can install them using the legacy update procedure.

Best regards, Jaski

Hallo Jaski,

the image Colibri_iMX6_LinuxImageV2.6_20160826.tar.bz2 does not provide gcc and gdb.

The image I’m talking about is that image I installed in April 2017.
The images had other names at that time. The names were something like RT2870 or RT3070.
This image exists somwhere on the servers of Toradex.

There also was a description how to install them. And that BSP worked on my Colibri iMX6 until I startet “opkg upgrade” last week.
Today I know it was a big fault.

My simple request is, please can I get this BSP and the instruction how to install it ?

Best regards :slight_smile:

hi

I never heard about RT2870. The only image I found from April 2017 is this one. For further support, please ask a new Question?

Hallo Jaski,

ecxcuse me for nerving you.

Thank you for your Patience

Sometimes one is a blockhead.
After 7z could not unzip Colibri-iMX6_LXDE-Image_2.7b2-20170410.tar.bz2 I found a very simple solution of my problem.

I copied g++, gcc, gdb and gdbserver from Raspberry to Colibri.
It works. Even with breakpoints on a running application and with breakpoints on memory acces.

Best regards :wink:

Now I tried:

arm-angstrom-linux-gnueabi-gcc HelloWorld.c -o HelloWorld.out

causes:

arm-angstrom-linux-gnueabi-gcc: error trying to excec ‘as’: execvp: No such file or directory

Does it mean that “arm-angstrom-linux-gnueabi-gcc” does not work at all ?

Best regards

Perfect that it works. Thanks for your input.

Hello Jaski,

now I 've the same issue with a VF61.
Only copying the files as described above does not work.
So I looked at Angstrom. There I found an advice to Toradex.
There is written:

“opkg install packagegroup-sdk-target”

Now I can compile again. “gcc” works.
It is the solution of the half of my issue.

Please, were can I find the command for installing gdb.

Best regards