i have been given a router few days ago, with an already openwrt running on it.
i can see with /etc/banner the version.
i can see the board and cpu with dmesg and /proc/cpuinfo
but i dont know how to check both the RamMB/FlashMB..
i dont know neither how to know what exact file image was used from download.openwrt.org?
is there a trick to identify what image was used to put openwrt on it?
it's much more regarding officially unsupported routers, where a nerd looks like to get working successful openwrt on a board, booting-up and starting well until openwrt started well.
problem is, i have to test several releases of openwrt, but i dont know which one in downloads to test, as i'd like to get this information from within the openwrt?
Please be aware that it might be a manufacturer-supported fork of OpenWrt, not the real thing. So, the "exact file image from downloads.openwrt.org" might not even exist.
That’s very true, but most of the manufacturer-supported forks seldom populate the revision info in ubus call system board.
With no revision value supplied, git log will just log the
HEAD of whatever branch/br-Snapshot/Main you’re building from. Entering a bogus OpenWrt commit hash git log bogus_commit_hash will return the same.