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

WsprryPi on a Pi4 not working #33

Open
KB8RCO opened this issue Feb 3, 2020 · 9 comments
Open

WsprryPi on a Pi4 not working #33

KB8RCO opened this issue Feb 3, 2020 · 9 comments

Comments

@KB8RCO
Copy link

KB8RCO commented Feb 3, 2020

We did some troubleshooting after trying to run WsprryPi on a Raspberry Pi 4.
Two issues:

  1. makefile does not correctly identify the Pi version
    Both the Pi3B and Pi4 identified the same ARMV7l

  2. No configuration for PI4 clock changes and base address.

  3. makefile I used needs to be edited to properly set PI-VERSION

  4. The RPi 4 requires 2 changes in gpioclk
    #define BCM2708_PERI_BASE 0xfe000000
    #define F_PLLD_CLK (750000000.0)
    This meant adding RPI4 option in the 'makefile' and changes to use this new setting in both gpioclk.cpp and wspr.cpp.

I would like to provide updates so others can use the Pi4.

@samhanie
Copy link

Any update to making this software Pi4 compatible?

@KB8RCO
Copy link
Author

KB8RCO commented Sep 21, 2020

There are actually 3 major changes to the Pi4 (vs. older versions) that make the WsprryPi application malfunction with a Pi4:

  • BCM2708_PERI_BASE 0xfe000000
  • F_PLLD_CLK (750000000.0)
  • F_XTAL (54000000.0)

My attempt at fising these issues can be found at under my callsign: https://github.com/KB8RCO/WsprryPi
It adds 6-char grid and GPIO , but must be compiled on the same Pi veriosn it is used and requires the added getbaseaddr executable. I know 3 people who have used this code and compiled it on multiple Pi version - successfully.

I have another that pulls the base address and other info within the code, so it will execute on any pi, no matter which it was compiled on. That is still being tested.

@KB8RCO
Copy link
Author

KB8RCO commented Sep 22, 2020

My attempt at fixing these issues can be found at under my callsign: https://github.com/KB8RCO/WsprryPi-1
It reports which Pi version is detected on start of application.
This was compiled on a Pi4, then run on a Pi3 and Pi Zero to ensure it still worked.
Then compiled on a original Pi (512 MB) and run on a Pi4.

@PatKilroy
Copy link

REFERENCE: "QRPi Software Installation Guide for Different Ham Tx Modes" by Zoltan Doczi, HA7DCD.

Using the installation sequence given on Page 3 of this guide, under the section, "WSPR-GPIO4," when I hit Enter for the "make" command, I got lines and lines of what appeared to be error codes that I did not understand.

I request that an experienced user please offer a work around for us newbies, line by line, with typos removed and commands proven for the latest Raspberry Pi OS release, for the Pi 3 and the Pi 4 hardware, if there is any difference in installation sequence between the two models. I and many others would be very grateful. Thank you for your support!

Cheers,

Pat N8PK
in FM19

@KB8RCO
Copy link
Author

KB8RCO commented Jan 30, 2021 via email

@PatKilroy
Copy link

PatKilroy commented Feb 1, 2021 via email

@IgrikXD
Copy link

IgrikXD commented Oct 24, 2023

@KB8RCO
image
В репозитории отсутсвует файл с таким именем. Почему ваша инструкция и реальное содержимое проекта не соттвествует дейтсвительности?

@KB8RCO
Copy link
Author

KB8RCO commented Oct 24, 2023 via email

@KB8RCO
Copy link
Author

KB8RCO commented Oct 25, 2023 via email

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

4 participants