Re: Allwinner H3/H5: PLL1 (CPU_PLL) setting

2020-08-25 Thread Mark Kettenis
> Date: Tue, 25 Aug 2020 18:36:03 +0900 > From: SASANO Takayoshi > > Hi, > > I thought to avoid false-LOCKed situation but I didn't consider > about false-unLOCKed. So same as adr says, it is the best solution > to wait simply with delay(PLL_STABLE_TIME_REG1 usec). No need to refer > LOCK flag.

Re: Allwinner H3/H5: PLL1 (CPU_PLL) setting

2020-08-26 Thread Mark Kettenis
> Date: Wed, 26 Aug 2020 21:54:30 + > From: a...@sdf.org > > > > reg |= H3_CPUX_CLK_SRC_SEL_OSC24M; > > > SXIWRITE4(sc, H3_CPUX_AXI_CFG_REG, reg); > > > + /* Must wait at least 8 cycles of the current clock. */ > > > + delay(1); > > > > > > error

Re: Raspberry Pi 4B UEFI No Serial Console Installation

2020-09-04 Thread Mark Kettenis
> From: Archimedes Gaviola > Date: Fri, 4 Sep 2020 12:36:56 +0800 > > Hi, > > For the installation procedure here > https://ftp.openbsd.org/pub/OpenBSD/snapshots/arm64/INSTALL.arm64 is it > possible to add that we can already install even without the serial console > via TTL serial interface ada

Re: Raspberry Pi 4B UEFI No Serial Console Installation

2020-09-04 Thread Mark Kettenis
> From: Brett Coburn > Date: Fri, 4 Sep 2020 13:11:35 -0400 > > I have found that "set tty fb0" is also necessary to get a console > on the Pinebook 1080P. I added this to /etc/boot.conf and can now > get the framebuffer console upon boot. This works on the final > installed system, but I also ha

Re: Raspberry Pi 4B UEFI No Serial Console Installation

2020-09-05 Thread Mark Kettenis
> From: Archimedes Gaviola > Date: Sat, 5 Sep 2020 17:29:59 +0800 > Cc: arm@openbsd.org > Content-Type: text/plain; charset="UTF-8" > > I don't yet have a patch to submit, but it looks like adding the generation > > of a > > simple /etc/boot.conf to /distrib/arm64/ramdisk/install.md, inside > > m

Re: Raspberry Pi 4B with OpenBSD 6.7-current freezes or kernel panic with uplcom(4)

2020-10-06 Thread Mark Kettenis
> From: Archimedes Gaviola > Date: Tue, 6 Oct 2020 19:24:34 +0800 > > Hi, > > I plugged my USB (bus powered) vacuum fluorescent display (VFD) pole device > and detected as uplcom(4) driver. After the device has been detected kernel > panic was observed or freezes the whole system. Please see att

Re: RPi 4 crash on install

2020-10-18 Thread Mark Kettenis
> Date: Sun, 18 Oct 2020 14:02:23 -0700 (PDT) > From: Lee Nelson > > I get the following when trying to install arm64 on my RPi 4 (4GB RAM): > > disks: sd0* sd1 > >> OpenBSD/arm64 BOOTAA64 1.2 > boot> > cannot open sd0a:/etc/random.seed: No such file or directory > booting sd0a:/bsd: 2357768+668

Re: RPi 4 as an OpenBSD router

2020-11-16 Thread Mark Kettenis
> From: Mihai Popescu > Date: Mon, 16 Nov 2020 20:50:07 +0200 > > Hello, > > Do you think is practical to run RPi 4 as an OpenBSD router, one interface > from the board and one from USB Ethernet adapter? > I try to replace my ISP router, the connection is 300/150 Mbps down/up. It > will be a rou

Re: Edit /etc/boot.conf

2020-12-05 Thread Mark Kettenis
> Date: Sat, 5 Dec 2020 17:55:33 +0100 (CET) > From: Sagar Acharya > > I want to install OpenBSD 6.8 on A20-OLinuXino-Lime2 . With unicorn's help, I > followed this tutorial, > https://regrow.earth/openbsd-on-olinuxino-lime2/ > And completed the 2 dd command steps as shown in the blog. The resul

Re: Edit /etc/boot.conf

2020-12-06 Thread Mark Kettenis
> Date: Sun, 6 Dec 2020 14:44:04 + > From: a...@sdf.org > > > After adding "set tty fb0" to /etc/boot.conf, you will have problems with > > xenodm. Try restarting it, or maybe you'll have more luck than me with this > > > > https://marc.info/?l=openbsd-arm&m=160284947222088&w=2 > > Just for

Re: No real-time clock, ntpd, and settime

2021-01-09 Thread Mark Kettenis
> Date: Sat, 09 Jan 2021 17:24:59 +0100 > From: "Filippo Valsorda" > > (Emailing the arm@ list because this is a common issue on arm platforms, > although not arm specific. Let me know if I should redirect.) > > I run a simple OpenBSD firewall on a RPi 4, which doesn't have a > real-time clock.

Re: Update U-Boot

2021-01-11 Thread Mark Kettenis
> From: Christian Rueger > Date: Mon, 11 Jan 2021 19:16:42 +0100 > > Hi, > > i have installed OpenBSD 6.7 on my Rock Pi 4 for some time and make > an upgrade to current. That works fine and i also update the > installed ports. I copy the new DTB file to vendor directory on the > sd0i partion, b

Re: Radxa ROCK Pi N10 Works

2021-01-12 Thread Mark Kettenis
> From: Kurt Miller > Date: Tue, 12 Jan 2021 12:29:34 -0500 > > I purchased one of the rev c boards with 8GB ram with the > hopes that it could build the full ports tree. Good news > it installs and boots fairly easily. Bad news is that I > missed that the 8GB ram is split between the CPU and the

Re: Radxa ROCK Pi N10 Works

2021-01-12 Thread Mark Kettenis
> Date: Tue, 12 Jan 2021 20:40:05 +0100 (CET) > From: Mark Kettenis > > > From: Kurt Miller > > Date: Tue, 12 Jan 2021 12:29:34 -0500 > > > > I purchased one of the rev c boards with 8GB ram with the > > hopes that it could build the full ports tree. Goo

Re: openbsd68 and raspberry pi 4 cpu sensor

2021-01-13 Thread Mark Kettenis
> Date: Wed, 13 Jan 2021 01:06:30 + > From: tech-lists > > Hi, > > On Wed, Jan 13, 2021 at 10:43:57PM +0800, Archimedes Gaviola wrote: > >Hi, > > > >Can you try this in your system? > > > >openbsdrpi4b2# sysctl -a | grep temp0 > >hw.sensors.bcmtmon0.temp0=55.99 degC > > obsd# sysctl -a | gr

Re: openbsd68 and raspberry pi 4 cpu sensor

2021-01-13 Thread Mark Kettenis
> Date: Wed, 13 Jan 2021 02:13:42 + > From: tech-lists > > On Wed, Jan 13, 2021 at 03:19:35PM +, Stuart Henderson wrote: > >Set your uefi firmware to device tree or acpi + device tree mode. > > Unfortunately neither of those modes worked. It sits at the part before it's > cleared the la

Re: rpi4 devicetree issues on openbsd68

2021-01-14 Thread Mark Kettenis
> Date: Thu, 14 Jan 2021 13:20:12 + > From: tech-lists > > On Thu, Jan 14, 2021 at 12:35:59PM +0800, Archimedes Gaviola wrote: > >Hi J, > > > >Please try https://github.com/pftf/RPi4/releases/tag/v1.18. Haven't tried > >the latest v1.22 firmware but for sure v1.19 and v1.20 crashed RPI 4B whe

Re: [PATCH] Allwinner H6's UART needs to enable FIFO

2021-01-19 Thread Mark Kettenis
> Date: Mon, 18 Jan 2021 20:15:44 +0900 > From: SASANO Takayoshi > > Here's the diff. Enabling FIFO is DesignWare's APB-UART only. > Tested on Allwinner H6 and H2+, both no problem. This will need some wider testing; in particular we need to test this on various Rockchip and Marvell platforms.

Apple M1 teaser

2021-02-20 Thread Mark Kettenis
So OpenBSD boots multi-user on the new Apple M1 hardware. This still has some hacks in it that need to be fixed, so don't expect support for this in the tree right now. But a big thank you to those that contributed to the pool for getting us some hardware. OpenBSD 6.9-beta (GENERIC) #112: Sat F

Re: gic interrupt 27 on arm64

2021-05-01 Thread Mark Kettenis
> From: Alessandro Pistocchi > Date: Thu, 29 Apr 2021 00:50:32 +0200 > Content-Type: text/plain; charset="UTF-8" > > Hi all, > in the kernel I see the code below (file: arm64/dev/ampint.c lines:643-666). > > void > ampintc_irq_handler(void *frame) > { > struct ampintc_softc *sc = ampintc; > stru

Re: Raspberry Pi 4B randomly kernel panics after upgrading to 6.9

2021-05-01 Thread Mark Kettenis
> From: Justin Yang > Date: Sat, 1 May 2021 21:15:31 +0800 > > Hi, > > I have a Raspberry Pi 4B (8G mem) with OpenBSD 6.8 installed on a USB 3 > disk drive, and with edk2 firmware v1.22 flashed on SD card. It works fine > untill I upgrade to 6.9 Release by 'sysupgrade' today. After this > upgrad

bcmintc(4) diff for raspberry pi3

2021-05-22 Thread Mark Kettenis
Can't find my raspberry pi3 right now. But here is a diff that avoids spinning with interrupts disabled while trying to grab the kernel lock for it. I'd appreciate it if somebody could give this a spin for me. Just checking whether it works normally for a bit would be fine. Thanks, Mark Index

Re: Booting OpenBSD 6.9 crashes qemu when using Hypervisor.framework on Apple M1

2021-05-23 Thread Mark Kettenis
> From: Morgan Aldridge > Date: Sun, 23 May 2021 11:59:36 -0400 > > I've built `qemu` from source on macOS 11.3.1 with v8 of the Apple > Silicon support patchset[0], as follows: > > $ /bin/bash -c "$(curl -fsSL > https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" > $ brew insta

Re: Raspberry Pi 4B DS3231 RTC not detected

2021-06-14 Thread Mark Kettenis
> From: Archimedes Gaviola > Date: Mon, 14 Jun 2021 22:39:53 +0800 > > On Mon, Jun 14, 2021 at 8:01 PM Archimedes Gaviola < > archimedes.gavi...@gmail.com> wrote: > > > Hi, > > > > I took an upgrade with OpenBSD 6.9 in my Raspberry Pi 4B however DS3231 > > real-time clock wasn't detected. This t

Re: Adding i2c RTC to Tinker Board?

2021-06-19 Thread Mark Kettenis
> Date: Sat, 19 Jun 2021 14:02:53 -0400 > From: "Joe Gidi" > > I'd like to add a DS3231 RTC to my Asus Tinker Board, to make it more > suitable as an NTP server. I've done this with a Raspberry Pi in the past, > and it was trivial: just copy the appropriate device tree overlay to the > MS-DOS par

Re: Networking failure during install on Olimex Lime2 (A20)

2021-07-24 Thread Mark Kettenis
> Date: Sat, 24 Jul 2021 04:39:31 + (UTC) > From: Neoklis Kyriazis > > Hi all > > I am new to OpenBSD but have been using Linux for a long time so I am > familiar with Un*xoid OS's. I am trying to install OpenBSD 6.9 on Olimex's > FreedomBox (Lime2 board with Allwinner A20) but setting up ne

Re: Apple M1 support, any news?

2021-08-27 Thread Mark Kettenis
ngs are being hammered out in collaboration with the Asahi Linux folks. We're making progress there, but stuff will break. Hopefully things will stabilize enough in the coming months for us to have something that has the basics. > On Sunday, February 21st, 2021 at 6:46 AM, Mark Kettenis

Re: cubieboard sxie no broadcast packets visible

2021-09-20 Thread Mark Kettenis
> From: John DiMarco > Date: Mon, 20 Sep 2021 09:34:25 -0400 > > In message <20210919001818.8bf857a0...@apps0.cs.toronto.edu>I wrote: > >I dug out my old cubieboard (the original Allwinner A10 version) and put > >openbsd 6.9 on it. It works fine except for one thing: the network card > >(sxie0) d

Re: miniroot70 booting problem

2021-10-15 Thread Mark Kettenis
> Date: Fri, 15 Oct 2021 22:15:41 +1100 > From: Jonathan Gray > > On Fri, Oct 15, 2021 at 10:56:06AM +, minus wrote: > > > > On 10/15/21 01:39, Brandon Mercer wrote: > > > On Thu, Oct 14, 2021, at 2:44 PM, minus wrote: > > > > Hello arm, > > > > > > > > I tried the unattended upgrade on a r

Re: USB keyboard stops working on RPI4

2021-10-21 Thread Mark Kettenis
> Date: Thu, 21 Oct 2021 11:54:36 +0200 > From: Jan Stary > > This is Raspberry 4 Model B, trying to install current/arm64 > from a miniroot dd'd to a uSD card. > > U-Boot boots fine, gets to boot> > where I 'set tty fb0' as per INSTALL.arm64 > which make the console output go to the monitor > (

Re: RPI3 camera

2021-11-05 Thread Mark Kettenis
> Date: Fri, 5 Nov 2021 18:28:26 +0100 > From: Jan Stary > > This is current/arm64 on a RPI3, dmesg below. > I got this mini camera with it > https://cdn.alza.cz/ImgW.ashx?fd=f16&cd=RK100c3 > but it doesn't seem to get attached. > AFAICS, it's not mentioned among the "not configured" > devices. I

Re: RockPro64 rkpcie not delivering interrupts

2021-11-19 Thread Mark Kettenis
> Date: Fri, 19 Nov 2021 21:36:55 +0100 > From: Christopher Zimmermann > > It is about MSI. After disabling MSI interrupts are delivered, albeit > the performance seems to be a bit poor (reading at a constant 8 MB/s on > a WD Red disk). > > Here's the dmesg with patched kernel - notice the int

Re: RockPro64 rkpcie not delivering interrupts

2021-11-20 Thread Mark Kettenis
> Date: Fri, 19 Nov 2021 21:56:19 +0100 (CET) > From: Mark Kettenis > > > Date: Fri, 19 Nov 2021 21:36:55 +0100 > > From: Christopher Zimmermann > > > > It is about MSI. After disabling MSI interrupts are delivered, albeit > > the performance seems to be

Re: Orange Pi One Plus(Allwinner H6) suppport

2021-12-02 Thread Mark Kettenis
> Date: Sat, 27 Nov 2021 06:22:34 +0900 > From: SASANO Takayoshi > > Hello, > > I am still trying to run OpenBSD on Orange Pi One Plus(Allwinner H6). > At least following fixes are needed. > > - add AXP805 support to axppmic > - add DW-UART FIFO fix to com > (previously posted at > https://

Re: dwdog on arm64

2021-12-08 Thread Mark Kettenis
> Date: Wed, 8 Dec 2021 16:31:50 +0100 > From: Christopher Zimmermann > > >On Wed, Dec 08, 2021 at 10:47:45AM +0100, Christopher Zimmermann wrote: > >> Note that it attaches to "snps,dw-wdt" > > On Wed, Dec 08, 2021 at 08:57:53PM +1100, Jonathan Gray wrote: > >We already have a driver for that.

Re: dwdog on arm64

2021-12-09 Thread Mark Kettenis
> Date: Thu, 9 Dec 2021 11:31:25 +0100 > From: Christopher Zimmermann > > On Wed, Dec 08, 2021 at 05:20:39PM +0100, Mark Kettenis wrote: > >> Date: Wed, 8 Dec 2021 16:31:50 +0100 > >> From: Christopher Zimmermann > >> > >> >On Wed, Dec 08, 202

Re: "xhci0: host system error" on RPI4

2021-12-10 Thread Mark Kettenis
> Date: Fri, 10 Dec 2021 13:37:25 + > From: Stuart Henderson > > On 2021/12/10 13:11, Jan Stary wrote: > > This is current/arm64 on a Raspberry Pi 4. > > The current bsd.rd fails to do a sysupgrade: > > the ramdisk kernel stops at "xhci0: host system error". > > Full log below. > > > > It wo

Re: "xhci0: host system error" on RPI4

2021-12-10 Thread Mark Kettenis
> Date: Fri, 10 Dec 2021 13:11:13 +0100 > From: Jan Stary > > U-Boot 2021.01 (Apr 16 2021 - 15:39:01 +1000) So I'm using: U-Boot 2021.10 (Nov 02 2021 - 22:01:26 -0600) Guess there is now way to have a kernel that actually works with both the old and the new U-Boot. Sigh.

Re: "xhci0: host system error" on RPI4

2021-12-11 Thread Mark Kettenis
> Date: Sat, 11 Dec 2021 13:22:09 +0100 > From: Jan Stary > > On Dec 10 15:19:32, mark.kette...@xs4all.nl wrote: > > > Date: Fri, 10 Dec 2021 13:37:25 + > > > From: Stuart Henderson > > > > > > On 2021/12/10 13:11, Jan Stary wrote: > > > > This is current/arm64 on a Raspberry Pi 4. > > > >

Re: Orange Pi One Plus(Allwinner H6) suppport

2021-12-19 Thread Mark Kettenis
> Date: Thu, 2 Dec 2021 21:17:14 +0100 (CET) > From: Mark Kettenis > > > Date: Sat, 27 Nov 2021 06:22:34 +0900 > > From: SASANO Takayoshi > > > > Hello, > > > > I am still trying to run OpenBSD on Orange Pi One Plus(Allwinner H6). > > At leas

Re: Fan control by thermal zones and device tree

2021-12-22 Thread Mark Kettenis
> From: Kurt Miller > Date: Wed, 22 Dec 2021 12:30:57 -0500 > > On Mon, 2021-12-20 at 19:10 +0100, Christopher Zimmermann wrote: > > Hi, > > > > to me it seems the thermal zone fan control model (see  > > https://www.kernel.org/doc/Documentation/devicetree/bindings/thermal/thermal.txt) > >   > >

Re: Trying to run on new board with ARM

2022-01-06 Thread Mark Kettenis
> From: S V > Date: Thu, 6 Jan 2022 05:28:08 +0300 > > Hello, > I was able to get mini-itx desktop mobos with new russian arm-based cpu > Baikal-M. > As proud user of OpenBSD of course I want to run it there! > Any suggestions on how to start? > > I got install70.img on usb stick and edk-ii on t

Re: Orange Pi One Plus(Allwinner H6) suppport

2022-01-08 Thread Mark Kettenis
> Date: Mon, 20 Dec 2021 20:14:31 +0900 > From: SASANO Takayoshi > > Hello, > > > Can you send out a diff with just the com(4) changes? > > Sure, attached after signature. > Best regards, Sorry for the late reply. I keep getting distracted. But there is a bit of problem with this diff: > In

Re: Orange Pi One Plus(Allwinner H6) suppport

2022-01-08 Thread Mark Kettenis
> Date: Sat, 8 Jan 2022 18:23:28 +0100 (CET) > From: Mark Kettenis > > > Date: Mon, 20 Dec 2021 20:14:31 +0900 > > From: SASANO Takayoshi > > > > Hello, > > > > > Can you send out a diff with just the com(4) changes? > > > > Sure

Re: sxirsb: RSB_DMCR_DEVICE_MODE_DATA value

2022-01-10 Thread Mark Kettenis
> 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. > > The value defined RSB_DMCR_DEVICE_MODE_DATA in sxirsb.c works > > 0x7e to the

Re: Orange Pi One Plus(Allwinner H6) suppport

2022-01-10 Thread Mark Kettenis
> Date: Sun, 09 Jan 2022 06:16:12 +0900 > From: SASANO Takayoshi > > Hello, > > > The com_read_reg() function returns a uint8_t, which means that only > > the lower 8 bits of the CPR register are returned. So what you need > > here is something like > > > > cpr = bus_space_read_4

Re: Orange Pi One Plus(Allwinner H6) suppport

2022-01-11 Thread Mark Kettenis
> Date: Tue, 11 Jan 2022 20:13:59 +0900 > From: SASANO Takayoshi > > Hello. > > > I have a few more suggestions below. I think the other bits were > > fine, but can you post the full diff with the fixes suggested below to > > be sure? > > okay, I refelected your suggestion and attach the full

Re: SMP support on armv7

2022-01-30 Thread Mark Kettenis
> Date: Thu, 6 Jan 2022 17:08:37 +0100 > From: Matyáš Vohralík > > Hello, > > my name is Matyáš Vohralík and I am a student of Faculty of Electrical > Engineering, CTU, Prague, Czech Republic. And also a fan of OpenBSD project. > I am currently working on my bachelor thesis about enhancing secu

OpenBSD/arm64 on Apple M1 systems

2022-03-19 Thread Mark Kettenis
It has taken a while, but I'm pleased to announce that OpenBSD/arm64 works well enough on Apple M1 systems for some wider testing. A major milestone was reached with the release of the Asahi Linux installer: https://asahilinux.org/2022/03/asahi-linux-alpha-release/ This provides an easy way to

Re: RK3588 (RK3399 upgrade) OpenBSD support, need hardware donations?

2022-04-04 Thread Mark Kettenis
> Date: Sun, 03 Apr 2022 23:13:48 + > From: Joseph > > Hi ARM@, > > RockChip has upgraded the RK3399 (PCIe + 4GB RAM cap + 28nm lithography) > with RK3588 (PCIe + 32GB RAM cap + 8nm lithography). > > It looks like a quite strong desktop computer/home/embedded server. It > appears to me that

Apple M1 & macOS 13

2022-06-11 Thread Mark Kettenis
= RCS file: arch/arm64/dev/aplsart.c diff -N arch/arm64/dev/aplsart.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ arch/arm64/dev/aplsart.c11 Jun 2022 19:27:57 - @@ -0,0 +1,166 @@ +/* $OpenBSD$ */ +/* + * Copyright (c) 2022 Mark Kettenis + * + * Permission to use, copy, modify, a

Re: OpenBSD and Raspberry Pi CM4 and L=keyboard issue

2022-06-13 Thread Mark Kettenis
> Date: Mon, 13 Jun 2022 21:04:42 +0100 > From: Stuart Henderson > > On 2022/06/13 18:32, John M Trott wrote: > > Good Afternoon, > > > > I have been trying to install OpenBSD 7.1 on to a Raspberry PI CM4, I > > have read through the Mail archive and found my issue has already been > > repo

Re: OpenBSD and Raspberry Pi CM4 and L=keyboard issue

2022-06-13 Thread Mark Kettenis
> From: Klaus Küchemann > Date: Tue, 14 Jun 2022 00:00:55 +0200 > > > Am 13.06.2022 um 23:44 schrieb Mark Kettenis : > > ... > > USB3 support (the "official" > > CM4IO board does) …. > > cm4 official i/o reference board doesn’t include USB3

Re: MacBookPro M1 14

2022-06-18 Thread Mark Kettenis
> Date: Sat, 18 Jun 2022 07:29:47 + > From: Adam Steen > > Hi > > I have installed OpenBSD on my M1 Mac, see details and dmesg below. > > I am unable to change the resolution with xrandr > > $ xrandr --dpi 92 > grander: Failed to get size for gamma output. All you get for now is a dumb fr

Re: OpenBSD on Le Potato

2022-07-11 Thread Mark Kettenis
> Date: Wed, 06 Jul 2022 15:45:05 -0500 > From: j...@entropicblur.com > > Hi all, > > I had an unused Le Potato SBC lying around, so I took a crack at > installing OpenBSD/arm64 on it. The board is similar to the supported > ODROID-C4 and can boot the install kernel successfully, but there are

Re: OpenBSD on Le Potato

2022-07-11 Thread Mark Kettenis
> Date: Mon, 11 Jul 2022 18:28:22 +0200 > From: Anton Lindqvist > > On Mon, Jul 11, 2022 at 12:13:38PM +0200, Mark Kettenis wrote: > > > Date: Wed, 06 Jul 2022 15:45:05 -0500 > > > From: j...@entropicblur.com > > > > > > Hi all, > > > &g

Re: Install on nvme; Apple silicon

2022-08-21 Thread Mark Kettenis
Op 20-08-2022 21:19 schreef Nick Holland : On 8/20/22 09:50, Quattroporte wrote: Hello arm@openbsd, I would like to install -current on the internal ssd that has macOS. I am a little unclear as to what disk choice I should make in the installer. The Asahi docs say choosing (W)

Re: Install on nvme; Apple silicon

2022-08-21 Thread Mark Kettenis
Op 21-08-2022 10:22 schreef Otto Moerbeek : On Sun, Aug 21, 2022 at 08:51:03AM +0200, Mark Kettenis wrote: Op 20-08-2022 21:19 schreef Nick Holland : On 8/20/22 09:50, Quattroporte wrote: Hello arm@openbsd, I would like to install -current on the internal ssd that has macOS

Re: Help Install ODROID-HC4

2022-10-09 Thread Mark Kettenis
> Date: Sun, 9 Oct 2022 17:54:51 +0200 > From: Joel Carnat > > Hello, > > As it was referenced on the arm64 web page, I bought a Hardkernel > ODROID-HC4 to run OpenBSD. The thing is, I can't boot the OpenBSD > installer at all. > > I have successfully ran an armbian instance from the microSD

Re: Help Install ODROID-HC4

2022-10-10 Thread Mark Kettenis
> Date: Mon, 10 Oct 2022 14:14:49 +0200 > From: Joel Carnat > > Le 09/10/2022 à 18:50, Mark Kettenis a écrit : > >> Date: Sun, 9 Oct 2022 17:54:51 +0200 > >> From: Joel Carnat > >> > >> Hello, > >> > >> As it was referenced o

Re: OpenBSD on Olimex A20 OLinuXino LIME2 revisited.

2022-10-28 Thread Mark Kettenis
> From: Jan de Kruyf > Date: Fri, 28 Oct 2022 15:35:09 +0200 > > Hi, > I am running armv7/7.2 on this board. > This is how I got it to run: > > from one of the images at > > https://images.olimex.com/release/a20/ > > you extract > /usr/lib/linux-image-5.10.105-olimex/sun7i-a20-olinuxino-lime2.

Re: Help Install ODROID-HC4

2022-11-03 Thread Mark Kettenis
> Date: Thu, 3 Nov 2022 01:33:03 +0100 > From: Joel Carnat > > Hello, > > Le 11/10/2022 à 01:48, Joel Carnat a écrit : > > Le 10/10/2022 à 14:44, Mark Kettenis a écrit : > >>> Date: Mon, 10 Oct 2022 14:14:49 +0200 > >>> From: Joel Carnat > >

Re: OpenBSD on Olimex A20 OLinuXino LIME2 revisited.

2022-11-03 Thread Mark Kettenis
> From: Jan de Kruyf > Date: Tue, 1 Nov 2022 20:48:07 +0100 > > > Hope that helps, > > No, let me show you what happens after the u-boot on mmc0 (just blank > otherwise) > --- > Hit any key to stop autoboot: 0 > switch to partitions #0, OK > mmc0 is current device > Scanning mmc 0:1... > l

Re: beaglebone black - bootfile confusion

2022-11-04 Thread Mark Kettenis
> Date: Fri, 4 Nov 2022 12:59:13 +0100 > From: Jan Stary > > On Nov 02 21:18:03, h...@stare.cz wrote: > > This is current/armv7 on a BeagleBone Black, dmesg below. > > The booting sequence ends with > > > > sd0 at scsibus0 targ 1 lun 0: removable > > sd0: 1832MB, 512 bytes/sector, 3751936 s

Re: beaglebone black - bootfile confusion

2022-11-04 Thread Mark Kettenis
> Date: Fri, 4 Nov 2022 13:40:35 +0100 > From: Jan Stary > > On Nov 04 13:14:31, mark.kette...@xs4all.nl wrote: > > The device names used by the bootloader differ from the names used by > > the kernel. What gets printed as bootdevice/bootfile here is simply > > the string that the bootloader pas

Re: Audio codec on Cubieboard2

2022-11-14 Thread Mark Kettenis
> From: Jan de Kruyf > Date: Mon, 14 Nov 2022 20:29:08 +0100 > > Jazzi, the driver is not configured, but that says nothing about > whether the kernel or who-ever can speak to it. > What you saw at netBSD is that the configuration is now done with the aid > of the device tree file. > > That the

Re: Using two disks in ODROID HC4 freezes the system

2022-11-16 Thread Mark Kettenis
> Date: Wed, 16 Nov 2022 23:20:01 +0100 > From: Joel Carnat > > Hello, > > I have plugged a second disk in my ODROID HC4. The idea was to > backup the data from sd0 to sd1 using rsync. So I stopped OpenBSD, > inserted the second disk and rebooted. Then I formatted sd1, mounted > it and started a

Re: running on MacBook Air A2337

2022-11-18 Thread Mark Kettenis
> Date: Fri, 18 Nov 2022 12:19:46 +0100 > From: Jan Stary > > On Nov 17 14:44:59, h...@stare.cz wrote: > > This is a freshly installed current/arm64 on a MAcBook Air, > > model 2337 (M1, 2020); full dmesg below. > > Upgrading the co-existing macOS to 12.6.1 > seems to have brken the working bsd

Re: running on MacBook Air A2337

2022-11-18 Thread Mark Kettenis
> From: Patrick Wildt > Date: Thu, 17 Nov 2022 15:51:28 +0100 > > If it wasn‘t supported, it wouldn‘t be able to know which firmware > to load. I‘d say the manpage needs updating. The code should do, I‘m > not sure how the firmware install situation looks like. kettenis@ > should know better! Th

Re: U-Boot 2022.10 and dtb from Linux 6.0.8

2022-11-18 Thread Mark Kettenis
> Date: Fri, 18 Nov 2022 12:53:44 + > From: Klemens Nanni > > On Mon, Nov 14, 2022 at 11:37:05PM +0100, Patrick Wildt wrote: > > Hi, > > > > the u-boot and dtb ports haven't been updated in a while, mostly because > > updating those regularly breaks working machines. I think it's time for >

Re: running on MacBook Air A2337

2022-11-18 Thread Mark Kettenis
> Date: Fri, 18 Nov 2022 14:36:18 +0100 > From: Jan Stary > > On Nov 18 12:51:32, mark.kette...@xs4all.nl wrote: > > > Date: Fri, 18 Nov 2022 12:19:46 +0100 > > > From: Jan Stary > > > > > > On Nov 17 14:44:59, h...@stare.cz wrote: > > > > This is a freshly installed current/arm64 on a MAcBook

Re: running on MacBook Air A2337

2022-11-20 Thread Mark Kettenis
> Date: Fri, 18 Nov 2022 17:15:30 +0100 > From: Mark Kettenis > > > Date: Fri, 18 Nov 2022 14:36:18 +0100 > > From: Jan Stary > > > > On Nov 18 12:51:32, mark.kette...@xs4all.nl wrote: > > > > Date: Fri, 18 Nov 2022 12:19:46 +0100 > > > >

Re: U-Boot 2022.10 and dtb from Linux 6.0.8

2022-11-22 Thread Mark Kettenis
> Date: Tue, 22 Nov 2022 14:40:06 +0100 > From: Jan Stary > > On Nov 22 13:52:52, h...@stare.cz wrote: > > On Nov 14 23:37:05, patr...@blueri.se wrote: > > > the u-boot and dtb ports haven't been updated in a while, mostly because > > > updating those regularly breaks working machines. I think i

Re: U-Boot 2022.10 and dtb from Linux 6.0.8

2022-11-25 Thread Mark Kettenis
> Date: Fri, 25 Nov 2022 00:52:24 + > From: Peter Stuge > > Jan Stary wrote: > > Here is the cpsw problem: > > > > -cpsw0 at omsysc46: version 1.12 (0), address 90:59:af:82:2e:7e > > +cpsw0 at omsysc46: version 1.12 (0), address 00:00:00:00:00:00 > > I confirm this on beaglebone black but I

Re: Is OpenBSD usable on NanoPi R5S?

2022-11-25 Thread Mark Kettenis
> From: Justin Yang > Date: Fri, 25 Nov 2022 09:19:42 +0800 > > Hi, > > I'm now considering to purchase a NanoPi R5S board to run OpenBSD, which is > listed on "Supported Hardware" on OpenBSD arm64 page. However, I could not > find more details, for instance, should I flash u-boot manually? Ther

dwpcie(4): Add MSI support

2022-11-27 Thread Mark Kettenis
Joel Carnat reported that using both disk slots of the ODROID-HC4 doesn't work with OpenBSD. I never tried that in mine, but could indeed reproduce the issue. The machine seems to hang on doing disk I/O, so I started looking at interrupts. PCIe interrupts on this machine have always been fishy.

Re: U-Boot 2022.10 and dtb from Linux 6.0.8

2022-12-02 Thread Mark Kettenis
> Date: Fri, 2 Dec 2022 18:44:27 + > From: Peter Stuge > > Jan Stary wrote: > > > > > Replacing the DTBs with those from the dtb package is not supposed to > > > > > work. > > > > Is this specific to the Raspberry, or is that true in general? > > I think this was specifically in response to

Re: Panda successfully installed on usb sd1 but reboots into installation

2023-01-04 Thread Mark Kettenis
> From: Lwazi Dube > Date: Wed, 4 Jan 2023 12:21:16 -0500 > > I am trying to install this: > https://cdn.openbsd.org/pub/OpenBSD/snapshots/armv7/ > I want my rootfs on sd1. The bootloader can live on the MMC - I know I > have no choice. Here are basically your options: * Wipe your uSD-card and

Re: audio on Apple MacBook Air (M1, 2020)

2023-01-26 Thread Mark Kettenis
> Date: Thu, 26 Jan 2023 23:37:31 +0100 > From: Jan Stary > > Ah, sory for the noise: I had AUDIODEVICE set up in /etc/profile > to point to another machine (before audio started working on this macbook), > which I only realized now that _that_ machine is up :-) > > Recording still doesn't work

Re: ports/sysutils/arm-trusted-firmware

2023-01-29 Thread Mark Kettenis
> Date: Sun, 22 Jan 2023 20:47:03 +0900 > From: SASANO Takayoshi > > Hi, > > Two issues. > > 1. I am trying to build ATF v2.8 with modified ports' Makefile. > > Only A64's ATF fails to build with follwing errors: > > aarch64-none-elf-ld.bfd: address 0x500dd of /usr/ports/pobj/arm-trusted-fir

Re: introduction / Lenovo Yoga C630 (Snapdragon 850)

2023-01-31 Thread Mark Kettenis
> From: Edward Vielmetti > Date: Tue, 31 Jan 2023 09:22:29 -0500 > > Thanks to @phessler@bsd.network (Peter Hessler) for > the pointer to the group. > > By way of introduction, I worked on the "Works on Arm" > project at Packet (and then Equinix) for a couple of years, > doing platform enablemen

Re: introduction / Lenovo Yoga C630 (Snapdragon 850)

2023-01-31 Thread Mark Kettenis
> Date: Tue, 31 Jan 2023 23:40:03 +0100 > From: Mark Kettenis > > > From: Edward Vielmetti > > Date: Tue, 31 Jan 2023 09:22:29 -0500 > > > > Thanks to @phessler@bsd.network (Peter Hessler) for > > the pointer to the group. > > > > By

RK3588 progress

2023-02-20 Thread Mark Kettenis
Since several folks asked me in private about the rk3588, here is a little teaser. This is with a hacked up U-Boot and a hacked up device tree, so not ready for normal users yet. But this Rock 5B is running multi-user. OpenBSD 7.2-current (GENERIC.MP) #47: Mon Feb 20 22:11:33 CET 2023 kett

Re: Apple MacBook Air (M1, 2020) discharging on AC

2023-02-21 Thread Mark Kettenis
> Date: Tue, 21 Feb 2023 20:12:46 +0100 > From: Jan Stary > > This is current/arm64 on MacBook Air (dmesg below). > The machine seems to be _losing_ battery charge even when on AC. > I have been watching sysctl hw for a few minutes (also below): > > hw.sensors.aplsmc0.amphour0=0.20 Ah (remaining

Re: OrangePI PC flooding terminal with ohci0 scheduling overruns

2023-05-07 Thread Mark Kettenis
> Date: Sun, 7 May 2023 11:27:09 +0300 > From: kodcode > > Hello, > > I've installed on a SD card OpenBSD 7.3 on a OrangePI PC. > > This are the steps I took: > dd if=miniroot-am335x-7*.img of=/dev/rsdXc > mount /dev/sdXi /mnt > cp /usr/local/share/dtb/arm/sun8i-h3-orangepi-pc.dtb /mnt/ > umoun

Re: U-Boot 2022.10 and dtb from Linux 6.0.8

2023-05-07 Thread Mark Kettenis
> Date: Sat, 6 May 2023 17:36:53 +0200 > From: Patrick Wildt > > On Fri, Nov 18, 2022 at 12:53:44PM +, Klemens Nanni wrote: > > On Mon, Nov 14, 2022 at 11:37:05PM +0100, Patrick Wildt wrote: > > > Hi, > > > > > > the u-boot and dtb ports haven't been updated in a while, mostly because > > >

Re: U-Boot 2022.10 and dtb from Linux 6.0.8

2023-05-08 Thread Mark Kettenis
> Date: Sun, 7 May 2023 17:54:17 + > From: Klemens Nanni > > On Sun, May 07, 2023 at 06:30:55PM +0200, Mark Kettenis wrote: > > As I've said before, the u-boot developers have poor quality control > > and this will almost certainly break some targets. > >

Re: U-Boot 2022.10 and dtb from Linux 6.0.8

2023-05-08 Thread Mark Kettenis
> From: Patrick Wildt > Date: Mon, 8 May 2023 14:14:27 +0200 > > > Am 07.05.2023 um 19:54 schrieb Klemens Nanni : > > > > On Sun, May 07, 2023 at 06:30:55PM +0200, Mark Kettenis wrote: > >> As I've said before, the u-boot developers have poor quality co

Re: sys/arch/arm64/compile/RAMDISK: add axppmic

2023-05-12 Thread Mark Kettenis
> Date: Fri, 12 May 2023 20:45:43 +0900 > From: SASANO Takayoshi > > Hi, > > We have to enable axppmic on i2c/rsb bus to use ethernet > on OrangePi One Plus (Allwinner H6), > > GENERIC is already supported but RAMDISK not yet. > > ok to fix? ok kettenis@ > Index: RAMDISK >

Re: RK3588 progress

2023-05-14 Thread Mark Kettenis
se boards really become usable. > On Tuesday, February 21st, 2023 at 06:32, Mark Kettenis > wrote: > > Since several folks asked me in private about the rk3588, here is a > > little teaser. This is with a hacked up U-Boot and a hacked up device > > tree, so not

Re: LinkStar H68k?

2023-11-23 Thread Mark Kettenis
> Date: Thu, 23 Nov 2023 13:18:21 -0500 > From: Ian Darwin > > Anybody got OpenBSD running on this box yet? Tiny little RK3568 box with > 4 network ports (2@2.5Gb+2@1Gb), 4 USB, Wifi, 4K HDMI out. > > https://media.digikey.com/pdf/Data%20Sheets/Seeed%20Technology/102110777_Web.pdf > There isn

Re: Geniatech XPI-3566 Zero SBC

2023-11-27 Thread Mark Kettenis
> Date: Mon, 27 Nov 2023 09:33:30 +0100 > From: Mizsei Zoltán > > Interestingly console input works in UKC but not in the install prompt. > Possibly UKC still uses the serial console initialised by U-Boot and > the Installer prompt is after OBSD takes over and re-initializes the > serial port. St

Re: [RPI3b] How to access UART interface for TTL com

2023-12-21 Thread Mark Kettenis
> Date: Thu, 21 Dec 2023 17:26:36 +0100 > From: Patrick Wildt > > On Thu, Dec 21, 2023 at 01:29:32PM +, Miod Vallat wrote: > > > Hello Miod, > > > > > > Thank you for your reply. > > > > > > It would appear that, at least in my case, /dev/tty00 is not mapped to > > > any driver. > > > > Oo

Re: Geniatech XPI-3566 Zero SBC

2023-12-26 Thread Mark Kettenis
> Date: Tue, 26 Dec 2023 12:57:06 +0100 > From: Mizsei Zoltán > > Next issue: > > I have a USB drive with OpenBSD 7.4 ARM64 already installed. I copied the dtb > file to the EFI partition, and now i can boot OpenBSD from the USB reliable. > However there is a main differece: in BSD.MP the eMMC

KMS drivers for Apple Silicon

2024-01-23 Thread Mark Kettenis
Yesterday I committed apldcp(4) and apldrm(4). Together these drivers provide KMS (kernel mode setting) for the display subsystem on Apple M1/M2 machines. These drivers rely on up-to-date apple-boot firmware. If you're not using sysupgrade(4) to update, you'll need to run the following commands b

Re: There was an attempt: RPi5 boot

2024-01-30 Thread Mark Kettenis
> Date: Tue, 30 Jan 2024 13:10:46 + > From: Stuart Henderson > > On 2024/01/29 23:37, Krystian Lewandowski wrote: > > Just made a dumb attempt to boot OpenBSD 7.4 on a Raspberry Pi 5, and > > thought I may share if anyone was wondering. > > > > Maybe with newer u-boot? I'm not even sure wha

Re: OrangePI Zero 3 (sun50i-h618)

2024-02-06 Thread Mark Kettenis
> From: Tobias Fiebig > Date: Mon, 05 Feb 2024 22:46:41 +0100 Hi Tobias, > Moin, > i got my hands on a small stack of OrangPi Zero 3 2GB. > > After having a working Armbian setup, i thought i'd > give OpenBSD 7.4 a go. I borrowed the DTB and uboot from my > armbian builds, and prepared a miniro

Re: OrangePI Zero 3 (sun50i-h618)

2024-02-06 Thread Mark Kettenis
> Date: Tue, 06 Feb 2024 22:37:50 +0900 > From: SASANO Takayoshi > > Hello, > > I am working for H616 since OrangePi Zero2... > > Here's the diff. sximmc.c is reconstructed. Hi Takayoshi, Apologies; seems I have missed your earlier mails about H616. I'd like to take a closer look at the ehci

Re: OrangePI Zero 3 (sun50i-h618)

2024-02-09 Thread Mark Kettenis
> Date: Tue, 06 Feb 2024 22:37:50 +0900 > From: SASANO Takayoshi > > Hello, > > I am working for H616 since OrangePi Zero2... > > Here's the diff. sximmc.c is reconstructed. Hi, > Index: ehci_fdt.c > === > RCS file: /cvs/src/sys

Re: OrangePI Zero 3 (sun50i-h618)

2024-02-12 Thread Mark Kettenis
> Date: Sun, 11 Feb 2024 09:59:20 +0900 > From: SASANO Takayoshi > > Hello, > > Here is new diff, ok? Not exactly what I had in mind, but ok kettenis@ Imay send a follow-up to unify things a bit more. Thanks, Mark > Index: ehci_fdt.c > ==

<    1   2   3   >