From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from www.weihenstephan.org ([80.190.177.12]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Tqlwz-0002SK-S2 for ptxdist@pengutronix.de; Thu, 03 Jan 2013 15:39:19 +0100 Received: from isonoe.hi.pengutronix.de (port-212-202-120-50.static.qsc.de [212.202.120.50]) by www.weihenstephan.org (Postfix) with ESMTPSA id 23B14481D80 for ; Thu, 3 Jan 2013 15:37:14 +0100 (CET) Resent-To: ptxdist@pengutronix.de Resent-Message-ID: <201301031538.48288.lfxciii@gmail.com> MIME-Version: 1.0 In-Reply-To: References: <201301031304.30859.jbe@pengutronix.de> Date: Thu, 3 Jan 2013 16:00:31 +0200 Message-ID: From: Ruben Louw Content-Type: multipart/mixed; boundary=20cf30780ca435cda004d262c9dc Subject: Re: [ptxdist] Ptxdist menu config -> GDBServer Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: Juergen Beisert --20cf30780ca435cda004d262c9dc Content-Type: multipart/alternative; boundary=20cf30780ca435cd9804d262c9da --20cf30780ca435cd9804d262c9da Content-Type: text/plain; charset=ISO-8859-1 Hi Juergen I executed ptxdist go but I received an error, I attatched the terminal log file. I copied from more or less where i could see the first error occured. Not sure what its complaining about, looks like somthing in gdb itself. any advice is appreciated, thank you. Regrads Ruben Louw On Thu, Jan 3, 2013 at 2:18 PM, Ruben Louw wrote: > Hi Juergen > > you are the man! I will try it and report back. > > Thanks ALOT for your help. > > Ruben Louw > > > On Thu, Jan 3, 2013 at 2:04 PM, Juergen Beisert wrote: > >> Hi Ruben, >> >> Ruben Louw wrote: >> > Got a question. I followed the quickstart doc for the newest bsp >> 2012.12.0 >> > and built everything, ptxdist, toolchain and the rootfilesystem. >> everything >> > works great, boot via nfs etc... >> >> \o/ >> >> > now i want to start developing some neat apps using qt creator. It >> seeems i >> > missed something, I have no gdbserver on my mini2440. Playing around >> with >> > ptxdist menuconfig, i saw there is a gdbserver option, i suppose this is >> > where i enable it. the only thing thats bugging my is, do i have to re >> > build everything now and reinstall ptxdist, or is there some short cut i >> > can take? >> >> This option is project centric. Just enabled the GDB option in the menu of >> this project and run the "ptxdist go" in the BSP directory again. After >> that >> everything is in place. Now it depends on your usecase how to proceed. If >> you >> are using NFS root and you have exported the "platform-mini2440/root" >> directory you are done. If you are using your Mini2440's NAND you need the >> additional "ptxdist images" step and to store the updated jffs2-image into >> the NAND again to get gdbserver into your Mini2440. >> >> Regards, >> Juergen >> >> -- >> Pengutronix e.K. | Juergen Beisert >> | >> Linux Solutions for Science and Industry | >> http://www.pengutronix.de/ | >> > > --20cf30780ca435cd9804d262c9da Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Juergen

I executed ptxdist go but I received an error, I attatche= d the terminal log file. I copied from more or less where i could see the f= irst error occured. Not sure what its complaining about, looks like somthin= g in gdb itself.

any advice is appreciated, thank you.

Regrads
Ruben Louw
<= br>
On Thu, Jan 3, 2013 at 2:18 PM, Ruben Louw <= lfxciii@gmail.com> wrote:
Hi Juergen

you are the man! I will tr= y it and report back.

Thanks ALOT for your help.

Ruben Louw

On Thu, Jan 3, 2013 at 2:04 PM, Juergen Beisert= <jbe@pengutronix.de> wrote:
Hi Ruben,

Ruben Louw wrote:
> Got a question. I followed the quickstart doc for the newest bsp 2012.= 12.0
> and built everything, ptxdist, toolchain and the rootfilesystem. every= thing
> works great, boot via nfs etc...

\o/

> now i want to start developing some neat apps using qt creator. It see= ems i
> missed something, I have no gdbserver on my mini2440. Playing around w= ith
> ptxdist menuconfig, i saw there is a gdbserver option, i suppose this = is
> where i enable it. the only thing thats bugging my is, do i have to re=
> build everything now and reinstall ptxdist, or is there some short cut= i
> can take?

This option is project centric. Just enabled the GDB option in the me= nu of
this project and run the "ptxdist go" in the BSP directory again.= After that
everything is in place. Now it depends on your usecase how to proceed. If y= ou
are using NFS root and you have exported the "platform-mini2440/root&q= uot;
directory you are done. If you are using your Mini2440's NAND you need = the
additional "ptxdist images" step and to store the updated jffs2-i= mage into
the NAND again to get gdbserver into your Mini2440.

Regards,
Juergen

--
Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Beisert =A0 =A0 =A0 =A0 =A0 =A0 |
Linux Solutions for Science and Industry =A0 =A0 =A0| http://www.pengutronix.de/ =A0|


--20cf30780ca435cd9804d262c9da-- --20cf30780ca435cda004d262c9dc Content-Type: application/octet-stream; name=Terminal Log for GDB Content-Disposition: attachment; filename=Terminal Log for GDB Content-Transfer-Encoding: base64 X-Attachment-Id: f_hbhynde70 L2hvbWUvb3JiaXQvT1NFTEFTLkJTUC1QZW5ndXRyb25peC1NaW5pMjQ0MC0yMDEyLjEyLjAvcGxh dGZvcm0tbWluaTI0NDAvYnVpbGQtdGFyZ2V0L2dkYi03LjIvZ2RiL2xpbnV4LW5hdC5oOjYzOjE4 OiBlcnJvcjogZmllbGQgJ3NpZ2luZm8nIGhhcyBpbmNvbXBsZXRlIHR5cGVJbiBmaWxlIGluY2x1 ZGVkIGZyb20gL2hvbWUvb3JiaXQvT1NFTEFTLkJTUC1QZW5ndXRyb25peC1NaW5pMjQ0MC0yMDEy LjEyLjAvcGxhdGZvcm0tbWluaTI0NDAvYnVpbGQtdGFyZ2V0L2dkYi03LjIvZ2RiL2xpbnV4LW5h dC5jOjMyOjA6Ci9ob21lL29yYml0L09TRUxBUy5CU1AtUGVuZ3V0cm9uaXgtTWluaTI0NDAtMjAx Mi4xMi4wL3BsYXRmb3JtLW1pbmkyNDQwL2J1aWxkLXRhcmdldC9nZGItNy4yL2dkYi9saW51eC1u YXQuaDo2MzoxODogZXJyb3I6IGZpZWxkICdzaWdpbmZvJyBoYXMgaW5jb21wbGV0ZSB0eXBlCklu IGZpbGUgaW5jbH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MC0yMDEyLjEyLjAv cGxhdGZvcm0tbWluaTI0NDAvYnVpbGQtdGFyZ2V0L2dkYi03LjItYnVpbGQnCm1ha2VbMV06ICoq KiBbYWxsXSBFcnJvciAyCm1ha2VbMV06IExlYXZpbmcgZGlyZWN0b3J5IGAvaG9tZS9vcmJpdC9P U0VMQVMuQlNQLVBlbmd1dHJvbml4LU1pbmkyNDQwLTIwMTIuMTIuMC9wbGF0Zm9ybS1taW5pMjQ0 MC9idWlsZC10YXJnZXQvZ2RiLTcuMi1idWlsZCcKbWFrZTogKioqIFsvaG9tZS9vcmJpdC9PU0VM QVMuQlNQLVBlbmd1dHJvbml4LU1pbmkyNDQwLTIwMTIuMTIuMC9wbGF0Zm9ybS1taW5pMjQ0MC9z dGF0ZS9nZGIuY29tcGlsZV0gRXJyb3IgMgoK --20cf30780ca435cda004d262c9dc Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --20cf30780ca435cda004d262c9dc--