Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Mihini/Run Mihini on an Open Hardware platform"
< Mihini
(New page: This page describes a scenario for illustrating the use of Mihini on an Open Hardware Linux-based platform such as BeagleBoard or RaspberryPi. The goal would be for someone to be able to ...) |
(→Step 2 - Configure network connection) |
||
Line 15: | Line 15: | ||
== Step 2 - Configure network connection == | == Step 2 - Configure network connection == | ||
− | * | + | === 3G connection === |
+ | |||
+ | * apt-get install ppp | ||
+ | * Sierra Wireless 3G sticks pppd scripts: http://www.sierrawireless.com/resources/support/Software/Linux/ppp-scripts.tar.gz | ||
+ | |||
+ | === Ethernet connection === | ||
+ | |||
* Configure/verifiy that there is Ethernet connection as a fall-back | * Configure/verifiy that there is Ethernet connection as a fall-back | ||
Revision as of 06:37, 10 September 2012
This page describes a scenario for illustrating the use of Mihini on an Open Hardware Linux-based platform such as BeagleBoard or RaspberryPi.
The goal would be for someone to be able to be only one hour away from taking a bare development board and have it configured to collect data out of the GPIO sensors and send this data on a remote server. The application should be updatable over-the-air.
Contents
- 1 Step 1 - Build Mihini
- 2 Step 1 (alternative) - Get a ready-to-use "Mihini for XXX" SD card binary image
- 3 Step 2 - Configure network connection
- 4 Step 3 - Configure Mihini
- 5 Step 4 - Setup Koneki environment
- 6 Step 5 - Create your first application
- 7 Step 6 - Test the application
- 8 Step 7 - Install your application over the air
Step 1 - Build Mihini
- Download the sources
- Cross-compile (or compile directly on the target) the Mihini runtime
- TODO at that stage, can we try to create a dpkg? That'd be very useful...
Step 1 (alternative) - Get a ready-to-use "Mihini for XXX" SD card binary image
- Download a ready-to-use .img file and put it on the SD card used on the development board
Step 2 - Configure network connection
3G connection
- apt-get install ppp
- Sierra Wireless 3G sticks pppd scripts: http://www.sierrawireless.com/resources/support/Software/Linux/ppp-scripts.tar.gz
Ethernet connection
- Configure/verifiy that there is Ethernet connection as a fall-back
Step 3 - Configure Mihini
- Enable the application container
- Enable (and configure) the update manager (?)
Step 4 - Setup Koneki environment
- Download Lua Development Tools
- Install "Mihini target management"
- Configure the "Mihini execution environment" (provides nice autocompletion...)
Step 5 - Create your first application
- TODO (blink a LED, use a touch sensor, measure the temperature and available RAM of the board...)
Step 6 - Test the application
- Configure the remote target in the Koneki environment
- You will need to know the IP address of the target, but you likely know it already :-)
- Create a launch/debug configuration and test your script
Step 7 - Install your application over the air
- Use the Koneki tools to create an application package
- Deploy the package on a publically available web server
- Connect to the Mihini console and for a connection to the testing server