OpenRD に関するページです。


Marvell 88F6281 Reference Designを入手した.




  • 本体
  • 電源プラグ(12V/3A DC Power supply)
  • LANケーブル×1
  • 他のコンピュータにUSBで接続させるケーブル(Debug USB)
  • DVD (OpenRD Platform)

本体にはUSB 2.0のポート7個やGigabit Ethernet Portが2個,SDカード,VGAなど様々なものが所狭しと付いている. DVDには開発用の他,ManualなどがそれぞれZIPで固めてある.


OpenRD には SheevaPlug 同様シリアルコンソール&JTAG用に USB miniB ポートが用意されており、付属のケーブルで PC に接続する。このポートをシリアルコンソールにするには、FDTI用のドライバが必要である。しかし、USBのベンダID・プロダクトIDが SheevaPlug と異なるので注意のこと。(OpenRD では 0403:9e90, SheevaPlug では 9e88:9e8f)

Ubuntu Jaunty では、以下のファイルを用意して、念のため再起動する。

  • /etc/udev/rule.d/50-openrd-rules
    SUBSYSTEM=="usb", SYSFS{idVendor}=="0403", SYSFS{idProduct}=="9e90", RUN+="/sbin/modprobe ftdi_sio vendor=0x0403 product=0x9e90"



OpenRD/U-Boot のページへ。


Manualによると,Setup Requirementsとして

  • 電源
  • LANケーブル(Network接続のため)
  • VGAモニター,USBキーボード,USBマウス
  • USBケーブル(Type A to miniB)(コンソール用)
  • USBポート持ちのPCマシン






Linux version (jigar@localhost.localdomain) (gcc version 4.2.1) #1 Sat Aug 29 15:18:06 IST 2009
CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053177
Machine: Feroceon-KW
Using UBoot passing parameters structure
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 131072
  DMA zone: 1024 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 130048 pages, LIFO batch:31
  Normal zone: 0 pages used for memmap
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists.  Total pages: 130048
Kernel command line: console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw ubi.mtd=1,2048 root=ubi0:rootfs rootfstype=ubifs
PID hash table entries: 2048 (order: 11, 8192 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 256MB 256MB 0MB 0MB = 512MB total
Memory: 514816KB available (4376K code, 365K data, 140K init)
Calibrating delay loop... 1199.30 BogoMIPS (lpj=5996544)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16

CPU Interface
SDRAM_CS0 ....base 00000000, size 256MB 
SDRAM_CS1 ....base 10000000, size 256MB 
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e8000000, size 128MB 
PEX0_IO ....base f2000000, size   1MB 
INTER_REGS ....base f1000000, size   1MB 
NFLASH_CS ....base fa000000, size   2MB 
SPI_CS ....base f4000000, size  16MB 
CRYPT_ENG ....base f0000000, size   2MB 

  Marvell Development Board (LSP Version KW_LSP_4.2.7_patch2)-- OpenRD-Client  Soc: 88F6281 A0 LE

 Detected Tclk 200000000 and SysClk 400000000 
MV Buttons Device Load
Marvell USB EHCI Host controller #0: c095d600
PEX0 interface detected Link X1
PCI: bus0: Fast back to back transfers disabled
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Time: kw_clocksource clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
TCP established hash table entries: 65536 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
RTC registered
Use the XOR engines (acceleration) for enhancing the following functions:
  o RAID 5 Xor calculation
  o kernel memcpy
  o kenrel memzero
Number of XOR engines to use: 4
mvCesaInit: sessions=640, queue=64, pSram=f0000000
Warning: TS unit is powered off.
MV Buttons Driver Load
squashfs: version 3.3 (2007/10/31) Phillip Lougher
squashfs: LZMA suppport for by jro
NTFS driver 2.1.28 [Flags: R/W].
JFFS2 version 2.2. (NAND) <C3><82><C2><A9> 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered (default)
XGIfb: Options <NULL>
XGIfb: Relocate IO address: 1000 [00001030] 
XGIfb: Enable PCI device
XGIfb: Video ROM usage disabled
XGIfb: SR14=0 DramSzie 200000 ChannelNum 1
XGIfb: Framebuffer at 0xe8000000, mapped to 0xe0c00000, size 2048k
XGIfb: MMIO at 0xec000000, mapped to 0xe0880000, size 256k
XGIfb: XGIInitNew() ...12345678910111215171818118218319202122232425OK
XGIfb: Memory heap starting at 4096K
XGIfb: Using MMIO queue mode
XGIfb: No or unknown bridge type detected
XGIfb: Default mode is 1024x768x16 (60Hz)
XGIfb: var->pixclock=25000, htotal=1280, vtotal=1592
XGIfb: Change mode to 1024x768x16-60Hz
Console: switching to colour frame buffer device 128x48
XGIfb: Installed XGIFB_GET_INFO ioctl (80046ef8)
fb0:  frame buffer device, Version 0.8.01
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
serial8250.0: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
RAMDISK driver initialized: 20 RAM disks of 4096K size 4096 blocksize
Loading Marvell Ethernet Driver:
  o Cached descriptors in DRAM
  o DRAM SW cache-coherency
  o Single RX Queue support - ETH_DEF_RXQ=0
  o Single TX Queue support - ETH_DEF_TXQ=0
  o TCP segmentation offload enabled
  o Receive checksum offload enabled
  o Transmit checksum offload enabled
  o Network Fast Processing (Routing) supported
  o Driver ERROR statistics enabled
  o Driver INFO statistics enabled
  o Proc tool API enabled
  o Rx descripors: q0=128
  o Tx descripors: q0=532
  o Loading network interface(s):
    o eth0, ifindex = 1, GbE port = 0
    o eth1, ifindex = 2, GbE port = 1

mvFpRuleDb (dfdf0000): 16384 entries, 65536 bytes
Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI
Copyright (c) 1999-2006 Intel Corporation.
e100: Intel(R) PRO/100 Network Driver, 3.5.17-k4-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
Integrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 3097 at 0x18320000
2 cmdlinepart partitions found on MTD device nand_mtd
Using command line partition definition
Creating 2 MTD partitions on "nand_mtd":
0x00100000-0x00500000 : "uImage"
0x00500000-0x20000000 : "rootfs"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "rootfs"
UBI: MTD device size:            507 MiB
UBI: number of good PEBs:        4055
UBI: number of bad PEBs:         1
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             0
UBI: total number of reserved PEBs: 4055
UBI: number of PEBs reserved for bad PEB handling: 40
UBI: max/mean erase counter: 1/0
UBI: background thread "ubi_bgt0d" started, PID 257
ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
ehci_marvell ehci_marvell.70059: USB 2.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
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
USB Universal Host Controller Interface driver v3.0
usb 1-1: new high speed USB device using ehci_marvell and address 2
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 7 ports detected
usb 1-1.1: new low speed USB device using ehci_marvell and address 3
usb 1-1.1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
Linux telephony interface: v1.00
Marvell Telephony Driver:

Warning Tdm is Powered Off
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
raid6: int32x1     98 MB/s
raid6: int32x2    114 MB/s
raid6: int32x4    123 MB/s
raid6: int32x8    111 MB/s
raid6: using algorithm int32x4 (123 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
raid5: measuring checksumming speed
   arm4regs  :  1089.600 MB/sec
   8regs     :   758.400 MB/sec
   32regs    :   904.400 MB/sec
raid5: using function: arm4regs (1089.600 MB/sec)
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
dm_crypt using the OCF package.
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mvsdmmc: irq =28 start f1090000
mvsdmmc: irq_detect=93
input: PS/2+USB Mouse as /class/input/input0
input: USB HID v1.00 Mouse [PS/2+USB Mouse] on usb-ehci_marvell.70059-1.1
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.14 (Thu May 31 09:03:25 2007 UTC).
ALSA device list:
  #0: Marvell mv88fx_snd ALSA driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size:   506507264 bytes (494636 KiB, 483 MiB, 3989 LEBs)
UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
UBIFS: media format:       4 (latest is 4)
UBIFS: default compressor: zlib
UBIFS: reserved for root:  0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem).
Freeing init memory: 140K
eth0: started
eth1: started
usb 1-1.3: new full speed USB device using ehci_marvell and address 4
usb 1-1.3: configuration #1 chosen from 1 choice
hub 1-1.3:1.0: USB hub found
hub 1-1.3:1.0: 3 ports detected
usb 1-1.3.1: new low speed USB device using ehci_marvell and address 5
usb 1-1.3: configuration #1 chosen from 1 choice
hub 1-1.3:1.0: USB hub found
hub 1-1.3:1.0: 3 ports detected
usb 1-1.3.1: new low speed USB device using ehci_marvell and address 5
usb 1-1.3.1: configuration #1 chosen from 1 choice
input: Alps Electric Apple USB Keyboard as /class/input/input1
input: USB HID v1.00 Keyboard [Alps Electric Apple USB Keyboard] on usb-ehci_marvell.70059-1.3.1
eth0: link up, full duplex, speed 100 Mbps
eth0: stopped
eth0: link down
eth0: started
eth0: link up, full duplex, speed 100 Mbps
eth0: stopped
eth0: link down
eth0: started
eth0: link up, full duplex, speed 100 Mbps

上の起動メッセージから、ルートファイルシステムに UBIFS を採用しているのが分かる。UBIFS の詳しい説明は、ここ(Cerevo tech blog - Introduction of UBIFS)が詳しい。



  • /etc/sysconfig/network-scripts/ifcfg-eth0 の書換
    DEVICE=eth0    #kakikae   #tuika
  • /etc/resolve.conf の書換
    ; generated by /sbin/dhclient-script
    nameserver   #変更
    nameserver aaa.bbb.ccc.ddd   #変更
    search       #変更(localhost ->
    この後、ifdown eth0, ifup eth0 をすれば、設定反映=


デフォルトで"admin"ユーザがあるので、それを使用してみる。(Passwordなど詳細はManualにあり) rootになる(rootアカウントは用意されている)方法として"sudo", "su" が使用可能である。 "su"は設定なしで使用可能であるが, "sudo"は /etc/sudoers を編集しないと使用できない.

[admin@OpenRD ~]$ su -
-bash-3.2# vi /etc/sudoers 
  ## Sudoers allows particular users to run various commands as
  ## the root user, without needing the root password.
  ## Examples are provided at the bottom of the file for collections
  ## of related commands, which can then be delegated out to particular
  ## users or groups.
  ## This file must be edited with the 'visudo' command.
  ## Next comes the main part: which users can run what software on
  ## which machines (the sudoers file can be shared between multiple
  ## systems).
  ## Syntax:
  ##      user    MACHINE=COMMANDS
  ## The COMMANDS section may have other options added to it.
  ## Allow root to run any commands anywhere
  root    ALL=(ALL)       ALL
  admin   ALL=(ALL)       ALL     #追加
  ## Allows members of the 'sys' group to run networking, software,
  ## service management apps and more.
  ## Allows people in group wheel to run all commands
  # %wheel        ALL=(ALL)       ALL
-bash-3.2# exit
[admin@OpenRD ~]$ sudo ls
audit_log_user_command(): Connection refused
Desktop  Documents  Download  Music  Pictures  Public  Templates  Videos

只, sudo を実行する度に"audit_log_user_command(): Connection refused"が返される(原因調査中).


bash-3.2# date
Fri Apr  7 07:20:52 EDT 2034

何故か 2034年 & EDT. (EDT = UTC - 4hour = JST - 13 hour)


[admin@OpenRD ~]$ su - 
-bash-3.2# export TZ=JST-9


しかし、このままだと再起動したときにDefault(EDT)に戻ってしまう。 従って、次のように/etc/localtimeを強制変更する(参考:テキトー管理者にっき!)

-bash-3.2# ln -f /usr/share/zoneinfo/japan /etc/localtime


-bash-3.2# date
Thu Oct 29 07:15:59 JST 2009
-bash-3.2# date 10281817
Wed Oct 28 18:17:00 JST 2009
-bash-3.2# date
Wed Oct 28 18:17:05 JST 2009



添付ファイル: file88f6281_login.JPG 698件 [詳細]

トップ   差分 バックアップ リロード   一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2014-12-23 (火) 09:19:50 (1252d)