A simple package for DTB depth-first walking.
Try an example:
cargo run --release --example qemu-virt
Following the devicetree-specification-v0.4-rc1,DTB v17。
Features:
- stable rust
- warning denied (including clippy)
- zero overhead abstraction
-
no_std
- without
alloc
- optional header verifying
- terminate walking at any time
- step over nodes without parsing
-
- built-in standard property parsing
-
compatible
-
model
-
phandle
-
status
-
#address-cells
-
#size-cells
-
reg
-
virtual-reg
-
ranges
-
dma-ranges
-
dma-coherent
-
name (deprecated)
-
device_type (deprecated)
-