LEDE Compile Instructions

From Compex Wiki
Revision as of 09:44, 12 October 2017 by Winston (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

git clone http://git.lede-project.org/source.git

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.