Description
BadgerOS currently has 2 CPU architectures (RISC-V and AMD64) and 3 ports (ESP32C6, ESP32P4 and generic). I think it's time to re-think that structure and to make the C6 and P4 ports something that happens with a specific configuration, not an entirely loose subtree of source files that are hard to keep up-to-date.
The second part of this issue is the current driver model: Drivers are currently statically registered in multiple different ways. First, this is not good for a kernel that aims to eventually support modularity for obvious reasons. Second, it makes for unnecessary abstraction layers for all drivers that go under the "generic port" umbrella.
The desired approach is to re-write drivers into a unified format and re-write the addresses for things that need drivers in a similar light. Then, the presence of C6 and P4 internal hardware can be hard-coded in their respective kernel configurations.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status