Add easycwmp package to B1300


#1

Hi there.

We want to add http://easycwmp.org/ to GL-B1300 router, but we don’t know how to do it.

Currently, we have downloaded and built a new openwrt image to generate the ipk, but when we select GL-B1300 on openwrt, it uses ipq40xx architecture, but it seems that is ipq806x.

What is the correct way of compile a new image? It’s not in the documentation, as other routers.

Thanks.


#2

I’m puzzled, https://www.gl-inet.com/products/gl-b1300/ indicates that it uses “Atheros IPQ4028, Quad-core ARM, 717MHz”


#3

Yes, but its packages are in http://www.gl-inet.com/openwrt/ipq806x/2.271/packages/


#4

It had migrate ipq806x to ipq40xx. You should select ipq40xx architecture.


#5

That’s the way I do, selecting GL-B1300 from the menuconfig, but the compiled ipk is easycwmp_1.8.0_arm_cortex-a7_neon-vfpv4.ipk

When I try opkg install http://192.168.1.150/easycwmp_1.8.0_arm_cortex-a7_neon-vfpv4.ipk from the B1300 from SSH, it says

> root@GL-B1300:~# opkg install http://192.168.1.150/easycwmp_1.8.0_arm_cortex-a7_neon-vfpv4.ipk
> Downloading http://192.168.1.150/easycwmp_1.8.0_arm_cortex-a7_neon-vfpv4.ipk.
> Unknown package ‘easycwmp’.
> Collected errors:
> * pkg_hash_fetch_best_installation_candidate: Packages for easycwmp found, but incompatible with the architectures configured
> * opkg_install_cmd: Cannot install package easycwmp.


#6

I think the toolchain is not the same so it will cause this error.
B1300 still uses toolchain from Qualcomm so the ipk has to be compiled under the same toolchain.


#7

I Thinks so, but the questions are …

Where are the instructions to compile a custom package to install on stock firmware?

Where is that toolchain?

Should I use https://github.com/gl-inet/openwrt.git instead of https://git.openwrt.org/openwrt/openwrt.git/?


#8

Please find the sdk here.


#9

Ok, I will try that.

Thanks.