Projecte

General

Perfil

Compex WPJ342 » Historial » Versió 1

Roger Pueyo Centelles, 23-07-2014 13:52

1 1 Roger Pueyo Centelles
h1. Compex WPJ342
2
3
This document explains several ways to compile compile qMp for a "Compex WPJ342":http://www.compex.com.sg/productdetailinfo.asp?model=WPJ342&acc1Panel=2.
4
5
h2. Standard compilation
6
7
1) Get the OpenWrt SDK for the WPJ342 from Compex: http://www.compex.com.sg/openwrtdownload.aspx
8
9
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):
10
11
<pre>
12
tar -xf sdkowrt-140604.tar.bz2@
13
</pre>
14
15
and enter to the newly created directory "sdkowrt-140604".
16
17
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:":
18
19
<pre>
20
standard_config:
21
	cp $(CONFIG_PATH)/wpj344.config $(OWRT_DIST_LOCAL_PATH)/.config
22
	rm -rf $(OWRT_DIST_LOCAL_PATH)/tmp
23
</pre>
24
25
Replace it with:
26
27
<pre>
28
standard_config:
29
	cp $(CONFIG_PATH)/wpj342.config $(OWRT_DIST_LOCAL_PATH)/.config
30
	rm -rf $(OWRT_DIST_LOCAL_PATH)/tmp
31
</pre>
32
33
4) Run @make@ to compile OpenWrt (without qMp, by now):
34
35
<pre>
36
make
37
</pre>
38
39
This will take a while and will download several megabytes of files to ~/dl-openwrt