-
Notifications
You must be signed in to change notification settings - Fork 84
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
Installing epd on Raspberry Pi (Ubuntu 20.04 server) #219
Comments
It seems it cannot find libbcm_host.so which contains the bcm_host_get_peripheral_address function. |
I found the lib in /usr/lib/aarch64-linux-gnu and changed it in the Makefile. I'm still getting an error. The Ubuntu 20.04 version is 64 bit. Is that causing the error? Do I have to reinstall the 32 bit OS version? sudo make rpi EPD_IO=epd_io.h PANEL_VERSION='V231_G2' |
It still does not find the function. |
nm /usr/lib/aarch6464-linux-gnu/libbcmhost.so | grep bcm_host_get_peripheral_address ... and /opt/lib/include does exist. It is linked to /usr/include (vc -> /usr). |
I am guessing you are using either a Pi 3B(+) or Pi 4B (since you are on a 64-bit OS). See also https://www.raspberrypi.org/documentation/hardware/raspberrypi/peripheral_addresses.md |
I had to put this project down for a few months but I'm back to see if it can be resurrected. I have reinstalled Ubuntu 20.04 server (32 bit .. this time) and tried to install the Papirus software. I followed your instructions above and got a little further .... I think. This is error message I'm getting after updating the base_address to 0x3F000000 and running the make command: make rpi EPD_IO=epd_io.h PANEL_VERSION='V231_G2' |
You have undefined references to timer_create, timer_settime and timer_gettime. |
I'm trying to install epd on a Raspberry Pi running Ubuntu 20.04 server. I this make command and coming up with this error.
Please help.
sudo make rpi EPD_IO=epd_io.h PANEL_VERSION='V231_G2'
make DESTDIR="" PREFIX=/usr SERVICE=systemd PLATFORM=../RaspberryPi PANEL_VERSION="V231_G2" EPD_IO="epd_io.h" -C PlatformWithOS/driver-common
make[1]: Entering directory '/tmp/papirus/gratis/PlatformWithOS/driver-common'
cc -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -Wall -Werror -std=gnu99 -I../RaspberryPi -IV231_G2 -I/opt/vc/include -I. -DEPD_IO='"epd_io.h"' -lfuse -pthread -lrt -L/opt/vc/lib -lbcm_host -o "gpio_test" gpio_test.o gpio.o
/usr/bin/ld: gpio.o: in function
GPIO_setup': gpio.c:(.text+0xc): undefined reference to
bcm_host_get_peripheral_address'collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:127: gpio_test] Error 1
make[1]: Leaving directory '/tmp/papirus/gratis/PlatformWithOS/driver-common'
make: *** [Makefile:84: rpi] Error 2
The text was updated successfully, but these errors were encountered: