第3章 起動と終了

3.1. 起動

Armadillo-300の電源を投入してください。次のように起動ログがシリアルコンソールに表示されます。

Hermit-At v1.1.7 (Armadillo-300/eth) compiled at 18:08:48, Dec 28 2006
Uncompressing  kernel...........................................................
...............................................done.
Uncompressing ramdisk...........................................................
................................................................................
......................................................done.
Doing console=ttyAM0,115200
Linux version 2.6.12.5-at1 (build@debian) (gcc version 3.4.4 20050314 (prereleas
e) (Debian 3.4.3-13)) #1 Fri Dec 29 00:31:52 JST 2006
CPU: ARM926EJ-Sid(wb) [41069264] revision 4 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
CPU0: D cache: 4096 bytes, associativity 4, 32 byte lines, 32 sets
Machine: ARMADILLO300
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
NS9750 Rev. 1, running at 199 MHz
Built 1 zonelists
Kernel command line: console=ttyAM0,115200
PID hash table entries: 512 (order: 9, 8192 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 55168KB available (2904K code, 484K data, 100K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like a
n initrd
Freeing initrd memory: 6144K
NET: Registered protocol family 16
PCI: bus0: Fast back to back transfers enabled
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
i2c_ns: I2C ns9750 driver $Revision: 1.5 $ initializing
i2c-at24cxx: i2c at24cxx eeprom driver, (C) 2003-2005 Atmark Techno, Inc.
NetWinder Floating Point Emulator V0.97 (double precision)
Initializing Cryptographic API
gpio: Armadillo-3x0 GPIO driver, (C) 2005 Atmark Techno, Inc.
led: Armadillo-3x0 LED driver, (C) 2006 Atmark Techno, Inc.
NS9xx0 Watchdog initialized
Serial: NS9xx0 driver $Revision: 1.6 $
ttyAM0 at MMIO 0xf9200040 (irq = 36) is a NS9xx0
ttyAM1 at MMIO 0xf9200000 (irq = 34) is a NS9xx0
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
NS9750 ethernet driver.
ns9750_eth: PHY (0x13, 0x78e2) = LXT971A/972A detected at 0x0
ath_pci: 0.9.4.5 (svn r1865)
PCI: enabling device 0000:00:01.0 (0340 -> 0342)
CountryCode: 0x188
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36
Mbps 48Mbps 54Mbps
wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 10.5 phy 6.1 radio 6.3
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
unable to load wlan_scan_sta
wifi0: Atheros 5212: mem=0x80000000, irq=10
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413, REGOP
S_FUNC)
wlan: 0.8.4.2 (svn r1865)
wlan: mac acl policy registered
ath_rate_sample: 1.2 (svn r1865)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
armadillo3x0-nor: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
armadillo3x0-nor: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
armadillo3x0-nor: use default partitions(5)
Creating 5 MTD partitions on "armadillo3x0-nor":
0x00000000-0x00002000 : "ipl"
0x00002000-0x00010000 : "bootloader"
0x00010000-0x00210000 : "kernel"
0x00210000-0x007f0000 : "userland"
0x007f0000-0x00800000 : "config"
ns9750-ohci ns9750-ohci.0: NS9750 OHCI
ns9750-ohci ns9750-ohci.0: new USB bus registered, assigned bus number 1
ns9750-ohci ns9750-ohci.0: irq 75, io base 0xf9100000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
pegasus: v0.6.12 (2005/01/13), Pegasus/Pegasus II USB Ethernet driver
usbcore: registered new driver pegasus
mice: PS/2 mouse device common for all mice
i2c-s3531a: Device Type [S-353x0A]
i2c-s3531a: i2c S-3531A/S-353X0A driver, (C) 2001-2005 Atmark Techno, Inc.
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
IPv4 over IPv4 tunneling driver
ip_tables: (C) 2000-2002 Netfilter core team
NET: Registered protocol family 1
NET: Registered protocol family 10
Disabled Privacy Extensions on device c0328874(lo)
IPv6 over IPv4 tunneling driver
ip6_tables: (C) 2000-2002 Netfilter core team
NET: Registered protocol family 17
NET: Registered protocol family 15
Bridge firewalling registered
SCTP: Hash tables configured (established 2048 bind 4096)
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 6144KiB [1 disk] into ram disk... done.
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 100K
init started:  BusyBox v1.00 (2006.12.28-15:33+0000) multi-call binary
Starting fsck for root filesystem.
fsck 1.25 (20-Sep-2001)
ext2fs_check_if_mount: No such file or directory while determining whether /dev/
ram0 is mounted.
/dev/ram0: clean, 679/1024 files, 5508/6144 blocks
Checking root filesystem:                                       done
Remounting root rw:                                             done
Mounting proc:                                                  done
Mounting usbfs:                                                 done
Mounting sysfs:                                                 done
Cleaning up system:                                             done
Running local start scripts.
Changing file permissions:                                      done
Starting syslogd:                                               done
Starting klogd:                                                 done
Loading /etc/config:                                            done
Starting basic firewall:                                        done
Setting hostname:                                               done
Configuring network interfaces: info, udhcpc (v0.9.9-pre) started
debug, Sending discover...
debug, Sending select for 192.168.10.206...
info, Lease of 192.168.10.206 obtained, lease time 600
                                                                done
Starting inetd:                                                 done
generate rsa1 key ...                                           done
generate dsa key ...                                            done
generate rsa key ...                                            done
Stating sshd:                                                   done
Starting thttpd:                                                done

atmark-dist v1.8.0 (AtmarkTechno/Armadillo-300)
Linux 2.6.12.5-at1 [armv5tejl arch]

armadillo300 login:

図 3.1. 起動ログ


3.2. ログイン

起動が完了するとログインプロンプトが表示されます。表 3.1. 「シリアルコンソールログイン時のユーザ名とパスワード」に示すユーザでログインすることができます。

表 3.1. シリアルコンソールログイン時のユーザ名とパスワード

ユーザ名パスワード権限
rootrootrootユーザ
guest(なし)一般ユーザ

3.3. 終了方法

安全に終了させる場合は、次のようにコマンドを実行し、「System halted.」と表示されたのを確認してから電源を切断します。

[armadillo ~]# halt
[armadillo ~]#
System is going down for system reboot now.

Starting local stop scripts.
Exiting Syslogd!
Syncing all filesystems:                        done
Unmounting all filesystems:                     done
The system is going down NOW !!
Sending SIGTERM to all processes.
The system is halted. Press Reset or turn off power
MXC Watchdog shutdown
System halted.

図 3.2. 終了方法


リムーバブルディスクを使用していない場合は、電源を切断し終了させることもできます。

[警告]

リムーバブルディスクにデータを書き込んでいる途中に電源を切断した場合、ファイルシステム、及び、データが破損する恐れがあります。リムーバブルディスクをアンマウントしてから電源を切断するようにご注意ください。