Страница 1 из 1

OpenWRT sd карта на gpio

Добавлено: 11 май 2016, 17:30
vladimir22
ДОБРЫЙ ДЕНЬ .
ну в раздел об умном доме не попадает , а вот пораскинуть мозгами на кухне , самое милое дело.

Здравствуйте !
Есть плата Black-Swift
подключили по мануалу
wiki.openwrt.org/ru/toh/tp-link/tl-mr3420/deep.mmc.hack
загрузка с карточкой не происходит. карта опрееляется . и дальше ни гугу . хочет грузится с карты.
как победить . пока не знаю ... изгуглил уже наверное весь интернет.
про ограничения карточек знаю ....

[spoiler] *********************************************
* U-Boot 1.1.4 (Oct 15 2015) *
*********************************************

U-Boot for Unwired One board (AR9331) r1.02

DRAM: 64 MB DDR2 16-bit
FLASH: Winbond W25Q128 (16 MB)
CLOCKS: 400/400/200/33 MHz (CPU/RAM/AHB/SPI)

MAC address: 00:00:00:00:00:0C

LED on during eth initialization...

Hit any key to stop autobooting: 0

Booting image at: 0x9F030000

Image name: MIPS OpenWrt Linux-3.10.49
Created: 2016-04-28 10:30:08 UTC
Image type: MIPS Linux Kernel Image (lzma compressed)
Data size: 1381872 Bytes = 1.3 MB
Load address: 0x80060000
Entry point: 0x80060000

Uncompressing kernel image... OK!
## Bootargs: <NULL>
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in MB, 64
Starting kernel...

[ 0.000000] Linux version 3.10.49 (bsb@bsb-VirtualBox) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44550) ) #1 PREEMPT Thu Apr 28 13:29:48 MSK 2016
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9330 rev 1
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x03ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: board=BSB console=ttyATH0,115200 mtdparts=spi0.0:128k(u-boot),64k(u-boot-env),16128k(firmware),64k(art) rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 60252k/65536k available (3158k kernel code, 5284k reserved, 720k data, 216k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:51
[ 0.000000] Calibrating delay loop... 264.70 BogoMIPS (lpj=132352)
[ 0.011000] pid_max: default: 32768 minimum: 301
[ 0.012000] Mount-cache hash table entries: 512
[ 0.017000] NET: Registered protocol family 16
[ 0.022000] MIPS: machine is Smart Electronics Black Swift board
[ 0.486000] bio: create slab <bio-0> at 0
[ 0.491000] usbcore: registered new interface driver usbfs
[ 0.492000] usbcore: registered new interface driver hub
[ 0.493000] usbcore: registered new device driver usb
[ 0.498000] Switching to clocksource MIPS
[ 0.504000] NET: Registered protocol family 2
[ 0.508000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.514000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.520000] TCP: Hash tables configured (established 512 bind 512)
[ 0.526000] TCP: reno registered
[ 0.529000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.534000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.541000] NET: Registered protocol family 1
[ 0.575000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.581000] NTFS driver 2.1.30 [Flags: R/W].
[ 0.585000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.596000] fuse init (API version 7.22)
[ 0.601000] msgmni has been set to 117
[ 0.604000] io scheduler noop registered
[ 0.607000] io scheduler deadline registered (default)
[ 0.612000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.619000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[ 0.626000] console [ttyATH0] enabled, bootconsole disabled
[ 0.626000] console [ttyATH0] enabled, bootconsole disabled
[ 0.639000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[ 0.648000] m25p80 spi0.0: found w25q128, expected m25p80
[ 0.653000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 0.657000] 4 cmdlinepart partitions found on MTD device spi0.0
[ 0.663000] Creating 4 MTD partitions on "spi0.0":
[ 0.668000] 0x000000000000-0x000000020000 : "u-boot"
[ 0.675000] 0x000000020000-0x000000030000 : "u-boot-env"
[ 0.682000] 0x000000030000-0x000000ff0000 : "firmware"
[ 0.702000] 2 uimage-fw partitions found on MTD device firmware
[ 0.707000] 0x000000030000-0x000000190000 : "kernel"
[ 0.714000] 0x000000190000-0x000000ff0000 : "rootfs"
[ 0.720000] mtd: device 4 (rootfs) set to be root filesystem
[ 0.725000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.731000] 0x000000b90000-0x000000ff0000 : "rootfs_data"
[ 0.738000] 0x000000ff0000-0x000001000000 : "art"
[ 0.763000] libphy: ag71xx_mdio: probed
[ 1.320000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[ 1.329000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 1.887000] ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch
[ 2.897000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 2.903000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.908000] ehci-platform: EHCI generic platform driver
[ 2.914000] ehci-platform ehci-platform: EHCI Host Controller
[ 2.920000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 2.929000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 2.940000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 2.946000] hub 1-0:1.0: USB hub found
[ 2.948000] hub 1-0:1.0: 1 port detected
[ 2.953000] usbcore: registered new interface driver cdc_acm
[ 2.958000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 5.992000] mmc_spi spi0.1: SD/MMC host mmc0, no DMA, no WP, no poweroff
[ 5.997000] mmc0: mmc_rescan_try_freq: trying to init card at 400000 Hz
[ 6.007000] TCP: cubic registered
[ 6.009000] NET: Registered protocol family 17
[ 6.016000] 8021q: 802.1Q VLAN Support v1.8
[ 6.027000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 6.041000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 6.049000] Freeing unused kernel memory: 216K (8042a000 - 80460000)
[ 6.063000] SQUASHFS error: squashfs_read_data failed to read block 0x9f456e
[ 6.069000] SQUASHFS error: Unable to read metadata cache entry [9f456e]
[ 6.076000] SQUASHFS error: Unable to read inode 0x77a081e
[ 6.090000] mmc0: new MMC card on SPI
[ 6.108000] mmcblk0: mmc0:0001 32M 30.6 MiB
[ 6.127000] mmcblk0: p1
[ 6.153000] SQUASHFS error: xz_dec_run error, data probably corrupt
[ 6.168000] SQUASHFS error: squashfs_read_data failed to read block 0x27c86e
[ 6.182000] SQUASHFS error: Unable to read fragment cache entry [27c86e]
[ 6.187000] SQUASHFS error: Unable to read page, block 27c86e, size 12328
[ 6.194000] SQUASHFS error: Unable to read fragment cache entry [27c86e]
[ 6.200000] SQUASHFS error: Unable to read page, block 27c86e, size 12328
[ 6.207000] SQUASHFS error: Unable to read fragment cache entry [27c86e]
[ 6.214000] SQUASHFS error: Unable to read page, block 27c86e, size 12328
[ 6.221000] SQUASHFS error: Unable to read fragment cache entry [27c86e]
[ 6.227000] SQUASHFS error: Unable to read page, block 27c86e, size 12328
[ 6.234000] SQUASHFS error: Unable to read metadata cache entry [9f456e]
[ 6.241000] SQUASHFS error: Unable to read inode 0x77a081e
[ 6.247000] SQUASHFS error: squashfs_read_data failed to read block 0x9f3df4
[ 6.253000] SQUASHFS error: Unable to read metadata cache entry [9f3df4]
[ 6.260000] SQUASHFS error: Unable to read inode 0x678
[ 6.265000] SQUASHFS error: Unable to read metadata cache entry [9f3df4]
[ 6.272000] SQUASHFS error: Unable to read inode 0x678
[ 6.277000] Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[/spoiler]
видно что карта определилась , но плата упорно пытается грузится с этой карты.
и естественно Kernel panik
есть проблемка , при загрузке с картой .
[spoiler][ 6.049000] Freeing unused kernel memory: 216K (8042a000 - 80460000)
[ 6.063000] SQUASHFS error: squashfs_read_data failed to read block 0x9f456e
[ 6.069000] SQUASHFS error: Unable to read metadata cache entry [9f456e]
[ 6.076000] SQUASHFS error: Unable to read inode 0x77a081e
[ 6.090000] mmc0: new MMC card on SPI
[ 6.108000] mmcblk0: mmc0:0001 32M 30.6 MiB
[ 6.127000] mmcblk0: p1 [/spoiler]


Как можно преодолеть данную проблему ? может что то подправить в исходниках ?
без карточки грузится нормально.
[spoiler]*********************************************
* U-Boot 1.1.4 (Oct 15 2015) *
*********************************************

U-Boot for Unwired One board (AR9331) r1.02

DRAM: 64 MB DDR2 16-bit
FLASH: Winbond W25Q128 (16 MB)
CLOCKS: 400/400/200/33 MHz (CPU/RAM/AHB/SPI)

MAC address: 00:00:00:00:00:0C

LED on during eth initialization...

Hit any key to stop autobooting: 0

Booting image at: 0x9F030000

Image name: MIPS OpenWrt Linux-3.10.49
Created: 2016-04-28 10:30:08 UTC
Image type: MIPS Linux Kernel Image (lzma compressed)
Data size: 1381872 Bytes = 1.3 MB
Load address: 0x80060000
Entry point: 0x80060000

Uncompressing kernel image... OK!
## Bootargs: <NULL>
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in MB, 64
Starting kernel...

[ 0.000000] Linux version 3.10.49 (bsb@bsb-VirtualBox) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44550) ) #1 PREEMPT Thu Apr 28 13:29:48 MSK 2016
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9330 rev 1
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x03ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: board=BSB console=ttyATH0,115200 mtdparts=spi0.0:128k(u-boot),64k(u-boot-env),16128k(firmware),64k(art) rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 60252k/65536k available (3158k kernel code, 5284k reserved, 720k data, 216k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:51
[ 0.000000] Calibrating delay loop... 264.70 BogoMIPS (lpj=132352)
[ 0.011000] pid_max: default: 32768 minimum: 301
[ 0.012000] Mount-cache hash table entries: 512
[ 0.017000] NET: Registered protocol family 16
[ 0.022000] MIPS: machine is Smart Electronics Black Swift board
[ 0.486000] bio: create slab <bio-0> at 0
[ 0.491000] usbcore: registered new interface driver usbfs
[ 0.492000] usbcore: registered new interface driver hub
[ 0.493000] usbcore: registered new device driver usb
[ 0.498000] Switching to clocksource MIPS
[ 0.504000] NET: Registered protocol family 2
[ 0.508000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.514000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.520000] TCP: Hash tables configured (established 512 bind 512)
[ 0.526000] TCP: reno registered
[ 0.529000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.534000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.541000] NET: Registered protocol family 1
[ 0.575000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.581000] NTFS driver 2.1.30 [Flags: R/W].
[ 0.585000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.596000] fuse init (API version 7.22)
[ 0.601000] msgmni has been set to 117
[ 0.604000] io scheduler noop registered
[ 0.607000] io scheduler deadline registered (default)
[ 0.612000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.619000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[ 0.626000] console [ttyATH0] enabled, bootconsole disabled
[ 0.626000] console [ttyATH0] enabled, bootconsole disabled
[ 0.639000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[ 0.648000] m25p80 spi0.0: found w25q128, expected m25p80
[ 0.652000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 0.657000] 4 cmdlinepart partitions found on MTD device spi0.0
[ 0.663000] Creating 4 MTD partitions on "spi0.0":
[ 0.668000] 0x000000000000-0x000000020000 : "u-boot"
[ 0.675000] 0x000000020000-0x000000030000 : "u-boot-env"
[ 0.682000] 0x000000030000-0x000000ff0000 : "firmware"
[ 0.702000] 2 uimage-fw partitions found on MTD device firmware
[ 0.707000] 0x000000030000-0x000000190000 : "kernel"
[ 0.714000] 0x000000190000-0x000000ff0000 : "rootfs"
[ 0.720000] mtd: device 4 (rootfs) set to be root filesystem
[ 0.724000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.730000] 0x000000b90000-0x000000ff0000 : "rootfs_data"
[ 0.738000] 0x000000ff0000-0x000001000000 : "art"
[ 0.763000] libphy: ag71xx_mdio: probed
[ 1.320000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[ 1.329000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 1.887000] ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch
[ 2.897000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 2.903000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.908000] ehci-platform: EHCI generic platform driver
[ 2.914000] ehci-platform ehci-platform: EHCI Host Controller
[ 2.920000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 2.929000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 2.940000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 2.946000] hub 1-0:1.0: USB hub found
[ 2.948000] hub 1-0:1.0: 1 port detected
[ 2.953000] usbcore: registered new interface driver cdc_acm
[ 2.958000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 5.992000] mmc_spi spi0.1: SD/MMC host mmc0, no DMA, no WP, no poweroff
[ 5.997000] mmc0: mmc_rescan_try_freq: trying to init card at 400000 Hz
[ 6.007000] TCP: cubic registered
[ 6.011000] NET: Registered protocol family 17
[ 6.015000] 8021q: 802.1Q VLAN Support v1.8
[ 6.019000] mmc0: host doesn't support card's voltages
[ 6.024000] mmc0: error -22 whilst initialising SDIO card
[ 6.029000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 6.038000] mmc0: host doesn't support card's voltages
[ 6.045000] mmc0: error -22 whilst initialising SD card
[ 6.053000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 6.060000] mmc0: host doesn't support card's voltages
[ 6.064000] mmc0: error -22 whilst initialising MMC card
[ 6.071000] Freeing unused kernel memory: 216K (8042a000 - 80460000)
procd: Console is alive
procd: - watchdog -
[ 9.903000] i2c /dev entries driver
[ 9.910000] Custom GPIO-based I2C driver version 0.1.1
[ 9.915000] i2c-gpio i2c-gpio.0: using pins 8 (SDA) and 7 (SCL)
[ 9.927000] Button Hotplug driver version 0.4.1
[ 9.935000] gpio-sqwave: System timer #3 frequency is 200000000 Hz.
[ 9.940000] gpio-sqwave is waiting for commands in file /sys/kernel/debug/sqwave.
[ 9.959000] SCSI subsystem initialized
[ 9.970000] sdhci: Secure Digital Host Controller Interface driver
[ 9.975000] sdhci: Copyright(c) Pierre Ossman
[ 9.981000] sdhci-pltfm: SDHCI platform and OF driver helper
[ 9.990000] usbcore: registered new interface driver usb-storage
procd: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 14.485000] jffs2: notice: (376) jffs2_build_xattr_subsystem: complete building xattr subsystem, 22 of xdatum (0 unchecked, 21 orphan) and 36 of xref (0 dead, 21 orphan) found.
[ 14.501000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 14.507000] block: unable to load configuration (fstab: Entry not found)
[ 14.513000] block: attempting to load /tmp/jffs_cfg/etc/config/fstab
[ 14.526000] block: extroot: not configured
jffs2 is ready
No jffs2 marker was found
[ 14.566000] jffs2: notice: (373) jffs2_build_xattr_subsystem: complete building xattr subsystem, 22 of xdatum (0 unchecked, 21 orphan) and 36 of xref (0 dead, 21 orphan) found.
[ 14.786000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 14.794000] block: unable to load configuration (fstab: Entry not found)
[ 14.800000] block: attempting to load /tmp/jffs_cfg/etc/config/fstab
[ 14.811000] block: extroot: not configured
switching to overlay
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[ 20.140000] rtc-ds1307 0-0068: rtc core: registered ds1307 as rtc0
[ 20.145000] rtc-ds1307 0-0068: 56 bytes nvram
[ 20.149000] i2c i2c-0: new_device: Instantiated device ds1307 at 0x68
[ 20.434000] NET: Registered protocol family 10
[ 20.508000] gre: GRE over IPv4 demultiplexor driver
[ 20.514000] ip_gre: GRE over IPv4 tunneling driver
[ 20.552000] nf_conntrack version 0.5.0 (944 buckets, 3776 max)
[ 20.575000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 20.658000] Linux video capture interface: v2.00
[ 20.693000] hidraw: raw HID events driver (C) Jiri Kosina
[ 20.741000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[ 20.753000] Backport generated by backports.git backports-20140320-37-g5c33da0
[ 20.775000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 20.864000] usbcore: registered new interface driver ums-alauda
[ 20.878000] usbcore: registered new interface driver ums-cypress
[ 20.892000] usbcore: registered new interface driver ums-datafab
[ 20.910000] usbcore: registered new interface driver ums-freecom
[ 20.925000] usbcore: registered new interface driver ums-isd200
[ 20.933000] usbcore: registered new interface driver ums-jumpshot
[ 20.941000] usbcore: registered new interface driver ums-karma
[ 20.950000] usbcore: registered new interface driver ums-sddr09
[ 20.959000] usbcore: registered new interface driver ums-sddr55
[ 20.968000] usbcore: registered new interface driver ums-usbat
[ 20.988000] usbcore: registered new interface driver uvcvideo
[ 20.993000] USB Video Class driver (1.1.1)
[ 21.002000] Driver for 1-wire Dallas network protocol.
[ 21.040000] xt_time: kernel timezone is -0000
[ 21.047000] usbcore: registered new interface driver cdc_ether
[ 21.086000] cfg80211: Calling CRDA to update world regulatory domain
[ 21.101000] cfg80211: World regulatory domain updated:
[ 21.106000] cfg80211: DFS Master region: unset[ 21.109000] usbcore: registered new interface driver DS9490R

[ 21.118000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 21.138000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 21.148000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 21.160000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 21.173000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[ 21.185000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 21.194000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 21.201000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 21.209000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 21.275000] PPP generic driver version 2.4.2
[ 21.282000] PPP MPPE Compression module registered
[ 21.289000] NET: Registered protocol family 24
[ 21.295000] PPTP driver version 0.8.5
[ 21.302000] usbcore: registered new interface driver rndis_host
[ 21.315000] 1-Wire driver for the DS2760 battery monitor chip - (c) 2004-2005, Szabolcs Gyurko
[ 21.432000] cfg80211: Calling CRDA for country: US
[ 21.439000] cfg80211: Regulatory domain changed to country: US
[ 21.445000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 21.451000] cfg80211: DFS Master region: FCC
[ 21.459000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 21.483000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[ 21.494000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[ 21.508000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[ 21.520000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[ 21.542000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 35.808000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 35.822000] device eth0 entered promiscuous mode
[ 35.838000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 36.881000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 36.889000] device eth1 entered promiscuous mode
[ 37.481000] eth1: link up (1000Mbps/Full duplex)
[ 37.487000] br-lan: port 2(eth1) entered forwarding state
[ 37.491000] br-lan: port 2(eth1) entered forwarding state
[ 37.509000] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 37.531000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 38.716000] cfg80211: Calling CRDA to update world regulatory domain
[ 38.729000] cfg80211: Invalid regulatory domain detected:
[ 38.734000] cfg80211: Regulatory domain: 00
[ 38.752000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 38.775000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 38.796000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 38.814000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 38.832000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[ 38.847000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 38.859000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 38.871000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 38.883000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 38.895000] cfg80211: Calling CRDA to update world regulatory domain
[ 38.906000] cfg80211: World regulatory domain updated:
[ 38.911000] cfg80211: DFS Master region: unset
[ 38.921000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 38.948000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 38.966000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 38.979000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 38.991000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[ 39.014000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 39.031000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 39.043000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 39.055000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)[/spoiler]

что подскажет многоуважаемый ALL ?

Re: OpenWRT sd карта на gpio

Добавлено: 13 фев 2017, 00:49
Dioptimizer
Привет.
Надеюсь мой ответ будет еще актуален.
Проблема заключается в версии Openwrt. В более новых версиях (начиная с ревизии r47045) этот мод уже не работает как надо и выскакивают такие ошибки как у Вас.
Используйте Chaos Calmer 15.05 (до версии r47042) или более поздний Barrier Breaker 14.07.
Источник: https://forum.openwrt.org/viewtopic.php ... 15#p351215