It was nice knowing Raspberry Pi while they lasted. Going to suck losing something that has changed the homegrown embedded system hobby forever.

  • jabjoe@feddit.uk
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 months ago

    Only a fraction of it is RTCs. What is in the Pi overlays folder is from everything. Not even all the DT I2C RTCs. There is loads of ADCs, DACs, IO extenders, all sorts.

    It’s really annoying you can’t do DT on x86 Linux. It’s a bit of a gap in the platform. It would make Linux ARM based developer’s lives easier.

      • jabjoe@feddit.uk
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 months ago

        You can of course write drivers for them, but then it’s you own abstraction not the standard Linux abstraction. (You can hack something up with IIO for that stuff, but it’s not pretty). There is CUSE (part of FUSE) you can do some character devices with.

        Existing drivers in Python are messy to use if you our not developer in Python.

        The nice thing about in kernel is:

        • it’s done for you already
        • the interface is standard and will work with anything that uses that class of device
        • it’s langauge agnostic.

        The Linux kernel does hardware abstraction. It’s not a microkernel. There is limited support for proper userspace drivers.

        If you doing some application specific app, that will only work with those chips, use do it in userspace. But to make a normal system for normal use, you want things in kernel like normal.