-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to check my router's CPU architecture? #2
Comments
And my friend just mentioned to me that this is MIPS processor and not ARM 🤦. So support will definitely not be there 😄. Sorry for the noice! |
You're correct and I wonder how did I end up posting the wrong link there. Thanks for the help 🙇 |
And thanks for teaching me about this 💪. If someone else finds this issue from Google later on here's what you need to run in your terminal to check the same result. # Download the update file for GL-X3000. I copied the url using my browser "copy link" button
$ curl -O https://fw.gl-inet.com/firmware/x3000/release/openwrt-x3000-4.0-0404release1-1214-1702544890.bin
# Check the file type of downloaded file
$ file openwrt-x3000-4.0-0404release1-1214-1702544890.bin
openwrt-x3000-4.0-0404release1-1214-1702544890.bin: POSIX tar archive (GNU)
# Extract the downloaded tar file
$ tar -xvf openwrt-x3000-4.0-0404release1-1214-1702544890.bin
# Check the included files
$ tree .
.
├── openwrt-x3000-4.0-0404release1-1214-1702544890.bin
└── sysupgrade-glinet_gl-x3000
├── CONTROL
├── kernel
└── root
2 directories, 4 files
# Check the file type of root
$ file sysupgrade-glinet_gl-x3000/root
sysupgrade-glinet_gl-x3000/root: Squashfs filesystem, little endian, version 4.0, xz compressed, 58793625 bytes, 6776 inodes, blocksize: 262144 bytes, created: Thu Dec 14 08:25:22 2023
# Realize that I can't extract squashfs because I don't have unsquashfs installed for my MacOS
$ brew install squashfs
# Extract the squashfs root into root-squashfs
$ unsquashfs -f -d root-squashfs sysupgrade-glinet_gl-x3000/root
# Check the ubus binary and realize it's ARM 64 bit
$ file root-squashfs/bin/ubus
root-squashfs/bin/ubus: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-aarch64.so.1, no section header |
That's great to hear! Thanks for sharing. Renaming and reopening this issue for others to check if their router is supported. |
I checked the requirements and was wondering if my hardware will be supported.
So as you remember from the issue I opened here: SmoothWAN/SmoothWAN#179 I'm looking into 4G/5G enabled routers.
GL-X3000 is using
MediaTek Dual-core MT7981A
SOC with more info in: https://www.mediatek.com/products/home-networking/mt7621The CPU is
MIPS1004Kc
with more info in: https://wikidevi.wi-cat.ru/MIPS32From this I understand that the c variant doesn't support floating point 😢
I assume that hard float in the README.md means hardware supported floating point calculation.
Is this thinking decision correct? How can I check if hard float is supported or not?
I understood from stackexchange that I could check this by:
But this is hard to do before ordering the device.
The text was updated successfully, but these errors were encountered: