I am trying to install a stock OpenWrt on an external micro SD card and then modify the fstab and boot from it. By doing this setup, if I want to switch back to GL’s firmware, I can simply remove the SD card and reboot. But, I faced few issues:
There is no stock OpenWrt firmware for GL-X3000? The closest I could find with the same mediatek chip is GL-MT3000. But when I installed it it gave me different filesystem structure.
There is no stock OpenWrt firmware for GL-X3000? The closest I could find with the same mediatek chip is GL-MT3000. But when I installed it it gave me different filesystem structure.
–>It can’t use MT3000 firmware for X3000.X3000 is EMMC img,MT3000 is Nand img.
Can I install a stock OpenWrt firmware on external SD card with the same exact filesystem structure used by GL?
→ The hardware dictates that it can only use EMMC to boot.If you need expand root filesystem.You can refer:[OpenWrt Wiki] Extroot configuration
Can GL engineers provide us with ImageBuilder or provide a stock latest OpenWrt that works on external storage ?
→ Not yet. The latest Openwrt requires driver support.ImageBuilder:GitHub - gl-inet/glbuilder
UBOOT must support usb??! That’s a confusing statement! What I said is that I will use Uart cable that is connected from the computer side using usb port. Then access the UBOOT and change the boot option to boot an external microsd card. The sr card have full working image of openwrt minus the UBOOT.
So, it mean if I update my Uboot with a one that supports USB driver, will the sdcard boot?
→ It should work in theory, but it might take a lot of work.
How can I access GL Uboot without UART-USB cable?
–>yes,but you need to open the casing of the device.
Do you have a Uboot image builder?
→ I’m sorrt that uboot is not available yet.
root@GL-X3000:~# fw_printenv
Warning: Bad CRC, using default environment
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200
fdisk -l
The backup GPT table is not on the end of the device.
Disk /dev/mmcblk0: 7.28 GiB, 7818182656 bytes, 15269888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2BD17853-102B-4500-AA1A-8DDDD4DDDDD
Device Start End Sectors Size Type
/dev/mmcblk0p1 4096 8191 4096 2M Linux filesystem
/dev/mmcblk0p2 8192 9215 1024 512K Linux filesystem
/dev/mmcblk0p3 9216 13311 4096 2M Linux filesystem
/dev/mmcblk0p4 13312 17407 4096 2M Linux filesystem
/dev/mmcblk0p5 17408 21503 4096 2M Linux filesystem
/dev/mmcblk0p6 21504 87039 65536 32M Linux filesystem
/dev/mmcblk0p7 87040 15269887 15182848 7.2G Linux filesystem
Following the instructions in the links below, I was able to install openWRT vanilla in the Spitz X-3000, using the Snapshot image from the link below, I installed luci-ssl and luci-proto-modemmanager, I was able to connect to the luci web interface as well. Then I connected the WAN ethernet interface to the internet (existing internet) and I connected a client via the second ethernet port and all worked fine browsing the internet.
Now I have to enable the 5G modem/interface, I am not an expert in openWRT, please I need some detailed guidance (for noobs) on how to activate the modem in 5G mode instead of the ethernet WAN interface (used only for testing).
When I try to run the command minicom -D /dev/ttyUSB2 as explained on the commit information, it says command not found.
Without detailed instructions or at least some hints it will be really hard for me to make it work as a 5G modem, same as the original GL.iNet firmware.