It's 110,000 characters s of code, can only post 32,000 on here.
Where would you like me to post it
It's 110,000 characters s of code, can only post 32,000 on here.
Where would you like me to post it
any fileshare will do ... i use filebin
can you post output of
cat /proc/mtd
cat /proc/partitions
root@GL-X2000:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00080000 00020000 "0:SBL1"
mtd1: 00080000 00020000 "0:MIBIB"
mtd2: 00040000 00020000 "0:BOOTCONFIG"
mtd3: 00100000 00020000 "0:QSEE"
mtd4: 00040000 00020000 "0:DEVCFG"
mtd5: 00040000 00020000 "0:CDT"
mtd6: 00080000 00020000 "0:APPSBLENV"
mtd7: 00140000 00020000 "0:APPSBL"
mtd8: 00100000 00020000 "0:ART"
mtd9: 00080000 00020000 "0:TRAINING"
mtd10: 00200000 00020000 "CFG"
mtd11: 00200000 00020000 "log"
mtd12: 07600000 00020000 "rootfs"
mtd13: 00361f40 0001f000 "kernel"
mtd14: 003e9800 0001f000 "wifi_fw"
mtd15: 02c52000 0001f000 "ubi_rootfs"
mtd16: 03602000 0001f000 "rootfs_data"
root@GL-X2000:~# cat /proc/partitions
major minor #blocks name
1 0 4096 ram0
1 1 4096 ram1
1 2 4096 ram2
1 3 4096 ram3
1 4 4096 ram4
1 5 4096 ram5
1 6 4096 ram6
1 7 4096 ram7
1 8 4096 ram8
1 9 4096 ram9
1 10 4096 ram10
1 11 4096 ram11
1 12 4096 ram12
1 13 4096 ram13
1 14 4096 ram14
1 15 4096 ram15
31 0 512 mtdblock0
31 1 512 mtdblock1
31 2 256 mtdblock2
31 3 1024 mtdblock3
31 4 256 mtdblock4
31 5 256 mtdblock5
31 6 512 mtdblock6
31 7 1280 mtdblock7
31 8 1024 mtdblock8
31 9 512 mtdblock9
31 10 2048 mtdblock10
31 11 2048 mtdblock11
31 12 120832 mtdblock12
31 13 3463 mtdblock13
31 14 4006 mtdblock14
31 15 45384 mtdblock15
31 16 55304 mtdblock16
Anything else
I think that's enough to build the dts. I'm not sure about the cellular modem yet, I need to look into it, but everything else should be easy to get up and going from what I see. I'll work on getting an image made for it this weekend. In the meantime, I would recommend grabbing a backup copy of each partition, the process can be found in this thread, again this is likely not needed but will save you should you need it, and eliminates the need to flip back and if we need something else from stock firmware.
So some progress. S/N ratios still not populating properly, at this point I think is a bug ... but since the target is not officially supported, more of a missing feature. In any case, I've pulled lastest commits and built new bins, rx /tx for each interface is working now
phy0-ap0 Link encap:Ethernet HWaddr
...
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21041 errors:0 dropped:0 overruns:0 frame:0
TX packets:203274 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3434494 (3.2 MiB) TX bytes:261830739 (249.7 MiB)
phy1-ap0 Link encap:Ethernet HWaddr
...
RX packets:912 errors:0 dropped:0 overruns:0 frame:0
TX packets:3106 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:196374 (191.7 KiB) TX bytes:2676406 (2.5 MiB)
phy1-sta0 Link encap:Ethernet HWaddr
...
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:137738 errors:0 dropped:0 overruns:0 frame:0
TX packets:14948 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:171731037 (163.7 MiB) TX bytes:2649105 (2.5 MiB)
wan Link encap:Ethernet HWaddr
...
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:72252 errors:0 dropped:0 overruns:0 frame:0
TX packets:11685 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:90218257 (86.0 MiB) TX bytes:2007387 (1.9 MiB)
leds now responds to traffic on all interfaces rx/tx coms. which was your initial concern. The s/n remains just a aesthetic issue at this point
Once initial support for the ipq50xx target and support for the b3000 is official, I'll look into it further and start a ticket if signal/noise is still not functioning at that time
root@GL-B3000:~# ubus call system board
{
"kernel": "6.6.63",
"hostname": "GL-B3000",
"system": "ARMv8 Processor rev 4",
"model": "GL.iNet B3000, Inc. IPQ5018/AP-MP03.5-C1",
"board_name": "glinet,gl-b3000",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "SNAPSHOT",
"revision": "r25251+2963-afca1236f3",
"target": "qualcommax/ipq50xx",
"description": "OpenWrt SNAPSHOT r25251+2963-afca1236f3",
"builddate": "1732843002"
}
}
I have pushed the patch set for the x2000 to my repo here -->
@georgem83 Could you take a look at what I've done in the dts. I've include the stock and the my openwrt version. This unit does not appear to have any external switch, so i was a little puzzled on the layout of the 5018. I have done what i think is right, it compiles fine, but since this is not my unit, before i post an image to test I'd appreciate your 5018 expert opinion
dts files are here --> https://filebin.net/yycrcyu0hpbq8gk9
if you could take a look that'd be great
Is there an initramfs image I can try which only loads into ram?
I will have an image to test shortly. Just need to clean a few things up ... and redo the dts, thanks to my blunder above.
I have redone the dts, I have uploaded the initramfs and sysupgrade bins to the repo here -->
https://github.com/TheRootED24/GL.iNET-B3000-MARBLE-fit-images/tree/initial_glinet_gl-x2000_support.
Grab the latest copy of the stock firmware first. You need serial connection to upload initramfs via uboot tftpboot. If it works to satisfactory, you can then upgrade using the sysupgrade bin
latest commits for review can be found here -->
apologies for the delay, was very busy at work. I can't say it will work for sure as I don't have the device, but it looks good to me and also based on DTS files from QCA on codelinaro.
I have updated the bins to include the stock driver for the fan. I also have the .img file to flash from stock webui. I will upload the .img as well if you want to test it.
Also, I a while back i was granted access to the gl builder. I was able to use it to produce the stock ubi file for the b3000. However, it will not allow me to build for the x2000. All the src files are there but it will not allow me to select it. Have you used yhe builder to produce images for the x2000 ?
For those running the b3000, the new bins have been uploaded 6.6.63 (24.10). Upgrade using .ubi file, select force, do not keep settings.
@Hostle Awesome. I will give it a try.
Hi @Hostle,
Thank you for your work!
Is there any plan to open a PR in order to integrate this new device in the OpenWrt repository?
Yes, just as soon as the ipq50xx target is official. @georgem83 is now leading the development on it, he and @hzyitc deserve all the credit. they've done an amazing job so far, but there is still a few issues that need to be addressed before it will be accepted. You can follow the pr here --> https://github.com/openwrt/openwrt/pull/17182/
In the meantime, the more feedback we can provide, the better.
Hi everyone!! My first comment after quite a while just reading
Well, I bought 5 of these routers for the Black Friday offer that had them at 30€ each.
I'm already playing with them to install a newer version of OpenWRT and I've been following what this thread indicates.
Thanks to all who make it possible!!
So far I have been able to install the stable version, but I have not been able to install the newer version with any combination, I have tried.
Any suggestion? Thanks!!
There seems to be an issue with the new bins ... The ipq-wifi was not updated for one reason or another and there was a typo in the 02_network, I'll upload fresh bins this evening after I've tested them thoroughly, sorry for the inconvenience
Sell / Return them, buy the Zyxel T-56 (AX6000) for the same €