I want to add a ramips device in OpenWrt version 21.02.0. There is no documentation available for the same. I have tried but failed to create the image by using this link https://openwrt.org/docs/guide-developer/adding_new_device .
Please help.
Below is the error log.
mipsel-openwrt-linux-musl-cpp: error: ../dts/mt7621_zbt-wg1602.dts: No such file or directory
mipsel-openwrt-linux-musl-cpp: warning: '-x assembler-with-cpp' after last input file has no effect
mipsel-openwrt-linux-musl-cpp: fatal error: no input files
compilation terminated.
make[5]: *** [Makefile:206: /root/zbt/wg1602/v21/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/image-mt7621_zbt-wg1602.dtb] Error 1
make[5]: Leaving directory '/root/zbt/wg1602/v21/openwrt/target/linux/ramips/image'
make[4]: *** [Makefile:23: install] Error 2
make[4]: Leaving directory '/root/zbt/wg1602/v21/openwrt/target/linux/ramips'
make[3]: *** [Makefile:11: install] Error 2
make[3]: Leaving directory '/root/zbt/wg1602/v21/openwrt/target/linux'
time: target/linux/install#57.59#14.79#68.38
ERROR: target/linux failed to build.
make[2]: *** [target/Makefile:25: target/linux/install] Error 1
make[2]: Leaving directory '/root/zbt/wg1602/v21/openwrt'
make[1]: *** [target/Makefile:19: /root/zbt/wg1602/v21/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.target_install] Error 2
make[1]: Leaving directory '/root/zbt/wg1602/v21/openwrt'
make: *** [/root/zbt/wg1602/v21/openwrt/include/toplevel.mk:230: world] Error 2
name correction is needed. You may need to rename mt7621_zbt-wg1326.dts to mt7621_zbt-wg1602.dts
after changes do "touch Makefile" in target/ramips/ directory