Here's a quick flashing guide for the MK4 via serial:
Connect a USB TTL Serial console cable to the pin headers next to the USB port. Set your com program (hyperterminal, minicom, screen, gcom) to use these settings:
115200, 8, N, 1, no hardware flow control, no software flow control
minicom -s
Connect ethernet between the PC and the Pineapple's WAN/LAN port. Set a static IP on the PC of 192.168.2.11 / 255.255.255.0
ifconfig eth0 192.168.2.11 netmask 255.255.255.0 up
Configure a TFTP server (Windows:
http://tftpd32.jounin.net/ Linux:
http://code.google.com/p/tftpgui/)
Download the factory firmware from
http://wifipineapple...tory/kernel.bin and
http://wifipineapple...tory/rootfs.bin wget http://wifipineapple.com/mk4/factory/kernel.bin; wget http://wifipineapple.com/mk4/factory/rootfs.bin
Move the two bin files in your tftproot directory
Power on the pineapple. In your com program you will see:
U-Boot 1.1.4 (Sep 29 2011 - 16:39:41)
AP121-8MB (ar9331) U-boot
DRAM: 32 MB
Top of RAM usable for U-Boot at: 82000000
Reserving 248k for U-Boot at: 81fc0000
Reserving 192k for malloc() at: 81f90000
Reserving 44 Bytes for Board Info at: 81f8ffd4
Reserving 36 Bytes for Global Data at: 81f8ffb0
Reserving 128k for boot params() at: 81f6ffb0
Stack Pointer at: 81f6ff98
Now running in RAM - U-Boot at: 81fc0000
id read 0x100000ff
flash size 8388608, sector count = 128
Flash: 8 MB
In: serial
Out: serial
Err: serial
Net: ag7240_enet_initialize...
Fetching MAC Address from 0x81feb688
Fetching MAC Address from 0x81feb688
: cfg1 0x5 cfg2 0x7114
eth0: 00:c0:ca:5f:6b:5d
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:c0:ca:5f:6b:5e
athrs26_reg_init_lan
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Please choose the operation:
1: Entr boot command line interface.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
Press
1 to enter the U-Boot CLI
At the ar7240> prompt issue these commands:
setenv bootargs "board=ALFA console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd"
saveenv
tftp 0x80600000 kernel.bin
erase 0x9f650000 +0x190000
cp.b 0x80600000 0x9f650000 d695a
tftp 0x80600000 rootfs.bin
erase 0x9f050000 +0x600000
cp.b 0x80600000 0x9f050000 23d004
bootm 0x9f650000
Once OpenWRT finishes booting press ENTER to active the console. Issue
passwd and set a root password. Next start the ssh service
/etc/init.d/dropbear startMove the Ethernet cable from the WAN/LAN port to the PoE LAN port.
From the PC ping 192.168.2.1 to verify a connection. From here you'll need to SCP over the latest MK4 update from
http://wifipineapple.com/mk4/firmwareSCP the latest firmware .bin file to the Pineapple's /tmp/ directory (windows:
http://winscp.net/eng/index.php linux: you already have scp)
scp firmware.bin root@192.168.2.1:/tmp/
Once the firmware has been copied to the pineapple's /tmp/ directory you're ready to update the factory firmware to the latest version of the Jasager suite. On the pineapple issue:
sysupgrade -n -v /tmp/firmware.bin
The upgrade process takes 2-3 minutes. When complete the Pineapple will reboot and all will be happy again in the land of the pineapple. Continue with normal usage (ie: change your PC's ethernet interface back to DHCP or static it to 172.16.42.42)