View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000087 | file | General | public | 2019-06-12 17:56 | 2020-08-24 12:56 |
Reporter | dbrezack | Assigned To | christos | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | feedback | Resolution | open | ||
Summary | 0000087: Support for Flattened Device Tree files (fdt) | ||||
Description | I think it would be helpful if the file command supported Flattened Device Tree files (fdt). The file magic is "d0 0d fe ed" These resources may be helpful https://wiki.freebsd.org/FlattenedDeviceTree https://github.com/superna9999/pyfdt Thanks Data Brezack | ||||
Tags | No tags attached. | ||||
|
You mean dtb and it already does: sun50i-h5-nanopi-neo-plus2.dtb: Device Tree Blob version 17, size=25978, boot CPU=0, string block size=1870, DT structure block size=23028 |
|
Yes, file detects dtb files. But what about itb files that are composed using its source files? This way you can package several images like Linux kernel, related DTB files in one image. It also has "d0 0d fe ed" as magic, but the other fields seem to be different. See this PDF for more information: https://elinux.org/images/f/f4/Elc2013_Fernandes.pdf |
|
I looked quite a bit for fdt examples, even at the uboot source and I could not make sense of it. Do you have example files? |
|
This deb package [1] has kernel-fit.itb file in CONTENTS/boot folder. kernel-fit.itb holds zImage and a number of DTB files. The source file (ITS) can be found here [2]. [1] ftp://ftp.visionsystems.de/pub/multiio/OnRISC/Baltos/deb/stretch/kernel_3.18.32-3.deb [2] https://github.com/visionsystemsgmbh/onrisc_br_bsp/blob/master/board/vscom/baltos/kernel-fit-intree.its |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-06-12 17:56 | dbrezack | New Issue | |
2019-06-16 00:07 | christos | Assigned To | => christos |
2019-06-16 00:07 | christos | Status | new => assigned |
2019-06-16 00:08 | christos | Status | assigned => feedback |
2019-06-16 00:08 | christos | Note Added: 0003254 | |
2020-08-03 07:59 | yegorich | Note Added: 0003439 | |
2020-08-23 19:27 | christos | Note Added: 0003456 | |
2020-08-24 12:56 | yegorich | Note Added: 0003461 |