第4章 起動と終了

4.1. 起動

Armadilloの電源を投入してください。次のように起動ログがシリアル通信ソフトウェアに表示されます。

Hermit-At v1.1.20 (Armadillo-500/fx) compiled at 20:30:31, Oct 14 2008
Uncompressing  kernel...........................................................
..............................................done.
Uncompressing ramdisk...........................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
.................................................done.
Linux version 2.6.26-at1 (2.6.26) (build@sv-build) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 PREEMPT Wed Oct 22 20:49:03 JST 2008
CPU: ARMv6-compatible processor [4107b364] revision 4 (ARMv6TEJ), cr=00e5387f
Machine: Armadillo-500 FX
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIPT 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 in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttymxc0,115200 usb-storage.delay_use=0
MXC IRQ initialized
PID hash table entries: 512 (order: 9, 2048 bytes)
MXC GPT timer initialized, rate = 60000000
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 107656KB available (3104K code, 198K data, 128K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 480 bytes
NET: Registered protocol family 16
L2X0 cache controller enabled
CPU is i.MX31 Revision 2.0
Clock input source is 26000000
MXC GPIO hardware
Using SDMA I.API
MXC DMA API initialized
SCSI subsystem initialized
CSPI: mxc_spi-2 probed
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
MXC I2C driver
MXC I2C driver
clk: Unable to get requested clock: dfm_clk
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
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)
TCP reno registered
NET: Registered protocol family 1
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 18801K
usb: Host 2 host (isp1504) registered
usb: Host 1 host (serial) registered
usb: OTG host (isp1504) registered
Low-Level PM Driver module loaded
NetWinder Floating Point Emulator V0.97 (double precision)
DPTC driver module loaded
msgmni has been set to 247
io scheduler noop registered
io scheduler cfq registered (default)
MXC/iMX Backlight Driver
Console: switching to colour frame buffer device 80x30
mxcfb: fb registered, using mode KYOCERA-VGA
Serial: MXC Internal UART driver
mxcintuart.0: ttymxc0 at MMIO 0x43f90000 (irq = 45) is a Freescale MXC
console [ttymxc0] enabled
mxcintuart.1: ttymxc1 at MMIO 0x43f94000 (irq = 32) is a Freescale MXC
mxcintuart.4: ttymxc4 at MMIO 0x43fb4000 (irq = 47) is a Freescale MXC
brd: module loaded
loop: module loaded
wsim_pm: W-SIM Power Management for i.MX31
PPP generic driver version 2.4.2
smsc911x: Driver version 2008-06-02.
eth0: SMSC911x MAC Address: 00:11:0c:00:99:88
Driver 'sd' needs updating - please use bus_type methods
armadillo5x0-nor: Found 1 x16 devices at 0x0 in 16-bit bank
 Intel/Sharp Extended Query Table at 0x010A
 Intel/Sharp Extended Query Table at 0x010A
 Intel/Sharp Extended Query Table at 0x010A
 Intel/Sharp Extended Query Table at 0x010A
 Intel/Sharp Extended Query Table at 0x010A
Using buffer write method
Using auto-unlock on power-up/resume
cfi_cmdset_0001: Erase suspend on write enabled
armadillo5x0-nor: use default partitions(4)
Creating 4 MTD partitions on "armadillo5x0-nor":
0x00000000-0x00020000 : "nor.bootloader"
0x00020000-0x00220000 : "nor.kernel"
0x00220000-0x01fe0000 : "nor.userland"
0x01fe0000-0x02000000 : "nor.config"
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 36, io mem 0x43f88400
fsl-ehci fsl-ehci.0: 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
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
MXC keypad loaded
input: mxckpd as /devices/virtual/input/input0
ads7846 spi3.1: touchscreen, irq 130
input: ADS784x Touchscreen as /devices/platform/mxc_spi.2/spi3.1/input/input1
rtc-s353xxa 1-0030: rtc core: registered S-353XXA as rtc0
rtc-s353xxa: S-353XXA Real Time Clock class driver, (C) 2008 Atmark Techno, Inc.
i2c /dev entries driver
MXC MMC/SD driver
mxcmci-0 found
mxcmci-1 found
Registered led device: status
usb 1-1: new high speed USB device using fsl-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
SSI module loaded successfully
Advanced Linux Sound Architecture Driver Version 1.0.16.
ASoC version 0.13.2
wm8978: WM8978 Audio Codec v0.2
scsi 0:0:0:0: Direct-Access     Intel    Value SSD        2.00 PQ: 0 ANSI: 2
asoc: WM8978 HiFi <-> imx-i2s-1 mapping ok
sd 0:0:0:0: [sda] 2006016 512-byte hardware sectors (1027 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 2006016 512-byte hardware sectors (1027 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
ALSA device list:
  #0: armadillo500fx (WM8978)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 2
rtc-s353xxa 1-0030: setting system clock to 2000-01-02 00:43:28 UTC (946773808)
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 18801KiB [1 disk] into ram disk... done.
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 128K
init started:  BusyBox v1.00 (2008.10.22-11:49+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, 866/1536 files, 17037/18801 blocks
Checking root filesystem: done
Remounting root rw: done
Mounting proc: done
Mounting usbfs: done
Mounting sysfs: done
Delayed device initialization: fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
fsl-ehci fsl-ehci.1: irq 35, io mem 0x43f88200
fsl-ehci fsl-ehci.1: USB 2.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
fsl-ehci fsl-ehci.2: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.2: new USB bus registered, assigned bus number 3
fsl-ehci fsl-ehci.2: irq 37, io mem 0x43f88000
fsl-ehci fsl-ehci.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
done
Cleaning up system: done
Running local start scripts.
Starting udevd: done
Changing file permissions: done
Configure /home/ftp: 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
eth0: SMSC911x/921x identified at 0xc9000000, IRQ: 64
eth0: link down
debug, Sending discover...
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
debug, Sending discover...
debug, Sending select for 172.16.2.243...
info, Lease of 172.16.2.243 obtained, lease time 86400
done
Starting inetd: done
Stating sshd: done
Starting thttpd: done
Starting Xfbdev: done
Starting a500fx-demo: done
Mounting ramfs /home/ftp/pub: done

atmark-dist v1.21.0 (AtmarkTechno/Armadillo-500-FX.dev)
Linux 2.6.26-at1 [armv6l arch]

a500-fx login: 

図4.1 起動ログ


4.2. ログイン

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

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

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

4.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.

図4.2 終了方法


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

[警告]

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