Re: random process crashes on RPI3 and RPI4

2021-10-23 Thread Crystal Kolipe
On Sat, Oct 23, 2021 at 07:04:59PM +0200, Jan Stary wrote: > This is current/arm64 on a RPI3 and RPI4 (dmesgs below). > > Both basicaly work, but sometimes a process will get killed > and I have no idea why. For example, tmux almost always crashes; > sometimes e.g. syslogd will get killed on boot;

Re: random process crashes on RPI3 and RPI4

2021-10-23 Thread Crystal Kolipe
On Sat, Oct 23, 2021 at 03:21:33PM -0300, Crystal Kolipe wrote: > On Sat, Oct 23, 2021 at 07:04:59PM +0200, Jan Stary wrote: > > This is current/arm64 on a RPI3 and RPI4 (dmesgs below). > > > > Both basicaly work, but sometimes a process will get killed > > and I ha

Re: PINEphone

2021-10-23 Thread Crystal Kolipe
On Fri, Oct 22, 2021 at 03:17:55PM +0200, Jan Stary wrote: > On Dec 10 00:38:28, mih...@gmail.com wrote: > > https://store.pine64.org/?product=pinephone-braveheart-limited-edition-linux-smartphone-for-early-adaptor > > Any news on this? Reading > > https://www.openbsd.org/arm64.html >

Re: random process crashes on RPI3 and RPI4

2021-10-24 Thread Crystal Kolipe
On Sun, Oct 24, 2021 at 11:26:40AM +0100, Stuart Henderson wrote: > On 2021/10/24 10:01, Jan Stary wrote: > > On Oct 23 19:00:13, s...@spacehopper.org wrote: > > > Can you go into any more detail on "process will get killed" or "crashed"? > > > Core dumps, backtraces, messages on console/logs/dmesg

Re: random process crashes on RPI3 and RPI4

2021-10-24 Thread Crystal Kolipe
On Sun, Oct 24, 2021 at 10:01:42AM +0200, Jan Stary wrote: > > Including having swap configured as sd0b > > but the partition being non-existant? > > I don't know what you mean by "configured" The use of the 'b' partition on the root disk for swap is controlled by the following line in the kerne

Re: PINEphone

2021-10-25 Thread Crystal Kolipe
On Mon, Oct 25, 2021 at 11:36:17PM +0200, Jan Johansson wrote: > Crystal Kolipe wrote: > > I don't have a suitable serial cable to hand to test booting a > > recent OpenBSD kernel on one of the Pinephones that's sculling > > around here, but I did test it at som

Re: random process crashes on RPI3 and RPI4

2021-11-05 Thread Crystal Kolipe
On Fri, Nov 05, 2021 at 06:22:16PM +0100, Jan Stary wrote: > On Oct 25 21:21:52, h...@stare.cz wrote: > > On Oct 24 12:45:33, h...@stare.cz wrote: > > > On Oct 24 11:26:40, s...@spacehopper.org wrote: > > > > > > Does the swap partition sd0b actually exist, > > > > > > or are you by any chance runn

Re: random process crashes on RPI3 and RPI4

2021-11-06 Thread Crystal Kolipe
> > However, interestingly, the outputs from the md5 > > processes always seem correct, whereas I would expect them to be > > wrong occasionally if some kind of memory corruption is happening.. > > I don't think there is any memory corruption, > and have no idea why there would be. Maybe I should

Re: measuring cpu speed on rpi4

2021-12-20 Thread Crystal Kolipe
On Mon, Dec 20, 2021 at 03:33:46PM +, tech-lists wrote: > Is it kern.ccpu ? This returns 1948. Was looking for a descriptor > of that value too. man 2 sysctl

Re: Pinephone first installation attempt

2021-12-30 Thread Crystal Kolipe
Hi, Thanks for your comments! On Sun, Dec 26, 2021 at 07:00:31PM +0100, Patrick Wildt wrote: > On Sun, Dec 26, 2021 at 08:19:49AM -0300, Crystal Kolipe wrote: > > * Although the USB root hubs are detected, external USB devices don't seem > > to be detected when connected

Pinephone installation steps

2021-12-30 Thread Crystal Kolipe
Since posting the dmesg from my Pinephone running OpenBSD 7.0, I've received a number of emails off-list asking similar questions, such as how to compile U-boot, how build the install media, how to flash the internal eMMC, etc, etc. I've put notes about the steps that I followed up at: https://ww

Re: Pinephone first installation attempt

2022-01-01 Thread Crystal Kolipe
Hi Patrick, On Thu, Dec 30, 2021 at 02:30:22PM +0100, Patrick Wildt wrote: > Power: > If the dock is supposed to work without another USB-C connected, then we > would need to provide 5V to the USB port. What I can see is that the > AXP803 supports being connected to a USB power supply, and using

Re: Pinephone first installation attempt

2022-01-02 Thread Crystal Kolipe
On Sun, Dec 26, 2021 at 07:00:31PM +0100, Patrick Wildt wrote: > So you might want to find out why sxirsb(4) isn't working well. The errors I'm seeing are: RD8 failed for run-time address 0x2d WR8 failed for run-time address 0x2d The only code paths that can generate these error messages are in

Re: Pinephone first installation attempt

2022-01-02 Thread Crystal Kolipe
On Sun, Jan 02, 2022 at 07:17:35AM -0300, Crystal Kolipe wrote: > On Sun, Dec 26, 2021 at 07:00:31PM +0100, Patrick Wildt wrote: > > So you might want to find out why sxirsb(4) isn't working well. > > The errors I'm seeing are: > > RD8 failed for run-time address

Re: Pinephone first installation attempt

2022-01-03 Thread Crystal Kolipe
On Sun, Jan 02, 2022 at 09:09:02AM -0300, Crystal Kolipe wrote: > On Sun, Jan 02, 2022 at 07:17:35AM -0300, Crystal Kolipe wrote: > > On Sun, Dec 26, 2021 at 07:00:31PM +0100, Patrick Wildt wrote: > > > So you might want to find out why sxirsb(4) isn't working well. > &g

Re: Pinephone first installation attempt

2022-01-05 Thread Crystal Kolipe
On Mon, Jan 03, 2022 at 05:04:48PM -0300, Crystal Kolipe wrote: > On Sun, Jan 02, 2022 at 09:09:02AM -0300, Crystal Kolipe wrote: > > On Sun, Jan 02, 2022 at 07:17:35AM -0300, Crystal Kolipe wrote: > > > On Sun, Dec 26, 2021 at 07:00:31PM +0100, Patrick Wildt wrote: > >

bsd.mp crash on boot on Pinephone

2022-01-05 Thread Crystal Kolipe
As I mentioned in a previous mail, bsd.mp always crashes during boot on the Pinephone, (whereas the sp kernel does not). Until now, it's usually been impossible to enter ddb and get further information, but this time ddb was responsive: Stopped at 0x7e80004afc68: panic: attempt to

Re: Trying to run on new board with ARM

2022-01-06 Thread Crystal Kolipe
On Thu, Jan 06, 2022 at 05:28:08AM +0300, S V wrote: > Any suggestions on how to start? Please provide more information, for example the kernel output up to the point where the system fails to boot. Does it just hang? Enter ddb? > I got install70.img on usb stick and edk-ii on this board succe

Re: sxirsb: RSB_DMCR_DEVICE_MODE_DATA value

2022-01-10 Thread Crystal Kolipe
On Mon, Jan 10, 2022 at 06:55:57PM +0100, Mark Kettenis wrote: > > Date: Mon, 10 Jan 2022 18:35:05 +0100 > > From: Patrick Wildt > > > > Am Mon, Jan 10, 2022 at 07:42:12PM +0900 schrieb SASANO Takayoshi: > > > Hi, > > > > > > To change AXP80x into RSB mode, put 0x7c value to register 0x3e. > > >

Re: sxirsb: RSB_DMCR_DEVICE_MODE_DATA value

2022-01-10 Thread Crystal Kolipe
On Mon, Jan 10, 2022 at 04:09:03PM -0300, Crystal Kolipe wrote: > On Mon, Jan 10, 2022 at 06:55:57PM +0100, Mark Kettenis wrote: > > > Date: Mon, 10 Jan 2022 18:35:05 +0100 > > > From: Patrick Wildt > > > > > > Am Mon, Jan 10, 2022 at 07:42:12PM +09

Re: sxirsb: RSB_DMCR_DEVICE_MODE_DATA value

2022-01-11 Thread Crystal Kolipe
On Tue, Jan 11, 2022 at 09:59:27AM +0100, Patrick Wildt wrote: > Can you try this? > > diff --git a/sys/dev/fdt/axppmic.c b/sys/dev/fdt/axppmic.c > index 7e2b0c99942..2a3497f6755 100644 > --- a/sys/dev/fdt/axppmic.c > +++ b/sys/dev/fdt/axppmic.c > @@ -36,6 +36,8 @@ extern void (*powerdownfn)(void)

Re: Pinephone first installation attempt

2022-01-11 Thread Crystal Kolipe
On Tue, Jan 11, 2022 at 04:54:08PM +0100, Patrick Wildt wrote: > Preorders for the Pro Explorer Edition will come up later today: > > https://www.pine64.org/2022/01/11/pinephone-pro-explorer-edition-pre-orders-open-january-11/ > > I'll order one. You might want to order the I2C keyboard as well.

Re: Pinephone first installation attempt

2022-01-11 Thread Crystal Kolipe
On Tue, Jan 11, 2022 at 05:23:02PM +0100, Patrick Wildt wrote: > Am Tue, Jan 11, 2022 at 01:04:52PM -0300 schrieb Crystal Kolipe: > > On Tue, Jan 11, 2022 at 04:54:08PM +0100, Patrick Wildt wrote: > > > Preorders for the Pro Explorer Edition will come up later today:

Re: sxirsb: RSB_DMCR_DEVICE_MODE_DATA value

2022-01-12 Thread Crystal Kolipe
On Tue, Jan 11, 2022 at 09:59:27AM +0100, Patrick Wildt wrote: > Can you try this? > > diff --git a/sys/dev/fdt/axppmic.c b/sys/dev/fdt/axppmic.c > index 7e2b0c99942..2a3497f6755 100644 > --- a/sys/dev/fdt/axppmic.c > +++ b/sys/dev/fdt/axppmic.c > @@ -36,6 +36,8 @@ extern void (*powerdownfn)(void)

Fun with vibrator

2022-01-13 Thread Crystal Kolipe
I'm able to control the vibrator on the Pinephone via gpio by adding: gpioctl gpio3 2 set out to /etc/rc.securelevel, and then just issuing: # gpioctl gpio3 2 toggle Not the most useful achievement, but it proves that the gpio devices are working.

Pinephone now charging

2022-01-13 Thread Crystal Kolipe
So I've worked out why it wasn't charging... Monitoring of the battery temperature sensor is enabled by default in the AX803. Unfortunately, from looking at the Pinephone schematics, it seem that it expects a 10 Kohm thermistor in the battery whereas the battery actually has a 3 Kohm thermisto