<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/config, branch master</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>build: add support for enabling the rootfs/boot partition size option via target feature</title>
<updated>2018-09-03T10:06:24+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2018-08-26T17:36:33+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=00f030a9c67c551e675364d73234a4cba273b420'/>
<id>00f030a9c67c551e675364d73234a4cba273b420</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>x86: add support to set GRUB menu entry title</title>
<updated>2018-07-30T13:55:21+00:00</updated>
<author>
<name>Kjel Delaey</name>
<email>kjel_delaey@hotmail.com</email>
</author>
<published>2018-06-05T13:47:05+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=8492ad0cc183550137ea5afadcbebbfb4fd68fed'/>
<id>8492ad0cc183550137ea5afadcbebbfb4fd68fed</id>
<content type='text'>
$ make menuconfig

        Target Images -&gt; Title for the menu entry in GRUB

Signed-off-by: Kjel Delaey &lt;kjel_delaey@hotmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
$ make menuconfig

        Target Images -&gt; Title for the menu entry in GRUB

Signed-off-by: Kjel Delaey &lt;kjel_delaey@hotmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>config: extend small_flash feature</title>
<updated>2018-07-12T16:15:33+00:00</updated>
<author>
<name>Alex Maclean</name>
<email>monkeh@monkeh.net</email>
</author>
<published>2018-07-09T17:09:05+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=11d6547455e848efb4fac0b983a07b11be5caf25'/>
<id>11d6547455e848efb4fac0b983a07b11be5caf25</id>
<content type='text'>
Extend the small_flash feature to disable swap, core dumps, and
kernel debug info, and change the squashfs block size to 1024KiB.

Also change squashfs fragment cache to 2 for small_flash to ease memory
usage.

Signed-off-by: Alex Maclean &lt;monkeh@monkeh.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extend the small_flash feature to disable swap, core dumps, and
kernel debug info, and change the squashfs block size to 1024KiB.

Also change squashfs fragment cache to 2 for small_flash to ease memory
usage.

Signed-off-by: Alex Maclean &lt;monkeh@monkeh.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: only optimized for size if small_flash</title>
<updated>2018-07-12T16:15:32+00:00</updated>
<author>
<name>Mathias Kresin</name>
<email>dev@kresin.me</email>
</author>
<published>2018-07-09T18:48:56+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=cf7154db07c0b8746be290c9e11dcab3c91d237e'/>
<id>cf7154db07c0b8746be290c9e11dcab3c91d237e</id>
<content type='text'>
Add a new config option to allow to select the default compile
optimization level for the kernel.

Select the optimization for size by default if the small_flash feature is
set. Otherwise "Optimize for performance" is set.

Add the small_flash feature flag to all (sub)targets which had the
optimization for size in their default kernel config.

Remove CC_OPTIMIZE_FOR_* symbols from all kernel configs to apply the new
setting.

Exceptions to the above are:

  - lantiq, where the optimization for size is only required for the
    xway_legacy subtarget but was set for the whole target
  - mediatek, ramips/mt7620 &amp; ramips/mt76x8 where boards should have
    plenty of space and an optimization for size doesn't make much sense
  - rb532, which has 128MByte flash

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new config option to allow to select the default compile
optimization level for the kernel.

Select the optimization for size by default if the small_flash feature is
set. Otherwise "Optimize for performance" is set.

Add the small_flash feature flag to all (sub)targets which had the
optimization for size in their default kernel config.

Remove CC_OPTIMIZE_FOR_* symbols from all kernel configs to apply the new
setting.

Exceptions to the above are:

  - lantiq, where the optimization for size is only required for the
    xway_legacy subtarget but was set for the whole target
  - mediatek, ramips/mt7620 &amp; ramips/mt76x8 where boards should have
    plenty of space and an optimization for size doesn't make much sense
  - rb532, which has 128MByte flash

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>config: add config option for KERNEL_TASKSTATS</title>
<updated>2018-07-07T16:33:57+00:00</updated>
<author>
<name>Jeremiah McConnell</name>
<email>miah@miah.com</email>
</author>
<published>2018-06-20T05:35:08+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=206fbbfec2d0cc40266674e93e7e01e307847a6d'/>
<id>206fbbfec2d0cc40266674e93e7e01e307847a6d</id>
<content type='text'>
In order for monitoring tools such as atop and htop to track and report
i/o data, kernel support for task statistics and io accounting is
required.

Add a config option to enable building this support in the kernel.

Signed-off-by: Jeremiah McConnell &lt;miah@miah.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order for monitoring tools such as atop and htop to track and report
i/o data, kernel support for task statistics and io accounting is
required.

Add a config option to enable building this support in the kernel.

Signed-off-by: Jeremiah McConnell &lt;miah@miah.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>config: fix ARM64 dependency check</title>
<updated>2018-02-10T19:16:39+00:00</updated>
<author>
<name>Hauke Mehrtens</name>
<email>hauke@hauke-m.de</email>
</author>
<published>2018-02-05T21:40:56+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=fc166931fae87be0f98ea9e0c74b0f33ddd11113'/>
<id>fc166931fae87be0f98ea9e0c74b0f33ddd11113</id>
<content type='text'>
The ARM64 CPUs use aarch64 config symbol, fix the depends lines.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ARM64 CPUs use aarch64 config symbol, fix the depends lines.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lantiq: ase: turn off fpu emulator in default build</title>
<updated>2018-01-29T09:34:48+00:00</updated>
<author>
<name>Yousong Zhou</name>
<email>yszhou4tech@gmail.com</email>
</author>
<published>2018-01-29T07:07:51+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=d76ad1dc79a65990deb893736e738698eb30b7e7'/>
<id>d76ad1dc79a65990deb893736e738698eb30b7e7</id>
<content type='text'>
It was only enabled when the target was added back in commit 9b321bc
("lantiq: add Amazon-SE subtarget")

Leave pistachio alone as devices of this target are not likely have
small_flash or low_mem constraint

Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was only enabled when the target was added back in commit 9b321bc
("lantiq: add Amazon-SE subtarget")

Leave pistachio alone as devices of this target are not likely have
small_flash or low_mem constraint

Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>build: add config option KERNEL_MIPS_FPU_EMULATOR</title>
<updated>2018-01-29T07:06:53+00:00</updated>
<author>
<name>Yousong Zhou</name>
<email>yszhou4tech@gmail.com</email>
</author>
<published>2018-01-29T01:40:52+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=82ceb2ad2a155b65979630e774b728310c328be2'/>
<id>82ceb2ad2a155b65979630e774b728310c328be2</id>
<content type='text'>
To make it more accessible for nodejs users to configure and run a build
on mips target lacking hardware fpu

Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To make it more accessible for nodejs users to configure and run a build
on mips target lacking hardware fpu

Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>build: cleanup SSP_SUPPORT configure option</title>
<updated>2018-01-27T18:02:48+00:00</updated>
<author>
<name>Julien Dusser</name>
<email>julien.dusser@free.fr</email>
</author>
<published>2018-01-07T17:47:21+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=241e6dd3e92c4f215b8ac75379a4b5aeaeb92171'/>
<id>241e6dd3e92c4f215b8ac75379a4b5aeaeb92171</id>
<content type='text'>
Configure variable SSP_SUPPORT is ambiguous for packages (tor, openssh,
avahi, freeswitch). It means 'toolchain supporting SSP', but for toolchain
and depends it means 'build gcc with libssp'.

Musl no longer uses libssp (1877bc9d8f), it has internal support, so
SSP_SUPPORT was disabled leading some package to not use SSP.

No information why Glibc and uClibc use libssp, but they may also provide
their own SSP support. uClibc used it own with commit 933b588e25 but it was
reverted in f3cacb9e84 without details.

Create an new configure GCC_LIBSSP and automatically enable SSP_SUPPORT
if either USE_MUSL or GCC_LIBSSP.

Signed-off-by: Julien Dusser &lt;julien.dusser@free.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Configure variable SSP_SUPPORT is ambiguous for packages (tor, openssh,
avahi, freeswitch). It means 'toolchain supporting SSP', but for toolchain
and depends it means 'build gcc with libssp'.

Musl no longer uses libssp (1877bc9d8f), it has internal support, so
SSP_SUPPORT was disabled leading some package to not use SSP.

No information why Glibc and uClibc use libssp, but they may also provide
their own SSP support. uClibc used it own with commit 933b588e25 but it was
reverted in f3cacb9e84 without details.

Create an new configure GCC_LIBSSP and automatically enable SSP_SUPPORT
if either USE_MUSL or GCC_LIBSSP.

Signed-off-by: Julien Dusser &lt;julien.dusser@free.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>build: add hardened builds with PIE (ASLR) support</title>
<updated>2018-01-27T15:46:45+00:00</updated>
<author>
<name>Julien Dusser</name>
<email>julien.dusser@free.fr</email>
</author>
<published>2018-01-08T22:47:06+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=df0bd42fdeb76c9bc51b816c3df699db123c0024'/>
<id>df0bd42fdeb76c9bc51b816c3df699db123c0024</id>
<content type='text'>
Introduce a configuration option to build a "hardened" OpenWrt with
ASLR PIE support.

Add new option PKG_ASLR_PIE to enable Address Space Layout Randomization (ASLR)
by building Position Independent Executables (PIE). This new option protects
against "return-to-text" attacks.

Busybox need a special care, link is done with ld, not gcc, leading to
unknown flags. Set BUSYBOX_DEFAULT_PIE instead and disable PKG_ASLR_PIE.

If other failing packages were found, PKG_ASLR_PIE:=0 should be added to
their Makefiles.

Original Work by: Yongkui Han &lt;yonhan@cisco.com&gt;
Signed-off-by: Julien Dusser &lt;julien.dusser@free.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce a configuration option to build a "hardened" OpenWrt with
ASLR PIE support.

Add new option PKG_ASLR_PIE to enable Address Space Layout Randomization (ASLR)
by building Position Independent Executables (PIE). This new option protects
against "return-to-text" attacks.

Busybox need a special care, link is done with ld, not gcc, leading to
unknown flags. Set BUSYBOX_DEFAULT_PIE instead and disable PKG_ASLR_PIE.

If other failing packages were found, PKG_ASLR_PIE:=0 should be added to
their Makefiles.

Original Work by: Yongkui Han &lt;yonhan@cisco.com&gt;
Signed-off-by: Julien Dusser &lt;julien.dusser@free.fr&gt;
</pre>
</div>
</content>
</entry>
</feed>
