[go: up one dir, main page]

Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Target Communication Framework » TCF Agent (TCF configuration x86 to Raspberry Pi ARM )
TCF Agent [message #1770486] Sat, 12 August 2017 14:04 Go to next message
Anne Creek is currently offline Anne CreekFriend
Messages: 275
Registered: September 2014
Senior Member




Quote

Fri Aug 11, 2017 3:49 pm
https://wiki.eclipse.org/TCF/Raspberry_Pi
This is my primary "how to " resource I am using to learn TCF.
I have been tru several similar tutorials , so I do not need another reference to "RTFM".
I am trying to understand how TCF works, not necessarily just "cut and paste"

I run into a dead end.

I have annotated the following steps



# (Replace n.n.n.n by the actual IP address that you read)
ssh pi@n.n.n.n / password : raspberry

OK, I can communicate with RPi using ssh.

sudo apt-get update # (Need to update the Raspbian update caches to get git)

OK here

sudo apt-get install git uuid uuid-dev libssl-dev
git clone git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent.git


OK this clones lots of "agent " stuff - works fine so far

cd org.eclipse.tcf.agent/agent

Move to created directory - works


cp R machine/arm machine/armv6l


Copy from /arm to NON-EXISTENT / armv61

I AM stuck here

1. WHY cp ?
2. What is "armv61", where did it come from?


I would really appreciate answer for the above so I can continue.

Thanks

[Updated on: Sat, 12 August 2017 14:07]

Report message to a moderator

Re: TCF Agent [message #1770492 is a reply to message #1770486] Sat, 12 August 2017 16:43 Go to previous messageGo to next message
Eugene Tarassov is currently offline Eugene TarassovFriend
Messages: 23
Registered: July 2009
Junior Member
> 1. WHY cp ?
> 2. What is "armv61", where did it come from?

By default, the agent makefile gets CPU architecture name by running `uname -m`, which returns armv6l on Raspberry Pi. The makefile uses the name to get architecture specific source files from machine/<arch> directory, then it creates a work directory obj/<OS name>/<arch>, e.g. obj/GNU/Linux/armv6l.

However, we don't have machine/armv6l subdirectory. Instead we have single subdirectory for all 32-bit ARM variants. So, you can either use cp to create armv6l , or, an easier way is to use MACHINE=arm to override the architecture name and use generic arm directory:

make MACHINE=arm
Re: TCF Agent [message #1770493 is a reply to message #1770492] Sat, 12 August 2017 17:17 Go to previous messageGo to next message
Anne Creek is currently offline Anne CreekFriend
Messages: 275
Registered: September 2014
Senior Member
Eugene, thanks for nice explanation .
I shall continue with my tutorial.
Hope I won't have to call on you again.
Thanks
Re: TCF Agent [message #1770505 is a reply to message #1770493] Sun, 13 August 2017 02:57 Go to previous messageGo to next message
Anne Creek is currently offline Anne CreekFriend
Messages: 275
Registered: September 2014
Senior Member
One more question I do not see how doing make MACHINE = arm would work , also not knowing why cp R machine/arm machine/armv6l is done I would assume the /armv61 is used somewhere in the process later and will be referenced as such , not as arm.
In other words - the tutorial makes a copy of /arm to /armv61 for reason , but it is not given.
I'll go with creating armv61 and will report later if it worked.
TCF Configuration dialog "help"? [message #1773173 is a reply to message #1770492] Fri, 22 September 2017 17:18 Go to previous message
Anne Creek is currently offline Anne CreekFriend
Messages: 275
Registered: September 2014
Senior Member
Eugene,
I need a huge favour.

I am struggling with putting options to TCF Configuration dialog.
I cannot find a single resource to guide me.
I found some 10 years old picture file.

I am getting this weird error just putting simple file path into a text box.

I am actually considering building my own TCF plug-in to be able to trace my code to find out what is wrong with my entries.
TCF is a nice tool, but the Eclipse doc are nowhere to be found. Sad.

Cheers
Vaclav



Previous Topic:TCF configuration - again
Next Topic:TCF debugging embeded code
Goto Forum:
  


Current Time: Thu Dec 12 17:02:55 GMT 2024

Powered by FUDForum. Page generated in 0.03192 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top