Re: iwm: add support for firmware paging

2019-10-31 Thread Krystian Lewandowski
Hi Stefan, I tested it for dozen hours of YT streaming and usual web browsing. No issues observed. iwm0: hw rev 0x230, fw ver 22.361476.0, address e4:0e:ee:81:3d:a0 -- Krystian

sxipwm, pwmbl - work in progress, simplefb integration?

2019-10-06 Thread Krystian Lewandowski
dt file dev/fdt/rkiic.c rkiic device rkpmic Index: sys/dev/fdt/pwmbl.c === RCS file: sys/dev/fdt/pwmbl.c diff -N sys/dev/fdt/pwmbl.c --- /dev/null 1 Jan 1970 00:00:00 - +++ sys/dev/fdt/pwmbl.c 6 Oct 2019 21:0

Re: sxitemp: set calibraration data, introducing sxisid

2019-09-29 Thread Krystian Lewandowski
Mark, thank you for quick feedback. I'm not pushing or anything of course, just want to provide more information. I put radiator on A64+ I'm using (both were tested with radiator), also FreeBSD and OpenBSD may have been using different clocks (648MHz vs 768MHz), original mail was sent in April, l

Re: sxitemp: set calibraration data, introducing sxisid

2019-09-29 Thread Krystian Lewandowski
y.4 thmc.4 tpm.4 tpmr.4 tqphy.4 trm.4 trunk.4 tsl.4 tty.4 \ tun.4 tap.4 twe.4 \ Index: share/man/man4/sxisid.4 === RCS file: share/man/man4/sxisid.4 diff -N share/man/man4/sxisid.4 --- /dev/null 1 Jan 1970 00:00:00 - +++

thermal-zones - A64 support

2019-09-06 Thread Krystian Lewandowski
Good evening Mark (and tech@), thank you for thermal zones support. I thought it would be nice to use it in A64 as well. I tested it by running 'ubench -c' in a loop and checking clocks and CPU temp. Clock went down when temperature rised limiting available operating-points as expected (as far as

Re: sxiccmu - A64 support

2019-09-02 Thread Krystian Lewandowski
I just checked 100us on Pinebook one more time, the boot process is stuck at "root on sd0a [...]" - I think it's the first time when CPU clock is set. Lowest value (round to 100) that was working for me was 200us. But if you think it should be smaller (even 1us like on H3/H5 in this driver already

sxiccmu - A64 support

2019-08-28 Thread Krystian Lewandowski
Hello Mark, below is the patch I'm using for a while now on Pinebook and A64+. I thought, if it's good enough maybe it could be accepted to the main tree. I used it with device tree entries below, apm was able to set lowest and highest clock, running stable for more than a week. It's actually sam

Re: arm64 glass console

2019-08-12 Thread Krystian Lewandowski
Hi, had a chance to build efiboot with the patch eventually. Works fine on: - Pinebook 11" (1080p) - A64+ with 1080p display via HDMI -- Krystian

axppmic803, more sensors

2019-08-08 Thread Krystian Lewandowski
Hi, I'm trying to improve Pinebook experience on OpenBSD. I added a few more sensors to axppmic 803. I have two boards I tested this patch on: - Pinebook: axppmic0 at sxirsb0 addr 0x3a3: AXP803 $ sysctl hw.sensors.axppmic0 hw.sensors.axppmic0.temp0=42.55 degC hw.sensors.axppmic0.volt0=3.85 VDC (b

Makefile.cross typo

2019-05-21 Thread Krystian Lewandowski
I tried to rebuild cross tools recently and it seems there is a typo in Makefile.cross. *** Parse error in src: Malformed conditional ((${TARGET} == "macppc") (Makefile.cross:20) -- Krystian Index: Makefile.cross === RCS file: /cvs/

sxitemp: set calibraration data, introducing sxisid

2019-04-08 Thread Krystian Lewandowski
=== RCS file: sys/dev/fdt/sxisid.c diff -N sys/dev/fdt/sxisid.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ sys/dev/fdt/sxisid.c8 Apr 2019 20:11:51 - @@ -0,0 +1,163 @@ +/* + * Copyright (c) 2019 Krystian Lewandowski + * + * Permission to use, copy, modify,