30 Commits

Author SHA1 Message Date
Wang Mingyu d4ce52c1e7 makedumpfile: upgrade 1.7.4 -> 1.7.5
0001-makedumpfile-replace-hardcode-CFLAGS.patch
refreshed for 1.7.5

Changelog:
============
-Support for kernels up to v6.8 (x86_64)
-Support for printk caller_id by --dump-dmesg option
-ppc64: get vmalloc start address from vmcoreinfo
-ppc64: read cur_mmu_type from vmcoreinfo
-add PRINTK_CALLER id support to --dump-dmesg option
-s390x: uncouple virtual and physical address spaces
-s390x: fix virtual vs physical address confusion

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-17 23:47:24 -07:00
Khem Raj 31aaf729e6 makedumpfile: Change COMPATIBLE_HOST check to exclude unsupported arches
Right now riscv32 and mips architecture support is missing.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-08 22:51:28 -08:00
Wang Mingyu a182a089d5 makedumpfile: upgrade 1.7.3 -> 1.7.4
Changelog:
===========
- Support for kernels up to v6.6
- Support for riscv64 architecture

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-08 22:51:28 -08:00
Wang Mingyu 43f33cb308 makedumpfile: upgrade 1.7.2 -> 1.7.3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-08 21:45:53 -07:00
Martin Jansa 285b7cd79f .patch: fix Upstream-Status formatting issues reported by patchreview tool from oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-24 08:45:44 -08:00
Wang Mingyu 9712b6ea41 makedumpfile: upgrade 1.7.1 -> 1.7.2
Changelog:
=========
- LoongArch64 architecture support
- Support kernels up to v6.0 (x86_64)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-24 09:56:33 -07:00
Khem Raj f994a19220 makedumpfile: Use right TARGET for ppc32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-01 07:59:42 -07:00
Mingli Yu f2748082e8 makedumpfile: Upgrade to 1.7.1
Remove related man pages gz logic as it's removed in new version [1].

[1] https://github.com/makedumpfile/makedumpfile/commit/2169de66ecd4504a3e69e0be0330f492f966ce5e

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-25 11:46:44 -07:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Fathi Boudra 2fdb6eb87e makedumpfile: upgrade from 1.6.9 to 1.7.0
* Drop 0002-mem_section-Support-only-46-bit-for-MAX_PHYSMEM_BITS.patch
  This patch has been introduced in January 2017 for makedumpfile 1.6.1.
  It has never reached upstream, hence the pending status is
  inappropriate. Since that time, the upstream code to retrieve
  MAX_PHYSMEM_BITS has been updated to use vmcoreinfo, with a backward
  compatibility for older kernels.
* Remove the deprecated comment about arm/aarch64 would compile but has never
  been tested upstream, introduced in July 2016. Nowadays, it works just fine
  on those architectures.
* Add PACKAGECONFIG option for zstd compression
  Since 1.7.0 release, Zstandard (zstd) compression support has been added.
  With zstd, the vmcore size and time consumption can have a better balance
  than zlib/lzo/snappy.
  http://lists.infradead.org/pipermail/kexec/2021-September/023011.html

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-18 11:07:10 -08:00
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
zangrc 2c4ee27216 makedumpfile: upgrade 1.6.8 -> 1.6.9
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-19 18:39:35 -07:00
Bruce Mitchell 5f3f162145 makedumpfile: Bump srcrev
supports for kernel 5.10, prior to 1.6.9 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-06 20:56:59 -07:00
Alexander Kamensky 1a505b094d makedumpfile: upgrade 1.6.7 -> 1.6.8
* Starting with 1.6.8 makedumpfile project migrated from sourceforge to github;
properly updated SRC_URI, HOMEPAGE, UPSTREAM_CHECK_XX

* Refreshed patch 0001-makedumpfile-replace-hardcode-CFLAGS.patch

* Refreshed patch 0002-mem_section-Support-only-46-bit-for-MAX_PHYSMEM_BITS.patch;
had conflict in patch removed function, is this patch still required?

* Removed 0001-PATCH-Remove-duplicated-variable-definitions.patch backported
patch

* Added dependency to xz required by new version

Signed-off-by: Alexander Kamensky <alexander.kamensky42@gmail.com>
2020-11-23 07:09:33 -08:00
Alexander Kamensky b1cae56126 makedumpfile: add PACKAGECONFIG options for lzo and snappy compression
makedumpfile can be compiled with lzo and/or snappy dump file compression
support. Lzo and snappy offer faster compression time but slightly bigger
compressed files. When reload time is important it might be beneficial to use
lzo or snappy compression.

But it brings additional dependencies and can make crash image bigger.

Add makedumpfile PACKAGECONFIG that would allow to add lzo and/or snappy if so
desired.

Signed-off-by: Alexander Kamensky <alexander.kamensky42@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-12 16:13:45 -08:00
Khem Raj 8e53fff2e9 makedumpfile: Fix build with -fno-common
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-13 22:37:48 -07:00
Wang Mingyu 0daeae19f6 makedumpfile: upgrade 1.6.6 -> 1.6.7
refresh the following patch:
0001-makedumpfile-replace-hardcode-CFLAGS.patch

0003-build-Delete-libebl-from-required-libraries-during-l.patch
removed since it is included in 1.6.7

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-20 08:22:38 -08:00
Khem Raj 0d937f7e5c makedumpfile: Drop linking with libebl
This seems to be not needed as link succeeds without this library,
moreover this is static-only library in latest elfutils

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
2020-01-10 00:43:27 -08:00
Mingli Yu 3a23691a2c makedumpfile: Upgrade to 1.6.6
Rebase two patches.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-21 09:31:09 -07:00
Haiqing Bai 8c345d604f makedumpfile: Upgrade to 1.6.5 to support kernel 4.18 and 4.19
This upgrade fixed the below issue:
When run '$makedumpfile -E -d 1 /proc/vmcore /root/vmcore_dumpfile'
shows 'The kernel version is not supported.'

Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-07 09:33:45 -08:00
leimaohui ac25dd4230 makedumpfile: Add aarch64 into COMPATIBLE_HOST.
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-02 11:05:02 -08:00
Mingli Yu 2694423f1c makedumpfile: Upgrade to 1.6.4
Refresh the patches to avoid fuzz warnings

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Yi Zhao aed7cd1654 makedumpfile: add UPSTREAM_CHECK_URI
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-29 12:56:19 -07:00
Yi Zhao 5630f33a1e makedumpfile: update to 1.6.2
Remove add-proper-format-string-to-print-a-str.patch since it had been
merged in upstream.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:06:03 +02:00
Khem Raj 021844a31f makedumpfile: Fix build with hardening
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-22 16:03:00 +02:00
Yi Zhao 279a2b3ffd makedumpfile: update to 1.6.1
* Support 4.8 kernel
* Add a patch to fix vmcore compressing for ppc64

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-01-25 15:58:54 +01:00
Thomas PERROT 42a4690339 makedumpfile: add ARM into COMPATIBLE_HOST
Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-26 08:23:18 +01:00
Martin Jansa 289217bbc3 meta-oe: fix indentation
* remove tabs which sneaked in since last cleanup
* meta-oe layers are using consistent indentation with 4 spaces, see
  http://www.openembedded.org/wiki/Styleguide

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:56:28 +02:00
mingli.yu@windriver.com 5ed0925c2a makedumpfile: add makedumpfile 1.6.0
* Add makedumpfile 1.6.0
* Create alias for target such as powerpc as powerpc32
* Remove hardcode CFLAGS
* Add CFLAGS_COMMON to instead of CFLAGS so can flexibly
  customize CFLAGS and not hardcode the CFLAGS as previously
* Forcibly to link dynamic library as the poky build
  system doesn't build static library by default

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-07-29 11:00:58 +02:00