Skip to content

Commit

Permalink
Update ArmLinuxTutorial.md to rework for TcpServer
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStarch authored Aug 17, 2023
1 parent 7e972cd commit f69df82
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/Tutorials/CrossCompilationSetup/ArmLinuxTutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,26 @@ dictionary from the build above (`--dictionary ./build-artifacts/<platform name>
```sh
# For in-person workshops and ARM 64-bit hardware
# In: Deployment Folder
fprime-gds -n --dictionary build-artifacts/aarch64-linux/dict/<App Dictionary>.xml
fprime-gds -n --dictionary build-artifacts/aarch64-linux/dict/<App Dictionary>.xml --ip-client --ip-address <device-address>

# For ARM 32-bit hardware
# In: Deployment Folder
fprime-gds -n --dictionary build-artifacts/aarch64-linux/dict/<App Dictionary>.xml
fprime-gds -n --dictionary build-artifacts/aarch64-linux/dict/<App Dictionary>.xml --ip-client --ip-address <device-address>
```
> This depends on a flight software deployment that uses TcpServer as the communications driver implementation.
In another terminal SSH into the device and run the uploaded software:
```sh
ssh <username>@<device-address>
sudo deployment/bin/<name-of-deployment> -a <host-address> -p 50000
sudo deployment/bin/<name-of-deployment> -a 0.0.0.0 -p 50000
```
> User should fill in the username and device address above and ensure the executable is supplied the address of the host computer (that ran the GDS).
> User should fill in the username and device address above and ensure the correct executable is supplied.
> If the device does not connect, ensure that the firewall port 50000 is open on the host computer.
> If the device does not connect, ensure that the firewall port 50000 is open on the flight computer.
## Troubleshooting

If you are getting errors for missing Libc.c files, make sure when you generate
that the logs show that it is using the `/opt/toolchains` path and not `/bin`.
You can additionally verify that the correct toolchain is being used by watching
the logs scroll by when you initially `fprime-util generate <toolchain>`.
the logs scroll by when you initially `fprime-util generate <toolchain>`.

0 comments on commit f69df82

Please sign in to comment.