Привет!
Приобрел Ubiquiti mFi mPort и появилось желание установить на него OpenWRT...
Пытался прошить один из готовых образов
openwrt-15.05-rc2-ar71xx-generic-ubnt-nano-m-squashfs-factory.bin
но у меня ничего не вышло...
только выдала система ошибку:
Как можно установить OpenWRT на данное железо?
------ Google Translate -----
Hi!
I purchased Ubiquiti mFi mPort and there was a desire to set him OpenWRT ...
I tried to flash one of the finished images
openwrt-15.05-rc2-ar71xx-generic-ubnt-nano-m-squashfs-factory.bin
but I did not work out ...
only issued a system error:
How can you install OpenWRT on this iron?
MF.v2.1.11# fwupdate.real -m /tmp/openwrt-15.05-rc2-ar71xx-generic-ubnt-nano-m-s
quashfs-factory.bin -d
Found mtd block: /dev/mtd0(u-boot)
Found mtd block: /dev/mtd1(u-boot-env)
Found mtd block: /dev/mtd2(kernel)
Found mtd block: /dev/mtd3(rootfs)
Found mtd block: /dev/mtd4(cfg)
Found mtd block: /dev/mtd5(EEPROM)
Got U-Boot variable: mtdparts = mtdparts=mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),6528k(rootfs),256k(cfg),64k(EEPROM)
Adding U-Boot partition: u-boot 9F000000 00040000
Adding U-Boot partition: u-boot-env 9F040000 00010000
Adding U-Boot partition: kernel 9F050000 00100000
Adding U-Boot partition: rootfs 9F150000 00660000
Adding U-Boot partition: cfg 9F7B0000 00040000
Adding U-Boot partition: EEPROM 9F7F0000 00010000
Calculating flash size:
Adding block: /dev/mtd0("u-boot") - size: 00040000
Adding block: /dev/mtd1("u-boot-env") - size: 00010000
Adding block: /dev/mtd2("kernel") - size: 00100000
Adding block: /dev/mtd3("rootfs") - size: 00660000
Adding block: /dev/mtd4("cfg") - size: 00040000
Adding block: /dev/mtd5("EEPROM") - size: 00010000
Total flash size: 00800000
Flash start: 9F000000
Flash end: 9F800000
Header MAGIC 'OPEN'
Current: MF.ar933x.v2.1.11.1309.150406.1423
New ver: XM.ar7240.v6.0.0-OpenWrt-r45918
Invalid version 'XM.ar7240.v6.0.0-OpenWrt-r45918'
MF.v2.1.11# cat /proc/cpuinfo
system type : Atheros AR9330 (Hornet)
processor : 0
cpu model : MIPS 24Kc V7.4
BogoMIPS : 257.53
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0000, 0x0810, 0x0120, 0x0ff8]
ASEs implemented : mips16
shadow register sets : 1
core : 0
VCED exceptions : not available
VCEI exceptions : not available
MF.v2.1.11# cat /proc/meminfo
MemTotal: 29564 kB
MF.v2.1.11# cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00100000 00010000 "kernel"
mtd3: 00660000 00010000 "rootfs"
mtd4: 00040000 00010000 "cfg"
mtd5: 00010000 00010000 "EEPROM"
MF.v2.1.11# dmesg
Normal zone: 8128 pages, LIFO batch:0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: console=tty0 root=31:03 rootfstype=squashfs init=/init panic=5 mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),6528k(rootfs),256k(cfg),64k(EEPROM) mem=32M ubootver=mfi-m1.2.7.82-gbab95d52
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 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] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 29432k/32768k available (2254k kernel code, 3336k reserved, 533k data, 132k init, 0k highmem)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:128
[ 0.000000] plat_time_init: plat time init done
[ 0.000000] Console: colour dummy device 80x25
[ 0.000000] console [tty0] enabled
[ 0.001000] Calibrating delay loop... 257.53 BogoMIPS (lpj=128768)
[ 0.017000] Mount-cache hash table entries: 512
[ 0.020000] NET: Registered protocol family 16
[ 0.022000] ===== ar7240_platform_init: 0
[ 0.031000] bio: create slab <bio-0> at 0
[ 0.033000] usbcore: registered new interface driver usbfs
[ 0.033000] usbcore: registered new interface driver hub
[ 0.034000] usbcore: registered new device driver usb
[ 0.036000] Switching to clocksource MIPS
[ 0.039000] NET: Registered protocol family 2
[ 0.040000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.042000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.042000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.042000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.042000] TCP reno registered
[ 0.043000] NET: Registered protocol family 1
[ 0.043000] AR7240 GPIOC major 0
[ 0.045000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.045000] NTFS driver 2.1.29 [Flags: R/O].
[ 0.046000] msgmni has been set to 57
[ 0.046000] io scheduler noop registered
[ 0.047000] io scheduler deadline registered (default)
[ 0.075000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.077000] ttyS0: detected caps 00000000 should be 00000100
[ 0.077000] serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A
[ 0.079000] 6 cmdlinepart partitions found on MTD device ar7240-nor0
[ 0.079000] Creating 6 MTD partitions on "ar7240-nor0":
[ 0.079000] 0x000000000000-0x000000040000 : "u-boot"
[ 0.081000] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.082000] 0x000000050000-0x000000150000 : "kernel"
[ 0.084000] 0x000000150000-0x0000007b0000 : "rootfs"
[ 0.086000] mtd: partition "rootfs" set to be root filesystem
[ 0.086000] 0x0000007b0000-0x0000007f0000 : "cfg"
[ 0.087000] 0x0000007f0000-0x000000800000 : "EEPROM"
[ 0.089000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.089000] ehci_hcd: block sizes: qh 60 qtd 96 itd 160 sitd 96
[ 0.120000] Port Status 1c000004
[ 0.120000] ar7240-ehci ar7240-ehci.0: ATH EHCI
[ 0.120000] drivers/usb/core/inode.c: creating file 'devices'
[ 0.120000] drivers/usb/core/inode.c: creating file '001'
[ 0.120000] ar7240-ehci ar7240-ehci.0: new USB bus registered, assigned bus number 1
[ 0.120000] ar7240-ehci ar7240-ehci.0: park 0
[ 0.120000] ar7240-ehci ar7240-ehci.0: reset command 080002 (park)=0 ithresh=8 period=1024 Reset HALT
[ 0.121000] ehci_reset Intialize USB CONTROLLER in host mode: 3
[ 0.123000] ehci_reset Port Status 1c000000
[ 0.123000] ar7240-ehci ar7240-ehci.0: irq 3, io mem 0x1b000000
[ 0.123000] ar7240-ehci ar7240-ehci.0: reset command 080b02 park=3 ithresh=8 period=1024 Reset HALT
[ 0.124000] ehci_reset Intialize USB CONTROLLER in host mode: 3
[ 0.125000] ehci_reset Port Status 1c000000
[ 0.125000] ar7240-ehci ar7240-ehci.0: init command 010009 (park)=0 ithresh=1 period=256 RUN
[ 0.131000] ar7240-ehci ar7240-ehci.0: USB 2.0 started, EHCI 1.00
[ 0.131000] usb usb1: default language 0x0409
[ 0.131000] usb usb1: udev 1, busnum 1, minor = 0
[ 0.131000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.131000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.131000] usb usb1: Product: ATH EHCI
[ 0.131000] usb usb1: Manufacturer: Linux 2.6.32.29 ehci_hcd
[ 0.131000] usb usb1: SerialNumber: platform
[ 0.132000] usb usb1: usb_probe_device
[ 0.132000] usb usb1: configuration #1 chosen from 1 choice
[ 0.132000] usb usb1: adding 1-0:1.0 (config #1, interface 0)
[ 0.133000] hub 1-0:1.0: usb_probe_interface
[ 0.133000] hub 1-0:1.0: usb_probe_interface - got id
[ 0.133000] hub 1-0:1.0: USB hub found
[ 0.133000] hub 1-0:1.0: 1 port detected
[ 0.133000] hub 1-0:1.0: standalone hub
[ 0.133000] hub 1-0:1.0: individual port power switching
[ 0.133000] hub 1-0:1.0: individual port over-current protection
[ 0.133000] hub 1-0:1.0: Single TT
[ 0.133000] hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)
[ 0.133000] hub 1-0:1.0: power on to power good time: 20ms
[ 0.133000] hub 1-0:1.0: local power source is good
[ 0.133000] hub 1-0:1.0: enabling power on all ports
[ 0.134000] drivers/usb/core/inode.c: creating file '001'
[ 0.134000] u32 classifier
[ 0.134000] Performance counters on
[ 0.135000] input device check on
[ 0.135000] Actions configured
[ 0.137000] TCP westwood registered
[ 0.137000] NET: Registered protocol family 10
[ 0.140000] lo: Disabled Privacy Extensions
[ 0.142000] NET: Registered protocol family 17
[ 0.142000] Bridge firewalling registered
[ 0.143000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
[ 0.143000] All bugs added by David S. Miller <davem@redhat.com>
[ 0.143000] ar7240wdt_init: Registering WDT success
[ 0.152000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 0.153000] Freeing unused kernel memory: 132k freed
[ 0.164000] Please be patient, while mFi loads ...
[ 0.245000] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000
[ 1.235000] Algorithmics/MIPS FPU Emulator v1.5
[ 1.563000] ubnthal: module license 'unspecified' taints kernel.
[ 1.564000] Disabling lock debugging due to kernel taint
[ 1.686000] flash (0xbfff1000) magic (0x0202) is wrong
[ 1.686000] flash (0xbfff1000) magic (0x0202) is wrong
[ 1.686000] flash (0xbfff1000) magic (0x0202) is wrong
[ 1.686000] flash (0xbfff5000) magic (0xffff) is wrong
[ 1.686000] flash (0xbfff5000) magic (0xffff) is wrong
[ 1.686000] flash (0xbfff5000) magic (0xffff) is wrong
[ 1.687000] creating procfs for ubnthal
[ 1.687000] creating proc entry for system.info
[ 1.687000] creating proc entry for board
[ 1.687000] creating proc entry for hasEthernet
[ 1.687000] creating proc entry for wifi0
[ 1.687000] creating procfs for status
[ 1.687000] creating proc entry for IsDefault
[ 1.687000] creating proc entry for IsLocated
[ 1.687000] creating proc entry for IsIsolated
[ 1.787000] gpiodev: (reset_timeout=3 factory_countdown=1000000)
[ 1.788000] /proc/led/freq
[ 1.788000] /proc/gpio/antenna
[ 1.788000] /proc/gpio/athr_reg
[ 1.788000] /proc/gpio/athr_val
[ 1.788000] /proc/gpio/output_control
[ 1.788000] /proc/gpio/input_control
[ 1.788000] /proc/gpio/counter_control
[ 1.788000] /proc/gpio/eth_state
[ 1.788000] /proc/gpio/sr_val
[ 1.788000] /proc/gpio/counter14
[ 1.788000] /proc/gpio/counter15
[ 1.788000] /proc/gpio/counter16
[ 1.788000] /proc/gpio/counter17
[ 1.788000] /proc/gpio/counter18
[ 1.788000] /proc/gpio/counter19
[ 1.788000] /proc/gpio/counter20
[ 1.788000] /proc/gpio/counter21
[ 1.788000] /proc/gpio/counter26
[ 1.788000] /proc/gpio/fastcounter14
[ 1.788000] /proc/gpio/fastcounter15
[ 1.788000] /proc/gpio/fastcounter16
[ 1.788000] /proc/gpio/fastcounter17
[ 1.788000] /proc/gpio/fastcounter18
[ 1.788000] /proc/gpio/fastcounter19
[ 1.788000] /proc/gpio/fastcounter20
[ 1.788000] /proc/gpio/fastcounter21
[ 1.788000] /proc/gpio/fastcounter26
[ 1.788000] /proc/gpio/io14
[ 1.788000] /proc/gpio/io15
[ 1.788000] /proc/gpio/io16
[ 1.788000] /proc/gpio/io17
[ 1.788000] /proc/gpio/io18
[ 1.788000] /proc/gpio/io19
[ 1.788000] /proc/gpio/io20
[ 1.788000] /proc/gpio/io21
[ 1.788000] /proc/gpio/io26
[ 1.788000] /proc/gpio/update14
[ 1.788000] /proc/gpio/update15
[ 1.788000] /proc/gpio/update16
[ 1.788000] /proc/gpio/update17
[ 1.789000] /proc/gpio/update18
[ 1.789000] /proc/gpio/update19
[ 1.789000] /proc/gpio/update20
[ 1.789000] /proc/gpio/update21
[ 1.789000] /proc/gpio/update26
[ 1.789000] /proc/gpio/serial
[ 1.789000]
[ 1.789000] CONFIG_VPORT_SUPPORT enabled
[ 1.789000] ==========================================
[ 1.789000]
[ 1.789000] M2M
[ 1.789000] ==========================================
[ 6.092000] **** drop_caches_sysctl_handler: all done timer added ...****
[ 8.139000] SCSI subsystem initialized
[ 9.187000] i2c /dev entries driver
[ 9.441000] usbcore: registered new interface driver usbserial
[ 9.441000] usbserial: USB Serial Driver core
[ 9.690000] Initializing USB Mass Storage driver...
[ 9.690000] usbcore: registered new interface driver usb-storage
[ 9.690000] USB Mass Storage support registered.
[ 9.888000] USB Serial support registered for FTDI USB Serial Device
[ 9.888000] usbcore: registered new interface driver ftdi_sio
[ 9.888000] ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver
[ 10.053000] USB Serial support registered for pl2303
[ 10.054000] usbcore: registered new interface driver pl2303
[ 10.054000] pl2303: Prolific PL2303 USB to serial adaptor driver
[ 10.208000] fuse init (API version 7.13)
[ 11.134000] pktgen 2.72: Packet Generator for packet performance testing.
[ 16.516000] ATHR_GMAC: Length per segment 1536
[ 16.516000] ATHR_GMAC: fifo cfg 3 01f00140
[ 16.516000] ATHR_GMAC: Mac address for unit 0:81b05e7c
[ 16.516000] ATHR_GMAC: dc:9f:db:e6:d6:d4
[ 17.175000] ATHR_GMAC: Max segments per packet : 1
[ 17.175000] ATHR_GMAC: Max tx descriptor count : 80
[ 17.175000] ATHR_GMAC: Max rx descriptor count : 252
[ 17.175000] ATHR_GMAC: Mac capability flags : 4403
[ 17.176000] ATHR_GMAC: Mac address for unit 1:81b05e7c
[ 17.176000] ATHR_GMAC: de:9f:db:e6:d6:d4
[ 17.740000] MAC1: S26Detected
[ 17.740000] ATHR_GMAC: Max segments per packet : 1
[ 17.740000] ATHR_GMAC: Max tx descriptor count : 40
[ 17.740000] ATHR_GMAC: Max rx descriptor count : 252
[ 17.740000] ATHR_GMAC: Mac capability flags : 4D83
[ 19.194000] ath_hal: 0.9.17.1 (AR9380, DEBUG, REGOPS_FUNC, WRITE_EEPROM, 11D)
[ 20.466000] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
[ 21.410000] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
[ 23.899000] ath_ahb: 9.2.0_U10.5.13 (Atheros/multi-bss)
[ 23.900000] __ath_attach: Set global_scn[0]
[ 23.900000] ACBKMinfree = 48
[ 23.900000] ACBEMinfree = 32
[ 23.900000] ACVIMinfree = 16
[ 23.900000] ACVOMinfree = 0
[ 23.900000] CABMinfree = 48
[ 23.900000] UAPSDMinfree = 0
[ 23.905000] Bootstrap clock 25MHz
[ 23.908000] ar9300RadioAttach: Need analog access recipe!!
[ 23.908000] Restoring Cal data from Flash
[ 23.908000] ath_hal: Ubiquiti Hornet
[ 23.927000] ath_get_caps[5125] rx chainmask mismatch actual 1 sc_chainmak 0
[ 23.927000] ath_get_caps[5100] tx chainmask mismatch actual 1 sc_chainmak 0
[ 24.346000] wifi0: Atheros 9380: mem=0xb8100000, irq=2
[ 24.346000] wevent: registered
[ 24.346000] qos: registered
[ 24.919000] Custom GPIO-based I2C driver version 0.1.1
[ 24.929000] i2c-gpio i2c-gpio.0: using pins 22 (SDA) and 23 (SCL)
[ 25.042000] analogdev:
[ 25.042000] creating /proc/analog/
[ 25.042000] /proc/analog/ai_max1
[ 25.042000] /proc/analog/ai_max2
[ 25.042000] /proc/analog/ai_max3
[ 25.042000] /proc/analog/ai_max4
[ 25.042000] /proc/analog/sum1
[ 25.042000] /proc/analog/sum2
[ 25.042000] /proc/analog/sum3
[ 25.042000] /proc/analog/sum4
[ 25.042000] /proc/analog/rms1
[ 25.043000] /proc/analog/rms2
[ 25.043000] /proc/analog/rms3
[ 25.043000] /proc/analog/rms4
[ 25.043000] /proc/analog/rmsSum1
[ 25.043000] /proc/analog/rmsSum2
[ 25.043000] /proc/analog/rmsSum3
[ 25.043000] /proc/analog/rmsSum4
[ 25.043000] /proc/analog/mode1
[ 25.043000] /proc/analog/mode2
[ 25.043000] /proc/analog/mode3
[ 25.043000] /proc/analog/mode4
[ 25.043000] /proc/analog/rate1
[ 25.043000] /proc/analog/rate2
[ 25.043000] /proc/analog/rate3
[ 25.043000] /proc/analog/rate4
[ 25.043000] /proc/analog/gain1
[ 25.043000] /proc/analog/gain2
[ 25.043000] /proc/analog/gain3
[ 25.043000] /proc/analog/gain4
[ 25.043000] /proc/analog/value1
[ 25.043000] /proc/analog/value2
[ 25.043000] /proc/analog/value3
[ 25.043000] /proc/analog/value4
[ 25.043000] mcp3424_probe(client = 81a048e0, idp = 80ed2fa0)
[ 28.974000] wlan_vap_create : enter. devhandle=0x81be42c0, opmode=IEEE80211_M_STA, flags=0x3
[ 28.974000] wlan_vap_create : exit. devhandle=0x81be42c0, opmode=IEEE80211_M_STA, flags=0x3.
[ 28.975000] VAP device ath0 created
[ 29.785000]
[ 29.785000] DES SSID SET=
[ 30.275000] Ebtables v2.0 registered
[ 32.790000] device ath0 entered promiscuous mode
[ 32.804000] device eth0 entered promiscuous mode
[ 32.804000] athr_gmac_ring_alloc Allocated 1280 at 0x80fbd000
[ 32.804000] athr_gmac_ring_alloc Allocated 4032 at 0x80fac000
[ 33.107000] Setting Drop CRC Errors, Pause Frames and Length Error frames
[ 33.112000] Setting PHY...
[ 36.749000] ATHR_GMAC: Enet Unit:0 PHY:4 is UP Mii 100Mbps full duplex
[ 36.749000] ATHR_GMAC: done cfg2 0x7115 ifctl 0x10000 miictrl
[ 36.749000] Setting Drop CRC Errors, Pause Frames and Length Error frames
[ 43.106000] ath0: no IPv6 routers present
[ 47.681000] eth0: no IPv6 routers present
[ 53.444000] analog_open()
[ 53.444000]
[ 53.444000] analog_open()
[ 53.444000]
[ 53.444000] analog_open()
[ 53.444000]
[ 53.444000] analog_open()
[ 53.444000]
[ 53.577000] analog_open()
[ 53.577000]
[ 53.577000] analog_open()
[ 53.577000]
[ 53.577000] analog_open()
[ 53.577000]
[ 53.577000] analog_open()
[ 53.577000]