第5章 起動と終了

5.1. 起動

ACアダプタを接続してから電源スイッチ(SW7)をONにしてください。電源が供給されると、電源LED(LED8)が点灯します。

[警告]

電源スイッチ(SW7)がON の状態でAC アダプタを接続しないでください。接続手順に従わない場合、搭載部品が故障する可能性があります。

ACアダプタ接続前の状態

図5.1 ACアダプタ接続前の状態


起動すると、USB シリアルインターフェース(CON14)から次のようなログがシリアル通信ソフトウェアに表示されます。

Hermit-At v4.0.0 (Armadillo-EVA 1500) compiled at 17:49:42, Jul 20 2014
mmcsd: SD card at address 0x00000001
mmcsd: M8G1GC 1048576KiB
gendisk: /dev/mmcblk0p1: start=0x00400800, size=0x00a8f800
gendisk: Image.bin is found. (6314692 Bytes)
Copying         kernel...done.
Uncompressing     fdt.done.
Doing console=ttySC3,115200
Doing mem=1024M
Doing noinitrd
Doing rootwait
Doing root=/dev/mmcblk0p1
Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 3.4.81-ae1500-at1 (atmark@atde5) (gcc version 4.6.3 (Debian 4.6.3-1
4atmark1) ) #1 SMP PREEMPT Fri Jul 18 17:18:24 JST 2014
CPU: ARMv7 Processor [413fc0f2] revision 2 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine: armadilloeva1500, model: Armadillo-EVA 1500
cma: CMA: reserved 128 MiB at 66000000
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 7 pages/cpu @c160d000 s6144 r8192 d14336 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
Kernel command line: console=ttySC3,115200 mem=1024M noinitrd rootwait root=/dev/
mmcblk0p1
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
allocated 2097152 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
Memory: 1024MB = 1024MB total
Memory: 899692k/899692k available, 148884k reserved, 270336K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0599000   (5700 kB)
      .init : 0xc0599000 - 0xc05c9800   ( 194 kB)
      .data : 0xc05ca000 - 0xc060daa0   ( 271 kB)
       .bss : 0xc060dac4 - 0xc0643384   ( 215 kB)
Preemptible hierarchical RCU implementation.
NR_IRQS:16 nr_irqs:16 16
Architected local timer running at 10.00MHz (virt).
Switching to timer-based delay loop
sched_clock: ARM arch timer >56 bits at 10000kHz, resolution 100ns
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00
BogoMIPS (lpj=100000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys blkio
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
hw perfevents: enabled with ARMv7 Cortex-A15 PMU driver, 7 counters available
Setting up static identity map for 0x40424dd0 - 0x40424e28
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (40.00 BogoMIPS).
devtmpfs: initialized
pinctrl core: initialized pinctrl subsystem
dummy:
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
sh-pfc pfc-r8a7791: r8a77910_pfc support registered
renesas_irqc renesas_irqc.0: driving 10 irqs
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
bio: create slab <bio-0> at 0
gpio_rcar gpio_rcar.0: driving 32 GPIOs
gpio_rcar gpio_rcar.1: driving 32 GPIOs
gpio_rcar gpio_rcar.2: driving 32 GPIOs
gpio_rcar gpio_rcar.3: driving 32 GPIOs
gpio_rcar gpio_rcar.4: driving 32 GPIOs
gpio_rcar gpio_rcar.5: driving 32 GPIOs
gpio_rcar gpio_rcar.6: driving 32 GPIOs
gpio_rcar gpio_rcar.7: driving 32 GPIOs
pwm-rcar pwm-rcar.0: registering PWM0
pwm-rcar pwm-rcar.1: registering PWM1
pwm-rcar pwm-rcar.2: registering PWM2
pwm-rcar pwm-rcar.3: registering PWM3
pwm-rcar pwm-rcar.4: registering PWM4
pwm-rcar pwm-rcar.5: registering PWM5
pwm-rcar pwm-rcar.6: registering PWM6
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-gpio i2c-gpio.7: using pins 238 (SDA) and 237 (SCL)
i2c-gpio i2c-gpio.8: using pins 240 (SDA) and 239 (SCL)
i2c-gpio i2c-gpio.9: using pins 71 (SDA) and 70 (SCL)
i2c-sh_mobile i2c-sh_mobile.6: I2C adapter 6 with bus speed 100000 Hz (L/H=32/2b)
Linux media interface: v0.10
Linux video capture interface: v2.00
vgaarb: loaded
sh_cmt sh_cmt.0: used for clock events
Advanced Linux Sound Architecture Driver Version 1.0.25.
Switching to clocksource arch_sys_counter
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
audit: initializing netlink socket (disabled)
type=2000 audit(0.170:1): initialized
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
NFS: Registering the id_resolver key type
nfs4filelayout_init: NFSv4 File Layout Driver Registering...
jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 1485
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
SuperH (H)SCI(F) driver initialized
sh-sci.0: ttySC0 at MMIO 0xe6c40000 (irq = 176) is a scifa
sh-sci.1: ttySC1 at MMIO 0xe6c50000 (irq = 177) is a scifa
sh-sci.2: ttySC2 at MMIO 0xe6c20000 (irq = 180) is a scifb
sh-sci.3: ttySC3 at MMIO 0xe6c30000 (irq = 181) is a scifb
console [ttySC3] enabled
sh-sci.4: ttySC4 at MMIO 0xe6ce0000 (irq = 182) is a scifb
sh-sci.5: ttySC5 at MMIO 0xe6c60000 (irq = 183) is a scifa
sh-sci.6: ttySC6 at MMIO 0xe6e60000 (irq = 184) is a scif
sh-sci.7: ttySC7 at MMIO 0xe6e68000 (irq = 185) is a scif
sh-sci.8: ttySC8 at MMIO 0xe62c0000 (irq = 186) is a hscif
sh-sci.9: ttySC9 at MMIO 0xe62c8000 (irq = 187) is a hscif
sh-sci.10: ttySC10 at MMIO 0xe6e58000 (irq = 54) is a scif
sh-sci.11: ttySC11 at MMIO 0xe6ea8000 (irq = 55) is a scif
sh-sci.12: ttySC12 at MMIO 0xe6ee0000 (irq = 56) is a scif
sh-sci.13: ttySC13 at MMIO 0xe6ee8000 (irq = 57) is a scif
sh-sci.14: ttySC14 at MMIO 0xe6c70000 (irq = 61) is a scifa
sh-sci.15: ttySC15 at MMIO 0xe6c78000 (irq = 62) is a scifa
sh-sci.16: ttySC16 at MMIO 0xe6c80000 (irq = 63) is a scifa
sh-sci.17: ttySC17 at MMIO 0xe62d0000 (irq = 53) is a hscif
scsi0 : sata_rcar
ata1: SATA max UDMA/133 irq 137
scsi1 : sata_rcar
ata2: SATA max UDMA/133 irq 138
m25p80 spi0.0: n25q064 (8192 Kbytes)
Creating 4 MTD partitions on "m25p80":
0x000000000000-0x000000010000 : "ipl"
0x000000010000-0x000000090000 : "bootloader"
0x000000090000-0x0000000d0000 : "fdt"
0x0000000d0000-0x000000800000 : "firmware"
qspi qspi.0: probed
spi_sh_msiof spi_sh_msiof.1: master is unqueued, this is deprecated
spi_sh_msiof spi_sh_msiof.2: master is unqueued, this is deprecated
spi_sh_msiof spi_sh_msiof.3: master is unqueued, this is deprecated
sh_mii: probed
Base address at 0xee700000, 00:11:0c:1a:00:00, IRQ 194.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-platform ehci-platform.0: Generic Platform EHCI Controller
ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
ehci-platform ehci-platform.0: irq 140, io mem 0xee081000
ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci-platform ehci-platform.1: Generic Platform EHCI Controller
ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
ehci-platform ehci-platform.1: irq 145, io mem 0xee0c1000
ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-platform ohci-platform.0: Generic Platform OHCI Controller
ohci-platform ohci-platform.0: new USB bus registered, assigned bus number 3
ohci-platform ohci-platform.0: irq 140, io mem 0xee080000
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
ohci-platform ohci-platform.1: Generic Platform OHCI Controller
ohci-platform ohci-platform.1: new USB bus registered, assigned bus number 4
ohci-platform ohci-platform.1: irq 145, io mem 0xee0c0000
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
xhci-hcd xhci-hcd.0: xHCI Host Controller
ata1: link resume succeeded after 1 retries
xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 5
ata2: link resume succeeded after 1 retries
xhci-hcd xhci-hcd.0: irq 133, io mem 0xee000000
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 1 port detected
xhci-hcd xhci-hcd.0: xHCI Host Controller
xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 6
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mousedev: PS/2 mouse device common for all mice
input: st1232-touchscreen as /devices/platform/i2c-gpio.9/i2c-9/9-0055/input/inpu
t0
rtc-s35390a 7-0030: rtc core: registered rtc-s35390a as rtc0
i2c /dev entries driver
i2c-rcar i2c-rcar_h2.0: probed
i2c-rcar i2c-rcar_h2.1: probed
i2c-rcar i2c-rcar_h2.2: probed
i2c-rcar i2c-rcar_h2.3: probed
i2c-rcar i2c-rcar_h2.4: probed
i2c-rcar i2c-rcar_h2.5: probed
lirc_dev: IR Remote Control driver registered, major 250
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
ata1: SATA link down (SStatus 0 SControl 300)
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
ata2: SATA link down (SStatus 0 SControl 300)
IR Sony protocol handler initialized
IR RC5 (streamzap) protocol handler initialized
IR SANYO protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR LIRC bridge handler initialized
i2c-core: driver [adv7180] using legacy suspend method
i2c-core: driver [adv7180] using legacy resume method
soc-camera-pdrv soc-camera-pdrv.2: Probing soc-camera-pdrv.2
vin vin.2: VIN Unit driver attached to camera 0
adv7180 8-0020: chip found @ 0x40 (i2c-gpio8)
vin vin.2: VIN Unit driver detached from camera 0
uvcvideo: Unable to create debugfs directory
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
[drm] Initialized drm 1.1.0 20060810
Console: switching to colour frame buffer device 240x67
rcar-du rcar-du-r8a7791: fb0:  frame buffer device
rcar-du rcar-du-r8a7791: registered panic notifier
[drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[drm] No driver support for vblank timestamp query.
[drm] Initialized rcar-du 1.0.0 20130110 on minor 0
rcar_thermal rcar_thermal: 1 sensor proved
device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
sh_mmcif sh_mmcif.0: driver version 2010-04-28
mmc0: new high speed MMC card at address 0001
mmcblk0: mmc0:0001 M8G1GC 7.28 GiB
mmcblk0boot0: mmc0:0001 M8G1GC partition 1 4.00 MiB
mmcblk0boot1: mmc0:0001 M8G1GC partition 2 4.00 MiB
 mmcblk0: p1 p2
 mmcblk0boot1: unknown partition table
 mmcblk0boot0: unknown partition table
sh_mobile_sdhi sh_mobile_sdhi.0: mmc1 base at 0xee100000 clock rate 0 MHz
sh_mobile_sdhi sh_mobile_sdhi.1: mmc2 base at 0xee140000 clock rate 0 MHz
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
cs42l52 8-004a: Cirrus Logic CS42L52, Revision: 03
input: CS42L52 Beep Generator as /devices/platform/i2c-gpio.8/i2c-8/8-004a/input/
input1
asoc: cs42l52 <-> scu-ssi-dai mapping ok
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP: cubic registered
NET: Registered protocol family 17
Registering the dns_resolver key type
VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
input: gpio-keys as /devices/platform/gpio-keys/input/input2
rtc-s35390a 7-0030: setting system clock to 2014-07-20 19:50:30 UTC (1405885830)
platform pvrsrvkm: start latency exceeded, new value 5900 ns
platform pvrsrvkm: state save latency exceeded, new value 500 ns
ALSA device list:
  #0: armadilloeva1500-cs42l52
platform pvrsrvkm: stop latency exceeded, new value 5000 ns
kjournald starting.  Commit interval 5 seconds
EXT3-fs (mmcblk0p1): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) readonly on device 179:1.
devtmpfs: mounted
Freeing init memory: 192K
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevdudevd[965]: starting version
175
. ok
[....] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...vin vin.2: VIN Unit driver attach
ed to camera 0
adv7180 8-0020: Detected the NTSC video input signal
vin vin.2: VIN Unit driver detached from camera 0
done.
[....] Activating swap...done.
[....] Checking root file system...fsck from util-linux 2.20.1
/dev/mmcblk0p1: clean, 24601/346064 files, 164793/1384192 blocks
done.
EXT3-fs (mmcblk0p1): using internal journal
[....] Cleaning up temporary files... /tmp. ok
[info] Loading kernel module loop.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep
 file '/lib/modules/3.4.81-ae1500-at1/modules.dep.bin'
[....] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.20.1
done.
[....] Mounting local filesystems...done.
[....] Activating swapfile swap...done.
[....] Cleaning up temporary files.... ok
[....] Setting kernel variables ...done.
[....] Configuring network interfaces...done.
[....] Starting rpcbind daemon...rpcbind: cannot create socket for udp6
rpcbind: cannot create socket for tcp6
. ok
[....] Starting NFS common utilities: statd idmapd. ok
[....] Cleaning up temporary files.... ok
[....] Setting up ALSA...done.
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting rpcbind daemon...[....] Already running.. ok
[....] Starting enhanced syslogd: rsyslogd. ok
[....] Starting NFS common utilities: statd idmapd. ok
[....] Starting deferred execution scheduler: atd. ok
[....] Starting periodic command scheduler: cron. ok
[....] Starting MTA: exim4. ok
ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size, mail system possi
bly broken

Debian GNU/Linux 7 debian ttySC3

debian login: 

図5.2 起動ログ


5.2. ログイン

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

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

ユーザ名パスワード権限
rootrootrootユーザ
guestguest一般ユーザ

5.3. 終了方法

安全に終了させる場合は、次のようにコマンドを実行してください。「System halted.」と表示されたのを確認したら、電源スイッチ(SW7)をOFFにした後、ACアダプタを抜いて電源を切断してください。

[armadillo ~]# halt

Broadcast message from root@debian (ttySC3) (Mon Jul 21 04:40:20 2014):

The system is going down for system halt NOW!
INIT: Switching to runlevel: 0
INIT: Sending processes the TERM signal
[info] Using makefile-style concurrent boot in runlevel 0.
[....] Stopping MTA:. ok
ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size, mail system possi
bly broken
[....] Stopping deferred execution scheduler: atd. ok
[....] Shutting down ALSA...done.
[....] Asking all remaining processes to terminate...done.
[....] All processes ended within 2 seconds...done.
[....] Stopping enhanced syslogd: rsyslogd. ok
rpcbind: rpcbind terminating on signal. Restart with "rpcbind -w"
[....] Stopping rpcbind daemon.... ok
[....] Deconfiguring network interfaces...done.
[....] Stopping NFS common utilities: idmapd statd. ok
[info] Saving the system clock.
[info] Hardware Clock updated to Mon Jul 21 04:40:25 JST 2014.
[....] Deactivating swap...done.
[....] Unmounting local filesystems...done.
[info] Will now halt.
System halted.

図5.3 終了方法


[警告]

まれにhaltコマンド実行後に出力されるログが、「System halted.」と表示される前に停止してしまう場合があります。1分程度待ってもログが停止した状態が続く場合は、そのまま電源スイッチ(SW7)をOFFにしてください。