User Tools

Site Tools


deploy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
deploy [2019/11/15 17:00] – [Notes] grafdeploy [2021/10/20 09:43] (current) – [Handle Read-only File System] ursgraf
Line 1: Line 1:
 ====== Deploy to the Target ====== ====== Deploy to the Target ======
-Finally, load the executable onto the target (see notes below if you are doing this on a brand new board) with+Finally, load the executable onto the target with
 <code> <code>
 $ ./deploy.sh $ ./deploy.sh
 </code> </code>
-The default password on the BeagleBone Blue Board is "temppwd". Edit the ''deploy.txt'' file to define which files should be downloaded. \\+The default password on the BeagleBone Blue Board is "ost". Edit the ''deploy.txt'' file to define which files should be downloaded. 
  
-==== Notes ==== +==== Handle Read-only File System==== 
-When the BeagleBone Blue Board is used the first time (never used with EEROS before or a brand new BeagleBone Blue / Image)some initial setup steps are needed. The script **deploy.sh** will copy the executable and libraries to **/opt/eeros**. Thereforethis folder must be present on the target or the copy fails. To create the folder, execute the following on the BeagleBone:+ 
 +Our images for the board come in two flavorsdevelopment and release. The release image is write protected which makes it safe for powering it off without proper shutdown procedureHowever, when deploying to such an imageyou will get
 <code> <code>
-debian@beaglebone:$ sudo mkdir /opt/eeros +$ scp: /home/ost/bin/delta: Read-only file system
-debian@beaglebone:$ sudo chown debian:debian /opt/eeros/+
 </code> </code>
- +Before downloading you have to make the file system writable. Connect to your target with  
-Also, some links must be created. The system must find the eeros libraries to load themThe following symbolic links are needed:+<code> 
 +$ ssh ost@192.168.7.2 
 +</code> 
 +then remount the file system with 
 +<code> 
 +ost@bblue:$ sudo mount / -o remount,rw 
 +</code> 
 +A system which is longer read-only should be stopped gracefully at the end with
 <code> <code>
-debian@beaglebone:$ cd /usr/lib/ +ost@bblue:$ sudo /sbin/halt
-debian@beaglebone:$ sudo ln -s /opt/eeros/lib/libbbblueeeros.so.1.2.0.0 libbbblueeeros.so.1.2.0.0 +
-debian@beaglebone:$ sudo ln -s libbbblueeeros.so.1.2.0.0 libbbblueeeros.so +
-debian@beaglebone:$ sudo ln -s /opt/eeros/lib/libeeros.so.1.1.0.0 libeeros.so.1.1.0.0 +
-debian@beaglebone:$ sudo ln -s libeeros.so.1.1.0.0 libeeros.so+
 </code> </code>
-Make sure the version information (....so.1.1.0.0) is not outdated! This can be checked by browsing the **BeagleBoneBlue/install-armhf/lib/** folder on the development computer before copying the libraries to the target. 
-  
  
 ---- ----
deploy.1573833639.txt.gz · Last modified: 2019/11/15 17:00 by graf