Project

General

Profile

Compex WPJ342 » History » Version 1

Version 1/16 - Next » - Current version
Roger Pueyo Centelles, 07/23/2014 01:52 PM


Compex WPJ342

This document explains several ways to compile compile qMp for a Compex WPJ342.

Standard compilation

1) Get the OpenWrt SDK for the WPJ342 from Compex: http://www.compex.com.sg/openwrtdownload.aspx

2) Save the OpenWrt SDK file to your working directory and extract it (as of 23rd July 2014, the latest version is sdkowrt-140604.tar.bz2):

tar -xf sdkowrt-140604.tar.bz2@

and enter to the newly created directory "sdkowrt-140604".

3) By default this SDK builds the firmware for the WPJ344 board, not the WPJ342. The Makefile file needs to be slightly changed. Open it with your text editor and find the section "standard_config:":

standard_config:
    cp $(CONFIG_PATH)/wpj344.config $(OWRT_DIST_LOCAL_PATH)/.config
    rm -rf $(OWRT_DIST_LOCAL_PATH)/tmp

Replace it with:

standard_config:
    cp $(CONFIG_PATH)/wpj342.config $(OWRT_DIST_LOCAL_PATH)/.config
    rm -rf $(OWRT_DIST_LOCAL_PATH)/tmp

4) Run make to compile OpenWrt (without qMp, by now):

make

This will take a while and will download several megabytes of files to ~/dl-openwrt

Compex_WPE342-qMp_3.0.1_Clearance.jpg View - Compex WPE342 running qMp 3.0.1 Clearance (212 KB) Roger Pueyo Centelles, 07/23/2014 05:50 PM

Compex_WPJ342-qMp_3.0.1_Clearance.jpg View - Compex WPJ342 running qMp 3.0.1 Clearance (212 KB) Roger Pueyo Centelles, 07/23/2014 05:52 PM