玄人志向 玄箱11at LINUX
玄人志向 玄箱11 - 暇つぶし2ch124:122
09/02/23 00:22:46 uLuI0J57
正直よくわからん。

u-bootから2.6.28のカーネル起動するとき、dtbファイルを読ませないと動かない。
カーネルデバッグとか仕込んでも、起動処理以前の「Uncompressing Kernel Image ... OK」で止まる。
dtbのソースdtsを見るとクロックとか、ハードウェアの固有情報が情報が入ってる。
u-bootでdtbを指定したら先までいった。

PowerPCはH/Wの種類が多いからH/W情報をカーネルから分離したいのか、
いつからdtcが必要なのかはわからない。

DTCはほとんどドキュメントが見つからなかったけど
URLリンク(packages.debian.org)

This tool compiles device-tree descriptions for booting PowerPC kernels
 on embedded systems without OpenFirmware.

u-boot-lsppchd-flash-1.2.0-r2.binをバイナリエディタで見たら
flat device treeって文字が見えた。1.1.4にはない。
※flat device treeがdtbらしい

    - 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 required which is the address of the of the
device-tree blob. To boot that kernel without an initrd image,
use a '-' for the second argument. If you do not pass a third
a bd_info struct will be passed instead

u-boot1.2.0の理由は、flat device treeに対応した初代玄箱のバイナリがそれだけだったから。
本当は最新にしたかった。



次ページ
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch