Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 827 Bytes

Building.md

File metadata and controls

19 lines (16 loc) · 827 Bytes

Raspberry Pi 3B+

Building more than ubxtool, navdump, and navparse will require quite a bit of available RAM. In the Raspbian image, the default swap file size for /var/swap is only 100MB. More swap space will be needed if you want the compiling to finish without it seeming to take a geologic age.

The swap file is configured in /etc/dphys-swapfile and managed using the /sbin/dphys-swapfile utility.

Assuming the output of df -h and free indicate you have sufficient free file space and the swap file is indeed 100MB (respectively), and you do not have Chromium running (it eats RAM), you edit the config file (suggest changing 100 to 960) and then (as root):

/sbin/dphys-swapfile swapoff
echo Be Patient. This could take a while
/sbin/dphys-swapfile setup
/sbin/dphys-swapfile swapon