I recently upgraded firmware on my TP-Link TL-WR1043nd v1.18 from Gargoyle 1.10.0 to 1.12.0.
Unfortunately, I've discovered that on this version of Gargoyle I cannot install usb-printer and OpenVPN plugin simultaneously (lack of space) so I decided to perform a downgrade.
I've tried to flash 1.10.0 version of Gargoyle through web interface and sysupgrade from a terminal with no luck (still 1.12.0 installed).
I even tried to flash stock firmware through web interface but after reboot Gargoyle 1.12.0 is still installed.
Any thoughts?
Downgrade from 1.12.0 to 1.10.0 on TL-WR1043nd v1.x
Moderator: Moderators
Re: Downgrade from 1.12.0 to 1.10.0 on TL-WR1043nd v1.x
Run the sysupgrade via the command line and see what errors occur.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Downgrade from 1.12.0 to 1.10.0 on TL-WR1043nd v1.x
Code: Select all
root@Gargoyle:~# sysupgrade -v -n -F ../tmp/gargoyle_1.10.0-ar71xx-generic-tl-wr1043nd-v1-squa
shfs-sysupgrade.bin
Image metadata not found
Killed
Re: Downgrade from 1.12.0 to 1.10.0 on TL-WR1043nd v1.x
Killed is likely an out of memory situation. You may need to kill processes to free up RAM first.
The device is at it's limit already.
The device is at it's limit already.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Downgrade from 1.12.0 to 1.10.0 on TL-WR1043nd v1.x
That was it!
I had to edit some init scripts because procd kept respawning processes but after freeing some memory it worked.
I'm on 1.10.0 again.
Thanks a lot!
I had to edit some init scripts because procd kept respawning processes but after freeing some memory it worked.
I'm on 1.10.0 again.
Thanks a lot!
Re: Upgrade from 1.12.X to 1.13 on TL-WR1043nd v1.1
I'm having the same kind of problem trying to upgrade my old TL-WR1043ND V1.1 from 1.12.x to 1.13 or 1.15. It runs out of memory and the update fails. Which processes may be killed/disabled to temporarily save RAM?
The router has local storage on USB, currently used only for plugin-root. Would it be possible to install from there, or has the image to reside in memory?
I know it is old, but should still be more than good enough to work as access point. I'd like to try newer drivers (ATH79 instead of ATH71) in order to see if those work better.
The router has local storage on USB, currently used only for plugin-root. Would it be possible to install from there, or has the image to reside in memory?
I know it is old, but should still be more than good enough to work as access point. I'd like to try newer drivers (ATH79 instead of ATH71) in order to see if those work better.
Re: Downgrade from bricked 1.15.X to 1.13.0 on TL-WR1043nd v1.1 successful
Problem solved, but took me some time. I tried a
first. This did install, but resulted in a router that was unresponsive and never reached a working state. SYS LED kept flashing, no connection possible, eventually the SYS LED went dark. I wasn't able to enter safe mode either, so I had to find my serial cable and soldering iron, open up the router and connect the serial console. Tried firstboot there, but that didn't help either. I've seen some hints of "out of memory", but didn't invest any more time to investigate further. So I waited until it had mounted the USB drive, and then installed 1.13.0 instead. That one seems to be working now, have yet to reassemble the router and test the Wifi.
Code: Select all
sysupgrade -v -n -F /tmp/random_path_to_USB_drive/gargoyle-1.15.X_xxx.bin
Code: Select all
BusyBox v1.35.0 (2023-02-09 08:37:35 UTC) built-in shell (ash)
------------------------------------------------------------------
| _____ _ |
| | __ \ | | |
| | | \/ __ _ _ __ __ _ ___ _ _| | ___ |
| | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \ |
| | |_\ \ (_| | | | (_| | (_) | |_| | | __/ |
| \____/\__,_|_| \__, |\___/ \__, |_|\___| |
| __/ | __/ | |
| |___/ |___/ |
| |
|----------------------------------------------------------------|
| Gargoyle version 1.15.X | OpenWrt 22.03 branch |
| Gargoyle revision d78aeafe| OpenWrt commit f7541ae |
| Built February 26, 2023 | Target ath79/default |
------------------------------------------------------------------
[ 27.024509] kmodloader: loading kernel modules from /etc/modules.d/*
root@(none):/# [ 27.937996] urngd: v1.0.2 started.
[ 28.722641] tun: Universal TUN/TAP device driver, 1.6
[ 29.655957] random: crng init done
[ 29.659447] random: 35 urandom warning(s) missed due to ratelimiting
[ 30.761021] GACT probability on
[ 30.767538] Mirror/redirect action on
[ 30.816157] u32 classifier
[ 30.818985] input device check on
[ 30.822669] Actions configured
[ 30.885878] Simple TC action Loaded
[ 31.012548] usbcore: registered new interface driver cdc_acm
[ 31.018316] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 31.041645] usbcore: registered new interface driver cdc_wdm
[ 31.061938] Loading modules backported from Linux version v5.15.92-0-ge515b9902f5f
[ 31.069634] Backport generated by backports.git v5.15.92-1-0-gdfe0f60c
[ 32.069749] usbcore: registered new interface driver ums-alauda
[ 32.081325] usbcore: registered new interface driver ums-cypress
[ 32.095299] usbcore: registered new interface driver ums-datafab
[ 32.109123] usbcore: registered new interface driver ums-freecom
[ 32.123139] usbcore: registered new interface driver ums-isd200
[ 32.137246] usbcore: registered new interface driver ums-jumpshot
[ 32.151062] usbcore: registered new interface driver ums-karma
[ 32.165735] usbcore: registered new interface driver ums-sddr09
[ 32.180008] usbcore: registered new interface driver ums-sddr55
[ 32.195765] usbcore: registered new interface driver ums-usbat
[ 32.257201] usbcore: registered new interface driver usbserial_generic
[ 32.263968] usbserial: USB Serial support registered for generic
[ 32.886664] xt_time: kernel timezone is -0000
[ 33.392822] usbcore: registered new interface driver cdc_ether
[ 33.410109] usbcore: registered new interface driver cdc_ncm
[ 34.503623] usbcore: registered new interface driver huawei_cdc_ncm
[ 34.623953] EXT4-fs (sda1): recovery complete
[ 34.628469] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 36.851434] PPP generic driver version 2.4.2
[ 36.867108] NET: Registered protocol family 24
[ 36.882658] usbcore: registered new interface driver qmi_wwan
[ 36.902928] usbcore: registered new interface driver rndis_host
[ 36.925373] usbcore: registered new interface driver sierra
[ 36.931197] usbserial: USB Serial support registered for Sierra USB modem
[ 37.408402] usbcore: registered new interface driver sierra_net
[ 38.482472] usbcore: registered new interface driver cdc_mbim
[ 39.120547] usbcore: registered new interface driver option
[ 39.126263] usbserial: USB Serial support registered for GSM modem (1-port)
[ 39.160859] usbcore: registered new interface driver qcserial
[ 39.166750] usbserial: USB Serial support registered for Qualcomm USB modem
[ 39.833762] ieee80211 phy0: Atheros AR9100 MAC/BB Rev:7 AR2133 RF Rev:a2 mem=0xb80c0000, irq=2
[ 39.861715] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 44.261618] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 49.798681] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
root@(none):/# sysupgrade -v -n -F /tmp/usb_mount/e7dbc134-6243-4fe9-8a21-8de60e
f418e7/gargoyle_1.13.0-ath79-generic-tplink_tl-wr1043nd-v1-squashfs-sysupgrade.b
in
Thu Feb 9 08:38:46 UTC 2023 upgrade: Commencing upgrade. Closing all shell sessions.
Watchdog handover: fd=3
- watchdog -
Watchdog has previously reset the system
Thu Feb 9 08:38:55 UTC 2023 upgrade: Sending TERM to remaining processes ...
Thu Feb 9 08:38:55 UTC 2023 upgrade: Sending signal TERM to S19dropbear (3133)
Thu Feb 9 08:39:00 UTC 2023 upgrade: Sending KILL to remaining processes ...
[ 116.016330] stage2 (3236): drop_caches: 3
Thu Feb 9 08:39:06 UTC 2023 upgrade: Switching to ramdisk...
Thu Feb 9 08:39:14 UTC 2023 upgrade: Performing system upgrade...
[ 123.672155] do_stage2 (3236): drop_caches: 3
Unlocking firmware ...
Writing from <stdin> to firmware ...
Thu Feb 9 08:40:03 UTC 2023 upgrade: Upgrade completed
Thu Feb 9 08:40:04 UTC 2023 upgrade: Rebooting system...
umount: can't unmount /dev: Resource busy
[ 174.350021] Deleting MTD partitions on "spi0.0":
[ 174.354694] Deleting u-boot MTD partition
[ 174.359785] Deleting kernel MTD partition
[ 174.364716] Deleting rootfs MTD partition
[ 174.369742] Deleting rootfs_data MTD partition
[ 174.375109] Deleting firmware MTD partition
[ 174.380374] Deleting art MTD partition
[ 174.385604] reboot: Restarting system