OpenBSD on Pinebook - improving user experience - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook (https://forum.pine64.org/forumdisplay.php?fid=76) +--- Forum: BSD on Pinebook (https://forum.pine64.org/forumdisplay.php?fid=107) +--- Thread: OpenBSD on Pinebook - improving user experience (/showthread.php?tid=7822) Pages:
1
2
|
OpenBSD on Pinebook - improving user experience - elewarr - 08-10-2019 Hello! Some time ago I bough A64+, then had a chance to buy Pinebook. The plan was to run OpenBSD on both and get involved in driver development. I maintain a few patches to OpenBSD (slowly trying them to be upstreamed). But the code needs modified device tree, so my second repo is u-boot related (but also it's just an addition to OpenBSD's u-boot port). Repositiories: 1. u-boot additions: https://github.com/elewarr/openbsd-ports-u-boot 2. OpenBSD src patches: https://github.com/elewarr/openbsd-arm64-src-dev Please note, these repositories have instructions to help you get involved (with some scripts that are not very reliable but fulfil basic needs). Status: 1. sxitemp, sxisid sxitemp driver relies on sxisid and uses calibration data, providing accurate temperature readings. 2. sxiuphy This driver (provided by Patrick Wildt) enables 2nd USB port is disabled by default for now because of unsolved issues on A64+, uncomment sxiuphy in GENERIC config to enable. 3. sxiccmu Enables dynamic CPU frequencies. 4. axppmic Supports more PMIC sensors. Current battery capacity, voltage, dis/charging current. Work in progress: 1. sxipwm OpenBSD does not have PWM framework but this is needed for 2. pwmbl PWM backlight driverThe idea is to provide basic support for wsconsctl brightness property using PWN and generic PWM based backlight driver.Current status: brightness is set to max at boot. I was eager to get my hands on Pinebook Pro but because of some technical issues I failed to get my voucher in time. Maybe I'll have more luck in the future. I'm aware this work (focused on Pinebook) may not be useful for Rockchip ICs but I want to learn something and this is a lot of fun! Booting with the full brightness, yay! https://www.dropbox.com/s/q3v8kqus9obnpn5/IMG_1268.jpeg?dl=0 And my small test bench. https://www.dropbox.com/s/qcih55ehoovbffu/IMG_1264.jpeg?dl=0 RE: OpenBSD on Pinebook - improving user experience - elewarr - 08-12-2019 Good news! axppmic is now in the official repository, thanks to Mark Kettenis. It needs device tree to contain (it's not yet in my u-boot repository): Code: x-powers,axp803-battery-power-supply Sample output: Code: hw.sensors.axppmic0.temp0=66.56 degC RE: OpenBSD on Pinebook - improving user experience - elewarr - 08-24-2019 PWM backlight in action: RE: OpenBSD on Pinebook - improving user experience - tllim - 08-30-2019 Looking forward on the openBSD with desktop OS build soon. RE: OpenBSD on Pinebook - improving user experience - elewarr - 08-30-2019 @tllim, PM. News: - Sent proposal for clock management to OpenBSD @ https://marc.info/?l=openbsd-tech&m=156703718806657&w=2 - Unexpected reboots were reported on "my" kernel (but I was unable to reproduce them): https://twitter.com/adi3v/status/1167167357422362631?s=20 Check your temps chaps! RE: OpenBSD on Pinebook - improving user experience - elewarr - 09-03-2019 News: - official sxiccmu driver now handles A64 clocks! https://marc.info/?l=openbsd-cvs&m=156742973911721&w=2 RE: OpenBSD on Pinebook - improving user experience - elewarr - 09-06-2019 News: - Sent proposal for thermal zones support to OpenBSD tech@: https://marc.info/?l=openbsd-tech&m=156780452215125&w=2 - u-boot port patching script is now a bit more flexible, patches contain battery (axppmic) and thermal zones (sxitemp) definitions: https://github.com/elewarr/openbsd-ports-u-boot/commit/db91f66fd2c6555cebec8cf63fc83dbceaa7ffdc RE: OpenBSD on Pinebook - improving user experience - elewarr - 09-22-2019 News: - Thermal zones support was accepted upstream! https://marc.info/?l=openbsd-cvs&m=156908022803778&w=2 RE: OpenBSD on Pinebook - improving user experience - elewarr - 09-26-2019 And a ready to use image is here!
https://wiki.pine64.org/index.php/1080P_Pinebook_Software_Release#OpenBSDIMG_1373.jpeg (Size: 152.6 KB / Downloads: 773) RE: OpenBSD on Pinebook - improving user experience - tllim - 09-26-2019 (09-26-2019, 05:42 PM)elewarr Wrote: And a ready to use image is here! Thanks, I will try out on this weekend :-) |