WIP: Package waveshare CM4-NAS-Double-Deck demo app #49
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "lee.miller/openwrt:packages"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi!
I started packaging the demo app. Here are already packages for depends,
RPi.GPIO
andspidev
. Converting the zip into a package will take more time.Well, I made a first attempt.
Hmm, buildbot can't fetch the zip.
dd3ff9dfa0
to1df224847e
I think it's going in the right direction, but there is an unexpected problem. It also needs the
pillow
package: https://pypi.org/project/Pillow/. When I install it, thewaveshare-demo
throws an exception, and debugging led me to the conclusion that the .so files in the pillow aarch64 wheel are built against GNU libc, which isn't 100% compatible with openwrt. So you probably have to add buildingpillow
from source. Debug info:When I try to run the app from source, I'm getting a different error:
(it's from
spidev.SpiDev(0,0)
)That is regarding the LCD.
The fan seems to work now, using the fan demo app. However I'm not 100% sure if it wasn't already working before.
Maybe we also need the driver?
Hmm I may be getting stupid, I didn't realize that an LCD under linux is probably going to be seen as a display and perhaps you may need X. Let me test and I'll see what's going to happen.
I think I'll use ubuntu on this device, it's too much work otherwise. We'll skip this.
Pull request closed