<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/luka/config, branch master</title>
<subtitle>tree of Luka Perkov resides here</subtitle>
<id>https://git.openwrt.org/openwrt/staging/luka/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/luka/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/luka/'/>
<updated>2020-04-03T10:17:45Z</updated>
<entry>
<title>build: refactor JSON info files to `profiles.json`</title>
<updated>2020-04-03T10:17:45Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2020-03-12T22:55:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/luka/commit/?id=07449f692ce4c4525e946401f4c3ed0cbbc8c4df'/>
<id>urn:sha1:07449f692ce4c4525e946401f4c3ed0cbbc8c4df</id>
<content type='text'>
JSON info files contain machine readable information of built profiles
and resulting images. These files were added in commit 881ed09ee6e2
("build: create JSON files containing image info").

They are useful for firmware wizards and script checking for
reproducibility.

Currently all JSON files are stored next to the built images, resulting
in up to 168 individual files for the ath79/generic target.

This patch refactors the JSON creation to store individual per image
(not per profile) files in $(BUILD_DIR)/json_info_files and create an
single overview file called `profiles.json` in the target directory.

Storing per image files and not per profile solves the problem of
parallel file writes. If a profiles sysupgrade and factory image are
finished at the same time both processes would write to the same JSON
file, resulting in randomly broken outputs.

Some target like x86/64 do not use the image code yet, resulting in
missing JSON files. If no JSON info files were created, no
`profiles.json` files is created as it would be empty anyway.

As before, this creation is enabled by default only if `BUILDBOT` is set.

Tested via buildroot &amp; ImageBuilder on ath79/generic, imx6 and x86/64.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
[json_info_files dir handling in Make, if case refactoring]
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>x86: generate EFI platform bootable images</title>
<updated>2020-03-31T14:20:47Z</updated>
<author>
<name>李国</name>
</author>
<published>2020-03-26T06:05:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/luka/commit/?id=a6b7c3e672764858fd294998406ae791f5964b4a'/>
<id>urn:sha1:a6b7c3e672764858fd294998406ae791f5964b4a</id>
<content type='text'>
Add EFI platform bootable images for x86 platforms. These images can
also boot from legacy BIOS platform.

EFI System Partition need to be fat12/fat16/fat32 (not need to load
filesystem drivers), so the first partition of EFI images are not ext4
filesystem any more.

GPT partition table has an alternate partition table, we did not
generate it. This may cause problems when use these images as qemu disk
(kernel can not find rootfs), we pad enough sectors will be ok.

Signed-off-by: 李国 &lt;uxgood.org@gmail.com&gt;
[part_magic_* refactoring, removed genisoimage checks]
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>x86: switch image generation to new code</title>
<updated>2020-03-21T10:36:00Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2020-03-20T10:10:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/luka/commit/?id=cb007a7bf6199ebca89f79c8ee5f9b1807a0c5b0'/>
<id>urn:sha1:cb007a7bf6199ebca89f79c8ee5f9b1807a0c5b0</id>
<content type='text'>
This commit introduces few related changes which need to be done in
single commit to keep images buildable between git revisions. In result
it retains all previous image creation possibilities with slight name
change of generated images. Brief summary of the commit:

* Split up image generation recipe to smaller chunks to make it more
  generic and reusable.

* Make iso images x86 specific and drop their definition as root
  filesystem.

* Convert image creation process to generic code specified in image.mk.

* Make geode subtarget inherit features from the main target instead of
  redefining them.

* For subtargets create device definitions with basic packages set.

Signed-off-by: Tomasz Maciej Nowak &lt;tomek_n@o2.pl&gt;
[rebased]
Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>x86: make crashdump works</title>
<updated>2020-03-20T21:45:06Z</updated>
<author>
<name>Chen Minqiang</name>
</author>
<published>2019-07-11T14:34:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/luka/commit/?id=ec5e8461c194346c4341e3e8bb35bc06ad707d47'/>
<id>urn:sha1:ec5e8461c194346c4341e3e8bb35bc06ad707d47</id>
<content type='text'>
1. KERNEL_CRASH_DUMP should depends on KERNEL_PROC_KCORE (kexec use it)
2. select crashkernel mem size by totalmem
   mem &lt;= 256M disable crashkernel by default
   mem &gt;= 4G use 256M for crashkernel
   mem &gt;= 8G use 512M for crashkernel
   default use 128M
3. set BOOT_IMAGE in kdump.init
4. resolve a "Unhandled rela relocation: R_X86_64_PLT32" error

Tested on x86_64

Signed-off-by: Chen Minqiang &lt;ptpt52@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel: Use new symbol to deactivate MIPS FPU support</title>
<updated>2020-02-28T16:50:46Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2020-02-23T17:57:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/luka/commit/?id=69d179ec81dacf92e1f693783c4ddcbf5a68b231'/>
<id>urn:sha1:69d179ec81dacf92e1f693783c4ddcbf5a68b231</id>
<content type='text'>
With kernel 5.4 the upstream kernel supports deactivating the FPU
support on MIPS. Use this new upstream feature instead of our older
patch which was removed when porting the kernel patches to kernel 5.4.

This way both options are set which should work for older kernel
versions and also new ones.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>base-files: add all buildinfo with INCLUDE_CONFIG</title>
<updated>2020-02-27T11:14:09Z</updated>
<author>
<name>Xu Wang</name>
</author>
<published>2020-02-08T23:04:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/luka/commit/?id=2299808c68cbaf2bbdde31073c5e887cd62874dc'/>
<id>urn:sha1:2299808c68cbaf2bbdde31073c5e887cd62874dc</id>
<content type='text'>
CONFIG_INCLUDE_CONFIG option is helpful for being able to rebuild the
exact same firmware as you see on a live OpenWRT instance, but it's
crucially missing feeds information, so we can't rebuild the exact same
package versions. This commit fixes this by adding the remaining feeds
(and version) buildinfo files to the image.

Signed-off-by: Xu Wang &lt;xwang1498@gmx.com&gt;
</content>
</entry>
<entry>
<title>build: Add additional kernel debug options</title>
<updated>2020-02-22T15:34:57Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2020-02-12T10:49:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/luka/commit/?id=b951f53fbae3b6ad298da3d123a48fa260493a91'/>
<id>urn:sha1:b951f53fbae3b6ad298da3d123a48fa260493a91</id>
<content type='text'>
Make it possible to activate some additional kernel debug options.
This can be used to debug some problems in kernel drivers.

Signed-off-by: Hauke Mehrtens &lt;hauke.mehrtens@intel.com&gt;
Reviewed-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: Add KCOV kernel code coverage for fuzzing</title>
<updated>2020-02-22T15:34:57Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2020-02-12T10:49:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/luka/commit/?id=947d2e0a70d4b93eda4b9fe229ad2bf0bfc79251'/>
<id>urn:sha1:947d2e0a70d4b93eda4b9fe229ad2bf0bfc79251</id>
<content type='text'>
The adds an option to activate KCOV (Code coverage for fuzzing).

Signed-off-by: Hauke Mehrtens &lt;hauke.mehrtens@intel.com&gt;
Reviewed-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: Add option KERNEL_KASAN</title>
<updated>2020-02-22T15:34:57Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2020-02-12T10:49:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/luka/commit/?id=431594a978752a9d43f9bdac1a79dff335ad9ba3'/>
<id>urn:sha1:431594a978752a9d43f9bdac1a79dff335ad9ba3</id>
<content type='text'>
The kernel kernel address sanitizer is able to detect some memory
bugs in the kernel like out of range array accesses.

Signed-off-by: Hauke Mehrtens &lt;hauke.mehrtens@intel.com&gt;
Reviewed-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: Add option KERNEL_UBSAN</title>
<updated>2020-02-22T15:34:57Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2020-02-12T10:48:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/luka/commit/?id=d9b043c03c18e5a0e9ff5502880174ba2320a1bb'/>
<id>urn:sha1:d9b043c03c18e5a0e9ff5502880174ba2320a1bb</id>
<content type='text'>
The kernel Undefined Behavior Sanitizer is able to detect some memory
bugs in the kernel like out of range array accesses.

Signed-off-by: Hauke Mehrtens &lt;hauke.mehrtens@intel.com&gt;
Reviewed-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
</feed>
