ide info

玄箱/Pro

リアパネルの USB コネクタに接続した USB HDD が U-Boot から認識できてい るのかを確認することにした。

ide コマンド

U-Boot の ide コマンドを実行してみた。
Marvell>> ide
Usage:
ide     - IDE sub-system

Marvell>> help ide
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
ide info を実行すれば何か情報が得られそう。

ide info コマンド

まずは確認のために boot できる環境- サブボードの S-ATA コネクタに S-ATA HDD を接続して実行する。
Marvell>> ide info

IDE device 0: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 1: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 2: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 3: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 4: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 5: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 6: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 7: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 8: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 9: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device a: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device b: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device c: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device d: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device e: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device f: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 10: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 11: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 12: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 13: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 14: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 15: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 16: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 17: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 18: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 19: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 1a: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 1b: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 1c: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 1d: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 1e: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
IDE device 1f: Vendor:  Prod.:  Rev:
            Type: Hard Disk
            Capacity: not available
Marvell>>
全然認識されていない(汗)
何か使い方を間違えている?
Marvell>> help ide
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'

Marvell>>
reset してみる
Marvell>> ide reset

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
  Device 1: OK
Model: ST3120026AS                              Firm: 3.18     Ser#: 3JT328G2
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 114473.4 MB = 111.7 GB (234441648 x 512)

Marvell>> ide info

IDE device 1: Model: ST3120026AS                              Firm: 3.18     Ser#: 3JT328G2
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 114473.4 MB = 111.7 GB (234441648 x 512)
Marvell>>
でたぁ。

USB HDD 接続時

Marvell>> ide reset

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found

Marvell>>
「Marvell Serial ATA Adapter」であるから、USB HDD は認識しないのか???

usb コマンド?

Marvell>> usb
Unknown command 'usb' - try 'help'
Marvell>>
ない。


KURO-BOX/PRO
玄人志向
楽天市場
TSUKUMO ネットショップ
Yahoo!ショッピング
Sofmap
クレバリー
TwoTop New!


USB HDD からのブート
ハックの記録
LinkStation/玄箱 をハックしよう

デュアル S-ATA HDD

Copyright (C) 2003-2007 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市