background image

Crosslink TG 

Product revision: 2.1

Getting started guide 

2019-10-31

 
 

www.crosscontrol.com 

2

 

Contents 

 

Revision history ............................................................................................................................... 2

 

1.

 

Login ........................................................................................................................................... 3

 

2.

 

Development using LinX Software Suite DevEnv 4 .................................................................. 3

 

2.1.

 

Qt ............................................................................................................................................... 3

 

2.2.

 

Qt Creator ................................................................................................................................ 4

 

2.3.

 

Set remote device IP address ............................................................................................... 9

 

2.4.

 

Scanning for a Device .......................................................................................................... 10

 

3.

 

Create and Deploy a Console Application .......................................................................... 11

 

4.

 

Auto starting an application during boot .............................................................................. 14

 

5.

 

Security ..................................................................................................................................... 14

 

5.1.

 

Using the “uncomplicated firewall” ................................................................................... 15

 

6.

 

Further Reading ....................................................................................................................... 15

 

 

Revision history 

Rev

 

Date

 

Author

 

Comments

 

2019-07-23 

Anders 
Svedberg 

Version 1.0 

2019-10-23 

Anders 

Svedberg 

Added Qt Creator  configuration  

2.1 

2019-10-31 

Finn Mc Guirk 

Minor corrections  

 

 
 

 

 
 

 

 

Summary of Contents for CrossLink TG

Page 1: ...Product revision 2 2019 10 23 Getting started guide Crosslink TG www crosscontrol com...

Page 2: ...remote device IP address 9 2 4 Scanning for a Device 10 3 Create and Deploy a Console Application 11 4 Auto starting an application during boot 14 5 Security 14 5 1 Using the uncomplicated firewall 1...

Page 3: ...n shell and editing the file etc ssh sshd_config In the Authentication section enable root login as below Authentication PermitRootLogin yes Do not connect a device directly to the Internet without ch...

Page 4: ...osslink tg sdk_1 0 0 1_all deb Reading database 141169 files and directories currently installed Preparing to unpack crosslink tg sdk_1 0 0 1_all deb Setting up crosslink tg sdk 1 0 0 1 ccs LinX VM Th...

Page 5: ...com 5 A typical Hello World application written in Qt for CrossLink TG The Qt Creator must be configured with the newly installed Qt libraries in order to be able to use it correctly Step 1 Open Tools...

Page 6: ...Crosslink TG and compiler path to opt TG gcc linaro 5 3 2016 02 x86_64_arm linux gnueabihf bin arm linux gnueabihf gcc Press Apply and then repeat for C compiler Add GCC C Set name GCC Crosslink TG a...

Page 7: ...2 Set the debugger Switch to the debugger tab and select the debugger opt TG gcc linaro 5 3 2016 02 x86_64_arm linux gnueabihf bin arm linux gnueabihf gdb Step 3 Configure Qt Switch to the Qt Version...

Page 8: ...t revision 2 1 Getting started guide 2019 10 31 www crosscontrol com 8 Step 4 Create the complete Kit Switch to the Kits tab and press Add button to create the build kit for Crosslink TG It should be...

Page 9: ...started guide 2019 10 31 www crosscontrol com 9 Press Ok and the setup is complete 2 3 Set remote device IP address To deploy and test an application on the CrossLink TG some settings need to be set i...

Page 10: ...vice The Crosslink TG will broadcast its IP address It can be read from the virtual machine with the application opt bin snb_reader The virtual machine may need to use a bridged adapter instead of the...

Page 11: ...ol com 11 3 Create and Deploy a Console Application To create a hello world application from Qt Creator it must be a console application since there is no graphical interface available for the Crossli...

Page 12: ...Crosslink TG Product revision 2 1 Getting started guide 2019 10 31 www crosscontrol com 12 Press Choose Press Next and select the qmake build system Then select the newly created Crosslink TG Kit...

Page 13: ...rosscontrol com 13 Press Next Select the option to enable version control if needed and then Finish Create a C Hello world application and press the green Run button to deploy it to the Crosslink TG I...

Page 14: ...target Service ExecStart opt bin myApplication Install multi user target corresponds to run level 3 WantedBy multi user target You must also create as root user a file named myapplication service in f...

Page 15: ...to the device will be disabled when the firewall is enabled To allow SSH login ufw allow ssh This enables ssh traffic on port 22 It is also possible to specify port number but ufw uses many common ke...

Reviews: