5. boot sequence中のピン設定
1. Power-on
2. Setting by the bootrom
3. Setting by bootcode.bin
4. Setting by dt-blob.bin
5. Setting by the GPIO command in config.txt
6. Additional firmware pins (e.g. UARTS)
7. Kernel/Device Tree
4と5に注目 Device Tree blob file は、2014/7/14 から対応
Changing the default pin configuration
https://www.raspberrypi.org/documentation/configuration/pin-configuration.md
2.ブートシーケンス
6. Dt-blob.bin
→ 設定ファイルのバイナリ
• 最近のraspberry Piのイメージには、含まれていません。
• /boot に配置
• Dt-blob.bin example code
https://github.com/raspberrypi/firmware/blob/master/extra/dt-blob.dts
• NOOBSは、パーティションの切り方がraspbianと異なるので注意
NOTE: In the case of NOOBS installs, the DTB file should be placed on the recovery partition
instead.
Changing the default pin configuration
https://www.raspberrypi.org/documentation/configuration/pin-configuration.md
3.dt-blob
カーネルやデバイスツリーをリコンパイルする必要もなく、config.txtに、
オプション設定を1つ追加するだけで、JTAG接続できることがわかりました。
Raspberry Pi Zero と普通のRaspbianの組み合わせでのJTAG接続について、
Webに、あまり資料がなかったので、今回、ご紹介いたしました。