Aloha,
Just picked up a pair of SXTsq 5 to play with and am not able to do the final flash. I get the
BAD GATEWAY
THE PROCESS DID NOT PRODUCE ANY RESPONSE screen like on the other earlier threads.
I've tried both the current stable and the current nightly build (3.20.3.1 / 1710-437)
Device info:
ID # RBSXTsq5HPnD
serial number ends with /025/r2
INTL EU version
Any insight appreciated
Support file attached
Jim NH6HI
Just picked up a pair of SXTsq 5 to play with and am not able to do the final flash. I get the
BAD GATEWAY
THE PROCESS DID NOT PRODUCE ANY RESPONSE screen like on the other earlier threads.
I've tried both the current stable and the current nightly build (3.20.3.1 / 1710-437)
Device info:
ID # RBSXTsq5HPnD
serial number ends with /025/r2
INTL EU version
Any insight appreciated
Support file attached
Jim NH6HI
While the device boots AREDN from RAM and everything looks good, once AREDN is put on the flash it is not booting. I've been looking at this, and ended up taking some tools to an SXT to gain access to the serial console -- I had to destroy the plastic case. (No way to snap it apart :( .) Subsequently, I found out that Mikrotik does not activate the serial console when the bootloader is running and working to load the kernel. ...so we are blind and can't see why there is a failure.
Openwrt releases are also affected, and I started dialog with other developers. So far, no one has figured out what to do.
Anyone considering purchasing a new SXT or LHG device should hold back on purchasing until this problem is solved. Look for a used model.
Joe AE6XE
With the same purchase, I got the MikroTik LHG XL 2RBLHG-2nD-XL. Am I going to have the same issue with that too? Well, I'm going to giver a go and let you know.
Wish I had a programming brain like you. I love a challenge but code scrambles my brain!
You would think these manufactures would make life easier for outfits like AREDN but maybe the sales just aren't there. I know I've put quite a few shekels in their pockets in the last couple years.
Jim NH6HI
Joe
Date: Mon, 17 Aug 2020 12:44:13 +0200
From: Thibaut VAR?NE <hacks@slashdirt.org>
To: openwrt-devel@lists.openwrt.org
Subject: [PATCH] ath79: mikrotik: erase firmware on SPI NOR devices
before install
On Mikrotik SPI NOR devices, the firmware partition must be erased when flashing
from stock firmware, otherwise leftover bits (in particular a kernel signature)
can trigger a boot loop.
When booted from initramfs (the only way to install OpenWRT on these devices),
this patch unconditionally erases the firmware partition in the do_upgrade()
stage for all supported SPI NOR devices.
This is forward-ported from ed49d0876 and 20452a8db
Signed-off-by: Thibaut VAR?NE <hacks@slashdirt.org>
---
target/linux/ath79/mikrotik/base-files/lib/upgrade/platform.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target/linux/ath79/mikrotik/base-files/lib/upgrade/platform.sh b/target/linux/ath79/mikrotik/base-files/lib/upgrade/platform.sh
index d79bd03af5..d7fac35708 100644
--- a/target/linux/ath79/mikrotik/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ath79/mikrotik/base-files/lib/upgrade/platform.sh
@@ -38,6 +38,8 @@ platform_do_upgrade() {
platform_do_upgrade_mikrotik_nand "$1"
;;
*)
+ # NOR devices: erase firmware if booted from initramfs
+ [ -z "$(rootfs_type)" ] && mtd erase firmware
default_do_upgrade "$1"
;;
esac
--
Looking forward to what you discover on this. Hopefully it will resolve the boot loop issue we're seeing. Thanks very much, Joe.
https://drive.google.com/drive/folders/10UW4FLmmvw4jMclruJWD5fzn3xpEDcud...
Joe AE6XE
Jim NH6HI
before: "SXTsq 5HPnD"
now: "SXTsq5HPnD"
(the space was removed :) .) I'll get an image available to try shortly. This is why you are getting the "bad gateway address" error.
Joe AE6XE
(link will only be usable until changes pushed into a nightly build.)
https://drive.google.com/drive/folders/10UW4FLmmvw4jMclruJWD5fzn3xpEDcud...
Joe AE6XE
All seemed well till I loaded in the .bin file. Blue power led was on, yellow led next t it was on, last yellow led was blinking, it did a first reset. The yellow led next to the blue blinks and went out. last yellow led blinked a few times and only the blue was left on. Waited 5 minutes but no joy accessing the SXT. Tried a couple times on both units I bought. The "Redirecting to status page comes up then times out. They didn't revert back to the mikrotik software, even with a reset.
Support data file attached for your inspection.
Jim NH6HI
Joe AE6XE
Aloha & Mahalo for what you do Joe
Jim NH6HI
Aloha Joe,
That was the magic build. It's up and running. I haven't tested everything but it takes a callsign and when that was in, I changed the bandwidth to 10mhz from 5mhz and they both seems to be happy. I have included the support file incase you wanted to check it out.
One question...... will the !!!! UNTESTED HARDWARE !!!! go away with the nightly build or is this something that's going to be around for a while?
73 & Aloha
Jim NH6HI
May we proceed to purchase Mikrotik LHGs/SXTsqs ?
Chuck
Joe AE6XE
joe
joe AE6XE
The message is still there. It has always been there from the beginning.
Jim
https://drive.google.com/drive/folders/10UW4FLmmvw4jMclruJWD5fzn3xpEDcud...
Joe AE6XE
Worked like a silver bullet. Looks good to go. Is this going to be in the next Nightly Build? If so, I'll wait for it to come out to flash the 2nd one
Big Mahalo for what you do!
Jim NH6HI
Joe AE6XE
Just re-flashed #2 SXT and with AREDN-1763 and UNTESTED HARDWARE still shows up. Reflashed with the last AE6XE-new-SXT-5c72391 and the message is gone.
Jim NH6HI
Hi, Joe:
My ISP, Earthlink, still offers dial-up access. Does yours?
Of course, you would need a dial-up modem and a home phone device. :-|
Chuck
Jim:
Oh, don't we remember those days.
My son-in-law was a telco lineman and, magically, I ended up with a copper pair good for 48.666 kbps minimum
although I was 18k feet from the C.O.
I have had a cheap ($42/mo) Earthlink re-sale cable modem account since ~2007, served by the local cable company.
This is currently 2/22 Mbps up/down. :-|
My mesh connection is 22/22. ;-)
Recently I began renting a single core connected to the internet through a larger 'tube' than I have at home;
a Linode/Nanode. Perhaps, if Joe would be editing a few text files on a remote server, something of this sort could
speed up the multiple large file transfers.
Chuck
Hi Joe
Trying to install firmware to SXTsq 5 and am not able to do the final flash. I get the
BAD GATEWAY
THE PROCESS DID NOT PRODUCE ANY RESPONSE screen like on the other earlier threads.
I've tried both the current stable and the current nightly build (3.20.3.1 / 1837)
Device info:
ID # RBSXTsq5HPnD
serial number ends with /022/r2
thank you for any help and sorry, my English is very bad.
I'll have some time to look at shortly. Just back to my primary QTH1, after being away for a couple months. After I settle in will take a look.
Joe AE6XE
Hello Joe
Thank you for your response
Testing with files from Chuck NC8Q, the device seems to be working ok. Send image and tgz file. I look forward to your directions.
Thank you very much
Thanks for your help.
The next question, i can upgrade to stable firmware 3.20.3.1 or nightly builds or what I should do?
I'm waiting for your opinion / recommendation
Thank you very much
Mario, LU4EOU
I recommend installing the current Nightly Build.
Today it is 1837.
What is the frequency allocation in the 5 GHz band in your country?
Chuck
I'm going to try the night build #1837.
The frequency allocation here is almost the same as that of United States
Again thank you very much for the help
Mario
Updated firmware to night build #1837 and the device RB-SXT-5HPnD working fine.
Thanks