After upgrading my iMX6 my gdb went lost.
Please can someone tell me, how I kann get it back ?
Best regards
After upgrading my iMX6 my gdb went lost.
Please can someone tell me, how I kann get it back ?
Best regards
How I can get it back ?
hi @Hermann
Could you provide the Software version (uname -a
) of your module? Which carrier board are you using?
To install gdb please do the following:
opkg update list
opkg install gdb
Best regards, Jaski
Thank you for yor answer.
But
opkg install gdb
causes
Unkown package ‘gdb’.
Collected errors:
???
Could you provide your software version?
Hi Jaski,
here is the answer to your question:
root@colibri-imx6:~# uname -a
Linux colibri-imx6 4.1.39-2.7.2+gba2f75f #3 SMP Mon Apr 10 03:01:06 CEST 2017 armv7l GNU/Linux
root@colibri-imx6:~#
Best regards
Thanks for this Information. Bsp 2.7.2 is not supported anymore. Could you update to at least Stable 2.7 release or even better to 2.8b5? Thanks.
Hi Jaski,
yesterday I started
opkg upgdate
opkg upgrade
and that caused my problem with gdb.
How can I upgrade to 2.8 ?
As written here the command opkg upgrade
will lead to a unusable system. For updating the module, you should use the Toradex Easy Installer.
Hallo Jaski,
you are right.
I tried a second upgrade an now the iMX6 doesn’t boot.
Thank you for your answers.
Best regards
Thanks for you input. Were you able to reinstall a booting version of Linux with GDB?
What bust be done to make the iMX6 able to start the app shown on the attached jpg ?
Is there a description, please ?
As explained under the following link, you should put the module to the recovery mode and then load the Toradex Easy Installer to the module using USB OTG Connection.
Hallo Jaski,
the iMX6 works again, I installed Bsp 2.7.2.
Now two questions are left:
setxkbmap de
changes y and z and the some other keys but the keys ÄÖÜ don’t work.
and
opkg install gdb
causes
Cannot install package gdb
Best regards
Perfect that it works again. Could you install the Bsp 2.8b5 instead of 2.7.2?
Hallo Jaski,
Bsp 2.8b5 is installed.
GDB can be startet.
But now I 'm missing gcc ?
opkg install gcc
causes
No packages installed or removed
Best regards
I think gcc is already installed. Did you try to run gcc? Try the command arm-angstrom-linux-gnueabi-gcc
, please.
Hallo Jaski,
“arm-angstrom-linux-gnueabi-gcc” works.
How can I achieve, that “arm-angstrom-linux-gnueabi-gcc” can be called with a simple “gcc” ?
My cross-platform expects “gcc” and I have no idea how to change it.
Best regards
you can do a symbolic link or change the configuration of your cross-platform Toolschain. Further it is not recommended to do the compilation on the module but use a cross compiler platform on the host.
Hallo Jaski,
thank you very much for your reply.
Every coin has two sides.
There are advantages and disadvantages to use a cross-compiler or compiling on the target.
One advantage of compiling on the target is: it only needs gcc, gdb and gdb-server on the target and I can do my job on several hardware-platforms and BSPs.
And why is at toradex
gdb == gdb,
gdb-server == gdb-server
and gcc == arm-angstrom-linux-gnueabi-gcc ?
What is it good for ?
Now I have to care how to get a symbolic link.
Best regards