Those are good news, I'm glad it worked for you. The u-boot I used from pepe2k was the MR3040 then flashed the openwrt firmware using u-boot, I tried with several smartbox A4 and always worked alright no extra buttons to push. I had UART connected with a terminal session open while doing the whole thing to debug any possible issue but it shouldn't have any impact in the process. Did you run the script to map the GPI0s? If you want to push an image for this device it should be well made.
I managed to modify the CC 15.05.01 image builder and I have created an image with 8MB openwrt for the device. The sd card slot will be shown as sda1 and I used to extroot leaving a the USB port free for an extra USB wifi adapter.
With 8MB of flash It was an easy task to fit the Mark IV firmware which is already running on this gigastone device, of course before you flash this firmware you need to unpack the pineapple binary and break the firmware security which is in the web page of the firmware, then recompile the image and flash it to gigastone. When everything is up and running I created a sim link to the sd card so I can install more modules. Now the Smartbox A4 became a wifi pineapple Mark IV no issues.
Here is the boot session:
t
*********************************************
* U-Boot 1.1.4 (Nov 19 2014, 09:46:02) *
*********************************************
AP121 (AR9331) U-Boot for TL-MR3040
DRAM: 64 MB
FLASH: Macronix MX25L64 (8 MB)
CLOCKS: 400/400/200/33 MHz (CPU/RAM/AHB/SPI)
LED on during eth initialization...
Hit any key to stop autobooting: 0
Booting image at: 0x9F020000
Image name: OpenWrt r36088
Image type: MIPS Linux Kernel Image (lzma compressed)
Data size: 957040 Bytes = 934.6 kB
Load address: 0x80060000
Entry point: 0x80060000
Uncompressing kernel image... OK!
Starting kernel...
[ 0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Mar 23 16:49:30 UTC 2013
[ 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] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: board=TL-MR3020 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: 61488k/65536k available (2211k kernel code, 4048k reserved, 418k 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 TP-LINK TL-MR3020
[ 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.380000] 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.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] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 0.450000] io scheduler noop registered
[ 0.450000] io scheduler deadline registered (default)
[ 0.460000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.470000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[ 0.480000] console [ttyATH0] enabled, bootconsole disabled
[ 0.480000] console [ttyATH0] enabled, bootconsole disabled
[ 0.490000] m25p80 spi0.0: found mx25l6405d, expected m25p80
[ 0.500000] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[ 0.500000] 5 tp-link partitions found on MTD device spi0.0
[ 0.510000] Creating 5 MTD partitions on "spi0.0":
[ 0.510000] 0x000000000000-0x000000020000 : "u-boot"
[ 0.520000] 0x000000020000-0x000000109c70 : "kernel"
[ 0.520000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.540000] 0x000000109c70-0x0000007f0000 : "rootfs"
[ 0.540000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.550000] mtd: partition "rootfs" set to be root filesystem
[ 0.560000] mtd: partition "rootfs_data" created automatically, ofs=5D0000, len=220000
[ 0.570000] 0x0000005d0000-0x0000007f0000 : "rootfs_data"
[ 0.570000] 0x0000007f0000-0x000000800000 : "art"
[ 0.580000] 0x000000020000-0x0000007f0000 : "firmware"
[ 0.600000] ag71xx_mdio: probed
[ 0.610000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[ 1.160000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[ 1.170000] TCP cubic registered
[ 1.170000] NET: Registered protocol family 17
[ 1.180000] Bridge firewalling registered
[ 1.180000] 8021q: 802.1Q VLAN Support v1.8
[ 1.190000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 1.200000] Freeing unused kernel memory: 212k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[ 7.040000] JFFS2 notice: (466) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 22 of xref (0 dead, 4 orphan) found.
[ 7.830000] SCSI subsystem initialized
[ 8.000000] usbcore: registered new interface driver usbfs
[ 8.000000] usbcore: registered new interface driver hub
[ 8.010000] usbcore: registered new device driver usb
[ 8.290000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 8.300000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[ 8.310000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 8.340000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 8.360000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 8.360000] hub 1-0:1.0: USB hub found
[ 8.360000] hub 1-0:1.0: 1 port detected
[ 8.380000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 8.410000] Initializing USB Mass Storage driver...
[ 8.410000] usbcore: registered new interface driver usb-storage
[ 8.420000] USB Mass Storage support registered.
[ 8.690000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 8.840000] hub 1-1:1.0: USB hub found
[ 8.840000] hub 1-1:1.0: 2 ports detected
[ 9.130000] usb 1-1.2: new high-speed USB device number 3 using ehci-platform
[ 9.420000] scsi0 : usb-storage 1-1.2:1.0
[ 11.100000] scsi 0:0:0:0: Direct-Access Generic Storage Device 0.00 PQ: 0 ANSI: 2
[ 11.110000] sd 0:0:0:0: [sda] 3842048 512-byte logical blocks: (1.96 GB/1.83 GiB)
[ 11.120000] sd 0:0:0:0: [sda] Write Protect is off
[ 11.130000] sd 0:0:0:0: [sda] No Caching mode page present
[ 11.130000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 11.140000] sd 0:0:0:0: [sda] No Caching mode page present
[ 11.140000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 11.150000] sda: sda1 sda2
[ 11.160000] sd 0:0:0:0: [sda] No Caching mode page present
[ 11.160000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 11.170000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 28.830000] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
[ 28.960000] EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities
[ 29.850000] EXT4-fs (sda1): recovery complete
[ 29.850000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
switching to external rootfs
- init -
Please press Enter to activate this console. [ 30.590000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[ 30.600000] Backport based on wireless-testing.git master-2012-09-07
[ 30.600000] compat.git: wireless-testing.git
[ 30.650000] cfg80211: Calling CRDA to update world regulatory domain
[ 30.650000] cfg80211: World regulatory domain updated:
[ 30.660000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 30.660000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 30.670000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 30.680000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 30.690000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 30.700000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 30.830000] cfg80211: World regulatory domain updated:
[ 30.840000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 30.840000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 30.850000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 30.860000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 30.870000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 30.880000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 31.230000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 31.240000] cfg80211: Calling CRDA for country: US
[ 31.240000] cfg80211: Regulatory domain changed to country: US
[ 31.250000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 31.260000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[ 31.270000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[ 31.270000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 31.280000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 31.290000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 31.300000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
Failed to set regulatory domain: -1
[ 31.510000] PPP generic driver version 2.4.2
[ 31.600000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 31.730000] NET: Registered protocol family 24
[ 31.800000] nf_conntrack version 0.5.0 (964 buckets, 3856 max)
[ 36.650000] device eth0 entered promiscuous mode
[ 43.670000] device wlan0 entered promiscuous mode
[ 43.780000] br-lan: port 2(wlan0) entered forwarding state
[ 43.780000] br-lan: port 2(wlan0) entered forwarding state
[ 45.780000] br-lan: port 2(wlan0) entered forwarding state
[ 59.140000] device wlan0 left promiscuous mode
[ 59.140000] br-lan: port 2(wlan0) entered disabled state
[ 60.350000] device wlan0 entered promiscuous mode
[ 60.450000] br-lan: port 2(wlan0) entered forwarding state
[ 60.460000] br-lan: port 2(wlan0) entered forwarding state
[ 62.460000] br-lan: port 2(wlan0) entered forwarding state
[ 63.520000] device br-lan entered promiscuous mode
BusyBox v1.19.4 (2013-03-02 13:43:56 GMT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __ \
| |.-----.-----.-----.| | | |.----.| |_ \ \
| - || _ | -__| || | | || _|| _| \ \ \
|_______|| __|_____|__|__||________||__| |____| <, .v , // ) ) ) ) )
|__| W I R E L E S S F R E E D O M \\; \// // / / /
ATTITUDE ADJUSTMENT (MK4 Ver. 2.8) ---------- ;\\|||//; / /
* 1/4 oz Vodka Pour all ingredients into mixing ,'<\/><\/` /
* 1/4 oz Gin tin with ice, strain into glass.,.`X/\><\\>`
* 1/4 oz Amaretto ;>/>><\\><\/`
* 1/4 oz Triple sec |<\\>>X/<>/\|
* 1/4 oz Peach schnapps `<\/><\/><\\;
* 1/4 oz Sour mix '/\<>/\<>/'
* 1 splash Cranberry juice `<\/><;`
-------------------------Cooked by Knightrider007---WiFi_Pineapple MKIV
root@Pineapple:/#
root@Pineapple:/#
root@Pineapple:/#