我希望创建一个实用程序来验证嵌入式(PPC或ARM) Linux (设备树源)或*.dtb (二进制)文件与来自另一个工具的*.dts配置文件。因此,我需要解析dts或dtb文件。我真的很想用Python来做这件事。有没有人知道有解析dts或dtb文件的Python库或工具?设备树编译器(dtc)的Python实现将是完美的,但我还没有看到。
即使在从零开始构建所有依赖项和构建目录之后,我也会得到Yocto的几个.bb文件的.bb错误。
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at
/home/fsl-community-bsp-jethro1/build/tmp/work/imx6q-poky-
linux-gnueabi/linux-fslc-imx/3.14-1.1.x+gitAUTOINC+327d5c9063-
r0/temp/log.do_compile.14224)
ERROR: Logfi
我的Linux内核映像uImage在我的U盘中。我想从U-Boot启动它。此外,设备树文件am335x-evm.dtb在我的U盘中。我所做的是:
U-Boot# usb start
(Re)start USB...
USB0: scanning bus 0 for devices... 1 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
U-Boot# fatls usb 0:1
3821960 uimage
kit3/
40
以下是用于引导命令的U的摘录:
bootm [addr [arg ...]]
- boot application image stored in memory
passing arguments 'arg ...'; when booting a Linux kernel,
'arg' can be the address of an initrd image
When booting a Linux kernel which requires a flat device-tree
a third argument is re