OpenWRT version on raspberry pi

I built up an OpenWrt travel router on a raspberry pi 4b. Everything is working well, but I was thinking about doing the update. I've been running it with 23.05.4. I can't find my build notes I keep on my builds and I don't remember if I built it with a 32bit or a 64 bit version. Is there anyway to tell from the working system what it is running? I grabbed the version info from LuCi and the openwrt_release file, but I don't really see anything definitive. Am I missing something or do I need to look elsewhere?

Thanks for any help,
Cosmo

LuCi:

Firmware Version	OpenWrt 23.05.4 r24012-d8dd03c46f / LuCI openwrt-23.05 branch git-24.086.45142-09d5a38`

/etc/openwrt_release:

root@Travel-Pi:~# cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='23.05.4'
DISTRIB_REVISION='r24012-d8dd03c46f'
DISTRIB_TARGET='bcm27xx/bcm2711'
DISTRIB_ARCH='aarch64_cortex-a72'
DISTRIB_DESCRIPTION='OpenWrt 23.05.4 r24012-d8dd03c46f'
DISTRIB_TAINTS=''

Clone the SD card.
Ensure it works.
Play on the old one..

Thanks and Yep, already cloned it to a SanDisk Industrial SD card and this will be my working source. I'll archive the original SD card.

But I'll wait to see if anyone has a way to definitively tell which version I have. I'll give me time to look for my build docs some more.

Great:
Now we can play.

It does not really matter what you chose: you should be using the 64bit version unless you are running a 2GB. And I don't remember why not the 2, it is more than enough.

There are a couple of ways you can upgrade, saving settings and/or packages.
If there is a way to figure out what you installed, I don't know it but someone will.
After that we can make a plan.

uname -m

I'm running 64bit and it shows aarch64

1 Like

Just a quick update on this... tried to see if the Attended Sysupgrade would work in this instance- answer, yes and no.

Yes: Since the travel-pi was running 23.05.4 I was able to use Attended Sysupgrade to upgrade to 23.05.5 with NO issues. Fully functional.

No: Re-ran Attened Sysupgrade and the option to go to 24.10.0 did not exist (yet?).

Archived the Image and attempted the upgrade using the Sysupgrade file keeping all configs.

No: Upgrade to 24.10.0 went fine, none of the USB wifi config crossed. Same for some of the openvpn files.

Using various scripts I was able to segregate the packages from the 23.05.5 build that were added.

Will try again today to do the sysupgrade load from file, convert the host AP to client and get to OPKG to run a script via SSH to install the files I believe were added previously on the working 23.05.4 build.

Choose advanced options.

1 Like

Where do you chose "advance options"?

Attended sysupgrade/configuration/Client/Advanced Mode?

1 Like

I do not remember where they put it in 23.05.4.

In 24 it is a check box in configuration and when you request a build it shows all the packages and 24.10 is hidden in the first drop down.

1 Like

Yep it is Advance Mode check box.
That was painless and I was able to add two other files.

Thanks for the help Jeff!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.