Here's how to set up and run your target:
You need to install a serial communication program (e.g., Minicom) to access the target and obtain an IP address.
Check the Dev Kit Cables UART2 settings are correct. If you're using Minicom, you access the config and initialize menus through CTRL+A Z. Run ifconfig
to display the IP address values.
Once you have IP addresses for the dev host and target, you can complete the target setup.
Startup scripts are copied automatically when instlegato
is run the first time, or you can copy them manually by following the procedure below.
Using ssh, access the target:
When prompted for a password, press enter.
Then create the startup directory:
Then copy the startup files to the target by running the following from the dev host:
Scripts beginning with fg_
are run first during startup, and then everything else is runs in the background. You can add more scripts to customize your target. fg_
scripts must have executable permissions or they will not run.
See Yocto Install Notes for helpful target setup tips.
Wait for the target to fully reboot. The target IP address may have changed. Check it using ifconfig
through the serial console before proceeding.
Run this to copy the Legato framework libraries and executables onto the target, and start the Legato runtime components:
If target startup scripts don't exist or don't match the ones in:
... they'll be copied to the target. Old startup files from the target will be copied to the host and can be found in:
After updating startup files the target will reboot. Once the target restarts you must run instlegato
again to complete installation.
To start an app on the target, run:
root@swi-mdm9x15:~# app start <app name>
To stop an app on the target, run:
root@swi-mdm9x15:~# app stop <app name>
Run app
help
for options.
These are Target Directories installed.
Copyright (C) Sierra Wireless, Inc. 2014. All rights reserved. Use of this work is subject to license.