Pine64 Rock64 support

2018-02-25 Thread Mark Kettenis
Ordered myself one of these: https://www.pine64.org/?page_id=7147 and it arrived yesterday. Got the basics working already. Gigabit Ethernet doesn't quite work yet and the device tree in mainline Linux is broken and causes the USB bus not to be powered. Firmware situation isn't ideal as it c

Re: Pine64 Rock64 support

2018-02-26 Thread Mark Kettenis
> Date: Mon, 26 Feb 2018 13:43:28 +1100 > From: Jonathan Gray > > On Mon, Feb 26, 2018 at 12:08:22PM +1100, Jonathan Gray wrote: > > On Sun, Feb 25, 2018 at 09:37:50PM +0100, Mark Kettenis wrote: > > > Ordered myself one of these: > > > > >

armv7 ABI break

2018-03-01 Thread Mark Kettenis
>From the commit log: CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2018/03/01 14:00:50 Modified files: sys/arch/arm/include: _types.h Log message: AAPCS requires 8-byte alignment for 64-bit types. We missed this when we did the big EA

Re: Tftpboot on arm64 is not yet implemented?

2018-03-06 Thread Mark Kettenis
> From: Christian Weisgerber > Date: Tue, 6 Mar 2018 19:10:32 - (UTC) > > On 2018-03-05, qweqwe.2009...@gmail.com wrote: > > > I need network boot on my Raspberry Pi 3B. I compiled u-boot and OpenBSD > > efiboot from the latest sources, and got following result: > > TFTP network booting on

Re: Tftpboot on arm64 is not yet implemented?

2018-03-06 Thread Mark Kettenis
> Date: Tue, 6 Mar 2018 21:13:50 +0100 > From: Patrick Wildt > > On Tue, Mar 06, 2018 at 08:24:04PM +0100, Mark Kettenis wrote: > > > From: Christian Weisgerber > > > Date: Tue, 6 Mar 2018 19:10:32 - (UTC) > > > > > > On 2018-03-05, qweqwe

Re: uart problems on a pine64

2018-03-22 Thread Mark Kettenis
> Date: Thu, 22 Mar 2018 02:16:37 -0700 (MST) > From: Ernesto > > pine# cu -l cuaU1 -s 115200 > cu: open("/dev/cuaU1"): Device not configured > > I also tried U1,U2,U3. Do I miss something? Yes. The serial port devices on the pine64 are com(4) not ucom(4). You want to use cua00, cua01, cua02 e

Re: sxie(4): is this work on pcDuino v1?

2018-03-24 Thread Mark Kettenis
> Date: Sat, 24 Mar 2018 22:18:03 +0900 > From: SASANO Takayoshi > > On Thu, 22 Mar 2018 08:59:55 +0900, > Artturi Alm wrote: > > Hi, > > > > i don't know what "nemesis" is, but you could have a try w/diff below. > > or if you're unable to do that, static arp and/or running tcpdump for > > IFF_

Marvell ARMADA 7K/8K and MACCHIATObin support

2018-04-03 Thread Mark Kettenis
Hi Folks, I recently got myself a MACCHIATObin board https://www.solid-run.com/marvell-armada-family/macchiatobin/ http://wiki.macchiatobin.net/tiki-index.php with the intention to make OpenBSD run on it. I made some good progress and the board is now somewhat usable. At this point the sta

Re: Xorg on Raspberry pi

2018-04-30 Thread Mark Kettenis
> From: qweqwe.2009...@gmail.com > Date: Mon, 30 Apr 2018 00:47:08 +0300 > > What is current status of support of graphics subsystem on Raspberry > PI? Does Openbsd support Broadcom VideoCore at least vithout video > acceleration? OpenBSD will be able to use a framebuffer set up by the firmware.

Re: Xorg on Raspberry pi

2018-04-30 Thread Mark Kettenis
> Date: Mon, 30 Apr 2018 04:38:08 -0400 > From: Tinker > > On April 30, 2018 3:21 PM, Mark Kettenis wrote: > > OpenBSD will be able to use a framebuffer set up by the firmware. I > > believe this works on the Raspberry Pi although it may depend somewhat > > on the

Re: Xorg on Raspberry pi

2018-05-01 Thread Mark Kettenis
> Date: Mon, 30 Apr 2018 23:11:56 +0200 > From: Karel Gardas > > On Mon, 30 Apr 2018 11:23:53 +0200 (CEST) > Mark Kettenis wrote: > > > In principle yes, as long as support for it is enabled in U-Boot. > > Currently that's only the case for the TheoBroma Sys

Re: gtk libool slow on arm

2018-05-02 Thread Mark Kettenis
> From: > Date: Tue, 1 May 2018 16:30:28 -0700 > > Why is the gtk libtool so slow on arm? A typical command such as: It's not libtool, but ld, the link editor that is taking its time. > libtool: link: cc -o .libs/testentrycompletion -pthread -O2 -pipe -g -Wall > -Wl,-rpath-link -Wl,/usr/X11R6/l

Re: armv7: how to enable NEON/VFP with Clang-5.0.1 compiler

2018-05-03 Thread Mark Kettenis
> Date: Thu, 03 May 2018 16:11:24 +0900 > From: SASANO Takayoshi > > Hello, > > I am trying to build direwolf software-TNC(modem) to benchmark my pcDuino's > performance. > > With my small patch, I got working binary. But it does not contains > VFP/NEON instruction with "-O3 -ffast-math -mfpu=n

Re: cannot run rock64

2018-05-05 Thread Mark Kettenis
> Date: Fri, 4 May 2018 13:27:13 -0700 (MST) > From: arun > > Does anyone have link to where I can get OpenBSD 6.3 miniroot.fs for pine64 > Rock64? Is there a complete step by step instructions on how to put one > together? Thanks. If you have U-Boot in SPI flash, you can use the standard minir

Re: BOOTARM.EFI from latest snapshot resets with "undefined instruction"

2018-05-08 Thread Mark Kettenis
> Date: Tue, 8 May 2018 13:06:30 -0700 > From: Josh Elsasser > > After upgrading my sabre lite board to the latest snapshot, > BOOTARM.EFI causes the machine to reset. Building the bootloader with > -msoft-float, however, gives a working binary. Perhaps this is a > result of the recent armv7 floa

Re: spi interface

2018-05-17 Thread Mark Kettenis
> From: > Date: Tue, 15 May 2018 14:32:16 -0700 > > Is there a working spi interface for Allwinner H3? I don't think there is any SPI support in OpenBSD at the moment. What are you trying to achive?

Re: PINE64 ROCK64 Board - Gigabit Network

2018-06-07 Thread Mark Kettenis
> From: Johannes Krottmayer > Date: Thu, 7 Jun 2018 23:23:21 +0200 > > Hello, > > Currently the Gigabit network of the ROCK64 media board > doesn't work with OpenBSD 6.3. > > Is there a chance in further releases to get this work? > It would be great! It works in -current. There is also DMA s

Re: PINE64 ROCK64 Board - Gigabit Network

2018-06-08 Thread Mark Kettenis
jects. > >> > >> Best reagards, > >> Johannes Krottmayer > >> > >> On Fri, Jun 08, 2018 At 00:28:30 +0200, Johannes Krottmayer wrote: > >>> Hello Mark, > >>> > >>> Thanks for the fast reply and this information! > >

Re: PINE64 ROCK64 Board - Gigabit Network

2018-06-09 Thread Mark Kettenis
> From: Johannes Krottmayer > Date: Sat, 9 Jun 2018 17:23:09 +0200 > > Hi Mark! > > I have installed the dtb package. And copied the rk3328-rock64.dtb in > the FAT boot partition. Now I see all boot messages from the kernel. > > But with this dtb file, the ethernet is unstable: > > $ ping 10.4

Re: PINE64 ROCK64 Board - Gigabit Network

2018-06-09 Thread Mark Kettenis
> From: Johannes Krottmayer > Date: Sat, 9 Jun 2018 22:22:44 +0200 > > Hi Mark! > > I inform you that I try to write a spi driver for the rk3328. Called > it rkspi (rkspi.c). Currently I have implement a early version of the > match and attach functions and it works. > > It is based on your rki

Firefly-RK3399 firmware

2018-07-11 Thread Mark Kettenis
I managed to build a disk image that can be used to boot bsd.rd on a Firefly-RK3399 with the original firmware on the eMMC: https://sibelius.home.xs4all.nl/firmware/rk3399-firefly/rk3399-firefly.fs Simply write this image to a uSD card and put it in the uSD slot. The board should boot straight

Re: NanoPi A64: No PHY detected / no network

2018-07-30 Thread Mark Kettenis
> Date: Mon, 30 Jul 2018 13:46:58 +0200 > From: Robert > > Hi, > > Using the 28.7. arm64 snapshot (miniroot63.fs), the NIC does not work > on my NanoPi A64 (phy not detected). > Full log below. > > It seems that this is a U-boot or even ARM firmware problem (?). I also > tried to compile the la

Re: NanoPi A64: No PHY detected / no network

2018-07-30 Thread Mark Kettenis
> Date: Mon, 30 Jul 2018 15:16:13 +0200 > From: Robert > > On Mon, 30 Jul 2018 22:07:12 +1000 > Jonathan Gray wrote: > > The miniroot includes a u-boot image/dtb for the pine64+, > > you'll need to dd a different image over it. > > > > If you install the u-boot-aarch64 package it can be found a

Re: dwge(4) on Banana Pro

2018-08-15 Thread Mark Kettenis
> Date: Mon, 13 Aug 2018 08:17:46 -0700 > From: Jon Tabor > > I have -current loaded on a Banana Pro board, and was experimenting with > using it as the router/firewall for my home network. I added a USB > ethernet dongle (ure(4)), and set up pf, etc. > > It seemed to work well, but I was seein

Re: Marvell ARMADA 7K/8K and MACCHIATObin support

2018-10-21 Thread Mark Kettenis
> Date: Sat, 20 Oct 2018 19:22:52 -0700 (MST) > From: Corsaire01 > > Hello Mark, Hi, > I am another possessor of a Macchiatobin trying to run openbsd. > > However, I am not a happy camper since I am still unable to make it boot... > > I followed your carefully written procedure but fails mis

Re: Marvell ARMADA 7K/8K and MACCHIATObin support

2018-10-27 Thread Mark Kettenis
> Date: Fri, 26 Oct 2018 07:09:15 -0700 (MST) > From: Corsaire01 > > Hi Mark, > > One question regarding your build. > > >I have made working firmware available at: > > > >https://sibelius.home.xs4all.nl/firmware/armada-8040-mcbin/flash-image.bin > > Could you give us the procedure you used to

Re: current install problems

2018-11-05 Thread Mark Kettenis
> From: > Date: Sun, 4 Nov 2018 13:08:57 -0800 > > I get the following on every boot, install, and reboots. Fortunately it doe > not seem to affect the system install or installed system. > On orangepi one with latest u-boot and dtb. Not sure what the problem is. The verbose output is delibera

Re: Can't install on ROCK64 : tftp not permitted

2018-12-27 Thread Mark Kettenis
> Date: Thu, 27 Dec 2018 15:25:56 +0100 > From: Thuban > > * Thuban le [27-12-2018 12:27:07 +0100]: > > Hello, > > I can't install OpenBSD on my ROCK64. > > I see the following error in serial console : > > > > booting tftp0a:/bsd: open tftp0a:/bsd: Operation not permitted > > failed

Re: ROCK64 : 1/3 USB port is working

2018-12-28 Thread Mark Kettenis
> Date: Fri, 28 Dec 2018 10:13:54 +0100 > From: Thuban > > Hi, > I've got an issue with a ROCK64 : only one USB port is working, the two > other aren't. > Nothing appears in dmesg when I plus a drive. > The drive does'nt seem powered. Hmm, looks like I was mistaken. The usb3 controller isn't pr

Re: ROCK64 : 1/3 USB port is working

2018-12-29 Thread Mark Kettenis
> Date: Sat, 29 Dec 2018 16:06:51 +0100 > From: Aldo Mazzeo > > If anybody can guide me in the process, I could try to do it, as I have > exactly the same issue Here is a a dtb file that enables the USB3 port: https://sibelius.home.xs4all.nl/firmware/rk3328-rock64/rk3328-rock64.dtb Of the U

Re: ROCK64 : 1/3 USB port is working

2018-12-30 Thread Mark Kettenis
> Date: Sun, 30 Dec 2018 15:16:18 +0100 > From: Thuban > > * Mark Kettenis le [29-12-2018 23:10:05 +0100]: > > > Date: Sat, 29 Dec 2018 16:06:51 +0100 > > > From: Aldo Mazzeo > > > > > > If anybody can guide me in the process, I could try t

Re: openbsd arm on xem

2019-01-04 Thread Mark Kettenis
> From: > Date: Tue, 1 Jan 2019 10:32:13 -0800 > > Has anyone ever tried to run openbsd arm on xen? > I have been able to set up xen on an orangepi one (Allwinner H3) with > armbian and run armbian guests. > However I have not been able to configure openbsd as a guest. I've never tried this.

Re: crashes on orangepi pc2

2019-01-31 Thread Mark Kettenis
> From: > Date: Wed, 30 Jan 2019 23:11:00 -0800 > > I thought I would give openbsd arm64 a try and purchased an orangepi pc2. > I followed the INSTALL directions and the install of the system went > smoothly. > I used the lan connection at 1000Mbps to load the system install packages. > > Simple

Re: crashes on orangepi pc2

2019-01-31 Thread Mark Kettenis
am going to experiment with different u-boots and dtbs. > > Should the dtb be put into the dos partition in the allwinner directory? Yes. > -Original Message- > From: owner-...@openbsd.org On Behalf Of Patrick Wildt > Sent: January 31, 2019 7:11 AM > To: Mark Kettenis

Re: crashes on orangepi pc2

2019-02-01 Thread Mark Kettenis
serperf. This is a percentage between 0 and 100. You can see the resulting clock speed by using sysctl hw.cpuspeed. If you want to change the operating points you'll have to edit the DT. Cheers, Mark > -Original Message- > From: s_g...@telus.net > Sent: January 31, 2019

Re: initial cpu speed on orangepi one and orangepi pc2 - probably other H5 and H3 boards

2019-02-03 Thread Mark Kettenis
Any OS will boot with the CPU clock frequency and voltage that was set up by the firmware/bootloader. Those are supposed to be "safe" settings in the sense that the OS can run without overheating the SoC. If the DT provides a set of operating points, and there is clock and regulator support, Open

Re: sximmc(4): "broken-cd" device-tree binding

2019-02-10 Thread Mark Kettenis
> Date: Wed, 06 Feb 2019 09:11:51 +0900 > From: SASANO Takayoshi > > hello, > > I am trying to boot OpenBSD on LicheePi Zero (Allwinner V3s) and > I found this board has "broken-cd" DT binding. > So we cannot attach microSD device without sximmc(4) modification. > > There is an idea that treat

Re: [wip] armv7: Lichee Pi Zero (Allwinner V3s) support

2019-02-10 Thread Mark Kettenis
> Date: Tue, 05 Feb 2019 00:41:01 +0900 > From: SASANO Takayoshi > > Hi, > > > There is no support for v3s in sxiccmu(4) and sxipio(4). > > There is no driver for mentor usb otg "allwinner,sun8i-h3-musb" > > I added v3s support code to sxiccmu(4) and sxipio(4), > but hangs up at attaching root

Re: [wip] armv7: Lichee Pi Zero (Allwinner V3s) support

2019-02-12 Thread Mark Kettenis
> Date: Tue, 12 Feb 2019 06:56:10 +0900 > From: SASANO Takayoshi > > Hello, > > > I have one request for a change in the sxiccmu(4) code. See the > > comment below. Can you make that change and send an updated diff? > > Here is the new diff. the definitions of V3S_CLK_PLL_PERIPH0, > V3S_CLK_A

Re: GW6304 u-boot openbsd

2019-03-23 Thread Mark Kettenis
> From: Jamie > Date: Sat, 23 Mar 2019 22:04:44 +1100 > > On Sat, 2019-03-23 at 20:34 +1100, Jonathan Gray wrote: > > On Sat, Mar 23, 2019 at 07:01:44PM +1100, Jamie wrote: > > > Hi! > > > [ snipped ] > > > GW6304-D2>fatload mmc 1:1 $loadaddr bsd.itb > > > GW6304-D2>bootm $loadaddr > > > ## Loadi

Re: Marvell ARMADA 7K/8K and MACCHIATObin support

2019-05-01 Thread Mark Kettenis
> Date: Wed, 1 May 2019 05:46:49 -0700 (MST) > From: Corsaire01 > > Hello all, > it's been quite a while now so I wanted to get back on track with the > macchiatobin and see it the support got any better with openbsd 6.5. > > Alas, no progress on sensible things, the biggest one being the networ

Re: Marvell ARMADA 7K/8K and MACCHIATObin support

2019-05-03 Thread Mark Kettenis
> Date: Fri, 3 May 2019 01:38:06 -0700 (MST) > From: Corsaire01 > > Since it cost only a few bucks and I could have same-day delivery I bought a > Intel 82575EB based card. > > This time it works ! > > here is the output: > > pci1 at ppb0 bus 1 > em0 at pci1 dev 0 function 0 "Intel 82575EB" re

Re: BBB - found 6 disks

2019-06-06 Thread Mark Kettenis
> Date: Thu, 6 Jun 2019 14:02:03 +0200 > From: Jan Stary > > On Sep 12 21:57:28, h...@stare.cz wrote: > > On Sep 08 13:49:24, h...@stare.cz wrote: > > > This is the latest miniroot-am335x-60.fs installing > > > on a BeagleBone Black. Unlike previous attempts, > > > it installs on the internal MMC

Re: Beagle Bone Black sees less memory now

2019-06-06 Thread Mark Kettenis
> Date: Thu, 6 Jun 2019 14:00:13 +0200 > From: Jan Stary > > On May 25 02:34:36, i...@ce.gl wrote: > > I suspect this might be DTB related, I will take a look sometime soon. > > It is still there in current. We now use the EFI memory map to determine what memory is available. It now correctly e

Re: GPIO supported devices

2019-06-21 Thread Mark Kettenis
> From: Kihaguru Gathura > Date: Fri, 21 Jun 2019 12:41:35 +0300 > > Hi, > > Which of the following devices actually have gpio working with > OpenBSD-ARM64 or ARMv7 platform. > > I have done alot with the RPI's but gpio doesn't work there. I need to > control external devices for machine contro

ROCKPro64 firmware

2019-06-21 Thread Mark Kettenis
I've finally managed to build a properly working (and fully open source) firmware for the ROCKPro64. The firmware consists of two files, which can be downloaded from: https://sibelius.home.xs4all.nl/firmware/rk3399-rockpro64/idbloader.img https://sibelius.home.xs4all.nl/firmware/rk3399-rockpr

Re: ROCKPro64 firmware

2019-06-30 Thread Mark Kettenis
> Date: Sun, 30 Jun 2019 14:13:23 +0200 (CEST) > From: Markus Hennecke > > On Fri, 21 Jun 2019, Mark Kettenis wrote: > > > I've finally managed to build a properly working (and fully open > > source) firmware for the ROCKPro64. The firmware consists of two &g

Re: ROCKPro64 firmware

2019-06-30 Thread Mark Kettenis
> Date: Sun, 30 Jun 2019 14:32:40 + > From: Joseph Mayer > > Hi Mark and Markus, > > On Saturday, 22 June 2019 04:24, Mark Kettenis > wrote: > > I've finally managed to build a properly working (and fully open > > source) firmware for the ROCKPro64.

Re: ROCKPro64 firmware

2019-07-28 Thread Mark Kettenis
> Date: Sun, 28 Jul 2019 17:04:12 +1000 > From: Jonathan Gray > > On Fri, Jun 21, 2019 at 10:24:48PM +0200, Mark Kettenis wrote: > > I've finally managed to build a properly working (and fully open > > source) firmware for the ROCKPro64. The firmware consists o

Re: ROCKPro64 firmware

2019-07-29 Thread Mark Kettenis
> Date: Mon, 29 Jul 2019 14:07:09 +1000 > From: Jonathan Gray > > On Sun, Jul 28, 2019 at 11:40:26PM +0200, Mark Kettenis wrote: > > > Date: Sun, 28 Jul 2019 17:04:12 +1000 > > > From: Jonathan Gray > > > > > > On Fri, Jun 21, 2019 at 10:24:48PM

Re: Booting and installing on the Olimex Teres laptop

2019-08-12 Thread Mark Kettenis
> Date: Sun, 11 Aug 2019 23:49:10 + > From: ioh > > I have been able to successfully install OpenBSD Current Aug 06 > 2019 on the Olimex Teres laptop. It has very similar hardware to > the PineBook, arm64 allwinner, etc. I used u-boot-sunxi-with-spl.bin > from u-boot v2019.07 (teres_i_defco

Re: Booting and installing on the Olimex Teres laptop

2019-08-13 Thread Mark Kettenis
> Date: Tue, 13 Aug 2019 01:01:37 + > From: ioh > > On Mon, Aug 12, Mark Kettenis wrote: > > > Date: Sun, 11 Aug 2019 23:49:10 + > > > From: ioh > > > > > > I have been able to successfully install OpenBSD Current Aug 06 > > &

Re: Booting and installing on the Olimex Teres laptop

2019-08-13 Thread Mark Kettenis
> Date: Tue, 13 Aug 2019 22:01:30 + > From: ioh > > On Tue, Aug 13, Mark Kettenis wrote: > > > Date: Tue, 13 Aug 2019 01:01:37 + > > > From: ioh > > > > > > On Mon, Aug 12, Mark Kettenis wrote: > > > > > Date: Sun, 11 Aug

Re: RockPro64 dmesg/hang

2019-08-16 Thread Mark Kettenis
> From: J Sisson > Date: Fri, 16 Aug 2019 04:15:52 -0500 > > Remember kiddies, always checksum downloaded files. Sigh. That said, you're probably better off using the firmware I built more recently: https://marc.info/?l=openbsd-arm&m=156114869709200&w=2 You're probably better off using this w

Re: RockPro64 dmesg/hang

2019-08-17 Thread Mark Kettenis
> From: J Sisson > Date: Fri, 16 Aug 2019 05:42:50 -0500 > > On Fri, Aug 16, 2019 at 5:00 AM Mark Kettenis wrote: > > > > > From: J Sisson > > > Date: Fri, 16 Aug 2019 04:15:52 -0500 > > > > > > Remember kiddies, always checksum downl

Re: report: OpenBSD-current on OrangePi One Plus (Allwinner H6)

2019-09-04 Thread Mark Kettenis
> Date: Wed, 04 Sep 2019 17:11:43 +0900 > From: SASANO Takayoshi > > Hello, > > I bought OrangePi One Plus (Allwinner H6) and tried to boot -current. > Hanged up at attaching a root device, and maybe we have to add some codes to > sxipio(4) and sxiccmu(4). Yes, we'll defenitely need to add H6 s

Re: report: OpenBSD-current on OrangePi One Plus (Allwinner H6)

2019-09-05 Thread Mark Kettenis
> Date: Wed, 04 Sep 2019 19:30:34 +0900 > From: SASANO Takayoshi > > hello, > > Here is the log that your patch applied kernel. > It looks sxipio0 and sxipio1 is enabled. Here is a start for H6 support in sxiccmu(4). Can you try this and send me new console output? Thanks, Mark Index: dev/

Re: report: OpenBSD-current on OrangePi One Plus (Allwinner H6)

2019-09-07 Thread Mark Kettenis
> Date: Fri, 06 Sep 2019 23:08:18 +0900 > From: SASANO Takayoshi > > Hi, > > > Here is a start for H6 support in sxiccmu(4). Can you try this and > > send me new console output? > > here is the log, Some progress, as now the USB controllers initialize properly. Below is a new diff that shoul

Re: report: OpenBSD-current on OrangePi One Plus (Allwinner H6)

2019-09-08 Thread Mark Kettenis
> Date: Sun, 08 Sep 2019 17:55:12 +0900 > From: SASANO Takayoshi > > Hello, > > here is the log, axp805 is recognized but SD is not recognized. Thanks. I've committed the driver with a small fix. Maybe that'll fix the detection of the SD card. Support for the axp805 will have to be added to

Re: report: OpenBSD-current on OrangePi One Plus (Allwinner H6)

2019-09-08 Thread Mark Kettenis
> Date: Sun, 8 Sep 2019 19:03:01 +0200 (CEST) > From: Mark Kettenis > > > Date: Sun, 08 Sep 2019 17:55:12 +0900 > > From: SASANO Takayoshi > > > > Hello, > > > > here is the log, axp805 is recognized but SD is not recognized. > > Thanks.

Re: u-boot 2019.10rc4 on rock64

2019-09-28 Thread Mark Kettenis
> From: Kurt Miller > Date: Thu, 26 Sep 2019 12:28:56 -0400 ... > rkclock0 at mainbus0 > rkclock_set_parent: 0x00b4 > rkclock_set_frequency: 0x00c4 > rkclock_set_frequency: 0x00c5 > rkclock_set_frequency: 0x00ca > rkclock_set_frequency: 0x00c1 > rkclock_set_frequency: 0x0

Re: Various rockchip u-boot aarch64 improvements

2019-10-06 Thread Mark Kettenis
> Date: Sun, 6 Oct 2019 11:42:03 +1100 > From: Jonathan Gray > > On Sat, Oct 05, 2019 at 12:20:57PM -0400, k...@intricatesoftware.com wrote: > > Various rockchip u-boot 2019.10rc4 aarch64 improvements: > > * u-boot.itb is included in the all target for rockpro64 and > > firefly-rk3399 so remove

Re: Various rockchip u-boot aarch64 improvements

2019-10-07 Thread Mark Kettenis
> > > > > > > On Sun, Oct 06, 2019 at 09:51:20PM -0400, Kurt Miller wrote: > > > > > > > > > > > > > > > On Sun, 2019-10-06 at 18:47 +0200, Mark Kettenis wrote: > > > > > > > > > >

Re: ARM support for RK339 Firefly ?

2019-10-11 Thread Mark Kettenis
> Date: Fri, 11 Oct 2019 19:33:25 +0200 (CEST) > From: sylvain.sab...@free.fr > > Hello. > > I have been acquiring a Firefly RK-3399 ARM card, > with the intention of using it as a support platform > for diverse projects. > > Unfortunately my attempts at running OpenBSD on it > have not been as

Re: ARM support for RK339 Firefly ?

2019-10-12 Thread Mark Kettenis
> Date: Sat, 12 Oct 2019 08:55:50 +0200 > From: Sylvain > > Le 11 octobre 2019 20:24:20 GMT+02:00, Mark Kettenis > a écrit : > >> Date: Fri, 11 Oct 2019 19:33:25 +0200 (CEST) > >> From: sylvain.sab...@free.fr > >> > >> Hello. > >

Re: Installing OpenBSD 6.6 on Cubox-i

2019-10-24 Thread Mark Kettenis
> Date: Thu, 24 Oct 2019 14:47:50 + (UTC) > From: adr > > As far as I know (I used OpenBSD some 15 years ago for a while, > and now is been some months, so don't trust me too much) there is > no system console driver for arm. You have to use a serial console > (there are very cheap CH341 usb

Re: com_fdt.c: enable 16550 FIFO

2020-01-04 Thread Mark Kettenis
> Date: Thu, 02 Jan 2020 05:43:49 +0900 > From: SASANO Takayoshi > > Hello, > > Allwinner A10/20' UART has FIFO, but dmesg says no working FIFO. > This is caused by com_fdt.c tells 16550 not 16550A. > So here is the diff to fix this. > > > > Index: com_fdt.c >

Re: [RP64] rkpcie

2020-01-09 Thread Mark Kettenis
> Date: Tue, 31 Dec 2019 00:28:23 +0100 > From: Olivier > > Hello all, > > In first, i would like to wish you happy new years celebrations, enjoy ! > > I would like to know if, for ROCK PRO64 i have issue or not. > > _ From : https://github.com/jasperla/openbsd-rockpro64 and the image > provi

arm64 syscall ABI change

2020-02-16 Thread Mark Kettenis
In order to fix a speculative execution issue on various ARM CPUs, the OpenBSD/arm64 system call ABI has been changed. System calls now skip the two instructions immediately following the system call instruction. This allows us to insert a barrier that blocks the CPU from speculating further with

Re: Pinebook Pro

2020-03-18 Thread Mark Kettenis
You'll need -current on this hardware.

Re: Pinebook Pro

2020-03-20 Thread Mark Kettenis
> Date: Thu, 19 Mar 2020 15:34:07 +0100 > From: Marcus MERIGHI > > Hello! > > Just got my Pinebook Pro. What a beauty! > And I am forced to stay at home because of SARS-COV-II/COVID-19. > > This lucky coincidence is dulled by my incapability to install OpenBSD > on the Pinebook Pro. > > I've t

Re: Allwinner H3: other UART ports (not console UART0) support

2020-03-23 Thread Mark Kettenis
> Date: Mon, 23 Mar 2020 22:51:05 +0900 > From: SASANO Takayoshi > > On Allwinner H3, currently we can use UART0 for debug/console port. > To use UART1-3 port, we have to make proper device tree blob > and fix kernel code like this. > > - com_fdt.c needs to add reset signal de-assert code > - sc

Re: Rock64 v2 Ethernet not working

2020-03-24 Thread Mark Kettenis
> From: Kurt Miller > Date: Tue, 24 Mar 2020 09:48:01 -0400 > > On Fri, 2020-03-20 at 16:24 +0100, Sebastian Reitenbach wrote: > > Hi, > > > > Am Donnerstag, März 19, 2020 03:32 CET, schrieb Lear Zhou > > :  > >   > > > > > >  Hi, > > > > > > Today my Rock64 arrived, after format the sd card,

Re: NanoPi R2S support

2020-03-24 Thread Mark Kettenis
> From: Kurt Miller > Date: Tue, 24 Mar 2020 17:54:13 -0400 > > On Sat, 2020-03-14 at 21:19 -0700, Lear Zhou wrote: > >  Hi, > > > > I have bought a NanoPi R2S, which features the RK3328 SoC with 2 1Gbps > > Ethernet ports > > and 1G DDR4 RAM. Reading OpenBSD document, what I learned is that > >

Re: NanoPi R1S USB not working

2020-03-28 Thread Mark Kettenis
> Date: Sat, 28 Mar 2020 23:03:00 + > From: "Nicholas Helke" > > Hi, > > I managed to get OpenBSD to boot on a NanoPi R1S by following Frederic > Cambus' post[1]. I can't however seem to get USB to work even though I > was expecting it to work using ehci(4). This rather defeats the utility >

Re: can't install to eMMC on PINE64-ROCKPro64

2020-03-29 Thread Mark Kettenis
Please try a -current snapshot.

Re: Pinebook14/Pro xenodm(1) initially fails [Re: Pinebook Pro]

2020-03-31 Thread Mark Kettenis
> Date: Tue, 31 Mar 2020 16:48:39 +0200 > From: Patrick Wildt > Cc: Marcus MERIGHI , arm@openbsd.org, > kette...@openbsd.org > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > > On Wed, Mar 25, 2020 at 01:15:03PM +0100, Otto Moerbeek wrote: > > On Wed, Mar 25, 20

Some Raspberry Pi4 support

2020-04-10 Thread Mark Kettenis
With the diffs I just posted to tech@, OpenBSD can boot successfully on the Raspberry Pi4 if you use the EDK2-based UEFI firmware that is availble now. In principle you can build it yourself from source, but pre-built versions can be found at: https://github.com/pftf/RPi4 Pretty much the only

Re: Some Raspberry Pi4 support

2020-04-16 Thread Mark Kettenis
> Date: Thu, 16 Apr 2020 21:55:39 +0100 > From: Stuart Henderson > > On 2020/04/10 18:29, Mark Kettenis wrote: > > real mem = 1993285632 (1900MB) > > avail mem = 1902022656 (1813MB) > > It's happy on the 4GB ones with the UEFI option toggled too (by > d

Raspberry Pi pinctrl support

2020-04-23 Thread Mark Kettenis
ox* at fdt? early 1 Index: dev/fdt/bcm2835_gpio.c === RCS file: dev/fdt/bcm2835_gpio.c diff -N dev/fdt/bcm2835_gpio.c --- /dev/null 1 Jan 1970 00:00:00 - +++ dev/fdt/bcm2835_gpio.c 23 Apr 2020 10:48:42 - @@ -0,0 +1,199 @@ +/* $Ope

Make Rockchip RK3399 eMMC faster

2020-04-23 Thread Mark Kettenis
I put this in at some point since I couldn't get the eMMC on my firefly-rk3399 working otherwise. But its eMMC died and on my rockpro64 and rk3399-q7 boards things work very well without it. On the latter board it even makes things a bit speedier: the raw read performance goes up from 35 MB/s to

Re: Banana Pi R2

2020-05-19 Thread Mark Kettenis
That hardware is not supported by OpenBSD.

Re: Kernel hangs with hw.perfpolicy set as auto on NanoPi R2S

2020-05-19 Thread Mark Kettenis
> From: Lear Zhou > Date: Sat, 16 May 2020 19:41:29 -0700 > > Hi, > > This issue is still there with recent snapshot build, although it's getting > better with May 13rd build. > > Dig a little bit more with this, and found that the easiest way to trigger > the issue for my network setup > is ju

Re: Banana Pi R2

2020-05-19 Thread Mark Kettenis
> Date: Tue, 19 May 2020 16:36:48 +0100 > From: Stuart Henderson > > On 2020/05/19 16:43, Per Gunnarsson wrote: > > Hello! > > > > I saw the section "PF - Building a router" on your web page and thought > > that would be an interesting hobby project. Now I wonder if it's > > possible to install

Re: Banana Pi R2

2020-05-19 Thread Mark Kettenis
> Date: Tue, 19 May 2020 17:46:23 +0200 (CEST) > From: Mark Kettenis > > > Date: Tue, 19 May 2020 16:36:48 +0100 > > From: Stuart Henderson > > > > On 2020/05/19 16:43, Per Gunnarsson wrote: > > > Hello! > > > > > > I saw the s

Re: Banana Pi? I have an RPi4 on OpenBSD 6.7

2020-05-20 Thread Mark Kettenis
> Date: Wed, 20 May 2020 08:23:53 +0200 > From: Oliver Seidel > > Hello Stuart, > > many thanks for your answer. Here in germany we have a phrase > > "wer Lesen kann ist klar im Vorteil" -- you might benefit if you were > willing to read the instructions > > I had not even known about acpi a

Re: No cpu perf on Rock64 v2 with OpenBSD 6.7

2020-05-23 Thread Mark Kettenis
> From: Lear Zhou > Date: Sat, 23 May 2020 11:51:10 -0700 > > Hi, > > Thanks for the OpenBSD developers, now I can run 6.7 on my Rock64 v2. > However, > there's no cpu dynamic frequency adjust it seems. > > sysctl hw output: > hw.machine=arm64 > hw.model=ARM Cortex-A53 r0p4 > hw.ncpu=4 > hw.byt

Re: panic after install of 6.7 on Raspberry Pi 3

2020-05-26 Thread Mark Kettenis
> Date: Tue, 26 May 2020 14:15:52 -0700 > From: Joe Barnett > > I have tried installing 6.7 (arm64) onto my Raspberry Pi 3 and it > consistently fails to boot following what appears to be a successful > installation. > > I am installing from miniroot67.fs (again, for arm64), the installation

Re: Help with Device Tree for NanoPi R2S

2020-06-04 Thread Mark Kettenis
> From: Lear Zhou > Date: Wed, 3 Jun 2020 11:26:16 -0700 > > Testing has been done based on Patrick’s work. It turned out > that the ure0 is not ready for serious usage. > > The issue is that ure0 will hang/freeze there after hours > usage, while the kernel still running and can be accessed > vi

Re: Attaching maxrtc(4) to iic

2020-06-15 Thread Mark Kettenis
> From: Fred > Date: Sat, 6 Jun 2020 14:57:39 +0100 > > Hi misc@ > > I'm trying to attach an adafruit DS1307 RTC to my Beagle Bone Black. > > I have set: > > gpioctl gpio0 attach gpioiic 19 0x3 1 > > in /etc/rc.securelevel which shows up in dmesg[0] as: > > gpioiic0 at gpio0: SDA[20] pull-up

Re: PinebookPro Xorg?

2020-07-14 Thread Mark Kettenis
> Date: Tue, 14 Jul 2020 15:10:04 +1000 > From: Jonathan Gray > > On Mon, Jul 13, 2020 at 11:26:12PM +0200, Sebastian Reitenbach wrote: > > Hi, > > > > eventually got my hands on a PinebookPro, installation went fine. > > > > Prepard SD card for initial installation alike: > > > > moun

Re: Raspberry Pi 3B USB input devices are not working

2020-08-03 Thread Mark Kettenis
> From: Archimedes Gaviola > Date: Mon, 3 Aug 2020 17:53:51 +0800 > Content-Type: text/plain; charset="UTF-8" > > Hi, > > Just to add as well that the USB LAN Ethernet is working great aside from > the USB input devices that I've encountered. I just know from the man page > http://man.openbsd.or

Re: 6.7 arm64 on Raspberry Pi 4, wifi and usb audio

2020-08-09 Thread Mark Kettenis
> Date: Sun, 9 Aug 2020 18:52:57 + (UTC) > From: Doug Moss > > In the UEFI (1.16) configuration, I have changed > from default "ACPI" to "ACPI + devicetree" > from default "Arasan SDHCI" to "eMMC2 SDHCI" > (Is this description > https://mail-index.netbsd.org/port-arm/2017/07/30/msg004328.html

Re: Should/will OpenBSD support ODROID-C4 board? (ARM A55)

2020-08-16 Thread Mark Kettenis
OpenBSD runs on the ODROID-C4 with some limitations. The following functionality works: - amluart(4) serial console - amlmmc(4) eMMC (uSD does not work) - amldwusb(4)/xhci(4) USB 3.0 - dwge(4) gigabit Ethernet - amlrng(4) random number generator - amltemp(4) temperature sensor Everyt

Re: Raspberry Pi 4B DS3231 real-time clock

2020-08-23 Thread Mark Kettenis
> From: Archimedes Gaviola > Date: Sun, 23 Aug 2020 22:36:49 +0800 > > Hi, > > Good day! > > How to enable DS3231 real-time clock in Raspberry Pi 4B? In Raspberry Pi 3B > these 2 lines below in the config.txt works. > > dtparam=i2c_arm=on > dtoverlay=i2c-rtc,ds3231 > > and resolve the dmesg m

Re: Raspberry Pi 4B DS3231 real-time clock

2020-08-23 Thread Mark Kettenis
> From: Archimedes Gaviola > Date: Mon, 24 Aug 2020 01:04:23 +0800 > > On Sun, Aug 23, 2020 at 10:50 PM Mark Kettenis > wrote: > > > From: Archimedes Gaviola > > Date: Sun, 23 Aug 2020 22:36:49 +0800 > > > > Hi, > > > > Good d

Re: Raspberry Pi 4B DS3231 real-time clock

2020-08-23 Thread Mark Kettenis
> From: Archimedes Gaviola > Date: Mon, 24 Aug 2020 01:18:46 +0800 > > On Mon, Aug 24, 2020 at 1:10 AM Mark Kettenis > wrote: > > > From: Archimedes Gaviola > > Date: Mon, 24 Aug 2020 01:04:23 +0800 > > > > On Sun, Aug 23, 2020 at 10:50 PM Mark K

Re: Discuss UEFI settings in arm64.html/INSTALL.arm64

2020-08-24 Thread Mark Kettenis
> From: Todd Carson > Date: Mon, 24 Aug 2020 20:07:24 +0900 > > It's not very obvious that there devices that can attach on RPi4 only if > the UEFI firmware to set to FDT mode. > > Also, the UEFI firmware for RPi4 defaults to capping physical memory to > 3 GB since the DMA controller can't acces

Re: Raspberry Pi 4B DS3231 real-time clock

2020-08-24 Thread Mark Kettenis
> From: Archimedes Gaviola > Date: Mon, 24 Aug 2020 19:15:56 +0800 > > On Mon, Aug 24, 2020 at 4:01 PM Archimedes Gaviola > wrote: > > On Mon, Aug 24, 2020 at 3:56 PM Stuart Henderson > wrote: > > It's in the UEFI firmware setup menu. > > -- >Sent from a phone, apologies for poor fo

Re: Discuss UEFI settings in arm64.html/INSTALL.arm64

2020-08-24 Thread Mark Kettenis
> Date: Mon, 24 Aug 2020 22:17:25 +1000 > From: Jonathan Gray > > On Mon, Aug 24, 2020 at 01:29:44PM +0200, Mark Kettenis wrote: > > > From: Todd Carson > > > Date: Mon, 24 Aug 2020 20:07:24 +0900 > > > > > > It's not very obvious that th

  1   2   3   >