You are here

Reboot after loading kernel

11 posts / 0 new
Last post
k3la
Reboot after loading kernel

I have a bullet m2 which will not accept any firm ware. I have tried to load the latest Arden and back to the Ubiquiti firmware and not able to communicate. I take the unit apart and connected to serial port. When  I start the m2 it shows the unit booting and I unable to stop the boot process. It continues until it reads loading kernel and then it reboots.. Does anyone have any suggestions or what ever information you need.
This is what was displayed
 

 


U-Boot 1.1.4.2-s956 (Jun 10 2015 - 10:54:50)

DRAM:  32 MB
Flash:  8 MB
PCIe WLAN Module found (#1).
Net:   eth0, eth1
Board: Ubiquiti Networks XM board (rev 1.0 e2d2)
Hit any key to stop autoboot:  1 0 
## Booting image at 9f050000 ...
   Image Name:   MIPS Ubiquiti Linux-2.6.32.68
   Created:      2016-03-31   9:54:32 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1008243 Bytes = 984.6 kB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

Booting...


U-Boot 1.1.4.2-s956 (Jun 10 2015 - 10:54:50)

DRAM:  32 MB
Flash:  8 MB

Barney K3LA

 
K5DLQ
K5DLQ's picture
Sounds like an AirOS 5.6.x

Sounds like an AirOS 5.6.x issue.

Did this unit have AirOS 5.6.x or higher on it?
Did you test it with the AREDN U-Boot Utility?
Did you downgrade via the AirOS GUI to AirOS 5.5.x before loading AREDN?

If you didn't downgrade to AirOS 5.5.x FIRST, then it's semi-bricked.
Since you have a serial connection, the good news is here:  http://www.aredn.org/comment/1568#comment-1568
 

KG6JEI
+1 looks to be an AIROS 5.6
+1 looks to be an AIROS 5.6 issue and needs to follow the reflash recovery and downgrade procedure via serial.
AE6XE
AE6XE's picture
Barney,  If the boot sequence
Barney,  If the boot sequence will not stop after hitting a key, here's some ideas:

1) check the SIN (Serial IN)  pin on the M2 to make sure it has a solid connection--are you also using a TTL to to RS-232 converter?  A bad connection or voltage levels could explain this. Some converters may need power too.
2) make sure your terminal emulator is configured with "115200 8N1"  per http://bloodhound.aredn.org/products/AREDN/wiki/HowTo/Unbrick .  Try changing to ANSI isntead of defaults like vt100.
3) The version of uboot showing is the XM5.6 one and incompatible with AREDN, BBHN, and OpenWRT firmware.   You might try to tftp the latest XM5.6.x factory image.  (Trying to load via tftp the XM5.5.x version is incompatible and would guarantee running the unbrick instructions.)

Joe AE6XE
k3la
I am using a sub to ttl
I am using a sub to ttl converter. I am just using hyper terminal and will look to see if I can change the emulation. I think I have a good connection on the data in pin but will check. Will even a line feed stop the boot process? Should it be trying to reboot on it own again or should something else happen after it reads loading kernel?
if I remember It will show that 5.6 loads but I was unable to connect to 192.168.1.20 but will try that again. Is there anything that I should be looking for on the serial port while I am loading 5.6 via the eithernet? Barney
AE6XE
AE6XE's picture
K3LA,  yes, "hit any key" or
K3LA,  yes, "hit any key" or any character should give you the 'uboot' prompt.  Type 'help' to know that you arrived.  At this point the unbrick process can start.

Generally, if there is a repeated reboot process, this means that liunx failed to load and did not take over.  linux returns an error back and the uboot process starts over as if newly powered on.   When linux is loading correctly, you will see the system messages followed by the linux command line prompt. 

A hardware failure can also cause a reboot loop.  Look for some obscure error just before it loops back to discover why linux isn't loading.

Try the USB to TTY convertor on something else to confirm functionality.  I sometimes try different USB ports on the computer--not all are the same.

Joe AE6XE
k3la
Rebooting
I will check out what I can. I am nor sure how else I can try the ttl to usb device. I can try a different usb port. I had to solder pins on the board since this board only had pads on it. The other three solder connections worked in that I am getting a ground and signal out and was able to measure 3.3 volts on the voltage pin. From the printout that I had included it does not appear to produce any error message before it starts to reboot. I tried watching the ttl output when I held the reset for an extended period and there were no readable characters appearing.At some point this becomes more of a challange rather than a cost effective process. I appreciate your comments and help. Barney
AE6XE
AE6XE's picture
I see now, there is no error
I see now, there is no error of any kind or mention of linux starting to load. Uboot's command to start the kernel doesn't look to find it at all.   

What is displayed on the serial console when the reset button is held for ~20 seconds during  power on?   (to confirm the reset button is pushed during power on?)    You should be able to see it going into tftp mode.   Does it do this?  If it does, load XM5.6.x.

uboot is there and operating, so there's got to be a problem somewhere from the terminal emulator through the converter into the serial port of the device ultimately to the uboot program.    A character is not getting to uboot to gain command line.

Joe AE6XE
K5DLQ
K5DLQ's picture
also, make sure that your
also, make sure that your serial-TTL converter is for 3.3V not 5V.

D.
 
k3la
Additions
I did the reset using the reset button on the poe. Is that the same? I will try holding the button when I plug the cable in. 
But the flashing lights appeared to be flashing correctly. 
I thought I purchased the converter from a link on this site. It was from Adafruit. Powered by the usb end and I did not connect that lead for power on the ttl end. 
I will let you know what I find. Barney
AE6XE
AE6XE's picture
Yes, if the power brick has a
Yes, if the power brick has a reset button, it is the same as pushing the reset direct on the device. I usually push while plugging in cable to POE port. Joe AE6XE

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer