You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 28, 2025. It is now read-only.
Is there some history behind why ASN.1 has been chosen? It just seems like a rather arbitrary and strange choice, given that ASN.1 has not been used in any similar capacity by platforms/firmware to describe features (e.g. on Arm, x86, etc)
Is the tooling sound? Do we have decent compilers, libraries? Is it easy enough to parse (single pass without consuming extra memory like Device Tree or complicated like ACPI AML?)? Do we have a good set of open source libraries that are embeddable?
Obviously the "human readable" nature of ASN.1 is a matter of taste, but I would imagine literally no one working on RISC-V systems (hardware or software) is familiar with it. So that's a steep climb already. Then consider that you're likely converting this to either straight Device Tree or Device Tree properties in ACPI. So... why not embrace Device Tree entirely for this purpose? It is lightweight, very flexible, trivial to parse, etc... and natively supported in OSes and firmware like u-boot, TianoCore UEFI, etc. The libraries are dual licensed and the spec is otherwise trivial even if you wanted to roll your own (and the tooling is super familiar to anyone).
Is there some history behind why ASN.1 has been chosen? It just seems like a rather arbitrary and strange choice, given that ASN.1 has not been used in any similar capacity by platforms/firmware to describe features (e.g. on Arm, x86, etc)
Is the tooling sound? Do we have decent compilers, libraries? Is it easy enough to parse (single pass without consuming extra memory like Device Tree or complicated like ACPI AML?)? Do we have a good set of open source libraries that are embeddable?
Obviously the "human readable" nature of ASN.1 is a matter of taste, but I would imagine literally no one working on RISC-V systems (hardware or software) is familiar with it. So that's a steep climb already. Then consider that you're likely converting this to either straight Device Tree or Device Tree properties in ACPI. So... why not embrace Device Tree entirely for this purpose? It is lightweight, very flexible, trivial to parse, etc... and natively supported in OSes and firmware like u-boot, TianoCore UEFI, etc. The libraries are dual licensed and the spec is otherwise trivial even if you wanted to roll your own (and the tooling is super familiar to anyone).