Quantcast
Channel: NKBMobile のメモ
Viewing all articles
Browse latest Browse all 42

obsA7-001 購入SSD取付け起動

$
0
0
OpenBlocks A7 の設定などをメモっていきます。初回は、購入とSSD取付け起動について。

OpenBlocks A7 Plat’Homeの 製品情報ページです。
http://openblocks.plathome.co.jp/products/obs_a/a7/

1.開梱した内容物

2.天板を取り外した基板の画像

3.SSDの取付け

http://openblocks.plathome.co.jp/products/obs_a/a7/option.htmlSSDパッケージはPH-20G/SSDSA/A7 (OpenBlocks A7用 SLC SSD 20GB)を選んだ。
2.5インチディスクサイズに付属のスペーサをカマして取り付ける。

4.電源の投入起動

ホーム > 製品情報 > OpenBlocks A Family > A7 > 各種ドキュメント
http://ftp.plathome.co.jp/pub/OBSA7/Documents/OBSA_UsersGuide_1.1.0.pdfを読んで、
コンソール用シリアルケーブルを115200bpsで接続して電源をONにする。

U-Boot 1.1.4 (Sep 19 2013 - 12:04:37)
Plat’Home version: 1.2.6 A7 (Base: Marvell version: 3.5.9)

U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CF480

Soc: 88F6282 A1CPU running @ 600Mhz L2 running @ 300Mhz
SysClock = 300Mhz , TClock = 200Mhz
(略)
## Booting image at 02000000 ...
Image Name: OBSA7 3.2.40-1
Created: 2013-09-27 1:33:17 UTC
Image Type: ARM Linux Multi-File Image (gzip compressed)
Data Size: 47379757 Bytes = 45.2 MB
(略)
INIT: Entering runlevel: 2
[ ok ] Starting monitoring init button daemon for openblocks: pshd.
[ ok ] Starting enhanced syslogd: rsyslogd.
[ ok ] Starting LED control daemon for openblocks: runled.
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting OpenBSD Secure Shell server: sshd.

Debian GNU/Linux 7 obsa7 ttyS0

obsa7 login: root
Password: root

5.SSDの区画を好みのサイズに切る

SWAP領域はいまさら不要と思いつつも作ってしまう。
root@obsa7:~# fdisk -l

Disk /dev/sda: 20 GB, 20012106240 bytes
255 heads, 63 sectors/track, 2433 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 997 8008371 83 Linux
/dev/sda2 998 2366 10988460 83 Linux
/dev/sda3 2367 2433 530145 82 Linux swap

6.フォーマット

# mke2fs -j -L DEBIAN /dev/sda1
# mke2fs -j -L WORK10G /dev/sda2
# mkswap /dev/sda3
以前は # tune2fs -c 0 -i 0 /dev/sda1 とかしていたが、
# dumpe2fs -h /dev/sda1 で見ると
|Maximum mount count: -1
|Check interval: 0 ()
-c max-mount-counts と -i interval-between-checks はディフォルトになり不要になったようだ。

7.ストレージ併用モードで起動

http://openblocks.plathome.co.jp/support/cookbook/02.html
/dev/sda1のラベルを「DEBIAN」を指定すると、RAMディスクモードからストレージ併用モードになり、RAMディスクモードで必要な、ユーザーエリアへの保存操作が不要になるようだ。
<RAMディスクモードのマウント状態>
root@obsa7:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 142799 110186 25241 82% /
/dev/root 142799 110186 25241 82% /
tmpfs 103392 128 103264 1% /run
tmpfs 5120 0 5120 0% /run/lock
tmpfs 10240 0 10240 0% /dev
tmpfs 206780 0 206780 0% /run/shm
tmpfs 393216 48744 344472 13% /.rw
aufs 393216 48744 344472 13% /etc
aufs 393216 48744 344472 13% /bin
aufs 393216 48744 344472 13% /home
aufs 393216 48744 344472 13% /lib
aufs 393216 48744 344472 13% /sbin
aufs 393216 48744 344472 13% /usr
aufs 393216 48744 344472 13% /var
aufs 393216 48744 344472 13% /root
aufs 393216 48744 344472 13% /opt
aufs 393216 48744 344472 13% /srv
aufs 393216 48744 344472 13% /media
root@obsa7:~#
<ストレージ併用モードのマウント状態>
root@obsa7:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 142799 110206 25221 82% /
/dev/root 142799 110206 25221 82% /
tmpfs 103392 128 103264 1% /run
tmpfs 5120 0 5120 0% /run/lock
tmpfs 10240 0 10240 0% /dev
tmpfs 206780 0 206780 0% /run/shm
/dev/sda1 7882560 197972 7284172 3% /.rw
aufs 7882560 197972 7284172 3% /etc
aufs 7882560 197972 7284172 3% /bin
aufs 7882560 197972 7284172 3% /home
aufs 7882560 197972 7284172 3% /lib
aufs 7882560 197972 7284172 3% /sbin
aufs 7882560 197972 7284172 3% /usr
aufs 7882560 197972 7284172 3% /var
aufs 7882560 197972 7284172 3% /root
aufs 7882560 197972 7284172 3% /opt
aufs 7882560 197972 7284172 3% /srv
aufs 7882560 197972 7284172 3% /media
root@obsa7:~#

・初回起動のときのコンソールメッセージ

EXT3-fs (sda1): using internal journal
EXT3-fs (sda1): mounted filesystem with ordered data mode
aufs test_add:264:mount[942]: uid/gid/perm /root 0/0/0700, 0/0/0755
Extract optional files from FlashROM(mtd6)... done. ←ココ
Creating SSH2 RSA key; this may take some time ...
Creating SSH2 DSA key; this may take some time ...
Creating SSH2 ECDSA key; this may take some time ...
[ ok ] Cleaning up temporary files... /tmp.
ストレージ併用モードでの初回起動は、FlashROM(mtd6)を読み出すようだ。


Viewing all articles
Browse latest Browse all 42

Trending Articles


Girasoles para colorear


mayabang Quotes, Torpe Quotes, tanga Quotes


Tagalog Quotes About Crush – Tagalog Love Quotes


OFW quotes : Pinoy Tagalog Quotes


Long Distance Relationship Tagalog Love Quotes


Tagalog Quotes To Move on and More Love Love Love Quotes


5 Tagalog Relationship Rules


Best Crush Tagalog Quotes And Sayings 2017


Re:Mutton Pies (lleechef)


FORECLOSURE OF REAL ESTATE MORTGAGE


Sapos para colorear


tagalog love Quotes – Tiwala Quotes


Break up Quotes Tagalog Love Quote – Broken Hearted Quotes Tagalog


Patama Quotes : Tagalog Inspirational Quotes


Pamatay na Banat and Mga Patama Love Quotes


Tagalog Long Distance Relationship Love Quotes


BARKADA TAGALOG QUOTES


“BAHAY KUBO HUGOT”


Vimeo 10.7.0 by Vimeo.com, Inc.


Vimeo 10.7.1 by Vimeo.com, Inc.