Re: Radxa Orion O6

2025-03-07 Thread Rob Schmersel
On Thu, 30 Jan 2025 23:53:08 +0100 Mark Kettenis wrote: > > Date: Fri, 31 Jan 2025 00:51:12 +0900 > > From: FUKAUMI Naoki > > > > On 1/30/25 23:59, Patrick Wildt wrote: > > > On Thu, Jan 30, 2025 at 10:07:43PM +0900, FUKAUMI Naoki wrote: > > >> On 1/30/25 19:36, Patrick Wildt wrote: > > >>> Whi

Re: Radxa Orion O6

2025-01-30 Thread FUKAUMI Naoki
On 1/31/25 07:53, Mark Kettenis wrote: Random process kills occurred on the MP kernel as with the RK3588 board. :( I'm really surprised, because my bootup just works and make -j12 finishes succesfully: 2m42.56s real18m33.46s user 6m20.94s system I've got an Anker 373 120W USB-C

Re: Radxa Orion O6

2025-01-30 Thread Mark Kettenis
> Date: Fri, 31 Jan 2025 00:51:12 +0900 > From: FUKAUMI Naoki > > On 1/30/25 23:59, Patrick Wildt wrote: > > On Thu, Jan 30, 2025 at 10:07:43PM +0900, FUKAUMI Naoki wrote: > >> On 1/30/25 19:36, Patrick Wildt wrote: > >>> While I was sleeping Jared made some more progress with NetBSD, see: > >>>

Re: Radxa Orion O6

2025-01-30 Thread Mark Kettenis
> Date: Thu, 30 Jan 2025 11:36:38 +0100 > From: Patrick Wildt Hi Patrick, After staring at the ARM ARM for a bit, I don't think the agtimer(4) bits are entirely correct. See below. The xhci(4) bits look good (but I know you're working on a better diff). So the SErrors happen because the hardw

Re: Radxa Orion O6

2025-01-30 Thread FUKAUMI Naoki
On 1/30/25 23:59, Patrick Wildt wrote: On Thu, Jan 30, 2025 at 10:07:43PM +0900, FUKAUMI Naoki wrote: On 1/30/25 19:36, Patrick Wildt wrote: While I was sleeping Jared made some more progress with NetBSD, see: * https://mail-index.netbsd.org/source-changes/2025/01/30/msg155355.html * https:/

Re: Radxa Orion O6

2025-01-30 Thread Patrick Wildt
On Thu, Jan 30, 2025 at 10:07:43PM +0900, FUKAUMI Naoki wrote: > On 1/30/25 19:36, Patrick Wildt wrote: > > While I was sleeping Jared made some more progress with NetBSD, see: > > > > * https://mail-index.netbsd.org/source-changes/2025/01/30/msg155355.html > > * https://mail-index.netbsd.org/sour

Re: Radxa Orion O6

2025-01-30 Thread FUKAUMI Naoki
On 1/30/25 19:36, Patrick Wildt wrote: While I was sleeping Jared made some more progress with NetBSD, see: * https://mail-index.netbsd.org/source-changes/2025/01/30/msg155355.html * https://mail-index.netbsd.org/source-changes/2025/01/30/msg155358.html * https://mail-index.netbsd.org/source-cha

Re: Radxa Orion O6

2025-01-30 Thread Patrick Wildt
On Thu, Jan 30, 2025 at 07:55:11AM +0900, FUKAUMI Naoki wrote: > Hi Patrick, > > On 1/30/25 00:55, Patrick Wildt wrote: > > With some input from Jared McNeill I got OpenBSD to install and run on > > the board, it looks like: > > > > * Using xhci(4) produces the SError. Jared thinks it might be m

Re: Radxa Orion O6

2025-01-29 Thread FUKAUMI Naoki
Hi, I found a typo. # It doesn't fix our problem. -- FUKAUMI Naoki Radxa Computer (Shenzhen) Co., Ltd. Index: sys/arch/arm64/stand/efiboot/efiacpi.c === RCS file: /cvs/src/sys/arch/arm64/stand/efiboot/efiacpi.c,v diff -u -p -u -r1

Re: Radxa Orion O6

2025-01-29 Thread FUKAUMI Naoki
Hi Patrick, On 1/30/25 00:55, Patrick Wildt wrote: With some input from Jared McNeill I got OpenBSD to install and run on the board, it looks like: * Using xhci(4) produces the SError. Jared thinks it might be missing clock setup in UEFI. Disabling it allows it to run userland. It seems

Re: Radxa Orion O6

2025-01-29 Thread Patrick Wildt
On Thu, Jan 23, 2025 at 08:49:27AM +0900, FUKAUMI Naoki wrote: > Hi Mark, > > On 1/22/25 22:09, Mark Kettenis wrote: > > I think I figured out what went wrong here. If you know how to apply > > patches and build your own kernel the diff below will probably fix the > > issue. > > It works fine. T

Re: Radxa Orion O6

2025-01-22 Thread FUKAUMI Naoki
Hi Mark, On 1/22/25 22:09, Mark Kettenis wrote: I think I figured out what went wrong here. If you know how to apply patches and build your own kernel the diff below will probably fix the issue. It works fine. Thank you very much :) P.S. I think you mentioned GENERIC.MP being unstable on yo

Re: Radxa Orion O6

2025-01-22 Thread Mark Kettenis
> Date: Wed, 22 Jan 2025 15:34:45 +0900 > From: FUKAUMI Naoki > > So, what is this panic? It's some sort of hardware error. We've seen this happen when memory is mapped with the wrong memory attributes. Could be the result of the kernel mapping memory that isn't accessable (which in turn could

Re: Radxa Orion O6

2025-01-22 Thread Mark Kettenis
> Date: Wed, 22 Jan 2025 14:36:04 +0900 > From: FUKAUMI Naoki > > On 1/22/25 11:49, FUKAUMI Naoki wrote: > > I found the key to enable the SPCR table in EDK2. I rebuilt the UEFI and > > the SPCR table started to appear. But on OpenBSD things got worse, I > > lost output on both serial and HDMI.

Re: Radxa Orion O6

2025-01-21 Thread FUKAUMI Naoki
So, what is this panic? (Btw, GENERIC.MP hangs just after "WARNING: CHECK AND RESET THE DATE!") -- FUKAUMI Naoki Radxa Computer (Shenzhen) Co., Ltd. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2025 Open

Re: Radxa Orion O6

2025-01-21 Thread FUKAUMI Naoki
On 1/22/25 11:49, FUKAUMI Naoki wrote: I found the key to enable the SPCR table in EDK2. I rebuilt the UEFI and the SPCR table started to appear. But on OpenBSD things got worse, I lost output on both serial and HDMI... ^It was wrong. SPCR is working! [ using 3054328 bytes of bsd ELF symbol t

Re: Radxa Orion O6

2025-01-21 Thread FUKAUMI Naoki
Hi Patrick, Mark, On 1/22/25 06:45, Patrick Wildt wrote: If you look at your full dmesg you can see all the tables: [0.00] ACPI: RSDP 0x000479C30018 24 (v02 CIXTEK) [0.00] ACPI: XSDT 0x000479C3FE98 74 (v01 CIXTEK SKY1EDK2 01000101 0113) [0.00] A

Re: Radxa Orion O6

2025-01-21 Thread Patrick Wildt
On Wed, Jan 22, 2025 at 05:23:48AM +0900, FUKAUMI Naoki wrote: > On 1/21/25 22:33, FUKAUMI Naoki wrote: > > Hi Mark, > > > > On 1/21/25 07:07, Mark Kettenis wrote: > > > > > > With "ACPI" I can use the serial console with efiboot, but the > > > > > > kernel > > > > > > output only shows up on the

Re: Radxa Orion O6

2025-01-21 Thread FUKAUMI Naoki
On 1/21/25 22:33, FUKAUMI Naoki wrote: Hi Mark, On 1/21/25 07:07, Mark Kettenis wrote: With "ACPI" I can use the serial console with efiboot, but the kernel output only shows up on the display after the kernel is loaded. To support the serial console in "ACPI" mode, an SPCR table is needed. P

Re: Radxa Orion O6

2025-01-21 Thread FUKAUMI Naoki
Hi Mark, On 1/21/25 07:07, Mark Kettenis wrote: With "ACPI" I can use the serial console with efiboot, but the kernel output only shows up on the display after the kernel is loaded. To support the serial console in "ACPI" mode, an SPCR table is needed. Probably something that should be enabled

Re: Radxa Orion O6

2025-01-20 Thread Mark Kettenis
> Date: Mon, 20 Jan 2025 10:25:49 +0900 > From: FUKAUMI Naoki Hi Naoki, > Hi Mark, > > On 1/20/25 00:27, Mark Kettenis wrote: > >> Date: Sun, 19 Jan 2025 12:35:59 +0900 > >> From: FUKAUMI Naoki > > > > Hello, > > > >> Hi, > >> > >> I'm trying to boot OpenBSD/arm64 on a Radxa Orion O6. > >> >

Re: Radxa Orion O6

2025-01-19 Thread FUKAUMI Naoki
On 1/20/25 10:19, FUKAUMI Naoki wrote: For now it is not possible to use (serial) console and ukc in ACPI mode, so I compiled a new kernel without them. https://drive.google.com/file/d/11TyxkrAeJN8BtTYkMd02ZWPM1sVf-A88/view? usp=sharing https://drive.google.com/file/d/16yNp0dWgVzUsEZYQGdWoLNEU

Re: Radxa Orion O6

2025-01-19 Thread FUKAUMI Naoki
Hi Warner, On 1/20/25 10:36, Warner Losh wrote: On Sun, Jan 19, 2025 at 6:32 PM FUKAUMI Naoki > wrote: Hi Mark, On 1/20/25 00:27, Mark Kettenis wrote: >> Date: Sun, 19 Jan 2025 12:35:59 +0900 >> From: FUKAUMI Naoki mailto:na...@radxa.com>> >

Re: Radxa Orion O6

2025-01-19 Thread FUKAUMI Naoki
Hi Patrick, On 1/19/25 23:28, Patrick Wildt wrote: On Sun, Jan 19, 2025 at 12:35:59PM +0900, FUKAUMI Naoki wrote: Hi, I'm trying to boot OpenBSD/arm64 on a Radxa Orion O6. UEFI has a "O/S Hardware Description Selection" menu where I can choose "Device Tree" or "ACPI". "ACPI" allows me to boot

Re: Radxa Orion O6

2025-01-19 Thread Warner Losh
On Sun, Jan 19, 2025 at 6:32 PM FUKAUMI Naoki wrote: > Hi Mark, > > On 1/20/25 00:27, Mark Kettenis wrote: > >> Date: Sun, 19 Jan 2025 12:35:59 +0900 > >> From: FUKAUMI Naoki > > > > Hello, > > > >> Hi, > >> > >> I'm trying to boot OpenBSD/arm64 on a Radxa Orion O6. > >> > >> UEFI has a "O/S Har

Re: Radxa Orion O6

2025-01-19 Thread FUKAUMI Naoki
Hi Mark, On 1/20/25 00:27, Mark Kettenis wrote: Date: Sun, 19 Jan 2025 12:35:59 +0900 From: FUKAUMI Naoki Hello, Hi, I'm trying to boot OpenBSD/arm64 on a Radxa Orion O6. UEFI has a "O/S Hardware Description Selection" menu where I can choose "Device Tree" or "ACPI". "ACPI" allows me to b

Re: Radxa Orion O6

2025-01-19 Thread Mark Kettenis
> Date: Sun, 19 Jan 2025 12:35:59 +0900 > From: FUKAUMI Naoki Hello, > Hi, > > I'm trying to boot OpenBSD/arm64 on a Radxa Orion O6. > > UEFI has a "O/S Hardware Description Selection" menu where I can choose > "Device Tree" or "ACPI". "ACPI" allows me to boot a mainline Linux kernel. > > Wi

Re: Radxa Orion O6

2025-01-19 Thread Patrick Wildt
On Sun, Jan 19, 2025 at 03:28:24PM +0100, Patrick Wildt wrote: > On Sun, Jan 19, 2025 at 12:35:59PM +0900, FUKAUMI Naoki wrote: > > Hi, > > > > I'm trying to boot OpenBSD/arm64 on a Radxa Orion O6. > > > > UEFI has a "O/S Hardware Description Selection" menu where I can choose > > "Device Tree" o

Re: Radxa Orion O6

2025-01-19 Thread Patrick Wildt
On Sun, Jan 19, 2025 at 12:35:59PM +0900, FUKAUMI Naoki wrote: > Hi, > > I'm trying to boot OpenBSD/arm64 on a Radxa Orion O6. > > UEFI has a "O/S Hardware Description Selection" menu where I can choose > "Device Tree" or "ACPI". "ACPI" allows me to boot a mainline Linux kernel. > > With "ACPI"