Jump to content

Bricked Pineapple Help


DarkGreyTide

Recommended Posts

I booted my pineapple up and now I am getting a solid green and red light and the Ethernet interface is constantly cycling, I have had the unit since launch and have not had any issues with it up until this point.

What I have done:

  1. Attempted a settings reset (10011) with the dip switches.
  2. Attempted a emergency unbricking (11110)
    1. I managed to get Stager installed however when I attempt to install the latest update 1.0.4 it never installs I just keep seeing the red and green light with maybe a couple of flashes of the amber and blue and the Ethernet interface is still cycling up and down.
  3. Opened up a console over ttl and found the unit is stuck in a constant boot cycle. It does not look like it ever makes it to the point of loading the update on the sd card (I also double checked the checksum and the .bin matches the md5 file). If needed I can post the console output I am seeing.
Link to comment
Share on other sites

I see two different console outputs depending on whether I have the sd card inserted or not. I have attached both labeled appropriately.

With sd card inserted.

U-Boot 1.1.4 (Oct 2 2013)

AP121 (AR9331) U-Boot

DRAM: 64 MB
FLASH: Winbond W25Q128 (16 MB)
Using default environment

In: serial
Out: serial
Err: serial
Net: ag7240_enet_initialize...
: cfg1 0x5 cfg2 0x7114
eth0: 00:13:37:A5:09:29
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:13:37:A5:09:29
athrs26_reg_init_lan
eth1 up

Press any key to stop autoboot, Autobooting in : 0

Booting image at: 0x9F020000

Image name: OpenWrt unknown
Image type: MIPS Linux Kernel Image (lzma compressed)
Data size: 927044 Bytes = 905.3 kB
Load address: 0x80060000
Entry point: 0x80060000

Uncompressing kernel image... OK!
Starting kernel...

[ 0.000000] Linux version 3.3.8 (sebkinne@buildtop) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Wed Oct 9 23:48:12 PDT 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=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: 61596k/65536k available (2124k kernel code, 3940k reserved, 405k data, 208k 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.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) © 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.460000] console [ttyATH0] enabled, bootconsole disabled
[ 0.460000] 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-0x000000102744 : "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] 0x000000102744-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=5B0000, len=A40000
[ 0.550000] 0x0000005b0000-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: 208k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
[ 6.180000] eth0: link up (100Mbps/Full duplex)
- regular preinit -
jffs2 not ready yet; using ramdisk
- init -
[ 7.040000] eth0: link down
[ 8.290000] Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5
[ 8.290000] Backport generated by backports.git backports-20130617-4-ge3220f5
[ 8.330000] cfg80211: Calling CRDA to update world regulatory domain
[ 8.340000] cfg80211: World regulatory domain updated:
[ 8.340000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 8.350000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 8.360000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 8.370000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 8.370000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 8.380000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Failed to set regulatory domain: -7
[ 9.320000] SCSI subsystem initialized
[ 9.510000] usbcore: registered new interface driver usbfs
[ 9.510000] usbcore: registered new interface driver hub
[ 9.520000] usbcore: registered new device driver usb
[ 10.460000] usbcore: registered new interface driver rt73usb
[ 10.600000] usbcore: registered new interface driver rtl8187
[ 10.640000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 10.760000] cfg80211: Calling CRDA for country: US
[ 10.760000] cfg80211: Regulatory domain changed to country: US
[ 10.760000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 10.770000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[ 10.780000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[ 10.790000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 10.800000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 10.800000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 10.810000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
Failed to set regulatory domain: -7
[ 10.860000] usbcore: registered new interface driver rt2800usb
[ 10.950000] Button Hotplug driver version 0.4.1
[ 11.490000] RPC: Registered named UNIX socket transport module.
[ 11.500000] RPC: Registered udp transport module.
[ 11.500000] RPC: Registered tcp transport module.
[ 11.510000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 11.890000] PPP generic driver version 2.4.2
[ 12.030000] tun: Universal TUN/TAP device driver, 1.6
[ 12.030000] tun: © 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 12.400000] ip_tables: © 2000-2006 Netfilter Core Team
[ 12.640000] NET: Registered protocol family 24
[ 12.770000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 12.780000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[ 12.790000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 12.820000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 12.840000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 12.840000] hub 1-0:1.0: USB hub found
[ 12.840000] hub 1-0:1.0: 1 port detected
[ 12.970000] nf_conntrack version 0.5.0 (965 buckets, 3860 max)
[ 13.260000] usb 1-1: new high-speed USB device number 2 using ehci-platform

With no sd card inserted.

U-Boot 1.1.4 (Oct 2 2013)

AP121 (AR9331) U-Boot

DRAM: 64 MB
FLASH: Winbond W25Q128 (16 MB)
Using default environment

In: serial
Out: serial
Err: serial
Net: ag7240_enet_initialize...
: cfg1 0x5 cfg2 0x7114
eth0: 00:13:37:A5:09:29
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:13:37:A5:09:29
athrs26_reg_init_lan
eth1 up

Press any key to stop autoboot, Autobooting in : 0

Booting image at: 0x9F020000

Image name: OpenWrt unknown
Image type: MIPS Linux Kernel Image (lzma compressed)
Data size: 927044 Bytes = 905.3 kB
Load address: 0x80060000
Entry point: 0x80060000

Uncompressing kernel image... OK!
Starting kernel...

[ 0.000000] Linux version 3.3.8 (sebkinne@buildtop) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Wed Oct 9 23:48:12 PDT 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=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: 61596k/65536k available (2124k kernel code, 3940k reserved, 405k data, 208k 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.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) © 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.460000] console [ttyATH0] enabled, bootconsole disabled
[ 0.460000] 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-0x000000102744 : "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] 0x000000102744-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=5B0000, len=A40000
[ 0.550000] 0x0000005b0000-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: 208k freed

Edited by Sebkinne
Adding spoiler tags.
Link to comment
Share on other sites

Yeah, without the SD plugged in, it will not get past a specific point in the boot. It requires an SD card.

The bootloop is very odd though. Could you check if the powersource is stable? If you have a faulty PSU, that could explain this. Different parts starting to use more power, power issue, reboot.

Anyway, is this the full boot log? As in, the last line before it repeats? I am guessing you get no bootloop with the SD card taken out?

Also, next time please use the

tags.

Best Regards,
Sebkinne

Link to comment
Share on other sites

Terribly sorry about the spoiler tags, I couldn't quite find what to use.

There is a boot loop without the sd card as well, that is the complete loop before the boot starts again.

It looks like it may be a faulty PSU. I booted from the battery and was able to flash to the latest update.

Out of curiosity i notice the red led is on on the power supply does that mean that it is having issues?

Link to comment
Share on other sites

Terribly sorry about the spoiler tags, I couldn't quite find what to use.

There is a boot loop without the sd card as well, that is the complete loop before the boot starts again.

It looks like it may be a faulty PSU. I booted from the battery and was able to flash to the latest update.

Out of curiosity i notice the red led is on on the power supply does that mean that it is having issues?

No - just that it's on.

And yeah, you have a faulty PSU. If you want it fixed ASAP, look around your house for a 12V 1A PSU. They are very common / standard. You could also buy one for a couple of bucks.

If you want to get it replaced by the hakshop, simply write an email to shop@hak5.org with your order number. Tell them it's a faulty PSU. They will explain the exchange procedure. The only reason I mentioned buying one was because some people are far away and it's not worth it for them.

Hope you get up and running soon!

Best Regards,

Sebkinne

Link to comment
Share on other sites

Terribly sorry about the spoiler tags, I couldn't quite find what to use.

There is a boot loop without the sd card as well, that is the complete loop before the boot starts again.

It looks like it may be a faulty PSU. I booted from the battery and was able to flash to the latest update.

Out of curiosity i notice the red led is on on the power supply does that mean that it is having issues?

I could be wrong but, my power supply for my mark v doesn't have a light.

Maybe your using the battery PSU, my battery PSU has a light, not sure if that would make a difference though.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...