Skip to content

Device tree scripts for embedded devices. #1375

Open
@necrose99

Description

@necrose99

Describe the enhancement
A clear and concise description of what the enhancement is that you would like to see.

Script/features to add device tree blobs to dracuts capabilities
(Or add enhancement scripts to extend dracut, with a simple api. For doing embedded stuff , user-friendly etc. )

could load device trees much like existing kernel modules
Ie. (Simular Treatment akin to kernel modules or ease of use)

Example: Dracaut add rtc_ds3231.. rtc_ds1307
Adding Arm64 Real Time clock rtc_ds3231, rtc_ds3231 into rpi4.intramfs..

which if using the new uefi firmware could be of use.
And bit more dynamic than the static txt file.

Or latte panda etc, x86, arm64,riscv , etc single board pcs.

Anyway, making a custom kernel with blobs and easy load dtd's into intramfs via dracut would be a nice to have..

Treatment of them much like nvidia or well known modules , would also make for ease of management on embedded systems. Ie rpi4-rtc , rpi4-cmc , and carrying boards.
Thier are several but search find probe etc esp. With a FREINDLY-ID , easy for users with lookup tables.
LCD, touchscreen , camera..

... probe for varrious rtc hardware on product detection add correct to list for dracut to insert into intramfs
Load unload device trees automatically, probe device null , unload
Load device found keep.
Also a plus.

Hardware makers could script dracut to shim thier cool additions ie RasPad 3 into any kernel via dracut. Etc.
Load device trees, kernel modules for hardware no problemo..

Arduino fans can add the new gizmos etc.. simple install via dracut script reboot , and pain free..

Recompile newer kernels, without breaking stuff...
(Hopefully)

Dracut to manage device tree blobs for embedded devices, been hopeful feature for sometime.
Ie.
A Multiple arm64 device kernel. One could switch to just the bloobs they need.. however same os image on multiple devices.. rpi4 , pinebook pro etc , (uefi and newer onboard firmware)
or add new hardware , camera etc painlessly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementIssue adding new functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions