* [master/kirkstone][PATCH 1/5] linux-bb.org: update to 5.10.162 and dedicated branches
2023-04-07 20:36 [master/kirkstone][PATCH 0/5] BeagleBoard.org related updates Denys Dmytriyenko
@ 2023-04-07 20:36 ` Denys Dmytriyenko
2023-04-07 20:50 ` Robert Nelson
2023-04-10 16:19 ` [meta-ti] " Ryan Eatmon
2023-04-07 20:36 ` [master/kirkstone][PATCH 2/5] u-boot-bb.org: use dedicated branch for beaglebone-ai64 Denys Dmytriyenko
` (3 subsequent siblings)
4 siblings, 2 replies; 10+ messages in thread
From: Denys Dmytriyenko @ 2023-04-07 20:36 UTC (permalink / raw)
To: meta-ti; +Cc: Denys Dmytriyenko, Robert Nelson
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
+--
+2.25.1
+
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb
index 2c459ce5..19664ba8 100644
--- a/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb
@@ -15,18 +15,20 @@ KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}"
S = "${WORKDIR}/git"
-# 5.10.145 version
-SRCREV = "9b11aaf2cdb1861ca74dc69d032a0f94cdd32bd6"
-PV = "5.10.145+git${SRCPV}"
-BRANCH = "5.10"
+# 5.10.162 version for 32-bit
+SRCREV:armv7a = "982fde4eb381f98ec8be946e8d33dd0c9f9416ab"
+PV:armv7a = "5.10.162+git${SRCPV}"
+BRANCH:armv7a = "v5.10.162-ti-r59"
-# 5.10.153 version
-SRCREV:k3 = "11ebcc09f32669fac8254dff56d500f86c4c2caf"
-PV:k3 = "5.10.153+git${SRCPV}"
-BRANCH:k3 = "5.10-arm64"
+# 5.10.162 version for 64-bit
+SRCREV:aarch64 = "a2f5d5746b6c389e58d20fda0a0fa88403da428b"
+PV:aarch64 = "5.10.162+git${SRCPV}"
+BRANCH:aarch64 = "v5.10.162-ti-arm64-r99"
SRC_URI = "git://github.com/beagleboard/linux.git;protocol=https;branch=${BRANCH}"
+SRC_URI:append:armv7a = " file://0001-defconfig-switch-default-kernel-compression-to-LZMA.patch"
+
DEFCONFIG_NAME = "bb.org_defconfig"
KERNEL_CONFIG_COMMAND = "oe_runmake -C ${S} O=${B} ${DEFCONFIG_NAME}"
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [master/kirkstone][PATCH 1/5] linux-bb.org: update to 5.10.162 and dedicated branches
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
2023-04-10 16:19 ` [meta-ti] " Ryan Eatmon
1 sibling, 1 reply; 10+ messages in thread
From: Robert Nelson @ 2023-04-07 20:50 UTC (permalink / raw)
To: denis; +Cc: meta-ti, Denys Dmytriyenko
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.
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?
Regards,
--
Robert Nelson
https://rcn-ee.com/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [master/kirkstone][PATCH 1/5] linux-bb.org: update to 5.10.162 and dedicated branches
2023-04-07 20:50 ` Robert Nelson
@ 2023-04-09 16:09 ` Denys Dmytriyenko
0 siblings, 0 replies; 10+ messages in thread
From: Denys Dmytriyenko @ 2023-04-09 16:09 UTC (permalink / raw)
To: Robert Nelson; +Cc: meta-ti, Denys Dmytriyenko
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-ti] [master/kirkstone][PATCH 1/5] linux-bb.org: update to 5.10.162 and dedicated branches
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-10 16:19 ` Ryan Eatmon
2023-04-10 18:48 ` Denys Dmytriyenko
1 sibling, 1 reply; 10+ messages in thread
From: Ryan Eatmon @ 2023-04-10 16:19 UTC (permalink / raw)
To: Denys Dmytriyenko, meta-ti; +Cc: Denys Dmytriyenko, Robert Nelson
On 4/7/2023 15:36, Denys Dmytriyenko 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
> +--
> +2.25.1
> +
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb
> index 2c459ce5..19664ba8 100644
> --- a/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb
> @@ -15,18 +15,20 @@ KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}"
>
> S = "${WORKDIR}/git"
>
> -# 5.10.145 version
> -SRCREV = "9b11aaf2cdb1861ca74dc69d032a0f94cdd32bd6"
> -PV = "5.10.145+git${SRCPV}"
> -BRANCH = "5.10"
> +# 5.10.162 version for 32-bit
> +SRCREV:armv7a = "982fde4eb381f98ec8be946e8d33dd0c9f9416ab"
> +PV:armv7a = "5.10.162+git${SRCPV}"
> +BRANCH:armv7a = "v5.10.162-ti-r59"
>
> -# 5.10.153 version
> -SRCREV:k3 = "11ebcc09f32669fac8254dff56d500f86c4c2caf"
> -PV:k3 = "5.10.153+git${SRCPV}"
> -BRANCH:k3 = "5.10-arm64"
> +# 5.10.162 version for 64-bit
> +SRCREV:aarch64 = "a2f5d5746b6c389e58d20fda0a0fa88403da428b"
> +PV:aarch64 = "5.10.162+git${SRCPV}"
> +BRANCH:aarch64 = "v5.10.162-ti-arm64-r99"
>
> SRC_URI = "git://github.com/beagleboard/linux.git;protocol=https;branch=${BRANCH}"
There is an additional patch in SRC_URI on master. Does that patch
remain in the SRC_URI, or should it split out like the armv7a below?
I'm leaving it in the SRC_URI for my initial testing, I am just looking
for clarity.
> +SRC_URI:append:armv7a = " file://0001-defconfig-switch-default-kernel-compression-to-LZMA.patch"
> +
> DEFCONFIG_NAME = "bb.org_defconfig"
> KERNEL_CONFIG_COMMAND = "oe_runmake -C ${S} O=${B} ${DEFCONFIG_NAME}"
>
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#16327): https://lists.yoctoproject.org/g/meta-ti/message/16327
> Mute This Topic: https://lists.yoctoproject.org/mt/98132751/6551054
> Group Owner: meta-ti+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/leave/10828724/6551054/1815494134/xyzzy [reatmon@ti.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
--
Ryan Eatmon reatmon@ti.com
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [meta-ti] [master/kirkstone][PATCH 1/5] linux-bb.org: update to 5.10.162 and dedicated branches
2023-04-10 16:19 ` [meta-ti] " Ryan Eatmon
@ 2023-04-10 18:48 ` Denys Dmytriyenko
0 siblings, 0 replies; 10+ messages in thread
From: Denys Dmytriyenko @ 2023-04-10 18:48 UTC (permalink / raw)
To: Ryan Eatmon; +Cc: meta-ti, Denys Dmytriyenko, Robert Nelson
On Mon, Apr 10, 2023 at 11:19:37AM -0500, Ryan Eatmon wrote:
>
>
> On 4/7/2023 15:36, Denys Dmytriyenko 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
> >+--
> >+2.25.1
> >+
> >diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb
> >index 2c459ce5..19664ba8 100644
> >--- a/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb
> >+++ b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb
> >@@ -15,18 +15,20 @@ KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}"
> > S = "${WORKDIR}/git"
> >-# 5.10.145 version
> >-SRCREV = "9b11aaf2cdb1861ca74dc69d032a0f94cdd32bd6"
> >-PV = "5.10.145+git${SRCPV}"
> >-BRANCH = "5.10"
> >+# 5.10.162 version for 32-bit
> >+SRCREV:armv7a = "982fde4eb381f98ec8be946e8d33dd0c9f9416ab"
> >+PV:armv7a = "5.10.162+git${SRCPV}"
> >+BRANCH:armv7a = "v5.10.162-ti-r59"
> >-# 5.10.153 version
> >-SRCREV:k3 = "11ebcc09f32669fac8254dff56d500f86c4c2caf"
> >-PV:k3 = "5.10.153+git${SRCPV}"
> >-BRANCH:k3 = "5.10-arm64"
> >+# 5.10.162 version for 64-bit
> >+SRCREV:aarch64 = "a2f5d5746b6c389e58d20fda0a0fa88403da428b"
> >+PV:aarch64 = "5.10.162+git${SRCPV}"
> >+BRANCH:aarch64 = "v5.10.162-ti-arm64-r99"
> > SRC_URI = "git://github.com/beagleboard/linux.git;protocol=https;branch=${BRANCH}"
>
> There is an additional patch in SRC_URI on master. Does that patch
> remain in the SRC_URI, or should it split out like the armv7a below?
> I'm leaving it in the SRC_URI for my initial testing, I am just
> looking for clarity.
Ah, sorry, missed that extra patch in master to fix perf - yes. that should go
to the common/generic SRC_URI.
> >+SRC_URI:append:armv7a = " file://0001-defconfig-switch-default-kernel-compression-to-LZMA.patch"
> >+
> > DEFCONFIG_NAME = "bb.org_defconfig"
> > KERNEL_CONFIG_COMMAND = "oe_runmake -C ${S} O=${B} ${DEFCONFIG_NAME}"
^ permalink raw reply [flat|nested] 10+ messages in thread
* [master/kirkstone][PATCH 2/5] u-boot-bb.org: use dedicated branch for beaglebone-ai64
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:36 ` Denys Dmytriyenko
2023-04-07 20:36 ` [master/kirkstone][PATCH 3/5] beaglebone-ai64: add new DTBOs, remove duplicate settings Denys Dmytriyenko
` (2 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: Denys Dmytriyenko @ 2023-04-07 20:36 UTC (permalink / raw)
To: meta-ti; +Cc: Denys Dmytriyenko, Robert Nelson
From: Denys Dmytriyenko <denys@konsulko.com>
Use dedicated branch for BB-AI64 that includes recent changes for new
memory part.
Cc: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
meta-ti-bsp/recipes-bsp/u-boot/u-boot-bb.org_git.bb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-bb.org_git.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-bb.org_git.bb
index bdc40c0f..579b5570 100644
--- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-bb.org_git.bb
+++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-bb.org_git.bb
@@ -12,3 +12,8 @@ UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git"
UBOOT_GIT_PROTOCOL = "https"
BRANCH = "v2021.01-ti-08.05.00.005-SDK-8.5"
SRCREV = "46ff4982b41067e5c93369bddd49b1541856d80b"
+
+BRANCH:beaglebone-ai64 = "v2021.01-ti-08.05.00.001"
+BRANCH:beaglebone-ai64-k3r5 = "v2021.01-ti-08.05.00.001"
+SRCREV:beaglebone-ai64 = "ea96725b5156135d5875415f75d2188f6f56622a"
+SRCREV:beaglebone-ai64-k3r5 = "ea96725b5156135d5875415f75d2188f6f56622a"
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* [master/kirkstone][PATCH 3/5] beaglebone-ai64: add new DTBOs, remove duplicate settings
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:36 ` [master/kirkstone][PATCH 2/5] u-boot-bb.org: use dedicated branch for beaglebone-ai64 Denys Dmytriyenko
@ 2023-04-07 20:36 ` 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
4 siblings, 0 replies; 10+ messages in thread
From: Denys Dmytriyenko @ 2023-04-07 20:36 UTC (permalink / raw)
To: meta-ti; +Cc: Denys Dmytriyenko, Robert Nelson
From: Denys Dmytriyenko <denys@konsulko.com>
* 5.10.162 added 2 new DT overlays
* Remove duplicate settings that are already set in SoC config
Cc: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
meta-ti-bsp/conf/machine/beaglebone-ai64.conf | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/meta-ti-bsp/conf/machine/beaglebone-ai64.conf b/meta-ti-bsp/conf/machine/beaglebone-ai64.conf
index 6e8c863c..94439911 100644
--- a/meta-ti-bsp/conf/machine/beaglebone-ai64.conf
+++ b/meta-ti-bsp/conf/machine/beaglebone-ai64.conf
@@ -18,6 +18,7 @@ ti/k3-j721e-beagleboneai64.dtb \
ti/k3-j721e-beagleboneai64-no-shared-mem.dtb \
ti/k3-j721e-common-proc-board.dtb \
ti/k3-j721e-common-proc-board-infotainment.dtbo \
+ti/k3-j721e-common-proc-board-uarts.dtbo \
ti/k3-j721e-cpb-csi2-ov5640.dtbo \
ti/k3-j721e-fpdlink-cpb-fusion.dtbo \
ti/k3-j721e-fpdlink-imx390-cm-0-0.dtbo \
@@ -64,6 +65,7 @@ ti/overlays/BONE-PWM1.dtbo \
ti/overlays/BONE-PWM2.dtbo \
ti/overlays/BONE-SPI0_0.dtbo \
ti/overlays/BONE-SPI0_1.dtbo \
+ti/overlays/BONE-SPI1_0.dtbo \
ti/overlays/BONE-UART1.dtbo \
ti/overlays/BONE-USB0-host.dtbo \
ti/overlays/J721E-PRU-UIO-00A0.dtbo \
@@ -71,9 +73,5 @@ ti/overlays/k3-j721e-beagleboneai64-RPi-7inch-panel.dtbo \
ti/overlays/robotics-cape.dtbo \
"
-IMAGE_BOOT_FILES += "sysfw.itb"
-
MACHINE_GUI_CLASS = "bigscreen"
-MACHINE_FEATURES += "screen"
-
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-devicetree kernel-image-image"
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [master/kirkstone][PATCH 4/5] machine: beagleplay: add new BeaglePlay platform
2023-04-07 20:36 [master/kirkstone][PATCH 0/5] BeagleBoard.org related updates Denys Dmytriyenko
` (2 preceding siblings ...)
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 ` 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
4 siblings, 0 replies; 10+ messages in thread
From: Denys Dmytriyenko @ 2023-04-07 20:36 UTC (permalink / raw)
To: meta-ti; +Cc: Denys Dmytriyenko, Robert Nelson
From: Denys Dmytriyenko <denys@konsulko.com>
* Add configs for BeaglePlay Cortex-A53 and Cortex-R5F cores (am62xx SoC family)
* Uses corresponding linux-bb.org and u-boot-bb.org recipes
* U-boot for now uses a separate branch for BeaglePlay
Cc: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
meta-ti-bsp/conf/machine/beagleplay-k3r5.conf | 14 ++++
meta-ti-bsp/conf/machine/beagleplay.conf | 70 +++++++++++++++++++
.../recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 1 +
.../recipes-bsp/u-boot/u-boot-bb.org_git.bb | 5 ++
4 files changed, 90 insertions(+)
create mode 100644 meta-ti-bsp/conf/machine/beagleplay-k3r5.conf
create mode 100644 meta-ti-bsp/conf/machine/beagleplay.conf
diff --git a/meta-ti-bsp/conf/machine/beagleplay-k3r5.conf b/meta-ti-bsp/conf/machine/beagleplay-k3r5.conf
new file mode 100644
index 00000000..c40615c9
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/beagleplay-k3r5.conf
@@ -0,0 +1,14 @@
+#@TYPE: Machine
+#@NAME: BeaglePlay (R5F)
+#@DESCRIPTION: Machine configuration for the BeaglePlay (R5F core)
+
+require conf/machine/include/k3r5.inc
+
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot-bb.org"
+PREFERRED_PROVIDER_u-boot = "u-boot-bb.org"
+
+SYSFW_SOC = "am62x"
+SYSFW_CONFIG = "evm"
+SYSFW_SUFFIX = "gp"
+
+UBOOT_MACHINE = "am62x_evm_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/beagleplay.conf b/meta-ti-bsp/conf/machine/beagleplay.conf
new file mode 100644
index 00000000..e8d25cd9
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/beagleplay.conf
@@ -0,0 +1,70 @@
+#@TYPE: Machine
+#@NAME: BeaglePlay (A53)
+#@DESCRIPTION: Machine configuration for the BeaglePlay board (A53 core)
+
+require conf/machine/include/k3.inc
+SOC_FAMILY:append = ":am62xx"
+
+MACHINE_FEATURES += "screen gpu"
+
+SERIAL_CONSOLES = "115200;ttyS2"
+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
+
+PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+
+TFA_BOARD = "lite"
+TFA_K3_SYSTEM_SUSPEND = "1"
+
+OPTEEMACHINE = "k3-am62x"
+
+UBOOT_MACHINE = "am62x_evm_a53_defconfig"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-bb.org"
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot-bb.org"
+PREFERRED_PROVIDER_u-boot = "u-boot-bb.org"
+
+KERNEL_DEVICETREE = " \
+ti/k3-am625-beagleplay.dtb \
+ti/k3-am625-sk-csi2-ov5640.dtbo \
+ti/k3-am625-sk-csi2-tevi-ov5640.dtbo \
+ti/k3-am625-sk.dtb \
+ti/k3-am625-sk-ecap-capture.dtbo \
+ti/k3-am625-skeleton.dtb \
+ti/k3-am625-sk-hdmi-audio.dtbo \
+ti/k3-am625-sk-lpmdemo.dtb \
+ti/k3-am625-sk-mcan.dtbo \
+ti/k3-am625-sk-oldi-panel.dtbo \
+ti/k3-am625-sk-qspi-flash.dtbo \
+ti/k3-am625-sk-rpi-hdr-pwm.dtbo \
+ti/k3-am625-sk-rpi-hdr-spi.dtbo \
+ti/overlays/BBAI64-CSI0-imx219.dtbo \
+ti/overlays/BBAI64-CSI1-imx219.dtbo \
+ti/overlays/BBAI64-DSI-RPi-7inch-panel.dtbo \
+ti/overlays/BBAI64-P8_37-ehrpwm5_a.dtbo \
+ti/overlays/BBAI64-P9_25-ehrpwm4_b.dtbo \
+ti/overlays/BB-I2C2-MPU6050.dtbo \
+ti/overlays/BBORG_LOAD-00A2.dtbo \
+ti/overlays/BBORG_RELAY-00A2.dtbo \
+ti/overlays/BBORG_SERVO-00A2.dtbo \
+ti/overlays/BONE-FAN.dtbo \
+ti/overlays/BONE-I2C1.dtbo \
+ti/overlays/BONE-I2C2.dtbo \
+ti/overlays/BONE-I2C3.dtbo \
+ti/overlays/BONE-LED_P8_03.dtbo \
+ti/overlays/BONE-LED_P9_11.dtbo \
+ti/overlays/BONE-PWM0.dtbo \
+ti/overlays/BONE-PWM1.dtbo \
+ti/overlays/BONE-PWM2.dtbo \
+ti/overlays/BONE-SPI0_0.dtbo \
+ti/overlays/BONE-SPI0_1.dtbo \
+ti/overlays/BONE-SPI1_0.dtbo \
+ti/overlays/BONE-UART1.dtbo \
+ti/overlays/BONE-USB0-host.dtbo \
+ti/overlays/k3-am625-beagleplay-bcfserial-no-firmware.dtbo \
+ti/overlays/k3-am625-beagleplay-csi2-ov5640.dtbo \
+ti/overlays/k3-am625-beagleplay-lt-lcd185.dtbo \
+ti/overlays/robotics-cape.dtbo \
+"
+
+MACHINE_GUI_CLASS = "bigscreen"
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-devicetree kernel-image-image"
diff --git a/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb b/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
index 31b2910a..cde768df 100644
--- a/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
+++ b/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
@@ -42,6 +42,7 @@ SYSFW_PREFIX:j784s4-hs-evm-k3r5 = "fs"
SYSFW_PREFIX:am62xx-evm-k3r5-gp = "fs"
SYSFW_PREFIX:am62xx-evm-k3r5-hs-se = "fs"
SYSFW_PREFIX:am62xx-evm-k3r5-hs-fs = "fs"
+SYSFW_PREFIX:beagleplay-k3r5 = "fs"
SYSFW_PREFIX:am62xx-lp-evm-k3r5 = "fs"
SYSFW_PREFIX:am62xx-lp-evm-k3r5-hs-se = "fs"
SYSFW_PREFIX:am62xx-lp-evm-k3r5-hs-fs = "fs"
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-bb.org_git.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-bb.org_git.bb
index 579b5570..4e4688aa 100644
--- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-bb.org_git.bb
+++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-bb.org_git.bb
@@ -17,3 +17,8 @@ BRANCH:beaglebone-ai64 = "v2021.01-ti-08.05.00.001"
BRANCH:beaglebone-ai64-k3r5 = "v2021.01-ti-08.05.00.001"
SRCREV:beaglebone-ai64 = "ea96725b5156135d5875415f75d2188f6f56622a"
SRCREV:beaglebone-ai64-k3r5 = "ea96725b5156135d5875415f75d2188f6f56622a"
+
+BRANCH:beagleplay = "v2021.01-ti-BeaglePlay-Release"
+BRANCH:beagleplay-k3r5 = "v2021.01-ti-BeaglePlay-Release"
+SRCREV:beagleplay = "f036fbdc25941d7585182d2552c767edb9b04114"
+SRCREV:beagleplay-k3r5 = "f036fbdc25941d7585182d2552c767edb9b04114"
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* [master/kirkstone][PATCH 5/5] machine: switch beaglebone and beagle-x15 to bb.org kernel/u-boot
2023-04-07 20:36 [master/kirkstone][PATCH 0/5] BeagleBoard.org related updates Denys Dmytriyenko
` (3 preceding siblings ...)
2023-04-07 20:36 ` [master/kirkstone][PATCH 4/5] machine: beagleplay: add new BeaglePlay platform Denys Dmytriyenko
@ 2023-04-07 20:36 ` Denys Dmytriyenko
4 siblings, 0 replies; 10+ messages in thread
From: Denys Dmytriyenko @ 2023-04-07 20:36 UTC (permalink / raw)
To: meta-ti; +Cc: Denys Dmytriyenko, Robert Nelson
From: Denys Dmytriyenko <denys@konsulko.com>
Switch 32-bit beaglebone and beagle-x15 platforms to use linux-bb.org and
u-boot-bb.org recipes for simplicity and for additional Beagle-specific
features that are added on top of TI reference kernel, such as dynamic
management of capes and other OOBE enhancements.
Cc: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
meta-ti-bsp/conf/machine/beagle-x15.conf | 4 ++++
meta-ti-bsp/conf/machine/beaglebone.conf | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/meta-ti-bsp/conf/machine/beagle-x15.conf b/meta-ti-bsp/conf/machine/beagle-x15.conf
index 8efd6e60..fb52245b 100644
--- a/meta-ti-bsp/conf/machine/beagle-x15.conf
+++ b/meta-ti-bsp/conf/machine/beagle-x15.conf
@@ -4,6 +4,10 @@
require conf/machine/include/am57xx.inc
+PREFERRED_PROVIDER_virtual/kernel = "linux-bb.org"
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot-bb.org"
+PREFERRED_PROVIDER_u-boot = "u-boot-bb.org"
+
KERNEL_DEVICETREE_PREFIX = "am57xx-beagle-x15"
KERNEL_DEVICETREE = " \
diff --git a/meta-ti-bsp/conf/machine/beaglebone.conf b/meta-ti-bsp/conf/machine/beaglebone.conf
index 2a8dc6d7..dceef1db 100644
--- a/meta-ti-bsp/conf/machine/beaglebone.conf
+++ b/meta-ti-bsp/conf/machine/beaglebone.conf
@@ -4,6 +4,10 @@
require conf/machine/include/ti33x.inc
+PREFERRED_PROVIDER_virtual/kernel = "linux-bb.org"
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot-bb.org"
+PREFERRED_PROVIDER_u-boot = "u-boot-bb.org"
+
KERNEL_DEVICETREE_PREFIX = "am335x-bone"
KERNEL_DEVICETREE = " \
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread