Got autofocus working with @libcamera@floss.social on the #Unisoc-powered Jolla C2:
Affe Null
Posts
@khm @justsoup@mstdn.social You can blame the companies selling pre-existing designs for false advertising or not investing development time, but my point was that they aren't intentionally forcing you to use Android. Companies like Jolla who replace a significant part of userspace impose fewer restrictions (e.g. locked bootloader) on installing a custom OS. And you don't always need new dedicated hardware for FOSS - a device sold with an Android kernel now can get good mainline kernel support in the future.
@justsoup@mstdn.social What do you mean by "just Android phones?" The phone itself is not bound to a specific operating system, unless it is locked down by the manufacturer. That is typical for some Android phones, but manufacturers who don't want to ship Android are usually not interested in locking their phones down, so you should be free to run any operating system you want on them. Do you know of any examples where this is not the case?
Here is the prototype of an open-source coprocessor firmware that works on the Jolla C2's Cortex-M33: https://codeberg.org/affenull2345/opencp
It is pretty much useless as of now (it just sets up the watchdog and runs a "hello world" application), but could later be used to implement an open-source sensor hub and many more things.
My work on mainlining the #Unisoc UMS9230 SoC has reached a point where the usability of most features is limited by proprietary firmware blobs running on other processors (the camera being a notable exception). I am wondering whether it makes sense to write kernel drivers for them at all or if it is better to work on an open-source reimplementation of the firmware.
Thankfully, the #Jolla C2 provides the freedom to replace most of the coprocessor firmware. 1/4
Recently I've been porting the #Unisoc ISP to #libcamera. AF is not supported yet, so I have to move the lens manually using v4l2-ctl. But debayering, AGC/AEC, AWB and color correction are already working.