我希望创建一个实用程序来验证嵌入式(PPC或ARM) Linux (设备树源)或*.dtb (二进制)文件与来自另一个工具的*.dts配置文件。因此,我需要解析dts或dtb文件。有没有人知道有解析dts或dtb文件的Python库或工具?设备树编译器(dtc)的Python实现将是完美的,但我还没有看到。
pi-0/conf_DEVICETREE= "sun8i-h2-plus-orangepi-zero.dtb“中,但是元-sunxi目录中没有"sun8i-h2-plus-orangepi-zero.dts通过网络上的serachin,我找到了sun8i-h2-plus-orangepi-zero.dts:&spi0 {
/* Disable SPI NOR by default
我遵循这个,并成功地在QEMU3.1.0上运行xen 4.12.0,Linux4.20.11作为Dom0。然后,我尝试使用更高版本的qemu(qemu 5.1.0和6.0.0)来做同样的事情,但是这个过程陷入了在linux中运行xen的步骤。Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers$ uname -a
Linux Cooper-