Re: CVS commit: src/etc/rc.d

2021-08-01 Thread Robert Elz
Date:Mon, 2 Aug 2021 11:54:27 +0900
From:Rin Okuyama 
Message-ID:  

  | Install /etc/rc.d/zfs for everyone?

Add a new dummy rc.d script (like LOGIN or DISKS)
have devpubd come before that, and everything
which should come later require it.

That's cleaner.   We should probably have a
few more of them for the startup stages, even
if they're not really needed yet, and far
fewer real scripts depending on each other
except where there is a genuine relationship.

kre


Re: CVS commit: src/sys

2021-08-01 Thread Jared McNeill
The H6 BSP provides some clues:
#if defined(CONFIG_ARCH_SUN8IW12) \
|| defined(CONFIG_ARCH_SUN8IW15) \
|| defined(CONFIG_ARCH_SUN50IW3) \
|| defined(CONFIG_ARCH_SUN50IW6)
#define SUNXI_UART_FIFO_SIZE256
#elif defined(CONFIG_ARCH_SUN3IW1)
#define SUNXI_UART_FIFO_SIZE32
#else
#define SUNXI_UART_FIFO_SIZE64
#endif
sun8iw12 = V5/V100
sun8iw15 = R311/A50
sun50iw3 = A63
sun50iw6 = H6
sun3iw1 = handful of ARM926EJ-S things we don’t support

Take care,
Jared

> On Jul 31, 2021, at 7:17 AM, Tobias Nygren  wrote:
> 
> On Fri, 30 Jul 2021 22:36:45 +0200
> Tobias Nygren  wrote:
> 
>> On Fri, 30 Jul 2021 17:25:46 -0300 (ADT)
>> Jared McNeill  wrote:
>> 
>>> Why only A20?
>> 
>> It is the hardware I have on hand. If you know specifically which
>> SoCs need this, the compat_data array can be extended.
>> I guess maybe these also?
>> allwinner,sun4i-a10
>> allwinner,sun6i-a31
> 
> Apparently it can be an issue on relatively speaking newer SoCs too.
> For example the H6 does not have DesignWare specific register,
> and comes with 256-byte FIFO instead of 64-byte.
> 
> It's not possible to deduce from the manual what DesignWare revision
> is used but I guess I can go over the data sheets of currently
> released SoCs and build a matrix of the proper values regardless
> of DesignWare revision.
> 



Re: CVS commit: src/etc/rc.d

2021-08-01 Thread Rin Okuyama

Hi,

this commit causes:

rcorder: file `/etc/rc.d/devpubd' is before unknown provision `zfs'

for systems with MKZFS=no.

Install /etc/rc.d/zfs for everyone? This should be harmless; the script
properly checks existence of /sbin/zfs, i.e., MKZFS=yes.

Alternatively, autogen /etc/rc.d/devpubd?

Thanks,
rin

On 2021/07/31 23:47, Michael van Elst wrote:

Module Name:src
Committed By:   mlelstv
Date:   Sat Jul 31 14:47:04 UTC 2021

Modified Files:
src/etc/rc.d: devpubd

Log Message:
Run devpubd before volume managers and pseudo disks.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/etc/rc.d/devpubd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.