Help us understand the problem. What is going on with this article?

メモ:Device tree blob (.dtb)をDevice tree source (.dts)に戻す

More than 5 years have passed since last update.

Device Tree Compiler (DTC)は、通常はDevice tree source (.dts)からDevice tree blob (.dtb)に変換するものだが、逆変換もできるらしい。

Ubuntu 15.04にDTCをインストールして、確認してみる。

$ sudo apt-get install device-tree-compiler

手持ちのRaspberry Piのdtbファイルを変換してみる。

$ dtc -I dtb -O dts -o bcm2708-rpi-b.dts bcm2708-rpi-b.dtb 
$ cat bcm2708-rpi-b.dts
/dts-v1/;

/ {
    #address-cells = <0x1>;
    #size-cells = <0x1>;
    compatible = "brcm,bcm2708";
    model = "Raspberry Pi Model B";
    interrupt-parent = <0x1>;

(以下省略)
spicemanjp
うごごごご。
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした