<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/target/linux, branch v18.06.0</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>Revert "ar71xx: define switch for rb-952ui-5ac2nd"</title>
<updated>2018-07-30T16:25:17+00:00</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jo@mein.io</email>
</author>
<published>2018-07-30T16:24:04+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=b0b5c64c22b8a1bf323b8756153e8568f52e1281'/>
<id>b0b5c64c22b8a1bf323b8756153e8568f52e1281</id>
<content type='text'>
This reverts commit 3442ec5d5724ca747c9f76b949dc8d21c94228c0.

The device behaviour is reportedly erratic so let's not take chances and
leave this out for now.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 3442ec5d5724ca747c9f76b949dc8d21c94228c0.

The device behaviour is reportedly erratic so let's not take chances and
leave this out for now.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ar71xx: define switch for rb-952ui-5ac2nd</title>
<updated>2018-07-30T16:14:17+00:00</updated>
<author>
<name>Thibaut VARÈNE</name>
<email>hacks@slashdirt.org</email>
</author>
<published>2018-07-30T15:37:40+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=3442ec5d5724ca747c9f76b949dc8d21c94228c0'/>
<id>3442ec5d5724ca747c9f76b949dc8d21c94228c0</id>
<content type='text'>
QCA9533 built-in switch can be configured

Tested-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
Signed-off-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
(cherry picked from commit 0e43c31ebde996ca88f5857bb7e6c4cbf3f65756)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
QCA9533 built-in switch can be configured

Tested-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
Signed-off-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
(cherry picked from commit 0e43c31ebde996ca88f5857bb7e6c4cbf3f65756)
</pre>
</div>
</content>
</entry>
<entry>
<title>ar71xx:add support for E750G v8</title>
<updated>2018-07-30T12:02:41+00:00</updated>
<author>
<name>张鹏</name>
<email>sd20@qxwlan.com</email>
</author>
<published>2018-07-17T10:14:25+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=a3dd6c939df83753256566565cad707c9413fbcb'/>
<id>a3dd6c939df83753256566565cad707c9413fbcb</id>
<content type='text'>
Qxwlan E750G v8 is based on Qualcomm QCA9344.

Specification:

 - 560/450/225 MHz (CPU/DDR/AHB)
 - 128 MB of RAM (DDR2)
 - 8/16 MB of FLASH (SPI NOR)
 - 2T2R 2.4G GHz (AR9344)
 - 2x 10/100 Mbps Ethernet (PoE support)
 - 2x 10/100/1000 Mbps Ethernet
 - 7x LED (6 driven by GPIO)
 - 1x button (reset)
 - 1x DC jack for main power input (9-48 V)
 - UART (J23) and LEDs (J2) headers on PCB

Flash instruction (using U-Boot CLI and tftp server):

 - Configure PC with static IP 192.168.1.10 and tftp server.
 - Rename "sysupgrade" filename to "firmware.bin" and place it in tftp
   server directory.
 - Connect PC with one of RJ45 ports, power up the board and press
   "enter" key to access U-Boot CLI.
 - Use the following command to update the device to OpenWrt: "run lfw".

Flash instruction (using U-Boot web-based recovery):

 - Configure PC with static IP 192.168.1.xxx(2-254)/24.
 - Connect PC with one of RJ45 ports, press the reset button, power up
   the board and keep button pressed for around 6-7 seconds, until LEDs
   start flashing.
 - Open your browser and enter 192.168.1.1, select "sysupgrade" image
   and click the upgrade button.

Signed-off-by: 张鹏 &lt;sd20@qxwlan.com&gt;
(cherry picked from commit 53a45020135b504cb4bee0fa8d98c8eaf6391066)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Qxwlan E750G v8 is based on Qualcomm QCA9344.

Specification:

 - 560/450/225 MHz (CPU/DDR/AHB)
 - 128 MB of RAM (DDR2)
 - 8/16 MB of FLASH (SPI NOR)
 - 2T2R 2.4G GHz (AR9344)
 - 2x 10/100 Mbps Ethernet (PoE support)
 - 2x 10/100/1000 Mbps Ethernet
 - 7x LED (6 driven by GPIO)
 - 1x button (reset)
 - 1x DC jack for main power input (9-48 V)
 - UART (J23) and LEDs (J2) headers on PCB

Flash instruction (using U-Boot CLI and tftp server):

 - Configure PC with static IP 192.168.1.10 and tftp server.
 - Rename "sysupgrade" filename to "firmware.bin" and place it in tftp
   server directory.
 - Connect PC with one of RJ45 ports, power up the board and press
   "enter" key to access U-Boot CLI.
 - Use the following command to update the device to OpenWrt: "run lfw".

Flash instruction (using U-Boot web-based recovery):

 - Configure PC with static IP 192.168.1.xxx(2-254)/24.
 - Connect PC with one of RJ45 ports, press the reset button, power up
   the board and keep button pressed for around 6-7 seconds, until LEDs
   start flashing.
 - Open your browser and enter 192.168.1.1, select "sysupgrade" image
   and click the upgrade button.

Signed-off-by: 张鹏 &lt;sd20@qxwlan.com&gt;
(cherry picked from commit 53a45020135b504cb4bee0fa8d98c8eaf6391066)
</pre>
</div>
</content>
</entry>
<entry>
<title>ar71xx:add support for E750A v4</title>
<updated>2018-07-30T12:02:40+00:00</updated>
<author>
<name>张鹏</name>
<email>sd20@qxwlan.com</email>
</author>
<published>2018-07-17T10:11:21+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=11a5128b983fdc78ffeac063bf9060116cad281b'/>
<id>11a5128b983fdc78ffeac063bf9060116cad281b</id>
<content type='text'>
Qxwlan E750A v4 is based on Qualcomm QCA9344.

Specification:

 - 560/450/225 MHz (CPU/DDR/AHB)
 - 128 MB of RAM (DDR2)
 - 8/16 MB of FLASH (SPI NOR)
 - 2T2R 5G GHz (AR9344)
 - 2x 10/100 Mbps Ethernet (one port with PoE support)
 - 1x miniPCIe slot (USB 2.0 bus only)
 - 7x LED (6 driven by GPIO)
 - 1x button (reset)
 - 1x DC jack for main power input (9-48 V)
 - UART (J23) and LEDs (J2) headers on PCB

Flash instruction (using U-Boot CLI and tftp server):

 - Configure PC with static IP 192.168.1.10 and tftp server.
 - Rename "sysupgrade" filename to "firmware.bin" and place it in tftp
   server directory.
 - Connect PC with one of RJ45 ports, power up the board and press
   "enter" key to access U-Boot CLI.
 - Use the following command to update the device to OpenWrt: "run lfw".

Flash instruction (using U-Boot web-based recovery):

 - Configure PC with static IP 192.168.1.xxx(2-254)/24.
 - Connect PC with one of RJ45 ports, press the reset button, power up
   the board and keep button pressed for around 6-7 seconds, until LEDs
   start flashing.
 - Open your browser and enter 192.168.1.1, select "sysupgrade" image
   and click the upgrade button.

Signed-off-by: 张鹏 &lt;sd20@qxwlan.com&gt;
(cherry picked from commit ac03d51a3f4daa2f6a2a83f041dcd71674a9f724)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Qxwlan E750A v4 is based on Qualcomm QCA9344.

Specification:

 - 560/450/225 MHz (CPU/DDR/AHB)
 - 128 MB of RAM (DDR2)
 - 8/16 MB of FLASH (SPI NOR)
 - 2T2R 5G GHz (AR9344)
 - 2x 10/100 Mbps Ethernet (one port with PoE support)
 - 1x miniPCIe slot (USB 2.0 bus only)
 - 7x LED (6 driven by GPIO)
 - 1x button (reset)
 - 1x DC jack for main power input (9-48 V)
 - UART (J23) and LEDs (J2) headers on PCB

Flash instruction (using U-Boot CLI and tftp server):

 - Configure PC with static IP 192.168.1.10 and tftp server.
 - Rename "sysupgrade" filename to "firmware.bin" and place it in tftp
   server directory.
 - Connect PC with one of RJ45 ports, power up the board and press
   "enter" key to access U-Boot CLI.
 - Use the following command to update the device to OpenWrt: "run lfw".

Flash instruction (using U-Boot web-based recovery):

 - Configure PC with static IP 192.168.1.xxx(2-254)/24.
 - Connect PC with one of RJ45 ports, press the reset button, power up
   the board and keep button pressed for around 6-7 seconds, until LEDs
   start flashing.
 - Open your browser and enter 192.168.1.1, select "sysupgrade" image
   and click the upgrade button.

Signed-off-by: 张鹏 &lt;sd20@qxwlan.com&gt;
(cherry picked from commit ac03d51a3f4daa2f6a2a83f041dcd71674a9f724)
</pre>
</div>
</content>
</entry>
<entry>
<title>ar71xx:add support for E558 v2</title>
<updated>2018-07-30T12:02:40+00:00</updated>
<author>
<name>张鹏</name>
<email>sd20@qxwlan.com</email>
</author>
<published>2018-07-17T10:08:10+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=21ad5fb1eafd33f82850c18d1df3b247fce17e0e'/>
<id>21ad5fb1eafd33f82850c18d1df3b247fce17e0e</id>
<content type='text'>
Qxwlan E558 v2 is based on Qualcomm QCA9558 + AR8327.

Specification:

 - 720/600/200 MHz (CPU/DDR/AHB)
 - 128 MB of RAM (DDR2)
 - 8/16 MB of FLASH (SPI NOR)
 - 2T2R 2.4 GHz (QCA9558)
 - 3x 10/100/1000 Mbps Ethernet (one port with PoE support)
 - 4x miniPCIe slot (USB 2.0 bus only)
 - 1x microSIM slot
 - 5x LED (4 driven by GPIO)
 - 1x button (reset)
 - 1x 3-pos switch
 - 1x DC jack for main power input (9-48 V)
 - UART (JP5) and LEDs (J8) headers on PCB

Flash instruction (using U-Boot CLI and tftp server):

 - Configure PC with static IP 192.168.1.10 and tftp server.
 - Rename "sysupgrade" filename to "firmware.bin" and place it in tftp
   server directory.
 - Connect PC with one of RJ45 ports, power up the board and press
   "enter" key to access U-Boot CLI.
 - Use the following command to update the device to OpenWrt: "run lfw".

Flash instruction (using U-Boot web-based recovery):

 - Configure PC with static IP 192.168.1.xxx(2-254)/24.
 - Connect PC with one of RJ45 ports, press the reset button, power up
   the board and keep button pressed for around 6-7 seconds, until LEDs
   start flashing.
 - Open your browser and enter 192.168.1.1, select "sysupgrade" image
   and click the upgrade button.

Signed-off-by: 张鹏 &lt;sd20@qxwlan.com&gt;
(cherry picked from commit b74f63f81d6121b5eace3f0c0c87399f7e0fde92)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Qxwlan E558 v2 is based on Qualcomm QCA9558 + AR8327.

Specification:

 - 720/600/200 MHz (CPU/DDR/AHB)
 - 128 MB of RAM (DDR2)
 - 8/16 MB of FLASH (SPI NOR)
 - 2T2R 2.4 GHz (QCA9558)
 - 3x 10/100/1000 Mbps Ethernet (one port with PoE support)
 - 4x miniPCIe slot (USB 2.0 bus only)
 - 1x microSIM slot
 - 5x LED (4 driven by GPIO)
 - 1x button (reset)
 - 1x 3-pos switch
 - 1x DC jack for main power input (9-48 V)
 - UART (JP5) and LEDs (J8) headers on PCB

Flash instruction (using U-Boot CLI and tftp server):

 - Configure PC with static IP 192.168.1.10 and tftp server.
 - Rename "sysupgrade" filename to "firmware.bin" and place it in tftp
   server directory.
 - Connect PC with one of RJ45 ports, power up the board and press
   "enter" key to access U-Boot CLI.
 - Use the following command to update the device to OpenWrt: "run lfw".

Flash instruction (using U-Boot web-based recovery):

 - Configure PC with static IP 192.168.1.xxx(2-254)/24.
 - Connect PC with one of RJ45 ports, press the reset button, power up
   the board and keep button pressed for around 6-7 seconds, until LEDs
   start flashing.
 - Open your browser and enter 192.168.1.1, select "sysupgrade" image
   and click the upgrade button.

Signed-off-by: 张鹏 &lt;sd20@qxwlan.com&gt;
(cherry picked from commit b74f63f81d6121b5eace3f0c0c87399f7e0fde92)
</pre>
</div>
</content>
</entry>
<entry>
<title>brcm2708: split sdcard.img.gz into a sysupgrade and factory image</title>
<updated>2018-07-30T12:00:59+00:00</updated>
<author>
<name>Christian Lamparter</name>
<email>chunkeey@gmail.com</email>
</author>
<published>2018-07-29T09:55:14+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=4dc0ff8183a45d80db88a4b42a24cb0371786e35'/>
<id>4dc0ff8183a45d80db88a4b42a24cb0371786e35</id>
<content type='text'>
@vahid-dan reported a issue with extracting the rpi images with
Gnome's Archive Manager:
"Ubuntu Archive Manager cannot extract the file and it just
throws a general error message: "An error occurred while
extracting files".
&lt;https://forum.lede-project.org/t/corrupted-pre-built-v18-06-0-rc2-image-for-rpi&gt;

@blogic told me to split the single sdcard.img.gz for the RPi
into a sysupgrade and a factory image for all brcm2708 targets.
The factory images will have no metadata attached, this way
these utilities that can't deal with the attached metadata will
not fail for no reason.

Cc: John Crispin &lt;john@phrozen.org&gt;
Signed-off-by: Christian Lamparter &lt;chunkeey@gmail.com&gt;
(cherry picked from commit 7516a960113d512cb2909f40bd07caf2a6c547b1)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
@vahid-dan reported a issue with extracting the rpi images with
Gnome's Archive Manager:
"Ubuntu Archive Manager cannot extract the file and it just
throws a general error message: "An error occurred while
extracting files".
&lt;https://forum.lede-project.org/t/corrupted-pre-built-v18-06-0-rc2-image-for-rpi&gt;

@blogic told me to split the single sdcard.img.gz for the RPi
into a sysupgrade and a factory image for all brcm2708 targets.
The factory images will have no metadata attached, this way
these utilities that can't deal with the attached metadata will
not fail for no reason.

Cc: John Crispin &lt;john@phrozen.org&gt;
Signed-off-by: Christian Lamparter &lt;chunkeey@gmail.com&gt;
(cherry picked from commit 7516a960113d512cb2909f40bd07caf2a6c547b1)
</pre>
</div>
</content>
</entry>
<entry>
<title>ar71xx: rbspi: fix RB wAP AC gpio conflict and LED</title>
<updated>2018-07-30T09:12:41+00:00</updated>
<author>
<name>Thibaut VARÈNE</name>
<email>hacks@slashdirt.org</email>
</author>
<published>2018-07-29T10:14:57+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=cb73dd21a33d17ba3d500a7a52d840087eff0f62'/>
<id>cb73dd21a33d17ba3d500a7a52d840087eff0f62</id>
<content type='text'>
e15c63a37574bd15ce3a6636c2f04741ab76f7b9 introduced code that was trying
to register GPIO 1 as both an LED and a button. The OEM source makes it
clear that LED1 is not wired to the SoC GPIOs. GPIO 1 is the reset button.

Furthermore the (green) power led default state should also be defined,
(matching OEM source), and it should be used by diag.sh since it's
currently the only software-controllable LED.

This patch fixes these issues and renames the corresponding #defines for
clarity

Signed-off-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
(cherry picked from commit e99f760235bb45716018faab52d31ce8165f49a0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
e15c63a37574bd15ce3a6636c2f04741ab76f7b9 introduced code that was trying
to register GPIO 1 as both an LED and a button. The OEM source makes it
clear that LED1 is not wired to the SoC GPIOs. GPIO 1 is the reset button.

Furthermore the (green) power led default state should also be defined,
(matching OEM source), and it should be used by diag.sh since it's
currently the only software-controllable LED.

This patch fixes these issues and renames the corresponding #defines for
clarity

Signed-off-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
(cherry picked from commit e99f760235bb45716018faab52d31ce8165f49a0)
</pre>
</div>
</content>
</entry>
<entry>
<title>ar71xx: add missing diag LED support for RB wAP 2nD</title>
<updated>2018-07-30T09:12:41+00:00</updated>
<author>
<name>Thibaut VARÈNE</name>
<email>hacks@slashdirt.org</email>
</author>
<published>2018-07-29T10:14:59+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=bb06f6d3badf188d407ee34b38e6825ce6a2cb58'/>
<id>bb06f6d3badf188d407ee34b38e6825ce6a2cb58</id>
<content type='text'>
3b15eb06c366cf3805590a61f22e966a95bf8101 did not include diag.sh
edit

Signed-off-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
(cherry picked from commit 5c2419b6f82e2ec49ecac17ae17fdbdb151701c7)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
3b15eb06c366cf3805590a61f22e966a95bf8101 did not include diag.sh
edit

Signed-off-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
(cherry picked from commit 5c2419b6f82e2ec49ecac17ae17fdbdb151701c7)
</pre>
</div>
</content>
</entry>
<entry>
<title>brcm47xx: rework model detection</title>
<updated>2018-07-30T09:11:21+00:00</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jo@mein.io</email>
</author>
<published>2018-07-30T06:36:26+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=c8e8ff1c9fbf699d04e2dc9e01d3349878ef7883'/>
<id>c8e8ff1c9fbf699d04e2dc9e01d3349878ef7883</id>
<content type='text'>
On brcm47xx boards, the model ID is the combination of the "boardtype" nvram
variable and an optional supplemental "boardnum" variable while the human
readable model name is usually exposed in the "machine" field of the
/proc/cpuinfo file.

Move the extraction of the board nvram variables and model name string into
the 01_sysinfo file and rework the 01_detect board configuration script to
solely use the prepared sysinfo values without performing own detection
logic.

As a consequence, we can drop the ucidef_set_board_id() and
ucidef_set_model_name() invocations in favor to the generic behaviour
which copies the /tmp/sysinfo/{board_name,model} values into the board.json
"id" and "name" fields respectively.

Since "01_detect" only contains network configuration logic after this
change, move it to "01_network" and rename the contained "detect_by_xxx"
functions to "configure_by_xxx" instead, to avoid potential confusion.

Fixes FS#1576
Acked-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;

(cherry picked from commit d7d10f2c1e8511fe07c9760e85f2272a85168f8d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On brcm47xx boards, the model ID is the combination of the "boardtype" nvram
variable and an optional supplemental "boardnum" variable while the human
readable model name is usually exposed in the "machine" field of the
/proc/cpuinfo file.

Move the extraction of the board nvram variables and model name string into
the 01_sysinfo file and rework the 01_detect board configuration script to
solely use the prepared sysinfo values without performing own detection
logic.

As a consequence, we can drop the ucidef_set_board_id() and
ucidef_set_model_name() invocations in favor to the generic behaviour
which copies the /tmp/sysinfo/{board_name,model} values into the board.json
"id" and "name" fields respectively.

Since "01_detect" only contains network configuration logic after this
change, move it to "01_network" and rename the contained "detect_by_xxx"
functions to "configure_by_xxx" instead, to avoid potential confusion.

Fixes FS#1576
Acked-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;

(cherry picked from commit d7d10f2c1e8511fe07c9760e85f2272a85168f8d)
</pre>
</div>
</content>
</entry>
<entry>
<title>bcm53xx: revert SPI controller commit breaking flash reads</title>
<updated>2018-07-29T09:10:03+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>rafal@milecki.pl</email>
</author>
<published>2018-07-29T09:01:14+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=ca0c649a380c4bd1d356bf5518f4da47b2b163c1'/>
<id>ca0c649a380c4bd1d356bf5518f4da47b2b163c1</id>
<content type='text'>
That upstream commit caused instability in flash reads. It was reported
but there isn't any proper fix as for now.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
(cherry picked from commit 0417b08b06dd946c2670d0a19e3426c61e33f6be)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
That upstream commit caused instability in flash reads. It was reported
but there isn't any proper fix as for now.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
(cherry picked from commit 0417b08b06dd946c2670d0a19e3426c61e33f6be)
</pre>
</div>
</content>
</entry>
</feed>
