Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hanging at 11%... Pi Zero 2W #219

Open
sethmnone opened this issue Oct 16, 2024 · 2 comments
Open

Hanging at 11%... Pi Zero 2W #219

sethmnone opened this issue Oct 16, 2024 · 2 comments

Comments

@sethmnone
Copy link

As the title says... I loaded my Pi Zero 2 W with bullseye 6.1.21-* from here.

Proceeded to complete these commands:

cd SoapySDR
mkdir build && cd build

And eveytime terminal hangs at 11% after I input:
cmake ../

Has anyone experienced this?

@Alle1307
Copy link

I changed to bookworm and to a RPI 3B, when compiling use make -j 2 instead of 4, takes a bit longer but doesn't hang. Haven't got everything working but SoapySDRUtil --probe gives a result now.

@bcshort
Copy link

bcshort commented Jan 1, 2025

If you haven't done so already, you may need to increase the swap file size. Out of the box the Pi Zero 2W is configured with 100MB swap. With only 512MB memory, 100MB swap is going to cause pain for any compiling.

  • edit file /etc/dphys-swapfile
  • change "CONF_SWAPSIZE=100" to something bigger - I set mine to "CONF_SWAPSIZE=1000"
  • Reboot Pi

Node if using purely on the SD card, this will speed up the degradation of the card due to writes and you are allowing more swapping to occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants