What's new

PineApple Mk5 - Mini Review

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

sfx2000

Part of the Furniture
Decided to break this out, considered putting this over in the Wireless section, but since this is a very focused device...

Hardware:

Fairly similar to the TP-LINK MR2030 with a Alfa USB adapter built-in

SOC - Atheros AR9331 MIPS R24k integrated 802.11n Router/AP/Wifi (B/G/N 1*1:1)
Memory - 16MB Flash, 64MB DDR
CPU is clocked at 400MHz

WiFi:

PHY0 - mapped to AR9331
PHY1 - Realtek RTL8187L (MAC/BB) with RTL8225 B/G RF ASIC

The RTL8187 is a USB2 adapter, attached to the AR9331 via Alcor USB2 Hub chip, with the AR9331 as USB master

Ethernet - provided by AR9331 integrated switch - 10/100 fast ethernet

USB2 External Interface - for mass storage or 3G/4G WAN modem with current SW - conversely, with appropriate driver support, could break out another USB-Ethernet or USB-Wifi for 5GHz support

USB2 also breaks out an SD-Card (just SD-Card, not fully SDIO) for uSD (FAT/ExFAT only, no XHSD, so limited to 32GB or less)

UART/JTAG/I2S breakout via pins, TTL Serial for BusPirate, full JTAG support

Board shots below

mkv_board_top.jpg
mkv_board_bottom.jpg
 
MkV Software:

OpenWRT (Attitude Adjustment) with Hak5 package management (for 'infusions') and their custom WebGUI

Code:
root@172.16.42.1's password:


BusyBox v1.19.4 (2015-03-11 01:16:39 EDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  .NN,   
  .cxxdl'  xMMO  'cdxxl'   
  .c0WMNk;,NMMW:,xXMMKo.   
  ...:KMMMWMMMMWMMMXc...  .   
  ,  .l0NMMMNXMMMMMMMMMMMMXNMMMWKl'  xWd   
  ,0Wd  .':xNMMMMMMMMMMMMMMMMNkc'.  ;KM0'   
  lWMo  .;dNMMMMMMMMMMMMMMWx:.  .l.  dMWc   
  :WWo  oNd  .;xKWMMMMMMMMMMMMMMMMMMMMWXx:.  dWX:  dMW;  
  ,NWo  oMW:  .. ..,lOXWMMMMMMMMMMWN0o;.. ..  cWMl  dMN'
  .XMx  oWN;  lc  .loooolcooclooool.  cXl  oMWc  kMK.
  oMW'  ,WMl  cMW:  lWMW0d:;cdd:;:o0WMWl  lMW:  OMW'  ,WMl
  0M0  xMX.  .XMd  .lo:.,dXMMMMMMXd,.:ol.  kMK.  'NMd  KMO
  NMd  KMk  lMN.  .;:xOxollccddcclloxOx:;.  'WM:  OM0  xMX
  WMo  .XMx  dMK  oNMMMMWOc;;ol;;cOWMMMMNo  .XMl  kMK  dMN
  NMx  0MO  :Kd. .lllcl;.:0WMMMMW0:.;lclll. .xK;  0MO  kMX
 __  ___ ______ _  _____ _.:W0;,oxl:::oOOo:::lxo,;0W:  _  .ONo  KMk
 \ \  / (_|  ____(_) |  __ (_);cKMMMMWk:.;,.;kWMMMMKc;.  | |  .OX:
  \ \  /\  / / _| |__  _  | |__) _ _ __  ___  __ _ _ __  _ __ | | ___  Mark V
  \ \/  \/ / | |  __| | | |  ___| | '_ \ / _ \/ _` | '_ \| '_ \| |/ _ \ 2.4.0
  \  /\  /  | | |  | | | |  | | | | |  __| (_| | |_) | |_) | |  __/   
  \/  \/  |_|_|  |_| |_|  |_|_| |_|\___|\__,_| .__/| .__/|_|\___|.com   
  With OpenWrt ATTITUDE ADJUSTMENT  | |  | |   
  |_|  |_|   
root@Pineapple:~# uname -a
Linux Pineapple 3.3.8 #81 Mon Aug 3 19:40:39 PDT 2015 mips GNU/Linux
 
dmesg output

Code:
root@Pineapple:~# dmesg
[  0.000000] Linux version 3.3.8 (sebkinne@buildtop) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #81 Mon Aug 3 19:40:39 PDT 2015
[  0.000000] MyLoader: sysp=97d936c9, boardp=61b798de, parts=6238a85e
[  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 PFN ranges:
[  0.000000]  Normal  0x00000000 -> 0x00004000
[  0.000000] Movable zone start PFN for each node
[  0.000000] Early memory PFN ranges
[  0.000000]  0: 0x00000000 -> 0x00004000
[  0.000000] On node 0 totalpages: 16384
[  0.000000] free_area_init_node: node 0, pgdat 802d8470, node_mem_map 81000000
[  0.000000]  Normal zone: 128 pages used for memmap
[  0.000000]  Normal zone: 0 pages reserved
[  0.000000]  Normal zone: 16256 pages, LIFO batch:3
[  0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[  0.000000] pcpu-alloc: [0] 0
[  0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[  0.000000] Kernel command line:  board=MK5 console=ttyATH0,115200 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] 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: 61592k/65536k available (2124k kernel code, 3944k reserved, 406k data, 212k init, 0k highmem)
[  0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[  0.000000] NR_IRQS:51
[  0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[  0.080000] pid_max: default: 32768 minimum: 301
[  0.080000] Mount-cache hash table entries: 512
[  0.090000] NET: Registered protocol family 16
[  0.090000] gpiochip_add: registered GPIOs 0 to 29 on device: ath79
[  0.100000] MIPS: machine is MK5 V1.0
[  0.350000] bio: create slab <bio-0> at 0
[  0.360000] Switching to clocksource MIPS
[  0.360000] NET: Registered protocol family 2
[  0.370000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[  0.370000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[  0.370000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[  0.380000] TCP: Hash tables configured (established 2048 bind 2048)
[  0.390000] TCP reno registered
[  0.390000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[  0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[  0.400000] NET: Registered protocol family 1
[  0.410000] PCI: CLS 0 bytes, default 32
[  0.430000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[  0.430000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[  0.440000] msgmni has been set to 120
[  0.440000] io scheduler noop registered
[  0.450000] io scheduler deadline registered (default)
[  0.450000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[  0.460000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[  0.470000] console [ttyATH0] enabled, bootconsole disabled
[  0.480000] m25p80 spi0.0: found w25q128, expected m25p80
[  0.480000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[  0.490000] 5 tp-link partitions found on MTD device spi0.0
[  0.490000] Creating 5 MTD partitions on "spi0.0":
[  0.500000] 0x000000000000-0x000000020000 : "u-boot"
[  0.510000] 0x000000020000-0x000000102758 : "kernel"
[  0.510000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[  0.520000] 0x000000102758-0x000000ff0000 : "rootfs"
[  0.530000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[  0.540000] mtd: partition "rootfs" set to be root filesystem
[  0.550000] mtd: partition "rootfs_data" created automatically, ofs=CD0000, len=320000
[  0.550000] 0x000000cd0000-0x000000ff0000 : "rootfs_data"
[  0.560000] 0x000000ff0000-0x000001000000 : "art"
[  0.570000] 0x000000020000-0x000000ff0000 : "firmware"
[  0.590000] ag71xx_mdio: probed
[  0.590000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[  1.150000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[  1.160000] TCP cubic registered
[  1.160000] NET: Registered protocol family 17
[  1.160000] Bridge firewalling registered
[  1.170000] 8021q: 802.1Q VLAN Support v1.8
[  1.180000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[  1.190000] Freeing unused kernel memory: 212k freed
[  3.530000] Registered led device: mk5:red:wlan1
[  3.530000] Registered led device: mk5:blue:wlan0
[  3.530000] Registered led device: mk5:amber:lan
[  6.860000] JFFS2 notice: (421) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (1 unchecked, 3 orphan) and 31 of xref (0 dead, 16 orphan) found.
[  7.810000] SCSI subsystem initialized
 
dmesg output (continued) - note the USB support...

Code:
[  8.120000] usbcore: registered new interface driver usbfs
[  8.120000] usbcore: registered new interface driver hub
[  8.130000] usbcore: registered new device driver usb
[  8.670000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[  8.680000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[  8.690000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[  8.720000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[  8.740000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[  8.740000] hub 1-0:1.0: USB hub found
[  8.740000] hub 1-0:1.0: 1 port detected
[  8.850000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[  8.970000] uhci_hcd: USB Universal Host Controller Interface driver
[  9.100000] Initializing USB Mass Storage driver...
[  9.100000] usbcore: registered new interface driver usb-storage
[  9.110000] USB Mass Storage support registered.
[  9.150000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[  9.300000] hub 1-1:1.0: USB hub found
[  9.300000] hub 1-1:1.0: 4 ports detected
[  9.580000] usb 1-1.1: new high-speed USB device number 3 using ehci-platform
[  9.800000] usb 1-1.4: new high-speed USB device number 4 using ehci-platform
[  9.930000] scsi0 : usb-storage 1-1.4:1.0
[  10.930000] scsi 0:0:0:0: Direct-Access  Multi  Flash Reader  1.00 PQ: 0 ANSI: 0
[  11.470000] sd 0:0:0:0: [sda] 3907584 512-byte logical blocks: (2.00 GB/1.86 GiB)
[  11.470000] sd 0:0:0:0: [sda] Write Protect is off
[  11.480000] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[  11.480000] sd 0:0:0:0: [sda] No Caching mode page present
[  11.480000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  11.490000] sd 0:0:0:0: [sda] No Caching mode page present
[  11.500000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  11.510000]  sda: sda1 sda2
[  11.510000] sd 0:0:0:0: [sda] No Caching mode page present
[  11.520000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  11.520000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[  22.220000] eth0: link up (100Mbps/Full duplex)
[  29.540000] eth0: link down
[  33.060000] Loading modules backported from Linux version master-2014-01-23-0-g62c147d
[  33.070000] Backport generated by backports.git backports-20140124-0-g1256d3e
[  33.180000] cfg80211: Calling CRDA to update world regulatory domain
[  33.190000] cfg80211: World regulatory domain updated:
[  33.190000] cfg80211:  DFS Master region: unset
[  33.200000] cfg80211:  (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[  33.200000] cfg80211:  (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[  33.210000] cfg80211:  (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[  33.220000] cfg80211:  (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[  33.230000] cfg80211:  (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[  33.240000] cfg80211:  (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[  33.240000] cfg80211:  (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[  34.790000] usbcore: registered new interface driver rt73usb
[  34.850000] ath: phy0: Enable LNA combining
[  34.850000] ath: EEPROM regdomain: 0x0
[  34.850000] ath: EEPROM indicates default country code should be used
[  34.850000] ath: doing EEPROM country->regdmn map search
[  34.850000] ath: country maps to regdmn code: 0x3a
[  34.850000] ath: Country alpha2 being used: US
[  34.850000] ath: Regpair used: 0x3a
[  34.860000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[  34.860000] Registered led device: ath9k-phy0
[  34.860000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[  34.890000] cfg80211: Calling CRDA for country: US
[  34.890000] cfg80211: Regulatory domain changed to country: US
[  34.890000] cfg80211:  DFS Master region: FCC
[  34.900000] cfg80211:  (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[  34.910000] cfg80211:  (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[  34.910000] cfg80211:  (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 1700 mBm)
[  34.920000] cfg80211:  (5250000 KHz - 5330000 KHz @ 80000 KHz), (300 mBi, 2400 mBm)
[  34.930000] cfg80211:  (5490000 KHz - 5600000 KHz @ 80000 KHz), (300 mBi, 2400 mBm)
[  34.940000] cfg80211:  (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2400 mBm)
[  34.950000] cfg80211:  (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 3000 mBm)
[  34.950000] cfg80211:  (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
[  35.240000] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[  35.240000] ieee80211 phy1: hwaddr <snip>, RTL8187vB (default) V1 + rtl8225z2, rfkill mask 2
[  35.270000] rtl8187: Customer ID is 0x46
[  35.270000] Registered led device: rtl8187-phy1::radio
[  35.270000] Registered led device: rtl8187-phy1::tx
[  35.270000] Registered led device: rtl8187-phy1::rx
[  35.280000] rtl8187: wireless switch is on
[  35.280000] usbcore: registered new interface driver rtl8187
[  35.370000] Button Hotplug driver version 0.4.1
[  35.580000] RPC: Registered named UNIX socket transport module.
[  35.590000] RPC: Registered udp transport module.
[  35.590000] RPC: Registered tcp transport module.
[  35.600000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[  35.920000] PPP generic driver version 2.4.2
[  35.960000] usbcore: registered new interface driver rt2800usb
[  36.090000] tun: Universal TUN/TAP device driver, 1.6
[  36.090000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[  36.440000] ip_tables: (C) 2000-2006 Netfilter Core Team
[  36.670000] NET: Registered protocol family 24
[  36.820000] nf_conntrack version 0.5.0 (965 buckets, 3860 max)
[  37.520000] xt_time: kernel timezone is -0000
[  38.050000] usbcore: registered new interface driver ath9k_htc
[  38.090000] usbcore: registered new interface driver cdc_acm
[  38.100000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[  38.320000] usbcore: registered new interface driver usbserial
[  38.330000] USB Serial support registered for generic
[  38.330000] usbcore: registered new interface driver usbserial_generic
[  38.340000] usbserial: USB Serial Driver core
[  38.480000] usbcore: registered new interface driver asix
[  38.550000] usbcore: registered new interface driver cdc_ether
[  38.790000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
[  38.900000] usbcore: registered new interface driver rndis_host
[  39.010000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[  39.030000] USB Serial support registered for GSM modem (1-port)
[  39.040000] usbcore: registered new interface driver option
[  39.040000] option: v0.7.2:USB Driver for GSM modems
[  39.060000] USB Serial support registered for pl2303
[  39.070000] usbcore: registered new interface driver pl2303
[  39.070000] pl2303: Prolific PL2303 USB to serial adaptor driver
[  46.780000] FPU emulator disabled, make sure your toolchainwas compiled with software floating point support (soft-float)
[  48.670000] device eth0 entered promiscuous mode
[  49.500000] eth0: link up (100Mbps/Full duplex)
[  49.500000] br-lan: port 1(eth0) entered forwarding state
[  49.510000] br-lan: port 1(eth0) entered forwarding state
[  51.510000] br-lan: port 1(eth0) entered forwarding state
[  56.310000] device wlan0 entered promiscuous mode
[  56.420000] br-lan: port 2(wlan0) entered forwarding state
[  56.420000] br-lan: port 2(wlan0) entered forwarding state
[  56.510000] device wlan0-1 entered promiscuous mode
[  57.250000] br-lan: port 3(wlan0-1) entered forwarding state
[  57.260000] br-lan: port 3(wlan0-1) entered forwarding state
[  58.420000] br-lan: port 2(wlan0) entered forwarding state
[  59.260000] br-lan: port 3(wlan0-1) entered forwarding state
[  73.140000] wlan1: authenticate with <snip>
[  73.440000] wlan1: send auth to <snip> (try 1/3)
[  73.440000] wlan1: authenticated
[  73.470000] wlan1: associate with <snip> (try 1/3)
[  73.480000] wlan1: RX AssocResp from <snip> (capab=0x1431 status=0 aid=1)
[  73.480000] wlan1: associated
 
more stuff

Code:
 lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 003: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
Bus 001 Device 004: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader

/proc/cpuinfo
system type     : Atheros AR9330 rev 1
machine       : MK5 V1.0
processor     : 0
cpu model     : MIPS 24Kc V7.4
BogoMIPS     : 265.42
wait instruction   : yes
microsecond timers   : yes
tlb_entries     : 16
extra interrupt vector   : yes
hardware watchpoint   : yes, count: 4, address/irw mask: [0x0000, 0x0f00, 0x0080, 0x0820]
ASEs implemented   : mips16
shadow register sets   : 1
kscratch registers   : 0
core       : 0
VCED exceptions     : not available
VCEI exceptions     : not available
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top