玄箱/Pro に HS-DHGL の HDD

HS-DHGL KURO-BOX/Pro

HS-DHGL 新型は玄箱/Pro とほぼ同じハードウェアになったのだから、 玄箱/Pro で LS-GL や HS-DHGL の標準ファームやハックキットが動けば LS-GL や HS-DHGL を動作確認用に温存しておく必要がなくなる。
動作確認用に温存しておくのは玄箱/Pro だけで良くなるのである。

下心なく(笑)
HS-DHGL でハックキット+延長対応ハック de 録!! 外部チューナコントロールつきをセットアップした HDD を BUFFALO からの購入製品である(しつこい) 玄箱/Pro につないで boot してみる。

玄箱/Pro は initrd を使っていないので、うまく立ちあがらんやろな。

玄箱/Pro に HS-DHGL の HDD を接続

玄箱/Pro の電源 ON

Orion1   CPU =  Low

=== KURO U-Boot. ===
 ** LOADER **
 ** KUROBOX BOARD: KURO_BOX  LE (CFG_ENV_ADDR=fffff000)


U-Boot 1.1.1 (Apr 10 2007 - 18:10:08) Marvell version: 1.12.1 - TINY

DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB
[256kB@fffc0000] Flash: 256 kB
Addresses 20M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (20M - 16M): Done
NAND: 256 MB

Soc: 88F5182 A2
CPU: ARM926 (Rev 0) running @ 500Mhz
Orion 1 streaming disabled
SysClock = 250Mhz , TClock = 166Mhz


USB 0: host mode
USB 1: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Net:   egiga0 [PRIME]
Using 88E1118 phy
hit any key to switch tftp boot.
Hit any key to stop autoboot:  0
<<system_bootend>>
Hit any key to stop autoboot:  0

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
  Device 0: OK
Model: WDC WD3200SD-01KNB0                      Firm: 08.05J08 Ser#:      WD-WCAMR1683855
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 305245.3 MB = 298.0 GB (625142448 x 512)

Using device ide0, partition 1

Loading from block device ide device 0, partition 1: Name: hda1
  Type: U-Boot  File:/uImage.buffalo

1834900 bytes read
<<stop_sound>>
## Booting image at 00100000 ...
   Image Name:   Linux-2.6.16.16-arm1
   Created:      2007-03-07   5:17:42 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1834836 Bytes =  1.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

arg:console=ttyS0,115200 root=/dev/sda2 rw panic=5 BOOTVER=1.09
CONFIG_BUFFALO_PLATFORM CONFIG_BUFFALO_LINKSTATION_LSGL ---
Uncompressing Linux....................................................................................................................... done, booting the kernel.
Linux version 2.6.16.16-arm1 (root@dh2-bs) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #9 Wed Mar 7 14:17:36 JST 2007
CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
Machine: MV-88fxx81
Using UBoot passing parameters structure
Sys Clk = 250000000, Tclk = 166664740


- Warning - This LSP release was tested only with U-Boot release 1.7.3

Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
Built 1 zonelists
Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw panic=5 BOOTVER=1.09
PID hash table entries: 1024 (order: 10, 16384 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 128MB 0MB 0MB 0MB = 128MB total
Memory: 125952KB available (3141K code, 539K data, 108K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
FLASH boardId = 12
Flash bankwidth 1, base ff800000, size 400000
BUFFALO LS_GL FLASH size 4096[KB]

  Marvell Development Board (LSP Version 1.7.8_NAS)-- BUFFALO_BOARD_LS_GL

 Detected Tclk 166664740 and SysClk 250000000
Marvell USB EHCI Host controller #0: c0537e00
Marvell USB EHCI Host controller #1: c0537c00
pexBarOverlapDetect: winNum 2 overlap current 0
mvPexInit:Warning :Bar 2 size is illigal
it will be disabled
please check Pex and CPU windows configuration
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers enabled
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
use IDMA acceleration in copy to/from user buffers. used channels 2 and 3
Done.
cesadev_init(c0011314)
mvCesaInit: sessions=640, queue=32, pSram=f0000000
Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
SGI XFS with no debug enabled
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 3) is a 16550A
serial8250: ttyS1 at MMIO 0x0 (irq = 4) is a 16550A
RAMDISK driver initialized: 3 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
Marvell Gigabit Ethernet Driver 'egiga':
  o Ethernet descriptors in DRAM
  o DRAM SW cache-coherency
  o Checksum offload enabled
  o Loading network interface ** egiga_init_module (0)
'eth0'
Intergrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
** BUFFALO Disable Command Queuing Function [0 0] **
  Vendor: WDC       Model: WD3200SD-01KNB0   Rev: 08.0
  Type:   Direct-Access                      ANSI SCSI revision: 03
Linux IAL (ERROR) : retry command host=0, bus=0 SCpnt = c07a4ba0
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3 sda4
sd 0:0:0:0: Attached scsi disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
physmap flash device: 400000 at ff800000
>jedec_probe
Found: SST 39LF020
phys_mapped_flash: Found 1 x8 devices at 0x0 in 8-bit bank
number of JEDEC chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cmdlinepart partition parsing not available
RedBoot partition parsing not available
ehci_platform ehci_platform.4523: EHCI Platform Host Controller
ehci_platform ehci_platform.4523: new USB bus registered, assigned bus number 1
ehci_platform ehci_platform.4523: irq 17, io mem 0x00000000
ehci_platform ehci_platform.4523: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci_platform ehci_platform.16781: EHCI Platform Host Controller
ehci_platform ehci_platform.16781: new USB bus registered, assigned bus number 2
ehci_platform ehci_platform.16781: irq 12, io mem 0x00000000
ehci_platform ehci_platform.16781: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
USB Universal Host Controller Interface driver v2.3
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
Kernel event proc (C) BUFFALO INC. V.1.00 installed.
MICON ctrl (C) BUFFALO INC. V.1.00 installed.
MICON V2 (C) BUFFALO INC. V.1.00 installed.
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
> exit initrd_load
XFS mounting filesystem sda2
VFS: Mounted root (xfs filesystem).
Freeing init memory: 108K
INIT: version 2.86 booting
Activating swap:swapon on /dev/sda3
Adding 257032k swap on /dev/sda3.  Priority:-1 extents:1 across:257032k
.
Setting the system clock..
System Clock set. Local time: Sun Mar 23 12:50:39 JST 2008.
Cleaning up ifupdown....
Loading device-mapper support.
Will now check all file systems.
fsck 1.40-WIP (14-Nov-2006)
Checking all file systems.
[/sbin/fsck.ext3 (1) -- /boot] fsck.ext3 -a -C0 /dev/sda1
/dev/sda1: clean, 13/50200 files, 16795/200781 blocks (check in 4 mounts)
[/sbin/fsck.xfs (1) -- /mnt] fsck.xfs -a /dev/sda4
/sbin/fsck.xfs: XFS file system.
Done checking file systems.
A log is being saved in /var/log/fsck/checkfs if that location is writable.
Setting kernel variables...done.
Will now mount local filesystems:kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
XFS mounting filesystem sda4
.
Will now activate swapfile swap:done.
Cleaning /tmp...done.
Cleaning /var/run...done.
Cleaning /var/lock...done.
Setting up networking....
Configuring network interfaces...done.
Setting console screen modes and fonts.
Initializing random number generator...done.
err: >AnalyzeRecvPacket:This is invalid RespCode.(code=244)
INIT: Entering runlevel: 2
Starting system log daemon: syslogd.
Starting kernel log daemon: klogd.
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device
usbcore: registered new driver ftdi_sio
drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver
Starting DHCP server: dhcpd.
Starting MTA:eth0: link up<5>, full duplex<5>, speed 100 Mbps<5>
 exim4.
Starting LPRNG printer spooler: lpd.
Starting internet superserver: inetd.
Starting Samba daemons: nmbd smbd.
Starting NTP server: ntpd.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: crond.
start
Starting HTTPD services: /usr/local/apache/bin/apachectl start: httpd started

killall: chk_mediaserver.sh: no process killed
Start services: pcastd scheduler
mv7dxu2_d: module license 'Proprietary' taints kernel.
usbcore: registered new driver mv7dxu2_d
usbcore: registered new driver mv7dxu2_0
usbcore: registered new driver mv7dxu2_1
usbcore: registered new driver mv7dxu2_2
usbcore: registered new driver mv7dxu2_3
Linux video capture interface: v1.00
usbcore: registered new driver AVerMedia USB MPEG-2 Capture
AVerMedia USB MPEG-2 Capture version 0.22 loaded
pcastd 0.5.9  start.
key='server', value='on'
key='media', value='/mnt/disk1/share/videos'
Set pcast_mp2000 seting media=global_param.public_root
key='usbdisk', value='1'
key='limit_media', value=''
key='limit_pass', value=''
EOF Detect.
config '/etc/pcast/pcastd.conf' open.
key='server_port', value='8000'
key='client_language_code', value='sjis'
key='skin_root', value='/etc/pcast/theme/pcast'
key='us_skin_root', value='/etc/pcast/theme_us/pcast'
key='flag_unknown_extention_file_hide', value='true'
key='flag_image_viewer', value='false'
key='flag_daemon', value='true'
key='flag_debug_log_output', value='false'
key='debug_log_filename', value='/mnt/disk1/_share/pcastd_debug.log'
EOF Detect.
Daemoning....
killall: mt-daapd: no process killed
Start services: mediaserver
Start services: EPGd iRCommander
EPGd : version 1.1.0
0.2.0
Starting clientUtil_server:starting on eth0
Starting services: rarpd tftpd rarpcfgd fwupdated.
Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 4.0 hackkit ttyS0

hackkit login: 
何事もなく立ち上がってきた。

考察

ハックキットは、initrd を使っていない。
(正確には、わざわざ initrd 内での処理を 無効化して initrd を使っている。)
なので、玄箱/Pro の U-Boot の設定でも問題なく起動してきた。

標準ファームは、、、、
立ち上がることは立ち上がるだろう。
でも、initrd の /linuxrc でいろいろなことをやっているので、 それを実行しないとするなら、 標準ファームの「動作確認」とは言えそうにない。

LS-GL/HS-DHGL 標準ファームを玄箱/Pro で「動作」させるには U-Boot の設定(変数の設定)が必要。
逆に言えば、 U-Boot の設定(変数の設定)が必要だが、 玄箱/Pro で LS-GL/HS-DHGL 標準ファームを 玄箱/Pro で「動作」させられるだろう。




HS-DH320GL
楽天市場
Yahoo!ショッピング
somap.com
TSUKUMO ネットショップ
ValuMore!
ムラウチドットコム
アット・ニフティストア icon
Joshin web icon

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

SCON-KIT/PRO
玄人志向
TSUKUMO ネットショップ
Yahoo! ショッピング
パソQ
ValuMore
uWorks

玄箱PROをハックしよう
ASCII
楽天ブックス
Amazon
cbook24
e-hon
JBook
BK1
livedoorブックス
紀伊國屋書店BookWeb


時計 / Clock
ハックの記録
LinkStation/玄箱 をハックしよう

HS-DGLシリーズ ファームウェア アップデータ Ver.1.66β

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