Open main menu

Compex Wiki β

LEDE Compile Instructions

This page has instructions designed to let developers with a degree of understanding in LEDE and our Embedded Boards to compile specific versions of LEDE to be flashed on our Embedded Boards.


Step 1: Choose the latest release of LEDE

Step 2: Update and install Feeds

cd openwrt
./scripts/feeds update -a
./scripts/feeds install -a

Step 3: Configure LEDE menuconfig to generate the firmware you need

Fist, go to menuconfig

make menuconfig

Select board type, for example WPJ344

  • Target System (Atheros AR7xxx/AR9xxx)
  • Subtarget (Generic)
  • Target Profile (Compex WPJ344)
    • Select other options like Compex WPJ342 if you want to compile WPJ342

Enable LuCI web management

  • LuCI —>
    • Collections —>
      • <*> luci

Enable ath10k for 11ac support

  • Kernel modules —>
    • Wireless Drivers —>
      • <*> kmod-ath10k

Step 4: Compile

run the make command in openwrt directory


Step 5: Flash firmware for the first time with tftp

The firmware is generated in source/bin/targets/ar71xx/generic Please check the flash instruction of each board in OpenWRT wiki since LEDE is a fork of OpenWRT.