Asus TUF AX4200 support

I updated the trx-image, which is located at the link provided.
Now creating this image is fully automated.
To get this trx-image, just run the following commands:

git clone https://github.com/openwrt-xiaomi/builder -b v23 openwrt-v23
cd openwrt-v23

./xcreate.sh -v xq-23.05.0
cd xq-23.05.0

./xupdate.sh -f

./xmake.sh -f -t tuf_ax4200_initramfs

After the build is completed, in the ./xq-23.05.0/bin/targets/mediatek/filogic directory should appear file openwrt-mediatek-filogic-asus_tuf-ax4200-initramfs.trx

File changes

New image tool mkasustrx for creating Asus trx-image:
https://github.com/openwrt-xiaomi/firmware-utils/commit/1d44ff4c26d79c5755ddf5107a83f5bf202f4cae

Downloading and compile new image tool mkasustrx:
https://github.com/openwrt-xiaomi/openwrt/commit/f282f8ef3e5e688884a5f62429a46ddafb9b933f

Using new image tool mkasustrx:
https://github.com/openwrt-xiaomi/openwrt/commit/61d5891f8c7d1d6ddbf9675d3d84edfd368eefca

Forced change of the main options responsible for assembling images:
https://github.com/openwrt-xiaomi/builder/commit/975cc0efb3dea0f551cdc82ce819fd74a0d6045f#diff-c5024fd0171059d662ead280421311d0a4a825381fcec2f2bc58baaa40d21198R61-R65

.

Feature separate_ramdisk

The method of building images that I described cannot be added to the official OpenWRT repository, because there, for mtk/filogic devices, they completely abandoned the integration of initramfs into the kernel:
https://github.com/openwrt/openwrt/blob/eacc885816fb46bf4054b0c3dd2cd1513322ad09/target/linux/mediatek/Makefile#L9
Feature separate_ramdisk blocks the ability to insert initrams into the kernel!

1 Like