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

Compiling Fix For Pi Zero W On Other Distro's #69

Open
Dtpk opened this issue Feb 25, 2020 · 2 comments
Open

Compiling Fix For Pi Zero W On Other Distro's #69

Dtpk opened this issue Feb 25, 2020 · 2 comments

Comments

@Dtpk
Copy link

Dtpk commented Feb 25, 2020

Some distro's won't let you compile this even when the pi zero w supports hard floats. The simple fix is to edit the make file and change " ARCH_CFLAGS = -march=armv6 -mtune=arm1176jzf-s -mfloat-abi=hard "
too
" ARCH_CFLAGS = -march=armv6 -mtune=arm1176jzf-s -mfloat-abi=softfp "
or
" ARCH_CFLAGS = -march=armv6 -mtune=arm1176jzf-s -mfloat-abi=soft "
after that the program compiles fine seems to work ok. I can't guarantee how it preforms in long tests just figured i'd post this fix here as well as on the original project this is based off. Tested this fix on p4wn pi aola which is basically kali linux.

@miegl
Copy link
Owner

miegl commented Feb 25, 2020 via email

@Dtpk
Copy link
Author

Dtpk commented Feb 27, 2020

Changed the mfloat-abi back to the original "-mfload-abi=hard " . Then went tried to compile with -O2 optimizations it just fails at compiling unless I set the mfloat-abi to softfp. If I do that and leave the optimization too -O1 it will compile and work "correctly" but bluetooth cuts off if I ssh in via bluetooth and start transmitting how ever if I control the terminal via WiFi the sound transmits pretty ok with small hick-up's in the sound every now and then which is probably "due to the low voltage detection the PLLC " so I suppose if I overlcock higher it would work fine on the Pi Zero W. But i'll keep a eye out on updates thanks for the comment and also just wanted to let you know I had a typo in the previous post the -O3 wasn't suppose to be there.

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

2 participants