On 2023-07-28 13:20:38 Mark Kettenis wrote: > > Might be worth trying a kernel with this diff then: > > Index: arch/riscv64/dev/stfpcie.c > =================================================================== > RCS file: /cvs/src/sys/arch/riscv64/dev/stfpcie.c,v > retrieving revision 1.1 > diff -u -p -r1.1 stfpcie.c > --- arch/riscv64/dev/stfpcie.c 8 Jul 2023 10:06:13 -0000 1.1 > +++ arch/riscv64/dev/stfpcie.c 28 Jul 2023 13:19:28 -0000 > @@ -430,7 +430,7 @@ stfpcie_attach(struct device *parent, st > * active at least 100ms after power up. Since we may have > * just powered on the device, play it safe and use 100ms. > */ > - delay(100000); > + delay(300000); > > /* Deassert PERST#. */ > gpio_controller_set_pin(reset_gpio, 0);
Interestingly, my NVM device has been working since I sent this report but I'll give a try this patch if the issue reappears.