Armadilloフォーラム

フラッシュメモリ書き込み後の無線LANインターフェースの有効化

taki

2017年10月6日 17時08分

お世話になっております。

armadillo-IoT G2を使用しております。
G2製品マニュアル【12.2.2. ストレージ上のイメージファイルを書き込む】をしたがって、
romfs-aiotg-std-nojava-v2.16.img.gzを用いてフラッシュメモリの書き換えを行いました。
その後、rebootしてから無線LANを有効化しようとしたところ、以下の通りとなり有効化できません。

[root@armadillo-iotg (ttymxc1) ~]# sd-awlan-sel awlan
select to AWLAN
[root@armadillo-iotg (ttymxc1) ~]# mmc1: queuing unknown CIS tuple 0x10 (5 bytes)
mmc1: queuing unknown CIS tuple 0x10 (5 bytes)
mmc1: new high speed SDIO card at address 6f19

なお、フラッシュメモリの書き換え後にSDカードを抜き、抜いた状態で上記のコマンドを入力しました。
また、フラッシュメモリの書き換え前には正常に無線LANを使用することができていました。
再度無線LANを使用するための対処方法を教えていただきたく、お願いいたします。

参考になるかわかりませんが、rebootとboot入力後の表示は以下の通りです。

[root@armadillo-iotg (ttymxc1) ~]# reboot
[root@armadillo-iotg (ttymxc1) ~]#
System is going down for system reboot now.
 
Starting local stop scripts.
Syncing all filesystems:                                        done
Unmounting all filesystems: umount: udev busy - remounted read-only
umount: devtmpfs busy - remounted read-only
                                                                done
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all processesimx2-wdt imx2-wdt.0: Device shutdown: Expect reboot!
reboot: Restarting system
Hermit-At v3.8.1 (armadillo-iotg-std) compiled at 13:14:31, Nov 25 2016
hermit> boot
Uncompressing  kernel.....................................................................................................................................................................................................................................done.
Uncompressing ramdisk.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................done.
Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 3.14.36-at8 (atmark@atde5) (gcc version 4.6.3 (Debian 4.6.3-14atmark1) ) #1 PREEMPT Tue Sep 27 14:37:36 JST 2016
CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Armadillo-410
Memory policy: Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttymxc1,115200 root=/dev/ram0
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
allocated 262144 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
Memory: 79748K/131072K available (5109K kernel code, 288K rwdata, 1676K rodata, 241K init, 303K bss, 51324K reserved)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc06a8bcc   (6787 kB)
      .init : 0xc06a9000 - 0xc06e566c   ( 242 kB)
      .data : 0xc06e6000 - 0xc072e24c   ( 289 kB)
       .bss : 0xc072e24c - 0xc077a014   ( 304 kB)
Preemptible hierarchical RCU implementation.
NR_IRQS:16 nr_irqs:16 16
MXC IRQ initialized
Switching to timer-based delay loop
sched_clock: 32 bits at 66MHz, resolution 15ns, wraps every 64585974768ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 133.00 BogoMIPS (lpj=665000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys blkio
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x804d6cd8 - 0x804d6d30
devtmpfs: initialized
pinctrl core: initialized pinctrl subsystem
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
imx25-pinctrl imx25-pinctrl.0: initialized IMX pinctrl driver
bio: create slab <bio-0> at 0
adc081c Vref: at 3300 mV
eSDHC1 Vcc: at 3300 mV
eSDHC2 Vcc: at 3300 mV
USB VBUS: at 5000 mV
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pca953x 3-0071: interrupt support not compiled in
i2c-gpio i2c-gpio.3: using pins 17 (SDA) and 18 (SCL)
i2c-gpio i2c-gpio.4: using pins 66 (SDA) and 65 (SCL)
i2c i2c-0: IMX I2C adapter registered
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
Advanced Linux Sound Architecture Driver Initialized.
Bluetooth: Core ver 2.18
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
Atmark Techno DI/DO/AD board detected at CON1(Rev 2, SerialNumber=2316).
mcp3202 Vref CON1: at 5000 mV
Satori LOW_POWER board detected at CON2(Rev 1, SerialNumber=151208).
Switched to clocksource mxc_timer1
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (junk in compressed archive); looks like an initrd
Freeing initrd memory: 42244K (c1000000 - c3941000)
futex hash table entries: 256 (order: -1, 3072 bytes)
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(1.529:1): initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 238
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
imx-sdma imx25-sdma: loaded firmware 1.0
imx-sdma imx25-sdma: initialized
imx21-uart.1: ttymxc1 at MMIO 0x43f94000 (irq = 48, base_baud = 7500000) is a IMX
console [ttymxc1] enabled
imx21-uart.0: ttymxc0 at MMIO 0x43f90000 (irq = 61, base_baud = 7500000) is a IMX
brd: module loaded
loop: module loaded
physmap platform flash device: 02000000 at a0000000
physmap-flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x00891c
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
Creating 4 MTD partitions on "physmap-flash":
0x000000000000-0x000000020000 : "nor.bootloader"
0x000000020000-0x000000420000 : "nor.kernel"
0x000000420000-0x000001f00000 : "nor.userland"
0x000001f00000-0x000002000000 : "nor.config"
spi_imx imx35-cspi.1: probed
CAN device driver interface
libphy: fec_enet_mii_bus: probed
fec imx25-fec.0 eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=imx25-fec-1:00, irq=-1)
PPP generic driver version 2.4.2
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver net1080
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver sierra_net
usbcore: registered new interface driver cdc_ncm
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver sierra
usbserial: USB Serial support registered for Sierra USB modem
ci_hdrc ci_hdrc.0: EHCI Host Controller
ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ci_hdrc ci_hdrc.1: EHCI Host Controller
ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
rtc-s35390a 3-0030: rtc core: registered rtc-s35390a as rtc0
i2c /dev entries driver
Driver for 1-wire Dallas network protocol.
lm75 3-0048: hwmon0: sensor 'lm75b'
imx2-wdt imx2-wdt.0: timeout 10 sec (nowayout=0)
usbcore: registered new interface driver btusb
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: no vqmmc regulator found
mmc0: SDHCI controller on sdhci-esdhc-imx25.0 [sdhci-esdhc-imx25.0] using DMA
mmc1: no vqmmc regulator found
mmc1: SDHCI controller on sdhci-esdhc-imx25.1 [sdhci-esdhc-imx25.1] using DMA
usb 2-1: new full-speed USB device number 2 using ci_hdrc
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
usbcore: registered new interface driver snd-usb-audio
usbcore: registered new interface driver snd-usb-caiaq
oprofile: no performance counters
oprofile: using timer interrupt.
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (1906 buckets, 7624 max)
ipip: IPv4 over IPv4 tunneling driver
gre: GRE over IPv4 demultiplexor driver
ip_gre: GRE over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP: cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
usb 2-1: not running at top speed; connect to a high speed hub
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
cdc_acm 2-1:1.0: This device cannot do calls on its own. It is not a modem.
cdc_acm 2-1:1.0: ttyACM0: USB ACM device
registered taskstats version 1
regulator-dummy: incomplete constraints, leaving on
input: gpio-keys as /devices/platform/gpio-keys/input/input0
input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input1
rtc-s35390a 3-0030: setting system clock to 2017-10-06 17:12:17 UTC (1507309937)
ALSA device list:
  No soundcards found.
cdc_acm 2-1:1.2: This device cannot do calls on its own. It is not a modem.
cdc_acm 2-1:1.2: ttyACM1: USB ACM device
cdc_acm 2-1:1.4: This device cannot do calls on its own. It is not a modem.
cdc_acm 2-1:1.4: ttyACM2: USB ACM device
cdc_ether: probe of 2-1:1.6 failed with error -71
cdc_ether: probe of 2-1:1.8 failed with error -71
cdc_ether: probe of 2-1:1.10 failed with error -71
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 42247KiB [1 disk] into ram disk...
usb 2-1: USB disconnect, device number 2
\
usb 2-1: new full-speed USB device number 3 using ci_hdrc
\
usb 2-1: not running at top speed; connect to a high speed hub
/
usb 2-1: can't set config #1, error -110
done.
VFS: Mounted root (ext2 filesystem) on device 1:0.
devtmpfs: mounted
Freeing unused kernel memory: 240K (c06a9000 - c06e5000)
Mounting proc:                                                  done
Starting fsck for root filesystem.
fsck 1.25 (20-Sep-2001)
/dev/ram0: clean, 3258/3936 files, 38549/42247 blocks
Checking root filesystem:                                       done
Remounting root rw:                                             done
Mounting sysfs:                                                 done
Mounting tmpfs on /dev:                                         done
Mounting tmpfs on /run:                                         done
Cleaning up system:                                             done
Running local start scripts.
Starting the hotplug events dispatcher udevd:                   usb 2-1: USB disconnect, device number 3
done
Synthesizing the initial hotplug events:usb 2-1: new full-speed USB device number 4 using ci_hdrc
usb 2-1: not running at top speed; connect to a high speed hub
cdc_acm 2-1:1.0: This device cannot do calls on its own. It is not a modem.
cdc_acm 2-1:1.0: ttyACM0: USB ACM device
cdc_acm 2-1:1.2: This device cannot do calls on its own. It is not a modem.
cdc_acm 2-1:1.2: ttyACM1: USB ACM device
cdc_acm 2-1:1.4: This device cannot do calls on its own. It is not a modem.
cdc_acm 2-1:1.4: ttyACM2: USB ACM device
cdc_ether 2-1:1.6 eth1: register 'cdc_ether' at usb-ci_hdrc.1-1, CDC Ethernet Device, 00:00:11:12:13:14
cdc_ether 2-1:1.8 eth2: register 'cdc_ether' at usb-ci_hdrc.1-1, CDC Ethernet Device,
コメント

フラッシュメモリの書き換え手順に不備があったのかもしれませんが、原因追求が難しいため、フラッシュメモリのブートローダー、カーネル、ユーザーランドのイメージファイルを入れ直しました。
結果、無事に無線LANインターフェースの有効化が行えるようになりましたのでご報告します。