[Armadillo:06223] Armadillo440でRTCを使用する方法

和佐田 翔一 email@hidden
2010年 11月 25日 (木) 13:06:39 JST


お世話になっております。和佐田です。

Armadillo-440にArmadillo-400 シリーズRTCオプションモジュール
を取り付けて使用しようとしているのですが、うまくいきません。

#hwclock
上記コマンドを入力すると下記のようなエラーが出てしまいます。
hwclock: Could not access RTC: No such file or directory

menuconfigの設定など何か足りないことがあるのでしょうか?

下記に起動時のログを添付いたします。

ご教示していただきたく宜しくお願い致します。


Hermit-At v2.0.1 (armadillo4x0) compiled at 21:10:18, Apr 27 2010
Uncompressing
kernel............................................................................................................done.
Uncompressing
ramdisk....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................done.
Doing console=ttymxc1
Doing video=mxcfb:DI-7inch-WVGA
Linux version 2.6.26-at7 (unknown) (email@hidden) (gcc version 4.3.2
(Debian 4.3.2-1.1) ) #4 PREEMPT Mon Nov 22 10:58:18 JST 2010
CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
Machine: Armadillo-440
Memory policy: ECC disabled, Data cache writeback
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 in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttymxc1 video=mxcfb:DI-7inch-WVGA
MXC IRQ initialized
PID hash table entries: 512 (order: 9, 2048 bytes)
MXC GPT timer initialized, rate = 12000000
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: 98632KB available (3192K code, 683K data, 132K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 480 bytes
NET: Registered protocol family 16
MXC WDOG1 Enabled
CPU is i.MX25 Revision 1.0
Clock input source is 24000000
MXC GPIO hardware
Using SDMA I.API
MXC DMA API initialized
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
MXC I2C driver
MXC I2C driver
MXC I2C driver
MC34704 regulator successfully probed
mc34704 0-0054: Loaded
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: 27263K
usb: Host 2 host (serial) registered
usb: DR host (utmi) registered
ashmem: initialized
msgmni has been set to 245
io scheduler noop registered
io scheduler cfq registered (default)
mx2fb: Unable to set clock to 0
_wait_for_pan_complete: wait for pan complete timeout DISP0 BG
Console: switching to colour frame buffer device 30x40
mxc_sdc_fb mxc_sdc_fb.0: fb0: DISP0 BG fb device registered successfully.
mxc_sdc_fb mxc_sdc_fb.0: fb1: DISP0 FG fb device registered successfully.
Serial: MXC Internal UART driver
mxcintuart.1: ttymxc1 at MMIO 0x43f94000 (irq = 32) is a Freescale MXC
console [ttymxc1] enabled
mxcintuart.2: ttymxc2 at MMIO 0x5000c000 (irq = 18) is a Freescale MXC
mxcintuart.4: ttymxc4 at MMIO 0x5002c000 (irq = 40) is a Freescale MXC
brd: module loaded
loop: module loaded
FEC Ethernet Driver
PPP generic driver version 2.4.2
Driver 'sd' needs updating - please use bus_type methods
armadillo-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
armadillo-nor: use default partitions(4)
Creating 4 MTD partitions on "armadillo-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 35, io mem 0x53ff4400
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
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Freescale On-Chip EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.26-at7 ehci_hcd
usb usb1: SerialNumber: fsl-ehci.0
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 37, io mem 0x53ff4000
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
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: Freescale On-Chip EHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.26-at7 ehci_hcd
usb usb2: SerialNumber: fsl-ehci.1
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
input: gpio-keys as /devices/platform/gpio-keys.0/input/input0
rtc-s353xxa 1-0030: rtc core: registered rtc-s353xxa as rtc0
rtc-s353xxa 2-0030: rtc core: registered rtc-s353xxa as rtc1
rtc-s353xxa: S-353XXA Real Time Clock class driver, (C) 2008 Atmark
Techno, Inc.
i2c /dev entries driver
mxsdhci: MXC Secure Digital Host Controller Interface driver
mxsdhci: MXC SDHCI Controller Driver.
mmc0: SDHCI detect irq 159 irq 9 INTERNAL DMA
Registered led device: red
Registered led device: green
Registered led device: yellow
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
logger: created 64K log 'log_system'
i.MX ADC at 0x50030000 irq 46
Advanced Linux Sound Architecture Driver Version 1.0.16.
ASoC version 0.13.2
wm8978: WM8978 Audio Codec v0.2
ALSA device list:
  No soundcards found.
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
Static Power Management for Freescale i.MX25
input: imx_adc_ts as /devices/virtual/input/input1
i.MX ADC input touchscreen loaded.
rtc-s353xxa 1-0030: hctosys: unable to read the hardware clock
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 27263KiB [1 disk] into ram disk... done.
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 132K
init started:  BusyBox v1.00 (2010.10.08-05:20+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, 1074/1312 files, 24581/27263 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.
Starting udevd:                                                 done
Loading /etc/config:                                            done
Changing file permissions:                                      done
Configure /home/ftp:                                            done
Starting syslogd:                                               done
Starting klogd:                                                 done
Starting basic firewall:                                        done
Setting hostname:                                               done
Configuring network interfaces: udhcpc (v0.9.9-pre) started
fec: PHY @ 0x0, ID 0x0007c0f1 -- LAN8720
Sending discover...
eth0: link down
Sending discover...
Sending discover...
interface: eth0:0 (80:00:08:04:00:81)
probing for 169.254.154.240
device eth0 entered promiscuous mode
device eth0 left promiscuous mode
claiming ownership of address 169.254.154.240
not storing IP for eth0:0 (not implemented yet!)
successfully acquired an IP address, backgrounding
all subsequent output will go to the syslog
No lease, forking to background.
                                                                done
Starting inetd:                                                 done
Setting at-cgi:                                                 done
Starting lighttpd:                                              done
Creating avahi.services:                                        done
Starting avahi.daemon:                                          done
Starting Xfbdev:                                                done
Mounting ramfs /home/ftp/pub:                                   done
Running local start script (/etc/config/rc.local).
mount: Mounting /dev/mmcblk0p2 on /mnt failed: No such file or directory
chroot: cannot change root directory to /mnt/android: No such file or
directory
Starting functester:                                            done

atmark-dist v1.27.0 (AtmarkTechno/Armadillo-440)
Linux 2.6.26-at7 [armv5tejl arch]




-- 
 ■■■■□■■■■□■■■■□■■■■□■■■■□■■■■□■■■■□
   ┏━━┳━━┳━━┓
   ┃  ━┫  ━┫┏━┛        URL   :http://www.seashell.co.jp/
   ┣━  ┣━  ┃┗━┓
   ┗━━┻━━┻━━┛                和佐田  翔一
    Sea Shell Corporation      E-mail :email@hidden

 (株)シー・シェルコーポレーション
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
       本社        〒542-0012  大阪市中央区谷町9-3-7 中央谷町ビル10F
                   TEL.  06-6764-7600  FAX.  06-6764-7601
 ───────────────────────────────────
       東京 Office 〒151-0053 東京都渋谷区代々木2-23-1
                                 ニューステイトメナー1273号
                   TEL.  03-5350-2771  FAX.  03-5350-7021
 ■■■■□■■■■□■■■■□■■■■□■■■■□■■■■□■■■■□



armadillo メーリングリストの案内