Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ArmLinuxTutorial.md to rework for TcpServer #2214

Merged
merged 1 commit into from
Aug 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>`.
Loading