howto:hexabus_on_rpi
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
hexabus_on_rpi [2013/05/15 22:10] – justinotherguy | howto:hexabus_on_rpi [2013/09/24 04:17] (aktuell) – Page moved from hexabus_on_rpi to howto:hexabus_on_rpi r00t | ||
---|---|---|---|
Zeile 24: | Zeile 24: | ||
< | < | ||
apt-get install libboost1.49-dev libboost-chrono1.49-dev libboost-chrono1.49.0 libboost-date-time1.49-dev libboost-date-time1.49.0 libboost-filesystem1.49-dev libboost-filesystem1.49.0 libboost-system1.49.0 libboost-system1.49-dev libboost-program-options1.49-dev libboost-program-options1.49.0 libboost-serialization1.49.0 libboost-serialization1.49-dev libboost-test1.49-dev libboost-test1.49.0 libboost-thread-dev libboost-thread1.49-dev libboost-thread1.49.0 | apt-get install libboost1.49-dev libboost-chrono1.49-dev libboost-chrono1.49.0 libboost-date-time1.49-dev libboost-date-time1.49.0 libboost-filesystem1.49-dev libboost-filesystem1.49.0 libboost-system1.49.0 libboost-system1.49-dev libboost-program-options1.49-dev libboost-program-options1.49.0 libboost-serialization1.49.0 libboost-serialization1.49-dev libboost-test1.49-dev libboost-test1.49.0 libboost-thread-dev libboost-thread1.49-dev libboost-thread1.49.0 | ||
+ | </ | ||
+ | |||
+ | === warning === | ||
+ | compiling hexabus on a RaspberryPi is actually possible. During the process you do need a considerable amount of RAM - virtual memory is ok. As our beloved RPi only comes along with 256 / 512 MB and you need to provide enough RAM for the peak of some 1000 MB, you should have 1 GB of swap space available. You can do so by simply inserting a usb memory stick into the RPi, create a swap partition, format and activate it: | ||
+ | < | ||
+ | cfdisk / | ||
+ | delete the existing partition (...you are going to loose all data on the stick in this step...) | ||
+ | create a new partition with at least 1 GB of space | ||
+ | set the partition type to " | ||
+ | write the results to the stick and quit cfdisk | ||
+ | mkswap / | ||
</ | </ | ||
Zeile 61: | Zeile 72: | ||
git checkout development | git checkout development | ||
cd hostsoftware/ | cd hostsoftware/ | ||
- | make release | + | make release |
dpkg -i build/ | dpkg -i build/ | ||
cd .. | cd .. | ||
Zeile 69: | Zeile 80: | ||
< | < | ||
cd hba | cd hba | ||
- | make release | + | make release |
cd .. | cd .. | ||
</ | </ | ||
Zeile 76: | Zeile 87: | ||
< | < | ||
cd hbc | cd hbc | ||
- | make release | + | make release |
+ | dpkg -i build/ | ||
cd .. | cd .. | ||
</ | </ | ||
- | + | === compile and install hexinfo === | |
- | libhexabus: 20 min | + | < |
- | hba: 100 min | + | cd hexinfo |
- | hbc: 440 min | + | make release #remark: took some 380 minutes to complete - almost there! |
- | hexinfo: 380 min | + | dpkg -i build/ |
+ | cd .. | ||
+ | </ | ||
apt-get install libboost-system1.49.0 libboost-program-options1.49.0 libboost-filesystem1.49.0 libboost-thread1.49.0 | apt-get install libboost-system1.49.0 libboost-program-options1.49.0 libboost-filesystem1.49.0 libboost-thread1.49.0 | ||
howto/hexabus_on_rpi.1368648648.txt.gz · Zuletzt geändert: 2013/05/15 22:10 von justinotherguy