en:image-c2
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:image-c2 [2019/03/03 10:01] – created fluktuacia | en:image-c2 [2019/03/05 13:42] (current) – fluktuacia | ||
---|---|---|---|
Line 28: | Line 28: | ||
$ sudo python setup.py develop | $ sudo python setup.py develop | ||
- | In case of Odroid-C2, I²C has to be made work by a correct entry into ''/ | + | In case of Odroid-C2, I²C has to be made work by a correct entry into ''/ |
===== station-supervisor ===== | ===== station-supervisor ===== | ||
Line 67: | Line 67: | ||
==== Checking the configuration ==== | ==== Checking the configuration ==== | ||
- | After a correct loading of the firmware, the [[http:// | + | After a correct loading of the firmware, the [[http:// |
{{: | {{: | ||
Line 124: | Line 124: | ||
fudge 127.127.28.0 time1 0.0 refid GPS | fudge 127.127.28.0 time1 0.0 refid GPS | ||
| | ||
- | GPSd musí být zároveň nastaven tak, aby dával | + | GPSd has to be at the sea time set to give data even without connected clients. It can be done during installation. |
sudo dpkg-reconfigure gpsd | sudo dpkg-reconfigure gpsd | ||
Start gpsd automatically on boot? Yes | Start gpsd automatically on boot? Yes | ||
Line 131: | Line 131: | ||
Options to gpsd: -b -n | Options to gpsd: -b -n | ||
- | Otestování synchronizace lze provést podle [[http:// | + | Testing the synchronisation can be done following these [[http:// |
- | ===== Příprava SDkarty | + | ===== Getting an SD card ready ===== |
- | Novou SDkartu naformátujeme na souborový systém | + | A new SD card has to be formatted to [[https:// |
sudo apt install f2fs-tools gparted | sudo apt install f2fs-tools gparted | ||
- | Pak můžeme programem | + | Then you can use Gparted |
+ | The formatting can be done from a command line with a following command: | ||
sudo mkfs.f2fs / | sudo mkfs.f2fs / | ||
- | Naformátovanou SDkartu pak připojíme do adresáře | + | Connect the formatted SD card to '' |
sudo mount -t f2fs / | sudo mount -t f2fs / | ||
Line 149: | Line 150: | ||
sudo chown -R odroid bolidozor | sudo chown -R odroid bolidozor | ||
- | ===== Adresáře pro ukládání záznamů a konfigurace stanice | + | ===== Directories for saving the records and station’s configuration |
- | Záznamy a konfigurace stanice se ukládají do '' | + | Records and station’s settings are saved to '' |
mkdir -p ~/ | mkdir -p ~/ | ||
Line 158: | Line 159: | ||
cp ~/ | cp ~/ | ||
| | ||
- | Poslední příkaz nakopíruje výchozí konfiguraci | + | The last command will copy a default configuration of '' |
- | ===== Spuštění po startu | + | ===== Launching after startup |
<WRAP info> | <WRAP info> | ||
- | Protože se většina stanic instaluje na počítač zvaný | + | Because most stations are installed on Odroid |
</ | </ | ||
- | Do ''/ | + | It is also necessary to add to ''/ |
su odroid / | su odroid / | ||
- | Pokud se mají na Odroidu zapisovat záznamy na SD kartu, mělo by se ještě před '' | + | If the records on Odroid should be written on an SD card, before the '' |
- | Příkazy by se do '' | + | The commands should be added to '' |
+ | An example of ''/ | ||
#!/bin/sh -e | #!/bin/sh -e | ||
Line 193: | Line 195: | ||
exit 0 | exit 0 | ||
| | ||
- | ===== Automatické aktualizace | + | ===== Automatic actualisations |
+ | |||
+ | Due to safety reasons it is recommended to let the automatic package actualisations activated. The actualisations are configured via /// | ||
- | Z bezpečnostních důvodů je vhodné nechat aktivovanou automatickou aktualizaci balíků. Ta je nastavena v souboru /// | ||
APT:: | APT:: | ||
Line 202: | Line 205: | ||
APT:: | APT:: | ||
| | ||
- | Pak ještě aktivujeme nastavení odkomentováním potřebných řádků v souboru | + | Next, we activate the setting by un-commenting desirable lines in /// |
// Automatically upgrade packages from these (origin: | // Automatically upgrade packages from these (origin: | ||
Line 213: | Line 216: | ||
}; | }; | ||
- | [[https:// | + | [[https:// |
- | + |
en/image-c2.1551607299.txt.gz · Last modified: 2019/03/03 10:01 by fluktuacia