From: Denys Dmytriyenko <denis@denix.org>
To: Robert Nelson <robertcnelson@gmail.com>
Cc: meta-ti@lists.yoctoproject.org, Denys Dmytriyenko <denys@konsulko.com>
Subject: Re: [master/kirkstone][PATCH 1/5] linux-bb.org: update to 5.10.162 and dedicated branches
Date: Sun, 9 Apr 2023 12:09:50 -0400 [thread overview]
Message-ID: <20230409160950.GP9226@denix.org> (raw)
In-Reply-To: <CAOCHtYjcpjOwOL-kHT7s-HhLzi1CjWx-R0pu2=qBTwWiBJmoUw@mail.gmail.com>
On Fri, Apr 07, 2023 at 03:50:43PM -0500, Robert Nelson wrote:
> On Fri, Apr 7, 2023 at 3:36 PM Denys Dmytriyenko <denis@denix.org> wrote:
> >
> > From: Denys Dmytriyenko <denys@konsulko.com>
> >
> > * Update both 32 and 64-bit trees to 5.10.162
> > * Switch from using a common branch that gets periodically rebased to using
> > dedicated per-merge branches
> > * Patch 32-bit defconfig to use LZMA compression instead of LZO, that is
> > being deprecated in OE-Core
> >
> > Cc: Robert Nelson <robertcnelson@gmail.com>
> > Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
> > ---
> > ...h-default-kernel-compression-to-LZMA.patch | 30 +++++++++++++++++++
> > .../recipes-kernel/linux/linux-bb.org_git.bb | 18 ++++++-----
> > 2 files changed, 40 insertions(+), 8 deletions(-)
> > create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-defconfig-switch-default-kernel-compression-to-LZMA.patch
> >
> > diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-defconfig-switch-default-kernel-compression-to-LZMA.patch b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-defconfig-switch-default-kernel-compression-to-LZMA.patch
> > new file mode 100644
> > index 00000000..f6bff39f
> > --- /dev/null
> > +++ b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-defconfig-switch-default-kernel-compression-to-LZMA.patch
> > @@ -0,0 +1,30 @@
> > +From 0ccadc7a676341bbd66eb176308c7c59931e9dd2 Mon Sep 17 00:00:00 2001
> > +From: Denys Dmytriyenko <denys@konsulko.com>
> > +Date: Fri, 7 Apr 2023 01:44:56 +0000
> > +Subject: [PATCH] defconfig: switch default kernel compression to LZMA
> > +
> > +LZO compression and lzop tool haven't been maintained for long time and have
> > +been removed in recent versions of OE-Core, even though Debian may still use
> > +them. Switch to LZMA compression that is used by default in TI kernel config.
> > +
> > +Upstream-Status: Inappropriate [OE-specific]
> > +
> > +Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
> > +---
> > + arch/arm/configs/bb.org_defconfig | 2 +-
> > + 1 file changed, 1 insertion(+), 1 deletion(-)
> > +
> > +diff --git a/arch/arm/configs/bb.org_defconfig b/arch/arm/configs/bb.org_defconfig
> > +index 6bf0fb860683..7c035735172d 100644
> > +--- a/arch/arm/configs/bb.org_defconfig
> > ++++ b/arch/arm/configs/bb.org_defconfig
> > +@@ -1,5 +1,5 @@
> > + # CONFIG_LOCALVERSION_AUTO is not set
> > +-CONFIG_KERNEL_LZO=y
> > ++CONFIG_KERNEL_LZMA=y
> > + CONFIG_SYSVIPC=y
> > + CONFIG_POSIX_MQUEUE=y
> > + CONFIG_NO_HZ_IDLE=y
>
> Oh! I didn't realize, lzo is in a sorry state.
Well, lzo is still kind of supported in OE-Core... But since lzop tool has
been removed (actually, moved to supplemental meta-openembedded layer), you
can't easily build lzo-compressed kernel w/o extra dependencies.
> Our only reason for using lzo over lzma, was purely a boot-up speed
> race. (Thinking with the am335x single core at 1Ghz..)
>
> Does OE-Core have proper support for lz4 as a replacement? Or just in
> general lzma is the most recommended?
lzma, lz4, zstd are all supported, with zstd being the hot addition lately.
Agree, lz4 may be the best choice for low-power devices like am335x...
https://indico.fnal.gov/event/16264/contributions/36466/attachments/22610/28037/Zstd__LZ4.pdf
https://linuxreviews.org/Comparison_of_Compression_Algorithms
--
Denys
next prev parent reply other threads:[~2023-04-09 16:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-07 20:36 [master/kirkstone][PATCH 0/5] BeagleBoard.org related updates Denys Dmytriyenko
2023-04-07 20:36 ` [master/kirkstone][PATCH 1/5] linux-bb.org: update to 5.10.162 and dedicated branches Denys Dmytriyenko
2023-04-07 20:50 ` Robert Nelson
2023-04-09 16:09 ` Denys Dmytriyenko [this message]
2023-04-10 16:19 ` [meta-ti] " Ryan Eatmon
2023-04-10 18:48 ` Denys Dmytriyenko
2023-04-07 20:36 ` [master/kirkstone][PATCH 2/5] u-boot-bb.org: use dedicated branch for beaglebone-ai64 Denys Dmytriyenko
2023-04-07 20:36 ` [master/kirkstone][PATCH 3/5] beaglebone-ai64: add new DTBOs, remove duplicate settings Denys Dmytriyenko
2023-04-07 20:36 ` [master/kirkstone][PATCH 4/5] machine: beagleplay: add new BeaglePlay platform Denys Dmytriyenko
2023-04-07 20:36 ` [master/kirkstone][PATCH 5/5] machine: switch beaglebone and beagle-x15 to bb.org kernel/u-boot Denys Dmytriyenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230409160950.GP9226@denix.org \
--to=denis@denix.org \
--cc=denys@konsulko.com \
--cc=meta-ti@lists.yoctoproject.org \
--cc=robertcnelson@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.