Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: installboot(8) changes for installing u-boot directly to SPI flash (or other raw flash devices)



On Wed, Sep 18, 2019 at 06:20:36AM -0000, Michael van Elst wrote:
> thorpej%me.com@localhost (Jason Thorpe) writes:
> 
> >Hm, I'm happy to commit this patch to getdiskrawname() (and a corresponding change for getdiskcookedname()), but I guess the bigger question is: Why doesn't spiflash have a corresponding character device?
> 
> It has, it's just missing from MAKEDEV, so the /dev entry isn't created.

Ops, I don't know how I missed the cdevsw entrie in the sources.
indeed, after creating /dev/rspiflash0 installboot works without patching
libutil.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index