test3
This commit is contained in:
parent
c4533521f3
commit
11c38d5f90
20
README.md
20
README.md
@ -77,35 +77,35 @@ git submodule update
|
|||||||
* user: root
|
* user: root
|
||||||
* pw: root
|
* pw: root
|
||||||
* Set IP address and netmask with
|
* Set IP address and netmask with
|
||||||
````
|
```sh
|
||||||
ifconfig eth0 192.168.133.10
|
ifconfig eth0 192.168.133.10
|
||||||
ifconfig eth0 netmask 255.255.255.0
|
ifconfig eth0 netmask 255.255.255.0
|
||||||
````
|
```
|
||||||
2. Connect Q7S to workstation via ethernet
|
2. Connect Q7S to workstation via ethernet
|
||||||
3. Make sure the netmask of the ehternet interface of the workstation matches the netmask of the Q7S
|
3. Make sure the netmask of the ehternet interface of the workstation matches the netmask of the Q7S
|
||||||
* When IP address is set to 192.168.133.10 and the netmask is 255.255.255.0, an example IP address for the workstation
|
* When IP address is set to 192.168.133.10 and the netmask is 255.255.255.0, an example IP address for the workstation
|
||||||
is 192.168.133.2
|
is 192.168.133.2
|
||||||
4. Run tcf-agent on Q7S
|
4. Run tcf-agent on Q7S
|
||||||
* Tcf-agent is not yet integrated in the rootfs of the Q7S. Therefore build tcf-agent manually
|
* Tcf-agent is not yet integrated in the rootfs of the Q7S. Therefore build tcf-agent manually
|
||||||
````
|
```sh
|
||||||
git clone git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent.git
|
git clone git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent.git
|
||||||
cd org.eclipse.tcf.agent/agent
|
cd org.eclipse.tcf.agent/agent
|
||||||
make CC=arm-linux-gnueabihf-gcc LD=arm-linux-gnueabihf-ld MACHINE=arm NO_SSL=1 NO_UUID=1
|
make CC=arm-linux-gnueabihf-gcc LD=arm-linux-gnueabihf-ld MACHINE=arm NO_SSL=1 NO_UUID=1
|
||||||
````
|
```
|
||||||
* Transfer executable agent from org.eclipse.tcf.agent/agent/obj/GNU/Linux/arm/Debug to /tmp of Q7S
|
* Transfer executable agent from org.eclipse.tcf.agent/agent/obj/GNU/Linux/arm/Debug to /tmp of Q7S
|
||||||
````
|
```sh
|
||||||
cd obj/GNU/Linux/arm/Debug
|
cd obj/GNU/Linux/arm/Debug
|
||||||
scp agent root@192.168.133.10:/tmp
|
scp agent root@192.168.133.10:/tmp
|
||||||
````
|
```
|
||||||
* On Q7S
|
* On Q7S
|
||||||
````
|
```sh
|
||||||
cd /tmp
|
cd /tmp
|
||||||
chmod +x agent
|
chmod +x agent
|
||||||
````
|
```
|
||||||
* Run agent
|
* Run agent
|
||||||
````
|
```sh
|
||||||
./agent
|
./agent
|
||||||
````
|
```
|
||||||
5. In Xilinx SDK 2018.2 right click on project → Debug As → Debug Configurations
|
5. In Xilinx SDK 2018.2 right click on project → Debug As → Debug Configurations
|
||||||
6. Right click Xilinx C/C++ applicaton (System Debugger) → New →
|
6. Right click Xilinx C/C++ applicaton (System Debugger) → New →
|
||||||
7. Set Debug Type to Linux Application Debug and Connectin to Linux Agent
|
7. Set Debug Type to Linux Application Debug and Connectin to Linux Agent
|
||||||
|
Loading…
Reference in New Issue
Block a user