# Build the MT7697 WiFi Firmware

**URL:** <https://mangoh.discourse.group/t/build-the-mt7697-wifi-firmware/5994>\
**Category:** mangOH Red\
**Created:** [January 13, 2021, 2:18pm UTC](https://mangoh.discourse.group/t/build-the-mt7697-wifi-firmware/5994 "2021-01-13T14:18:28Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![lecuyerantonin](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@lecuyerantonin](https://mangoh.discourse.group/u/lecuyerantonin)\
**Post date:** [January 13, 2021, 2:18pm UTC](https://mangoh.discourse.group/t/build-the-mt7697-wifi-firmware/5994/1 "2021-01-13T14:18:28Z")

</div>

Hi everyone,

My team and I are trying to build the mt7697 WiFi firmware, but unfortunatly we have a probleme with the [wiki](https://github.com/mangOH/mangOH/wiki/mangOH-Red-mt7697-WiFi). Indeed, when we do the 8th step of the first chapter, we have a lot of error as you can see bellow.

> mangoh@mangoh-dev:~/Downloads/LinkIt\_SDK\_V4.3.0\_public$ ./build.sh linkit7697\_hdk MT7697\_WiFi\_BT\_fw bl  
> Build board:linkit7697\_hdk project:MT7697\_WiFi\_BT\_fw  
> platform=Linux  
> FEATURE=[feature.mk](http://feature.mk)  
> Build bootloader…  
> make: Entering directory ‘/home/mangoh/Downloads/LinkIt\_SDK\_V4.3.0\_public/project/linkit7697\_hdk/apps/bootloader/GCC’  
> trigger by build.sh, skip cleanlog  
> Build… cos\_api.o  
> Build… cos\_api.o FAIL  
> Build… dma.o  
> Build… dma.o FAIL  
> Build… flash\_sfc.o  
> Build… flash\_sfc.o FAIL  
> Build… gpt.o  
> Build… gpt.o FAIL  
> Build… hal\_I2C.o  
> Build… hal\_I2C.o FAIL  
> Build… hal\_i2s\_internal.o  
> Build… hal\_i2s\_internal.o FAIL  
> Build… low\_hal\_irtx.o  
> Build… low\_hal\_irtx.o FAIL  
> Build… low\_hal\_pwm.o  
> Build… low\_hal\_pwm.o FAIL  
> Build… hal\_gpc.o  
> Build… hal\_gpc.o FAIL  
> Build… hal\_gpio\_7687.o  
> Build… hal\_gpio\_7687.o FAIL  
> Build… hal\_irrx.o  
> Build… hal\_irrx.o FAIL  
> Build… hal\_lp.o  
> Build… hal\_lp.o FAIL  
> Build… hal\_pcnt.o  
> Build… hal\_pcnt.o FAIL  
> Build… hal\_pinmux.o  
> Build… hal\_pinmux.o FAIL  
> Build… hal\_spim.o  
> Build… hal\_spim.o FAIL  
> Build… hal\_sys.o  
> Build… hal\_sys.o FAIL  
> Build… hal\_trng.o  
> Build… hal\_trng.o FAIL  
> Build… hal\_uid.o  
> Build… hal\_uid.o FAIL  
> Build… i2c.o  
> Build… i2c.o FAIL  
> Build… ir\_tx.o  
> Build… ir\_tx.o FAIL  
> Build… low\_hal\_gpio.o  
> Build… low\_hal\_gpio.o FAIL  
> Build… low\_hal\_irrx.o  
> Build… low\_hal\_irrx.o FAIL  
> Build… low\_hal\_rtc.o  
> Build… low\_hal\_rtc.o FAIL  
> Build… low\_hal\_wdt.o  
> Build… low\_hal\_wdt.o FAIL  
> Build… nvic.o  
> Build… nvic.o FAIL  
> Build… pinmux.o  
> Build… pinmux.o FAIL  
> Build… pwm.o  
> Build… pwm.o FAIL  
> Build… sfc.o  
> Build… sfc.o FAIL  
> Build… spi\_flash.o  
> Build… spi\_flash.o FAIL  
> Build… spim.o  
> Build… spim.o FAIL  
> Build… timer.o  
> Build… timer.o FAIL  
> Build… top.o  
> Build… top.o FAIL  
> Build… uart.o  
> Build… uart.o FAIL  
> Build… hal\_log.o  
> Build… hal\_log.o FAIL  
> Build… hal\_adc.o  
> Build… hal\_adc.o FAIL  
> Build… hal\_aes.o  
> Build… hal\_aes.o FAIL  
> Build… hal\_cache.o  
> Build… hal\_cache.o FAIL  
> Build… hal\_cache\_internal.o  
> Build… hal\_cache\_internal.o FAIL  
> Build… hal\_des.o  
> Build… hal\_des.o FAIL  
> Build… hal\_eint.o  
> Build… hal\_eint.o FAIL  
> Build… hal\_nvic.o  
> Build… hal\_nvic.o FAIL  
> Build… hal\_nvic\_internal.o  
> Build… hal\_nvic\_internal.o FAIL  
> Build… hal\_flash.o  
> Build… hal\_flash.o FAIL  
> Build… hal\_gpio.o  
> Build… hal\_gpio.o FAIL  
> Build… hal\_i2c\_master.o  
> Build… hal\_i2c\_master.o FAIL  
> Build… hal\_i2s.o  
> Build… hal\_i2s.o FAIL  
> Build… hal\_irtx.o  
> Build… hal\_irtx.o FAIL  
> Build… hal\_gdma.o  
> Build… hal\_gdma.o FAIL  
> Build… hal\_gpt.o  
> Build… hal\_gpt.o FAIL  
> Build… hal\_md5.o  
> Build… hal\_md5.o FAIL  
> Build… hal\_pwm.o  
> Build… hal\_pwm.o FAIL  
> Build… hal\_rtc.o  
> Build… hal\_rtc.o FAIL  
> Build… hal\_sha.o  
> Build… hal\_sha.o FAIL  
> Build… hal\_spi\_master.o  
> Build… hal\_spi\_master.o FAIL  
> Build… hal\_spi\_slave.o  
> Build… hal\_spi\_slave.o FAIL  
> Build… hal\_uart.o  
> Build… hal\_uart.o FAIL  
> Build… hal\_audio\_internal\_service.o  
> Build… hal\_audio\_internal\_service.o FAIL  
> Build… hal\_wdt.o  
> Build… hal\_wdt.o FAIL  
> Build… hal\_misc.o  
> Build… hal\_misc.o FAIL  
> Build… bsp\_flash\_config.o  
> Build… bsp\_flash\_config.o FAIL  
> Build… bsp\_gpio\_ept\_config.o  
> Build… bsp\_gpio\_ept\_config.o FAIL  
> Build… main.o  
> Build… main.o FAIL  
> Build… hw\_uart.o  
> Build… hw\_uart.o FAIL  
> Build… xmodem.o  
> Build… xmodem.o FAIL  
> Build… crc16.o  
> Build… crc16.o FAIL  
> Build… fota.o  
> Build… fota.o FAIL  
> Build… fota\_internal.o  
> Build… fota\_internal.o FAIL  
> Build… fota\_config.o  
> Build… fota\_config.o FAIL  
> Build… fota\_port.o  
> Build… fota\_port.o FAIL  
> Build… fota\_cli.o  
> Build… fota\_cli.o FAIL  
> Build… fota\_download\_interface.o  
> Build… fota\_download\_interface.o FAIL  
> Build… system\_mt7687.o  
> Build… system\_mt7687.o FAIL  
> Build… ept\_gpio\_var.o  
> Build… ept\_gpio\_var.o FAIL  
> Build… ept\_eint\_var.o  
> Build… ept\_eint\_var.o FAIL  
> Build… syscalls.o  
> Build… syscalls.o FAIL  
> Build… lzma\_decode\_interface.o  
> Build… lzma\_decode\_interface.o FAIL  
> Build… lzma\_decoder.o  
> Build… lzma\_decoder.o FAIL  
> Build… verno.o  
> Build… verno.o FAIL  
> Linking…  
> Makefile:169: recipe for target ‘/home/mangoh/Downloads/LinkIt\_SDK\_V4.3.0\_public/out/linkit7697\_hdk/MT7697\_WiFi\_BT\_fw/mt7697\_bootloader.elf’ failed  
> make: Leaving directory ‘/home/mangoh/Downloads/LinkIt\_SDK\_V4.3.0\_public/project/linkit7697\_hdk/apps/bootloader/GCC’  
> Error: bootloader build failed!!

And from the err.log file, we can read that:

> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 7: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 6: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 1: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> /bin/sh: 1: …/…/…/…/…/tools/gcc//gcc-arm-none-eabi/bin/arm-none-eabi-gcc: not found  
> make: \*\*\* [/home/mangoh/Downloads/LinkIt\_SDK\_V4.3.0\_public/out/linkit7697\_hdk/MT7697\_WiFi\_BT\_fw/mt7697\_bootloader.elf] Error 127

I would like to continue on my project but I’m not sure how to do it… Is it possible for someone to help me?  
I thank you in advance!

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [January 13, 2021, 2:36pm UTC](https://mangoh.discourse.group/t/build-the-mt7697-wifi-firmware/5994/2 "2021-01-13T14:36:15Z")

</div>

You can directly use the binary in this thread

> [@Uses TI module instead of MT7697](https://mangoh.discourse.group/t/uses-ti-module-instead-of-mt7697/5840/2):
>
> you can see this document:

---

<div class="post-metadata">

**Author:** ![lecuyerantonin](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@lecuyerantonin](https://mangoh.discourse.group/u/lecuyerantonin)\
**Post date:** [January 13, 2021, 3:58pm UTC](https://mangoh.discourse.group/t/build-the-mt7697-wifi-firmware/5994/3 "2021-01-13T15:58:03Z")

</div>

Thank you for your fast respond!  
Unfortunatly, I forgot quite an important information: I’m working with the mangOH VM. I saw that the document you shared was for Windows only, but will it work with the VM?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [January 14, 2021, 12:19am UTC](https://mangoh.discourse.group/t/build-the-mt7697-wifi-firmware/5994/4 "2021-01-14T00:19:06Z")

</div>

I think it will work, you can give a try.  
You can follow the instruction in the wiki:

> **[mangOH/mangOH](https://github.com/mangOH/mangOH/wiki/mangOH-Red-mt7697-WiFi)**
>
> mangOH-Red-mt7697-WiFi

---

<div class="post-metadata">

**Author:** ![lecuyerantonin](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@lecuyerantonin](https://mangoh.discourse.group/u/lecuyerantonin)\
**Post date:** [January 14, 2021, 10:35am UTC](https://mangoh.discourse.group/t/build-the-mt7697-wifi-firmware/5994/5 "2021-01-14T10:35:17Z")

</div>

Hi,

It doesn’t seems to work. I followed the wiki but it didn’t seemed to work, so I come with further informations. Our problem is that we can’t find the:

> flash\_download.ini

making it impossible to continue.This .ini file is supposed to reference the 3 .bin listed just under:

> bootloader.bin  
> WIFI\_RAM\_CCCE\_MT7697\_in\_flash.bin  
> mangOH\_RED\_WiFi\_BT.bin

I posted under all the information about our MangOH Red:

 ![infos mangoh](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/9/9dbc2d604e156572a14ab798b62209e86653ed2b.png)

Is it possible to have the .ini file by anyway possible?  
Thanks for your help!

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [January 14, 2021, 10:59am UTC](https://mangoh.discourse.group/t/build-the-mt7697-wifi-firmware/5994/6 "2021-01-14T10:59:30Z")

</div>

Can you try windows first?  
The .rar file inside the document there should have the ini file and other required binary files.

---

<div class="post-metadata">

**Author:** ![lecuyerantonin](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@lecuyerantonin](https://mangoh.discourse.group/u/lecuyerantonin)\
**Post date:** [January 14, 2021, 3:01pm UTC](https://mangoh.discourse.group/t/build-the-mt7697-wifi-firmware/5994/7 "2021-01-14T15:01:41Z")

</div>

Sure! Tell me, where can I find the file in the 12th step of your document?

> Extract this MT7697\_WiFi\_BT\_fw.rar to your Windows PC

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [January 14, 2021, 3:19pm UTC](https://mangoh.discourse.group/t/build-the-mt7697-wifi-firmware/5994/8 "2021-01-14T15:19:41Z")

</div>

You need to download the document and open with microsoft word

---

<div class="post-metadata">

**Author:** ![lecuyerantonin](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@lecuyerantonin](https://mangoh.discourse.group/u/lecuyerantonin)\
**Post date:** [January 14, 2021, 3:36pm UTC](https://mangoh.discourse.group/t/build-the-mt7697-wifi-firmware/5994/9 "2021-01-14T15:36:48Z")

</div>

But where can I download the file?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [January 14, 2021, 4:21pm UTC](https://mangoh.discourse.group/t/build-the-mt7697-wifi-firmware/5994/10 "2021-01-14T16:21:11Z")

</div>

There is MT7697\_WiFi\_BT\_fw.rar inside this file:

> **[How to test MTK wifi chipset on MangOH Red board.docx](https://drive.google.com/file/d/12hjD3554Ufr29LOqjOvyIsrPek6JyI4_/view)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![lecuyerantonin](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@lecuyerantonin](https://mangoh.discourse.group/u/lecuyerantonin)\
**Post date:** [January 15, 2021, 8:19am UTC](https://mangoh.discourse.group/t/build-the-mt7697-wifi-firmware/5994/11 "2021-01-15T08:19:38Z")

</div>

There is no link in the document, is it possible for you to put the link here on the forum please?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [January 15, 2021, 8:24am UTC](https://mangoh.discourse.group/t/build-the-mt7697-wifi-firmware/5994/12 "2021-01-15T08:24:39Z")

</div>

you need to double click the RAR icon:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/9/9ae19f6b183c5ef632ffaaf41f810dbe69ae8af1.png)

---

<div class="post-metadata">

**Author:** ![lecuyerantonin](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@lecuyerantonin](https://mangoh.discourse.group/u/lecuyerantonin)\
**Post date:** [January 18, 2021, 9:23am UTC](https://mangoh.discourse.group/t/build-the-mt7697-wifi-firmware/5994/13 "2021-01-18T09:23:44Z")

</div>

Hi Jyijyi!  
Thanks for your help, we are making it work. I won’t hesitate to update my post if I have any issue.

Thank you again and have a nice day/night!!
