Imagebuilder SPI NAND

Hi,
I am using Imagebuilder with my e750. I require many packages that will not fit on the 16MB NAND - the resulting image is too large, and the build fails. I would like any custom packages to be installed to the 128MB spi-nand. How would I do this using Imagebuilder?

goto http://192.168.8.1/cgi-bin/luci/admin/system/packages. I thought the mudi had addtional storage like the brume, 512mb. if not there is always making multiple partions on a micro sd card and extroot.

https://openwrt.org/docs/guide-user/additional-software/extroot_configuration

I personally dont like these instructions. but there there.

If you use imagegbuilder from https://github.com/gl-inet/imagebuilder, should you be able to generate firmware for nand?

I am indeed using imagebuilder - but it’s building for the (Max 16MB) flash chip.

As mentioned in my question, the Mudi has 128MB ‘extra’ storage.
I will need to setup multiple devices in identical fashion, so I need imagebuilder to generate an image(s) with all packages pre-installed, not manually installing on each one using opkg.

I think some of the problems are in your compilation steps.
Can you give your compilation steps and the error message?

I’m using imagebuilder. There is no compilation - it’s downloading packages.

I know,in the our github(https://github.com/gl-inet/imagebuilder),there is a command to generate firmware,like this:

To make an image for the Mifi with some extra packages included:
./gl_image -p mifi -e “openssh-sftp-server nano htop”

what command do you use?tell me, I will test it.

custom profile:

"oneboxx": {
		"profile": "gl-e750",
		"version": "3.027",
		"imagebuilder": "3.1/openwrt-imagebuilder-ar71xx-generic_3.1",
		"packages": "gl-base-files-ar $basic $custom_oneboxx $storage $usb $glinet gl-e750-mcu gl-ble-daemon gl-ble-api"
	},

where:

"custom_oneboxx": "iptables-mod-ipsec kmod-crypto-authenc kmod-crypto-cbc kmod-crypto-ctr kmod-crypto-deflate kmod-crypto-des kmod-crypto-ecdh kmod-crypto-echainiv kmod-crypto-gcm kmod-crypto-gf128 kmod-crypto-ghash kmod-crypto-hmac kmod-crypto-iv kmod-crypto-kpp kmod-crypto-md5 kmod-crypto-rng kmod-crypto-seqiv kmod-crypto-sha256 kmod-crypto-wq kmod-ipsec kmod-ipsec4 kmod-ipsec6 kmod-ipt-ipsec kmod-iptunnel4 kmod-iptunnel6 kmod-lib-zlib-deflate kmod-lib-zlib-inflate libaio libatomic libiwinfo-lua liblua liblucihttp-lua liblucihttp liblzma libmariadbclient libncurses libstdcpp libubus-lua lua luci-app-firewall luci-base luci-lib-ip luci-lib-jsonc luci-lib-nixio luci-mod-admin-full luci-proto-ipv6 luci-proto-ppp luci-theme-bootstrap luci mariadb-client mariadb-server nano nginx openssh-sftp-server php7-cli php7-fpm php7-mod-curl php7-mod-hash php7-mod-iconv php7-mod-json php7-mod-opcache php7-mod-openssl php7-mod-pdo-mysql php7-mod-pdo php7-mod-phar php7-mod-session php7-mod-shmop php7-mod-simplexml php7-mod-zip php7 rpcd-mod-rrdns rpcd strongswan-charon strongswan-default strongswan-ipsec strongswan-libtls strongswan-mod-aes strongswan-mod-attr strongswan-mod-ccm strongswan-mod-cmac strongswan-mod-connmark strongswan-mod-constraints strongswan-mod-curl strongswan-mod-curve25519 strongswan-mod-des strongswan-mod-dnskey strongswan-mod-eap-identity strongswan-mod-eap-md5 strongswan-mod-eap-mschapv2 strongswan-mod-eap-tls strongswan-mod-fips-prf strongswan-mod-gcm strongswan-mod-gmp strongswan-mod-hmac strongswan-mod-kernel-netlink strongswan-mod-md4 strongswan-mod-md5 strongswan-mod-nonce strongswan-mod-openssl strongswan-mod-pem strongswan-mod-pgp strongswan-mod-pkcs1 strongswan-mod-pubkey strongswan-mod-random strongswan-mod-rc2 strongswan-mod-resolve strongswan-mod-revocation strongswan-mod-sha1 strongswan-mod-sha2 strongswan-mod-socket-default strongswan-mod-sshkey strongswan-mod-stroke strongswan-mod-updown strongswan-mod-x509 strongswan-mod-xauth-generic strongswan-mod-xcbc strongswan terminfo uhttpd-mod-ubus uhttpd zoneinfo-africa zoneinfo-asia zoneinfo-atlantic zoneinfo-australia-nz zoneinfo-core zoneinfo-europe zoneinfo-india zoneinfo-northamerica zoneinfo-pacific zoneinfo-poles zoneinfo-simple zoneinfo-southamerica"

built using:

./gl_image -c customize.json -p oneboxx

gives error:

openwrt-oneboxx-ar71xx-generic-gl-e750-squashfs-sysupgrade.bin is too big

There are some chnages about imagebuilding,please use the text below: “oneboxx”: {
“profile”: “GL-E750”,
“version”: “3.100”,
“imagebuilder”: “3.2/openwrt-imagebuilder-ar71xx-nand_3.2”,
“packages”: “gl-base-files-ar $basic $custom_oneboxx $storage $usb $glinet gl-e750-mcu gl-ble-daemon gl-ble-api”
},

1 Like

Thank you @hoff
That worked perfectly!

so I built 3.027 in ~/gl_imagebuilder for ar150 with

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

Now I want to build the latest 3.100

I went into ~/gl_imagebuilder/customize.json and changed version to 3.100 in ar150 section
I also went into /config/custom.json.3.024 and changed
“version”: “3.100”

but it stll builds 3.027 any help hear appreciated

You still need to run the custom config as above:

./gl_image -c custom.json -p ar150 -e “openssh-sftp-server nano htop”

:slight_smile:

Oops! Failed to parse customize.json:(

deleted and new thread created

deleted and started in another thread

The latest firmware version of AR150 is 3.027,so it is no use modifying the version.
If you want build 3.100 version for AR150,I afraid you have to wait a few days or aroud ten days.

thanks hoff, wondering if you can explain further.
is it usually possible to use imagebuilder on the latest testing version or is it always impossible and one must wait till lets say the next as in 3.2 before that can happen (or is it even skipped if it isnt a stable build).
thanks

GL just hasn’t pushed the changes and updated the config for imagebuilder. It will take some time cos of the issues in China at the moment, not everyone is back to work.

thanks. no hurry here.