Hello,
I have downloaded mpc8349ea BSP, and wanted to use the binary for gdb in host & gdbserver in target.
Can anyone please point to where is can't be found ?
I have some issue installing the bsp with ltib and rpm version.
Regards,
Ran
Solved! Go to Solution.
LTIB do have problems with newer Ubuntu releases. The last officially supported Ubuntu version is 8.10. There is a number of posts in the community
where people share solutions:
Re: LTIB build fails on lkc, using Ubuntu 11.10 and LTIB 9.1.1
None of these, however, has been officially approved or supported.
As of GDB, yes, the bsp you are working with does include GDB.
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
Continuing effort, but no success yet.
After install of ubuntu 8.10, and other dependencies.
Now I get the following failure:
bison -y -d ./parse.y
make: *** [parse.c] Segmentation fault
Any ideas?
Regrads,
Ran
Hi Platon,
Thank you very much for your assistance!
I've tried to apply the patch in your first link (ubuntu-ltib-patch.tgz ) . I hope it will be OK for ubuntu 10.04 (The message menion only ubuntu 10.04).
What should I put in ltibDir ?
I have not installed any ltib in ubuntu ?
ubuntu@ubuntu-laptop:~/dtu/bsp/ubuntu-ltib-patch$ ./install-patches.sh ../ltib-mpc8349emds-20061221/
cp lkc-1.4-lib.patch /opt/freescale/pkgs
cp lkc-1.4-lib.patch.md5 /opt/freescale/pkgs
cp sparse-0.4-fixlabel.patch /opt/freescale/pkgs
cp sparse-0.4-fixlabel.patch.md5 /opt/freescale/pkgs
Patching Spec Files
cp: cannot stat `../ltib-mpc8349emds-20061221//dist/lfs-5.1/sparse/sparse.spec': No such file or directory
cp: cannot create regular file `../ltib-mpc8349emds-20061221//dist/lfs-5.1/sparse/sparse.spec': No such file or directory
cp: cannot stat `../ltib-mpc8349emds-20061221//dist/lfs-5.1/mux_server/mux_server.spec': No such file or directory
cp: cannot create regular file `../ltib-mpc8349emds-20061221//dist/lfs-5.1/mux_server/mux_server.spec': No such file or directory
Done
patching file bin/Ltibutils.pm
Hunk #1 FAILED at 584.
1 out of 1 hunk FAILED -- saving rejects to file bin/Ltibutils.pm.rej
I don't have any "mux_server.spec" in ubuntu folders.
Regards,
Ran
Hi Platon,
This is quite a trouble. I've had no luck with this issue.
I went back to install ubuntu 8.10.
But it get me just a little step to the next never-ending issues.
Is it possible to attach in this thread the gdb & gdbserver , just for me to try it in my environment ?
I already have everthing in my existing bsp, only the gdb&gdbserver are missing...
Best Regards,
Ran
The details you provided are not sufficient for any suggestion, sorry. Please update this thread with the following:
(a) The exact name of the BSP .iso image you are working with;
(b) Errors returned by LTIB
Note. Not all Freescale BSPs/SDKs include support to gdb.
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you,
This issue been resolved.
I am working with compiled gdb / gdbserver it seems to work just fine.
I am not using freescale BSP from website, but buildroot with linux 3.14.25.
Regards,
Ran
Hi Platon,
As to the gdb issue, Do you know if there is any gdb & gdbsever available ? I've been really struglling at this without results so far.
Maybe there is someone who used it and can share ?
Thank you!
Ran
Hi Platon,
Is there any idea how I can resolve it ?
Thanks,
Ran
Hi,
Sorry, my apology.
1. The BSP is MPC8349EA_MDS_K26_20061221-LTIB.iso (this is the only image I found in the site, if there is any alternative to LTIB , it can be a good solution)
I am working on ubuntu 10.04 (virtualbox).
2. The errors I get:
ubuntu@ubuntu-laptop:~/dtu/dtu_src/dtu/src/modules/ltib-mpc8349emds-20061221$ ./ltib
ltib cannot be run because one or more of the host packages needed
to run it are either missing or out of date.
Please install/upgrade these packages and then re-try.
Package Minimum ver Installed info
------- ----------- ---------------
rpm-build 0 not installed
Died at ./ltib line 1411.
Started: Wed Aug 12 14:52:58 2015
Ended: Wed Aug 12 14:52:58 2015
Elapsed: 0 seconds
Build Failed
Exiting on error or interrupt
3. I tried to install rpm older version 4.4.3.2 , and it also failed in many depeneded ways, till I gave up with it.
Best Regards,
Ran