Custom build firmware 3.024 for GL AR300M

Hi,

I downloaded code from below link and followed the instructions to build the nand firmware for my GL-AR300M. Firmware files built sucessfully. But, when I burned the fimware image on my router, it didn’t come back. Infact,red light didn’t come back.

To confirm that my router supports the latest build I downloaded image file “openwrt-ar300m-ubi-3.024.img” from https://dl.gl-inet.com/firmware/ar300m/nand/v1/ and burned it on my router GL-AR300M and it worked successfully.

Could you please provide any directions to custom build firmware 3.024 for my router?

Is it the right repository to fetch production ready code?

thanks.

For custom images you want this one here:

Just follow the instructions :slight_smile:

Hi johnex,
Thanks for the answer.

I followed the steps at above mentioned link and encountered following issue.

faheem@faheem:~/gl_imagebuilder$ ./gl_image -p ar300m -e “openssh-sftp-server nano htop”
Already up to date.
Profile “GL-AR300M” does not exist!
Use “make info” to get a list of available profile names.
Makefile:185: recipe for target ‘_check_profile’ failed
make[1]: *** [_check_profile] Error 1
Makefile:192: recipe for target ‘image’ failed
make: *** [image] Error 2
Failed to build GL-AR300M…

where “GL-AR300M” profile supposed to be present? How to overcome this issue?

NOTE: I want to build firmware for NAND flash.

Regards,
Faheem

Can I see your images.json?

sure

{
“packages”: {
“basic”: “libustream-openssl -dnsmasq dnsmasq-full -wpad-mini iwinfo kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-utf8 kmod-nf-nathelper-extra luci luci-mod-rpc ethtool fcgi lighttpd lighttpd-mod-openssl lighttpd-mod-access lighttpd-mod-cgi lighttpd-mod-expire lighttpd-mod-fastcgi lighttpd-mod-proxy unzip wpa-cli wpad bridge ip-full -unbound stubby mwan3”,
“vpn”: “openvpn-openssl wireguard gl-wg gl-wg-server gl-vpn gl-vpn-server -gl-ss -gl-ss-server”,
“storage”: “blkid kmod-fs-ext4 kmod-fs-ntfs kmod-fs-vfat kmod-fs-exfat ntfs-3g samba36-server”,
“usb”: “kmod-usb-storage-uas kmod-usb-storage kmod-usb-uhci kmod-usb2 kmod-usb-ohci kmod-usb-acm kmod-usb-net-huawei-cdc-ncm comgt chat comgt-directip comgt-ncm kmod-usb-serial kmod-usb-serial-cp210x kmod-usb-serial-option kmod-usb-serial-wwan kmod-usb-serial-sierrawireless kmod-rt2800-usb usb-modeswitch kmod-mppe kmod-usb-net kmod-usb-net-cdc-ether kmod-usb-net-rndis kmod-usb-net-qmi-wwan uqmi kmod-usb-net-ipheth libusbmuxd libimobiledevice usbmuxd”,
“glinet”: “gl-crond kmod-GobiNet kmod-GobiSerial gl-s2s gl-portal -gl-core-api gl-cloud-ui gl-route-policy -gl-autoupkg gl-qos gl-tertf gl-fw gl-base-files gl-files-brower gl-firewall -gl-mem-monitor gl-modem gl-repeater gl-sdk gl-software gl-ui gl-util gl-wan-detect gl-wifi-core gl-monitor”,
“glinet_vixmini”: “gl-sdk gl-base-files gl-files-brower gl-firewall gl-repeater gl-software -gl-ui gl-ui-vixmini gl-util gl-wan-detect gl-wifi-core gl-monitor”,
“basic_vixmini”: “dnsmasq -wpad-mini iwinfo kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-utf8 kmod-nf-nathelper-extra luci luci-mod-rpc ethtool fcgi lighttpd lighttpd-mod-openssl lighttpd-mod-access lighttpd-mod-cgi lighttpd-mod-expire lighttpd-mod-fastcgi lighttpd-mod-proxy unzip wpa-cli wpad bridge ip-full -unbound stubby mwan3”
},
“profiles”: {
“x1200”: {
“profile”: “GL-X1200”,
“version”: “3.027”,
“imagebuilder”: “3.1/openwrt-imagebuilder-ar71xx-nand_x1200”,
“packages”: “gl-base-files-ar gl-base-files-x1200 $basic $vpn $storage $usb $glinet -gl-ui gl-ui-x1200 -gl-qos gl-qos-internal gl-gps gl-uart kmod-fast-classifier kmod-shortcut-fe”
},
“ar150”: {
“profile”: “gl-ar150”,
“version”: “3.027”,
“imagebuilder”: “3.1/openwrt-imagebuilder-ar71xx-generic”,
“packages”: “gl-base-files-ar $basic $vpn $storage $usb $glinet”
},
“mifi”: {
“profile”: “gl-mifi”,
“version”: “3.027”,
“imagebuilder”: “3.1/openwrt-imagebuilder-ar71xx-generic”,
“packages”: “gl-base-files-ar $basic $vpn $storage $usb $glinet”
},
“e750”: {
“profile”: “gl-e750”,
“version”: “3.027”,
“imagebuilder”: “3.1/openwrt-imagebuilder-ar71xx-generic”,
“packages”: “gl-base-files-ar $basic $vpn $storage $usb $glinet gl-e750-mcu gl-ble-daemon gl-ble-api”
},
“ar300m16”: {
“profile”: “gl-ar300m”,
“version”: “3.027”,
“imagebuilder”: “3.1/openwrt-imagebuilder-ar71xx-generic”,
“packages”: “gl-base-files-ar $basic $vpn $storage $usb $glinet”
},
“ar750”: {
“profile”: “gl-ar750”,
“version”: “3.027”,
“imagebuilder”: “3.1/openwrt-imagebuilder-ar71xx-generic”,
“packages”: “gl-base-files-ar $basic $vpn $storage $usb $glinet”
},
“x750”: {
“profile”: “gl-x750”,
“version”: “3.027”,
“imagebuilder”: “3.1/openwrt-imagebuilder-ar71xx-generic”,
“packages”: “gl-base-files-ar gl-ble-api gl-ble-daemon $basic $vpn $storage $usb $glinet -gl-qos gl-qos-internal”
},
“usb150”: {
“profile”: “gl-usb150”,
“version”: “3.027”,
“imagebuilder”: “3.1/openwrt-imagebuilder-ar71xx-generic”,
“packages”: “gl-base-files-ar $basic $vpn $glinet mwan3 -gl-modem”
},
“ar300m”: {
“profile”: “GL-AR300M”,
“version”: “3.027”,
“imagebuilder”: “3.1/openwrt-imagebuilder-ar71xx-nand”,
“packages”: “gl-base-files-ar $basic $vpn $storage $usb $glinet ath10k-firmware-qca9887 kmod-ath10k”
},
“ar750s”: {
“profile”: “GL-AR750S”,
“version”: “3.027”,
“imagebuilder”: “3.1/openwrt-imagebuilder-ar71xx-nand”,
“packages”: “gl-base-files-ar $basic $vpn $storage $usb $glinet kmod-fast-classifier kmod-shortcut-fe”
},
“ar750sm16”: {
“profile”: “gl-ar750s”,
“version”: “3.027”,
“imagebuilder”: “3.1/openwrt-imagebuilder-ar71xx-generic”,
“packages”: “gl-base-files-ar $basic $vpn $storage $usb $glinet kmod-fast-classifier kmod-shortcut-fe”
},
“mt300a”: {
“profile”: “gl-mt300a”,
“version”: “3.027”,
“imagebuilder”: “3.0/openwrt-imagebuilder-ramips-mt7620”,
“packages”: “$glinet -gl-qos gl-qos-internal gl-base-files-mt $basic $vpn $storage $usb kmod-mmc kmod-sdhci kmod-sdhci-mt7620 -kmod-GobiNet -kmod-GobiSerial”
},
“mt300n”: {
“profile”: “gl-mt300n”,
“version”: “3.027”,
“imagebuilder”: “3.0/openwrt-imagebuilder-ramips-mt7620”,
“packages”: “$glinet -gl-qos gl-qos-internal gl-base-files-mt $basic $vpn $storage $usb -kmod-GobiNet -kmod-GobiSerial”
},
“mt300n-v2”: {
“profile”: “gl-mt300n-v2”,
“version”: “3.027”,
“imagebuilder”: “3.1/openwrt-imagebuilder-ramips-mt76x8”,
“packages”: “$glinet -gl-qos gl-qos-internal -gl-tertf gl-tertf-mt76x8 gl-base-files-mt -kmod-mt76 kmod-mt7628 $basic $vpn $storage $usb -wpa-cli -kmod-rt2800-usb”
},
“n300”: {
“profile”: “microuter-n300”,
“version”: “3.027”,
“imagebuilder”: “3.1/openwrt-imagebuilder-ramips-mt76x8”,
“packages”: “$glinet -gl-ui gl-ui-n300 gl-files-brower -gl-modem -gl-portal -gl-qos gl-qos-internal -gl-tertf gl-tertf-mt76x8 gl-base-files-mt -kmod-mt76 kmod-mt7628 $basic $vpn -wpa-cli -kmod-rt2800-usb -kmod-GobiNet -kmod-GobiSerial”
},
“b1300”: {
“profile”: “QSDK_Premium”,
“version”: “3.027”,
“imagebuilder”: “3.1/openwrt-imagebuilder-ipq806x-qsdk”,
“files”: “imagebuilder/3.0/openwrt-imagebuilder-ipq806x-qsdk/files”,
“packages”: “gl-wifison gl-base-files-ipq $glinet -gl-qos gl-qos-internal $vpn $basic $storage $usb -wpad -wpa-cli -kmod-rt2800-usb -kmod-GobiNet -kmod-GobiSerial -kmod-usb-storage-uas”
},
“s1300”: {
“profile”: “QSDK_Premium”,
“version”: “3.027”,
“imagebuilder”: “3.1/openwrt-imagebuilder-ipq806x-qsdk”,
“files”: “imagebuilder/3.0/openwrt-imagebuilder-ipq806x-qsdk/files”,
“packages”: “gl-wifison gl-base-files-ipq gl-ble-api gl-ble-daemon $glinet -gl-qos gl-qos-internal $vpn $basic $storage $usb -wpad -wpa-cli -kmod-rt2800-usb -kmod-GobiNet -kmod-GobiSerial -kmod-usb-storage-uas”
},
“vixmini”: {
“profile”: “vixmini”,
“version”: “3.027”,
“imagebuilder”: “3.0/openwrt-imagebuilder-ramips-mt76x8”,
“packages”: “gl-base-files-mt $basic_vixmini $glinet_vixmini -kmod-mt76 kmod-mt7628 uci2dat -wpad -wpa-cli -unbound -stubby”
}
}
}

I tested the compilation and found no problems like yours
Use the following steps to check

cd imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand
make info|grep GL-AR300M

I used above command but it showed nothing, an empty list.

Today, I did a fresh installation.

test@ubuntu:~/office-work/gl_imagebuilder$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
test@ubuntu:~/office-work/gl_imagebuilder$

Used below command to install required packages.
sudo apt update && sudo apt upgrade -y
sudo apt install device-tree-compiler gawk gcc git g++ make ncurses-dev python unzip -y

Cloned the Imagebuilder to my system

git clone https://github.com/gl-inet/imagebuilder gl_imagebuilder
cd gl_imagebuilder

ran the following command

./gl_image -p ar300m -e “openssh-sftp-server nano htop”

and encountered the following probelm.

Configuring gl-sdk.
Configuring blkid.
Configuring gl-firewall.
Configuring kmod-GobiSerial.
Configuring lighttpd-mod-fastcgi.
Configuring kmod-crypto-sha1.
Configuring kmod-mppe.
Configuring kmod-GobiNet.
Configuring gl-ui.
Configuring ppp-mod-pppoe.
Configuring dnsmasq-full.
Collected errors:

  • opkg_install_cmd: Cannot install package gl-crond.
    Makefile:149: recipe for target ‘package_install’ failed
    make[2]: *** [package_install] Error 255
    Makefile:108: recipe for target ‘_call_image’ failed
    make[1]: *** [_call_image] Error 2
    Makefile:192: recipe for target ‘image’ failed
    make: *** [image] Error 2
    Failed to build GL-AR300M…

Probably, something needs to be fixed in installation instructions.

Your help would be highly appreciated. thanks.

Regards.

There’s nothing in imagebuilder that doesn’t have this target, so you can try updating imagebuilder

imagebuilder is already updated.
test@ubuntu:~/office-work/gl_imagebuilder$ git pull
Already up to date.

Executing this command resulted in failed build, Please follow

./gl_image -p ar300m -e “openssh-sftp-server nano htop”

est@ubuntu:~/office-work/gl_imagebuilder$ ./gl_image -p ar300m -e “openssh-sftp-server nano htop”
remote: Enumerating objects: 35, done.
remote: Counting objects: 100% (35/35), done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 35 (delta 12), reused 35 (delta 12), pack-reused 0
Unpacking objects: 100% (35/35), done.
From https://github.com/gl-inet/glinet
5585e55…4760bcc develop -> origin/develop
Already up to date.
Building images for ar71xx - GL-AR300M with nand flash
Packages: gl-base-files-ar libustream-openssl dnsmasq-full iwinfo kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-utf8 kmod-nf-nathelper-extra luci luci-mod-rpc ethtool fcgi lighttpd lighttpd-mod-openssl lighttpd-mod-access lighttpd-mod-cgi lighttpd-mod-expire lighttpd-mod-fastcgi lighttpd-mod-proxy unzip wpa-cli wpad bridge ip-full stubby mwan3 openvpn-openssl wireguard gl-wg gl-wg-server gl-vpn gl-vpn-server blkid kmod-fs-ext4 kmod-fs-ntfs kmod-fs-vfat kmod-fs-exfat ntfs-3g samba36-server kmod-usb-storage-uas kmod-usb-storage kmod-usb-uhci kmod-usb2 kmod-usb-ohci kmod-usb-acm kmod-usb-net-huawei-cdc-ncm comgt chat comgt-directip comgt-ncm kmod-usb-serial kmod-usb-serial-cp210x kmod-usb-serial-option kmod-usb-serial-wwan kmod-usb-serial-sierrawireless kmod-rt2800-usb usb-modeswitch kmod-mppe kmod-usb-net kmod-usb-net-cdc-ether kmod-usb-net-rndis kmod-usb-net-qmi-wwan uqmi kmod-usb-net-ipheth libusbmuxd libimobiledevice usbmuxd gl-crond kmod-GobiNet kmod-GobiSerial gl-s2s gl-portal gl-cloud-ui gl-route-policy gl-qos gl-tertf gl-fw gl-base-files gl-files-brower gl-firewall gl-modem gl-repeater gl-sdk gl-software gl-ui gl-util gl-wan-detect gl-wifi-core gl-monitor ath10k-firmware-qca9887 kmod-ath10k openssh-sftp-server nano htop base-files busybox dropbear firewall fstools ip6tables iptables kernel kmod-ath9k kmod-gpio-button-hotplug kmod-usb-core kmod-usb-storage kmod-usb2 libc libgcc logd mtd netifd odhcp6c odhcpd-ipv6only opkg ppp ppp-mod-pppoe swconfig uboot-envtools uci uclient-fetch

Downloading https://fw.gl-inet.com/releases/kmod-3.1/ar71xx/nand/Packages.gz
Updated list of available packages in /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/build_dir/target-mips_24kc_musl/root-ar71xx/…/…/…/…/…/…/…/…/…/…/home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/glinet_core
Downloading https://fw.gl-inet.com/releases/packages-3.x/ar71xx/base/Packages.gz
Updated list of available packages in /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/build_dir/target-mips_24kc_musl/root-ar71xx/…/…/…/…/…/…/…/…/…/…/home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/glinet_base
Downloading https://fw.gl-inet.com/releases/packages-3.x/ar71xx/gli_pub/Packages.gz
Updated list of available packages in /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/build_dir/target-mips_24kc_musl/root-ar71xx/…/…/…/…/…/…/…/…/…/…/home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/glinet_gli_pub
Downloading https://fw.gl-inet.com/releases/packages-3.x/ar71xx/packages/Packages.gz
Updated list of available packages in /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/build_dir/target-mips_24kc_musl/root-ar71xx/…/…/…/…/…/…/…/…/…/…/home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/glinet_packages
Downloading https://fw.gl-inet.com/releases/packages-3.x/ar71xx/luci/Packages.gz
Updated list of available packages in /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/build_dir/target-mips_24kc_musl/root-ar71xx/…/…/…/…/…/…/…/…/…/…/home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/glinet_luci
Downloading https://fw.gl-inet.com/releases/packages-3.x/ar71xx/routing/Packages.gz
Updated list of available packages in /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/build_dir/target-mips_24kc_musl/root-ar71xx/…/…/…/…/…/…/…/…/…/…/home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/glinet_routing
Downloading https://fw.gl-inet.com/releases/packages-3.x/ar71xx/telephony/Packages.gz
Updated list of available packages in /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/build_dir/target-mips_24kc_musl/root-ar71xx/…/…/…/…/…/…/…/…/…/…/home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/glinet_telephony
Downloading file:packages/Packages
Updated list of available packages in /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/build_dir/target-mips_24kc_musl/root-ar71xx/…/…/…/…/…/…/…/…/…/…/home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/imagebuilder
Downloading file:glinet/ar71xx/Packages
Updated list of available packages in /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/build_dir/target-mips_24kc_musl/root-ar71xx/…/…/…/…/…/…/…/…/…/…/home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/glinet

Installing packages…
Installing libc (1.1.19-1) to root…
Installing libgcc (7.3.0-1) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/libgcc_7.3.0-1_mips_24kc.ipk.
Configuring libgcc.
Configuring libc.
Installing kernel (4.9.120-1-0b62fc25235fd3fa2e8be9d072b67a67) to root…
Configuring kernel.
Installing gl-base-files-ar (3.0.218-1) to root…
Downloading file:glinet/ar71xx/gl-base-files-ar_3.0.218-1_mips_24kc.ipk
Installing libustream-openssl (2018-05-24-189cd38b-4) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/libustream-openssl_2018-05-24-189cd38b-4_mips_24kc.ipk.
Installing libubox (2018-04-12-6eff829d-1) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/libubox_2018-04-12-6eff829d-1_mips_24kc.ipk.
Installing zlib (1.2.11-2) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/zlib_1.2.11-2_mips_24kc.ipk.
Installing libopenssl (1.0.2o-1) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/libopenssl_1.0.2o-1_mips_24kc.ipk.
Installing dnsmasq-full (2.80test2-3) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/dnsmasq-full_2.80test2-3_mips_24kc.ipk.
Installing libubus (2018-01-16-5bae22eb-1) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/libubus_2018-01-16-5bae22eb-1_mips_24kc.ipk.
Installing libgmp (6.1.2-1) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/libgmp_6.1.2-1_mips_24kc.ipk.
Installing libnettle (3.3-1) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/libnettle_3.3-1_mips_24kc.ipk.
Installing kmod-nf-reject (4.9.120-1) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/kmod-nf-reject_4.9.120-1_mips_24kc.ipk.
Installing kmod-nf-ipt (4.9.120-1) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/kmod-nf-ipt_4.9.120-1_mips_24kc.ipk.
Installing kmod-ipt-core (4.9.120-1) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/kmod-ipt-core_4.9.120-1_mips_24kc.ipk.
Installing kmod-nfnetlink (4.9.120-1) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/kmod-nfnetlink_4.9.120-1_mips_24kc.ipk.
Installing kmod-ipt-ipset (4.9.120-1) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/kmod-ipt-ipset_4.9.120-1_mips_24kc.ipk.
Installing libnfnetlink (1.0.1-1) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/libnfnetlink_1.0.1-1_mips_24kc.ipk.
Installing kmod-nf-conntrack (4.9.120-1) to root…
Installing libuci (2018-03-24-5d2bf09e-1) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/libuci_2018-03-24-5d2bf09e-1_mips_24kc.ipk.
Installing libiwinfo (2018-07-24-94b1366d-2) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/kmod-ath9k_4.9.120+2017-11-01-9_mips_24kc.ipk.
Installing kmod-ath9k-common (4.9.120+2017-11-01-9) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/kmod-ath9k-common_4.9.120+2017-11-01-9_mips_24kc.ipk.
Installing kmod-gpio-button-hotplug (4.9.120-2) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/kmod-gpio-button-hotplug_4.9.120-2_mips_24kc.ipk.
Package kmod-usb-core (4.9.120-1) installed in root is up to date.
Package kmod-usb-storage (4.9.120-1) installed in root is up to date.
Package kmod-usb2 (4.9.120-1) installed in root is up to date.
Package libc (1.1.19-1) installed in root is up to date.
Package libgcc (7.3.0-1) installed in root is up to date.
Installing logd (2018-02-14-128bc35f-2) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/logd_2018-02-14-128bc35f-2_mips_24kc.ipk.
Installing mtd (23) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/mtd_23_mips_24kc.ipk.
Package netifd (2018-05-30-a580028d-1) installed in root is up to date.
Installing odhcp6c (2018-04-29-5316d7f8-12) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/odhcp6c_2018-04-29-5316d7f8-12_mips_24kc.ipk.
Installing odhcpd-ipv6only (1.7-1) to root…
Copying /home/test/office-work/gl_imagebuilder/imagebuilder/3.1/openwrt-imagebuilder-ar71xx-nand/dl/odhcpd-ipv6only_1.7-1_mips_24kc.ipk.
Installing opkg (2017-12-07-3b417b9f-2) to root…

Configuring kmod-GobiSerial.
Configuring lighttpd-mod-fastcgi.
Configuring kmod-crypto-sha1.
Configuring kmod-mppe.
Configuring kmod-GobiNet.
Configuring gl-ui.
Configuring ppp-mod-pppoe.
Configuring dnsmasq-full.
Collected errors:

  • opkg_install_cmd: Cannot install package gl-crond.
    Makefile:149: recipe for target ‘package_install’ failed
    make[2]: *** [package_install] Error 255
    Makefile:108: recipe for target ‘_call_image’ failed
    make[1]: *** [_call_image] Error 2
    Makefile:192: recipe for target ‘image’ failed
    make: *** [image] Error 2
    Failed to build GL-AR300M…

I omitted few logs because of characters limitation

Hi, faheem. Please try again. We updated the remote repository.

In order to facilitate tracking problems, please contact in only one way.

Thank you for your cooperation.

As it is said in the error message, gl-crond is not found. You need to remove this package and compile again.

Note: you need to remove all gl-* stuff if you compile your firmware for commercial purpose.

Hi, It has fixed the issue. Thanks for the update.

You are welcome!

As the old imagebuilder repository gets bigger and bigger, it causes difficulty to download and use. So, we recreated the new imagebuilder in https://github.com/gl-inet/imagebuilder. It is very small and fast than before. Executing ‘git pull’ under the old imagebuilder will conflict. So, please download it in the new working directory. The old imagebuilder had alreadly moved to https://github.com/gl-inet/imagebuilder_archive. Thanks.

Hi lancer,

Thanks for the update. It was much needed. I will start using the new imagebuilder from today.

Thanks,
Faheem