U-Boot

LS-QL

U-Boot を見ていく。

コンセントを刺す

Orion1   CPU =  Low

Checking DATA BUS
Checking ADDRESS BUS

> Checking hardware info ...
=== CPU-ID       : 0x00005182 ===
=== Strap status : 0x00801030 ===
=== H/W boardId  :       0x2b ===
=== boardId      :       0x1f ===
=== micon_support:        off ===
> OK.
=== BUFFALO LS-QL/R5 U-Boot. ===
 ** LOADER **
 ** BUFFALO BOARD: BUFFALO_BOARD_LS_QL_R5 LE (CFG_ENV_ADDR=fffff000)


U-Boot 1.1.1 (Jan 27 2009 - 15:37:01) Marvell version: 1.12.1 - TINY
Buffalo Version: 1.24-1.00

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

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


USB 0: host mode
Net:   egiga0 [PRIME]
Using 88E1118 phy

Marvell Serial ATA Adapter
Integrated Sata device found
found port multi device 0
PM found

buffalo_change_power_status > Read 0x5c
buffalo_IsStopAtUbootStatus > MagicKey=0x5c
buffalo_change_power_status > Read 0x5c
buffalo_change_power_status > Read 0x5c
buffalo_change_power_status > Writing 0x5c

Please Press HDD power button to continue ...
SysClock が 200MHz ? LS-HGLは 250MHz と出ているのに。。。

電源 ON

電源 SW を押す。
buffalo_change_power_status > Read 0x5c
buffalo_change_power_status > Writing 0x3a
HDD1 Power ON
HDD2 Power ON
HDD3 Power ON
HDD4 Power ON

Marvell Serial ATA Adapter
Integrated Sata device found
Port Multiplier found @ 0 0. Vendor: 11ab ports: 4
  Device 0 @ 0 0 0:
Model: Maxtor 6Y160M0                           Firm: YAR511W0 Ser#: Y48DJ6QE   
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 156334.5 MB = 152.6 GB (320173056 x 512)

MAC Address on eth0 : 00:1D:73:A5:32:33
MAC Addread read from block device 0 :
SKIP Loading kernel and initrd
This HDD [block device 0] seems to contain other system
Loading from block device 0, partition 6: Name: hda6
  Type: U-Boot
** Bad partition - 1:0 **
serch_boot_drv (360)>Read error : device 1
SKIP Loading kernel and initrd
This HDD [block device 1] seems to contain other system
** Bad partition 6 **
** Bad partition - 2:0 **
serch_boot_drv (360)>Read error : device 2
SKIP Loading kernel and initrd
This HDD [block device 2] seems to contain other system
** Bad partition 6 **
** Bad partition - 3:0 **
serch_boot_drv (360)>Read error : device 3
SKIP Loading kernel and initrd
This HDD [block device 3] seems to contain other system
** Bad partition 6 **
All devices look like other system
Anyway boot from any device
Using device ide0, partition 1

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

2115640 bytes read
   Image Name:   Linux-2.6.22.7
   Created:      2009-03-09   8:47:45 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2115576 Bytes =  2 MB
   Load Address: 00008000
   Entry Point:  00008000
Using device ide0, partition 1

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

7014769 bytes read
   Image Name:   initrd
   Created:      2009-03-16  13:09:00 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7014705 Bytes =  6.7 MB
   Load Address: 00000000
   Entry Point:  00000000
Using device ide1, partition 1
** Bad partition 1 **
serch_boot_drv (410)>No kernel_file 1
Using device ide1, partition 1
** Bad partition 1 **
serch_boot_drv (465)>No init_file 1
Using device ide2, partition 1
** Bad partition 1 **
serch_boot_drv (410)>No kernel_file 2
Using device ide2, partition 1
** Bad partition 1 **
serch_boot_drv (465)>No init_file 2
Using device ide3, partition 1
** Bad partition 1 **
serch_boot_drv (410)>No kernel_file 3
Using device ide3, partition 1
** Bad partition 1 **
serch_boot_drv (465)>No init_file 3
Booting from Device 0
hit any key to switch tftp boot.
Hit any key to stop autoboot:  0
Hit any key to stop autoboot:  0
Marvell>>
いつも通り、2回目のカウントダウンで何かキーを押して、 U-Boot のコマンドモードに入る。

help

Marvell>> help
?       - alias for 'help'
base    - print or set address offset
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootend - with micon. send bootend.
bootm   - boot application image from memory
bootp   - boot image via network using BootP/TFTP protocol
bubt    - Burn an image on the Boot Flash.
cmp     - memory compare
cp      - memory copy
cpumap - Display CPU memory mapping settings.
crc32   - checksum calculation
date    - get/set/reset date & time
diskboot- boot from IDE device
echo    - echo args to console
erase   - erase FLASH memory
ext2load- load binary file from a Ext2 filesystem
ext2ls- list files in a directory (default /)
flinfo  - print FLASH memory information
go      - start application at address 'addr'
help    - print online help
ide     - IDE sub-system
loop    - infinite loop on address range
md      - memory display
mm      - memory modify (auto-incrementing)
mtest   - simple RAM test
mw      - memory write (fill)
nm      - memory modify (constant address)
pci     - list and access PCI Configuraton Space
pmset hdd(led) [No.] on(off)
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset   - Perform RESET of the CPU
resetenv        - Return all environment variable to default.
saveenv - save environment variables to persistent storage
setenv  - set environment variables
shutdown        - with micon. Poff .
smart     -  Command  Device No
tftpboot- boot image via network using TFTP protocol
version - print monitor version
Marvell>>

環境変数

Marvell>> printenv
bootargs=$(bootargs_base) $(bootargs_root)
baudrate=115200
loads_echo=0
ipaddr=192.168.11.150
serverip=192.168.11.1
rootpath=/nfs/arm
cpuName=926
CASset=min
MALLOC_len=4
bootargs_end=:::DB88FXX81:eth0:none
ethact=egiga0
ethaddr=00:1D:73:A5:32:33
buffalo_ver=BOOTVER=1.24
buffalo_minor_ver=BOOT_MINOR_VER=1.00
build_time=15:36:59
initrd=initrd.buffalo
kernel=uImage.buffalo
bootargs_base=console=ttyS0,115200
bootargs_root=root=/dev/sda2 rw initrd=0x00800040,32M panic=5
def_tftp=tftp 0x00100000 $(kernel); tftp 0x00800000 $(initrd); setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver) tftpboot=yes; bootm 0x00100000 0x00800000
stdin=serial
stdout=serial
stderr=serial
enaMonExt=no
enaFlashBuf=yes
enaCpuStream=no
ethprime=egiga0
bootdelay=3
disaMvPnp=no
overEthAddr=no
usb0Mode=host
bootargs_func=func=0
filesize=6B0971
bootcmd=ide reset; ext2load ide 0:1 0x00100000 /$(kernel); ext2load ide 1:1 0x00800000 /$(initrd); setenv bootargs $(bootargs_base) $(bootargs_root) $(bootargs_func) $(bootargs_debug) $(buffalo_ver); bootm 0x00100000 0x00800000

Environment size: 1061/4092 bytes
Marvell>>


LS-QL
バッファローダイレクト
楽天市場
amazon
livedoorデパート
Sofmap
バリューモア
Yahoo!ショッピングトップ
パソQ
ムラウチドットコム


シール
ハックの記録
LinkStation/玄箱 をハックしよう

ファームウェア 1.07 でハックキットの確認

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