raspberrypi / userland

Source code for ARM side libraries for interfacing to Raspberry Pi GPU.
BSD 3-Clause "New" or "Revised" License
2.04k stars 1.09k forks source link

programs don't work when building after installing Adafruit kernel (for 2.8" PiTFT screen) #165

Closed unphased closed 10 years ago

unphased commented 10 years ago

I'd like to get MMAL (and the programs built on it) working properly alongside the nice little 2.8" screen. So far it's proving slightly challenging.

Here are the kernel packages.

I am finding that raspistill, when compiled after installing the kernel, don't work.

pi@raspberrypi /opt/vc/userland-master/build $ bin/raspistill -t 1000
mmal: mmal_vc_port_parameter_set: failed to set port parameter 64:0:ENOSYS
mmal: Function not implemented
pi@raspberrypi /opt/vc/userland-master/build $ raspistill -t 1000
pi@raspberrypi /opt/vc/userland-master/build $

You can see here that the original raspistill still functions properly.

I hope someone can help by telling me what sort of error this output indicates.

popcornmix commented 10 years ago

I think you need to ask adafruit for support.

I would guess it's a mismatch between kernel/gpu firmware and userland libs, but we can only really advise on unmodified kernel/gpu firmware/userland, but I've no idea what versions they are using and what changes have been made.

unphased commented 10 years ago

I'm gonna use images or a second Pi to verify if the userland tools compiled on a clean system will function when copied over to the Pi running the modified kernel.