Re: installer: pine64: better firmware dd

2023-03-25 Thread Klemens Nanni
On Sun, Mar 26, 2023 at 11:01:07AM +1100, Jonathan Gray wrote: > this diff is incomplete > the pine64 part in ramdisk/list is still there Forgot to unhook them, thanks. Index: install.md === RCS file:

Re: installer: pine64: better firmware dd

2023-03-25 Thread Jonathan Gray
On Sat, Mar 25, 2023 at 11:34:08PM +, Klemens Nanni wrote: > On Sat, Mar 25, 2023 at 08:36:06PM +0100, Mark Kettenis wrote: > > To be honest I think we should remove this from the installer scripts. > > > > This code tries to handle the case where we've just whacked the disk > > we've booted

Re: installer: pine64: better firmware dd

2023-03-25 Thread Klemens Nanni
On Sat, Mar 25, 2023 at 08:36:06PM +0100, Mark Kettenis wrote: > To be honest I think we should remove this from the installer scripts. > > This code tries to handle the case where we've just whacked the disk > we've booted from since we're trying to install on it. My current > advice to people

Patch to stop tearing on Intel modesetting in Xenocara

2023-03-25 Thread Igor Petruk
Hi, I noticed the "TearFree" patch was merged upstream in the XOrg modesetting driver. Long time ago when it was sent I patched it into my local Xenocara and used it ever since. Zero issues, zero tearing. Maybe let's consider adding it to Xenocara too? I am attaching the patch, commit message is

Re: installer: pine64: better firmware dd

2023-03-25 Thread Klemens Nanni
25.03.2023 19:36, Mark Kettenis пишет: > To be honest I think we should remove this from the installer scripts. Please, be my guest! arm64 md_installboot() and its lack of softraid awareness on certain boards is why we don't have instller support for guided disk encryption on this platform, yet.

Re: installer: pine64: better firmware dd

2023-03-25 Thread Mark Kettenis
> Date: Sat, 25 Mar 2023 16:32:17 + > From: Klemens Nanni > > We must not throw away all errors, dd(1) can be silenced properly. > > OK? > > I don't have the hardware to test, but will need to tweak this MD code soon > for get softraid installs working on those boards. To be honest I

Re: recv.c: consistency wrt NULL for pointers

2023-03-25 Thread Todd C . Miller
On Sat, 25 Mar 2023 20:13:35 +0100, Otto Moerbeek wrote: > Last arg also is a pointer, so pass NULL. Looks like it's been that way since the initial CSRG commit. OK millert@ - todd

recv.c: consistency wrt NULL for pointers

2023-03-25 Thread Otto Moerbeek
Hi, Last arg also is a pointer, so pass NULL. -Otto Index: recv.c === RCS file: /home/cvs/src/lib/libc/net/recv.c,v retrieving revision 1.6 diff -u -p -r1.6 recv.c --- recv.c 4 Oct 2015 07:17:27 - 1.6

Re: installer: arm64: better disk variable handling

2023-03-25 Thread Klemens Nanni
On Sat, Mar 25, 2023 at 07:02:24PM +, Klemens Nanni wrote: > Call the function argument `_disk' and construct full device paths where > needed, so that other code can reuse the mnemonic variable. > > This matches install.sub's convention around ROOTDISK=sd0, ROOTDEV=sd0a and > other

installer: arm64: better disk variable handling

2023-03-25 Thread Klemens Nanni
Call the function argument `_disk' and construct full device paths where needed, so that other code can reuse the mnemonic variable. This matches install.sub's convention around ROOTDISK=sd0, ROOTDEV=sd0a and other disk/device code. Since it touches the installboot block, hoist it before the

installer: apple arm64: simplify firmware copy

2023-03-25 Thread Klemens Nanni
Less duplicate code, simpler to cope with newer firmware. Same idiom is used in install.sub already. OK? Index: ramdisk/install.md === RCS file: /cvs/src/distrib/arm64/ramdisk/install.md,v retrieving revision 1.37 diff -u -p -r1.37

Re: installer: simplify MAKEDEV invocation

2023-03-25 Thread Andrew Hewus Fresh
On Sat, Mar 25, 2023 at 04:17:06PM +, Klemens Nanni wrote: > The script takes multiple arguments and loops over them on its own, > so no reason to handroll the loop. > > OK? This makes sense to me. I wonder if MAKEDEV changed to allow multiple arguments or if the original author didn't

Re: timer(4/sparc64): remove driver

2023-03-25 Thread Scott Cheloha
On Fri, Mar 24, 2023 at 09:56:55AM +0100, Claudio Jeker wrote: > On Thu, Mar 23, 2023 at 05:37:05PM -0500, Scott Cheloha wrote: > > On Sat, Mar 18, 2023 at 12:17:33PM -0600, Ted Bullock wrote: > > > On 2023-03-17 12:29 p.m., Mike Larkin wrote: > > > > On Thu, Mar 16, 2023 at 12:25:15PM -0500,

installer: pine64: better firmware dd

2023-03-25 Thread Klemens Nanni
We must not throw away all errors, dd(1) can be silenced properly. OK? I don't have the hardware to test, but will need to tweak this MD code soon for get softraid installs working on those boards. Index: ramdisk/install.md === RCS

installer: simplify MAKEDEV invocation

2023-03-25 Thread Klemens Nanni
The script takes multiple arguments and loops over them on its own, so no reason to handroll the loop. OK? In case anyone wonders why explicit devices are passed while "all" is used: it only creates that many devices, so if during install you created, e.g. sd14, that won't be covered by "all",