Skip to contentSkip to conversation

Add support for BeagleBone Green Eco board

PATCH In review Kory Maincent via buildroot 1 participant 6 messages Jan 5

lore
Share & tools
lore
#0 lore raw

v4 cover Add support for BeagleBone Green Eco board

Bumps the Linux kernel to the latest mainline version. Add the am335x-bonegreen-eco device tree to enable support for the BeagleBone Green Eco variant.
Bump the am33x-cm3 package to latest version.

Changes in v4:
- Use omap2plus Linux defconfig instead of a custom one.
- Remove the switch to Bootlin glibc stable toolchain patch because it has been merged.

Changes in v3:
- Add new patch to switch beagleblone config to Bootlin glibc stable toolchain.
- Add new patch to bump am33x-cm3 version.
- Add new patch to enable AM33X_CM3 to the beaglebone defconfig.
- Update the tarball hash in the bump of Linux version.

Changes in v2:
- Use a specific Linux version.
- Remove 2nd patch.

Kory Maincent (TI.com) (4):
configs/beaglebone: Bump to Linux mainline 6.18.1 board/beaglebone: Add BeagleBone Green Eco support package/am33x-cm3: Switch to TI repo and bump to v0x192 configs/beaglebone: Enable AM33X_CM3 config

 board/beagleboard/beaglebone/genimage.cfg     |  1 +
 .../beaglebone/patches/linux/linux.hash       |  4 +-
 board/beagleboard/beaglebone/readme.txt       |  1 +
 configs/beaglebone_defconfig                  |  9 +++--
 .../0001-Enforce-correct-march-option.patch   | 38 +++++++++++++++++++
 package/am33x-cm3/0001-fix-makefile.patch     | 30 ---------------
 ...Makefile-unconditionally-disable-SSP.patch | 17 +++++----
 ...Makefile-unconditionally-disable-PIE.patch | 17 +++++----
 .../0004-Makefile-add-fno-builtin.patch       | 17 +++++----
 package/am33x-cm3/S93-am335x-pm-firmware-load |  6 ---
 package/am33x-cm3/am33x-cm3.hash              |  2 +-
 package/am33x-cm3/am33x-cm3.mk                | 18 ++++-----
 12 files changed, 85 insertions(+), 75 deletions(-)
 create mode 100644 package/am33x-cm3/0001-Enforce-correct-march-option.patch
 delete mode 100644 package/am33x-cm3/0001-fix-makefile.patch
 delete mode 100644 package/am33x-cm3/S93-am335x-pm-firmware-load
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH v4 1/4 configs/beaglebone: Bump to Linux mainline 6.18.1

From: "Kory Maincent (TI.com)" <[email protected]>

Bumps the Linux kernel to the latest 6.18.1 mainline version.

Tested on BeagleBone Black.

---
Changes in v4:
- Use omap2plus_defconfig instead of a custom defconfig.

Changes in v3:
- Move linux.config in board/beagleboard/beaglebone instead of board/ti/am335x
- Update Linux hash file.
- Update Linux to 6.18.1

Change in v2:
- Use a specific Linux version.

---
 board/beagleboard/beaglebone/patches/linux/linux.hash | 4 ++--
 configs/beaglebone_defconfig                          | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
board/beagleboard/beaglebone/patches/linux/linux.hash +2 -2
index e70a999129..99ac4fc57e 100644
@@ -1,2 +1,2 @@
-# Locally calculated
-sha256  1db327d0743e97ec725fefe05065a6fb779abe3063845fc3b551a4a716247c0a  linux-6.12.34-ti-arm32-r12.tar.gz
+# From https://cdn.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
+sha256  d0a78bf3f0d12aaa10af3b5adcaed5bc767b5b78705e5ef885d5e930b72e25d5  linux-6.18.1.tar.xz
configs/beaglebone_defconfig +3 -3
index 8a8f618e40..38d5d3b52f 100644
@@ -11,9 +11,9 @@ BR2_ROOTFS_POST_BUILD_SCRIPT="board/beagleboard/beaglebone/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beagleboard/beaglebone/genimage.cfg"
 BR2_LINUX_KERNEL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,beagleboard,linux,6.12.34-ti-arm32-r12)/linux-6.12.34-ti-arm32-r12.tar.gz"
-BR2_LINUX_KERNEL_DEFCONFIG="bb.org"
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.18.1"
+BR2_LINUX_KERNEL_DEFCONFIG="omap2plus"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/omap/am335x-evm ti/omap/am335x-bone ti/omap/am335x-boneblack ti/omap/am335x-bonegreen ti/omap/am335x-evmsk ti/omap/am335x-boneblue ti/omap/am335x-boneblack-wireless ti/omap/am335x-bonegreen-wireless"
 BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Re: [Buildroot] [PATCH v4 1/4] configs/beaglebone: Bump to Linux mainline 6.18.1

Quoted 7 lines · Kory Maincent via buildroot

From: "Kory Maincent (TI.com)" <[email protected]>

Bumps the Linux kernel to the latest 6.18.1 mainline version.

Tested on BeagleBone Black.

Series applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw

PATCH v4 2/4 board/beaglebone: Add BeagleBone Green Eco support

In reply to Kory Maincent via buildroot

From: "Kory Maincent (TI.com)" <[email protected]>

Add the am335x-bonegreen-eco device tree to enable support for the BeagleBone Green Eco variant. This ensures the device tree is built from the Linux kernel sources and included in the boot partition.

---
 board/beagleboard/beaglebone/genimage.cfg | 1 +
 board/beagleboard/beaglebone/readme.txt   | 1 +
 configs/beaglebone_defconfig              | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)
board/beagleboard/beaglebone/genimage.cfg +1 -0
index 4b026fda84..095e6e200b 100644
@@ -12,6 +12,7 @@ image boot.vfat {
 			"am335x-bonegreen.dtb",
 			"am335x-boneblack-wireless.dtb",
 			"am335x-bonegreen-wireless.dtb",
+			"am335x-bonegreen-eco.dtb",
 			"extlinux"
 		}
 	}
board/beagleboard/beaglebone/readme.txt +1 -0
index a11377eaee..f896e1285a 100644
@@ -31,6 +31,7 @@ output/images/
 +-- am335x-boneblack-wireless.dtb
 +-- am335x-boneblue.dtb
 +-- am335x-bonegreen.dtb
++-- am335x-bonegreen-eco.dtb
 +-- am335x-bonegreen-wireless.dtb
 +-- am335x-bone.dtb
 +-- am335x-evm.dtb
configs/beaglebone_defconfig +1 -1
index 38d5d3b52f..11859a6c02 100644
@@ -15,7 +15,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.18.1"
 BR2_LINUX_KERNEL_DEFCONFIG="omap2plus"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/omap/am335x-evm ti/omap/am335x-bone ti/omap/am335x-boneblack ti/omap/am335x-bonegreen ti/omap/am335x-evmsk ti/omap/am335x-boneblue ti/omap/am335x-boneblack-wireless ti/omap/am335x-bonegreen-wireless"
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/omap/am335x-evm ti/omap/am335x-bone ti/omap/am335x-boneblack ti/omap/am335x-bonegreen ti/omap/am335x-evmsk ti/omap/am335x-boneblue ti/omap/am335x-boneblack-wireless ti/omap/am335x-bonegreen-wireless ti/omap/am335x-bonegreen-eco"
 BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
 BR2_PACKAGE_XZ=y
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

PATCH v4 3/4 package/am33x-cm3: Switch to TI repo and bump to v0x192

In reply to Kory Maincent via buildroot

From: "Kory Maincent (TI.com)" <[email protected]>

Switch from the RobertCNelson GitHub mirror to the official TI git repository and update to version 0x192 (latest release).

The previous installation method used sysfs to load the firmware, which was specific to old downstream Beaglebone or TI kernels. The mainline wkup_m3_ipc driver now expects am335x-pm-firmware.elf and *-scale-data.bin files to be installed in /lib/firmware, making the sysfs init script obsolete.

Changes:
- Switch repository from github.com/RobertCNelson to git.ti.com
- Update version from 11107db (v05.00.00.02) to fb484c5 (v0x192)
- Refresh all patches to apply cleanly on new version
- Install .elf and scale-data files instead of .bin
- Remove obsolete S93-am335x-pm-firmware-load init script

---
Change in v3:
- New patch.

---
 .../0001-Enforce-correct-march-option.patch   | 38 +++++++++++++++++++
 package/am33x-cm3/0001-fix-makefile.patch     | 30 ---------------
 ...Makefile-unconditionally-disable-SSP.patch | 17 +++++----
 ...Makefile-unconditionally-disable-PIE.patch | 17 +++++----
 .../0004-Makefile-add-fno-builtin.patch       | 17 +++++----
 package/am33x-cm3/S93-am335x-pm-firmware-load |  6 ---
 package/am33x-cm3/am33x-cm3.hash              |  2 +-
 package/am33x-cm3/am33x-cm3.mk                | 18 ++++-----
 8 files changed, 76 insertions(+), 69 deletions(-)
 create mode 100644 package/am33x-cm3/0001-Enforce-correct-march-option.patch
 delete mode 100644 package/am33x-cm3/0001-fix-makefile.patch
 delete mode 100644 package/am33x-cm3/S93-am335x-pm-firmware-load
package/am33x-cm3/0001-Enforce-correct-march-option.patch new file +38 -0
new file mode 100644
index 0000000000..3a915a0ef8
@@ -0,0 +1,38 @@
+From 4e2c99b1197633704ce249413d86da28d21e1d8b Mon Sep 17 00:00:00 2001
+From: Thomas Petazzoni <[email protected]>
+Date: Tue, 16 Dec 2025 14:58:28 +0100
+Subject: [PATCH] Enforce correct -march option
+
+Buildroot uses a normal ARM compiler to build the AM33X CM3 firmware
+(which runs on a Cortex-M3 processor), but Buildroot will have a
+default -march value that doesn't necessarily match the one needed for
+Cortex-M3, leading to build failures (gcc complains that the
+-mcpu=cortex-m3 option being passed is not compatible with the
+selected -march).
+
+Fix this by explicitly indicating -march=armv7-m.
+
+Upstream: N/A Buildroot specific
+
+Signed-off-by: Thomas Petazzoni <[email protected]>
+Signed-off-by: Kory Maincent <[email protected]>
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 3fd9f23d4969..3f27be4dff4f 100644
+--- a/Makefile
++++ b/Makefile
+@@ -13,7 +13,7 @@ SRCDIR = src
+ BINDIR = bin
+ 
+ INCLUDES = $(SRCDIR)/include
+-CFLAGS =-mcpu=cortex-m3 -mthumb -nostdlib -ffreestanding -Wall -Wundef \
++CFLAGS =-march=armv7-m -mcpu=cortex-m3 -mthumb -nostdlib -ffreestanding -Wall -Wundef \
+ 	-Werror-implicit-function-declaration -Wstrict-prototypes \
+ 	-Wdeclaration-after-statement -fno-delete-null-pointer-checks \
+ 	-Wempty-body -fno-strict-overflow  -g -I$(INCLUDES) -O2	-MD
+-- 
+2.43.0
+
package/am33x-cm3/0001-fix-makefile.patch deleted +0 -30
deleted file mode 100644
index f3cdb5e2b9..0000000000
@@ -1,30 +0,0 @@
-Enforce correct -march option
-
-Buildroot uses a normal ARM compiler to build the AM33X CM3 firmware
-(which runs on a Cortex-M3 processor), but Buildroot will have a
-default -march value that doesn't necessarily match the one needed for
-Cortex-M3, leading to build failures (gcc complains that the
--mcpu=cortex-m3 option being passed is not compatible with the
-selected -march).
-
-Fix this by explicitly indicating -march=armv7-m.
-
-Signed-off-by: Thomas Petazzoni <[email protected]>
-
-Updated the patch to the latest version of the Makefile
-
-Signed-off-by: Anders Darander <[email protected]>
-
-Index: b/Makefile
-===================================================================
---- a/Makefile
-+++ b/Makefile
-@@ -13,7 +13,7 @@ SRCDIR = src
- BINDIR = bin
- 
- INCLUDES = $(SRCDIR)/include
--CFLAGS =-mcpu=cortex-m3 -mthumb -nostdlib -Wall -Wundef \
-+CFLAGS =-march=armv7-m -mcpu=cortex-m3 -mthumb -nostdlib -Wall -Wundef \
- 	-Werror-implicit-function-declaration -Wstrict-prototypes \
- 	-Wdeclaration-after-statement -fno-delete-null-pointer-checks \
- 	-Wempty-body -fno-strict-overflow  -g -I$(INCLUDES) -O2
package/am33x-cm3/0002-Makefile-unconditionally-disable-SSP.patch +10 -7
index ed333bfe05..ae6e315382 100644
@@ -1,6 +1,6 @@
-From 6c3b05b74ccd49d8ba246bfef0c2e549b9f2bf7b Mon Sep 17 00:00:00 2001
+From ba71b50bef042ed404759a8d48bef1f779cec6d6 Mon Sep 17 00:00:00 2001
 From: Fabrice Fontaine <[email protected]>
-Date: Tue, 29 Oct 2019 16:14:18 +0100
+Date: Tue, 16 Dec 2025 15:02:28 +0100
 Subject: [PATCH] Makefile: unconditionally disable SSP
 
 Though -nostdlib is passed in $(CFLAGS), -fno-stack-protector must also be
@@ -11,25 +11,28 @@ passed to avoid linking errors related to undefined references to
 Fixes:
  - http://autobuild.buildroot.net/results/3a3a21f3c35ea025e9b93e09c2454aed0ad31034
 
+Upstream: N/A Buildroot specific
+
 Signed-off-by: Fabrice Fontaine <[email protected]>
+Signed-off-by: Kory Maincent <[email protected]>
 ---
  Makefile | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
 
 diff --git a/Makefile b/Makefile
-index c3ec071..5226006 100644
+index 3f27be4dff4f..52423507f50b 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -16,7 +16,8 @@ INCLUDES = $(SRCDIR)/include
- CFLAGS =-march=armv7-m -mcpu=cortex-m3 -mthumb -nostdlib -Wall -Wundef \
+ CFLAGS =-march=armv7-m -mcpu=cortex-m3 -mthumb -nostdlib -ffreestanding -Wall -Wundef \
  	-Werror-implicit-function-declaration -Wstrict-prototypes \
  	-Wdeclaration-after-statement -fno-delete-null-pointer-checks \
--	-Wempty-body -fno-strict-overflow  -g -I$(INCLUDES) -O2
+-	-Wempty-body -fno-strict-overflow  -g -I$(INCLUDES) -O2	-MD
 +	-Wempty-body -fno-strict-overflow -fno-stack-protector \
-+	-g -I$(INCLUDES) -O2
++	-g -I$(INCLUDES) -O2 -MD
  LDFLAGS =-nostartfiles -fno-exceptions -Tfirmware.ld
  
  EXECUTABLE=am335x-pm-firmware.elf
 -- 
-2.23.0
+2.43.0
 
package/am33x-cm3/0003-Makefile-unconditionally-disable-PIE.patch +10 -7
index 6be157932d..02b192fbda 100644
@@ -1,6 +1,6 @@
-From 0e8c3c4851ce64268a8ae1810ef72594251d917d Mon Sep 17 00:00:00 2001
+From 8d86dd4b141da8d4d4dc0002b5588389b4412df8 Mon Sep 17 00:00:00 2001
 From: Fabrice Fontaine <[email protected]>
-Date: Sun, 10 Nov 2019 21:57:12 +0100
+Date: Tue, 16 Dec 2025 15:03:55 +0100
 Subject: [PATCH] Makefile: unconditionally disable PIE
 
 Though -nostdlib is passed in $(CFLAGS), -fno-pie must also be passed to
@@ -10,24 +10,27 @@ enforces PIE.
 Fixes:
  - http://autobuild.buildroot.org/results/418a40b995e91bc66e692dfbc4b0521db3fa5fbb
 
+Upstream: N/A Buildroot specific
+
 Signed-off-by: Fabrice Fontaine <[email protected]>
+Signed-off-by: Kory Maincent <[email protected]>
 ---
  Makefile | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/Makefile b/Makefile
-index 5226006..fe3d844 100644
+index 52423507f50b..9146a8b6a7da 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -17,7 +17,7 @@ CFLAGS =-march=armv7-m -mcpu=cortex-m3 -mthumb -nostdlib -Wall -Wundef \
+@@ -17,7 +17,7 @@ CFLAGS =-march=armv7-m -mcpu=cortex-m3 -mthumb -nostdlib -ffreestanding -Wall -W
  	-Werror-implicit-function-declaration -Wstrict-prototypes \
  	-Wdeclaration-after-statement -fno-delete-null-pointer-checks \
  	-Wempty-body -fno-strict-overflow -fno-stack-protector \
--	-g -I$(INCLUDES) -O2
-+	-fno-pie -g -I$(INCLUDES) -O2
+-	-g -I$(INCLUDES) -O2 -MD
++	-fno-pie -g -I$(INCLUDES) -O2 -MD
  LDFLAGS =-nostartfiles -fno-exceptions -Tfirmware.ld
  
  EXECUTABLE=am335x-pm-firmware.elf
 -- 
-2.23.0
+2.43.0
 
package/am33x-cm3/0004-Makefile-add-fno-builtin.patch +10 -7
index 7478bd45f3..73e697edc6 100644
@@ -1,6 +1,6 @@
-From 25fc567ba8a0cd199e48bfa82863247d953784ea Mon Sep 17 00:00:00 2001
+From bce00a9036fb0fc4d7735cd2c386b4932b915d97 Mon Sep 17 00:00:00 2001
 From: Fabrice Fontaine <[email protected]>
-Date: Sun, 30 Aug 2020 20:59:29 +0200
+Date: Tue, 16 Dec 2025 15:09:15 +0100
 Subject: [PATCH] Makefile: add -fno-builtin
 
 Build with gcc 10 fails on:
@@ -18,24 +18,27 @@ To fix this build failure, add -fno-builtin
 Fixes:
  - http://autobuild.buildroot.org/results/a991e6efa012df518ff1bb35017ad2c96c8feedc
 
+Upstream: N/A Buildroot specific
+
 Signed-off-by: Fabrice Fontaine <[email protected]>
+Signed-off-by: Kory Maincent <[email protected]>
 ---
  Makefile | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/Makefile b/Makefile
-index fe3d844..fa24d4b 100644
+index 9146a8b6a7da..b4869c494593 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -17,7 +17,7 @@ CFLAGS =-march=armv7-m -mcpu=cortex-m3 -mthumb -nostdlib -Wall -Wundef \
+@@ -17,7 +17,7 @@ CFLAGS =-march=armv7-m -mcpu=cortex-m3 -mthumb -nostdlib -ffreestanding -Wall -W
  	-Werror-implicit-function-declaration -Wstrict-prototypes \
  	-Wdeclaration-after-statement -fno-delete-null-pointer-checks \
  	-Wempty-body -fno-strict-overflow -fno-stack-protector \
--	-fno-pie -g -I$(INCLUDES) -O2
-+	-fno-pie -fno-builtin -g -I$(INCLUDES) -O2
+-	-fno-pie -g -I$(INCLUDES) -O2 -MD
++	-fno-pie -fno-builtin -g -I$(INCLUDES) -O2 -MD
  LDFLAGS =-nostartfiles -fno-exceptions -Tfirmware.ld
  
  EXECUTABLE=am335x-pm-firmware.elf
 -- 
-2.28.0
+2.43.0
 
package/am33x-cm3/S93-am335x-pm-firmware-load deleted +0 -6
deleted file mode 100644
index 56c17b334d..0000000000
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-# Load the PM CM3 firmware
-echo 1 > /sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/loading
-cat /lib/firmware/am335x-pm-firmware.bin > /sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/data
-echo 0 > /sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/loading
package/am33x-cm3/am33x-cm3.hash +1 -1
index 33dc205f3b..aa282dab15 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  79b05eda90498390778001caf18435617d5983c075b5b4a6b339bee40551e946  am33x-cm3-11107db2f1e9e58ee75d4fe9cc38423c9a6e4365-git4.tar.gz
+sha256  b6020ce5fee52e8df6cf8e045c75064021760dd04e2923ad0e4bdd6e18ebaa49  am33x-cm3-fb484c5e54f2e31cf0a338d2927a06a2870bcc2c-git4.tar.gz
 sha256  e136e6949a1d3ca144374375af8b9387faa11d2eee7debff8cf22ca8fe7bf7e9  License.txt
package/am33x-cm3/am33x-cm3.mk +7 -11
index d5ace7bb0e..8c890a75fc 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-# This should correpsond to v05.00.00.02
-AM33X_CM3_VERSION = 11107db2f1e9e58ee75d4fe9cc38423c9a6e4365
-AM33X_CM3_SITE = https://github.com/RobertCNelson/am33x-cm3
+# This should correspond to version 0x192
+AM33X_CM3_VERSION = fb484c5e54f2e31cf0a338d2927a06a2870bcc2c
+AM33X_CM3_SITE = https://git.ti.com/git/processor-firmware/ti-amx3-cm3-pm-firmware.git
 AM33X_CM3_SITE_METHOD = git
 AM33X_CM3_LICENSE = TI Publicly Available Software License
 AM33X_CM3_LICENSE_FILES = License.txt
@@ -17,15 +17,11 @@ define AM33X_CM3_BUILD_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D) all
 endef
 
-# Not all of the firmware files are used
 define AM33X_CM3_INSTALL_TARGET_CMDS
-	$(INSTALL) -m 0644 -D $(@D)/bin/am335x-pm-firmware.bin \
-		$(TARGET_DIR)/lib/firmware/am335x-pm-firmware.bin
-endef
-
-define AM33X_CM3_INSTALL_INIT_SYSV
-	$(INSTALL) -m 0755 -D package/am33x-cm3/S93-am335x-pm-firmware-load \
-		$(TARGET_DIR)/etc/init.d/S93-am335x-pm-firmware-load
+	$(INSTALL) -m 0644 -D $(@D)/bin/am335x-pm-firmware.elf \
+		$(TARGET_DIR)/lib/firmware/am335x-pm-firmware.elf
+	$(INSTALL) -m 0644 -D $(@D)/bin/*-scale-data.bin \
+		$(TARGET_DIR)/lib/firmware/
 endef
 
 $(eval $(generic-package))
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw

PATCH v4 4/4 configs/beaglebone: Enable AM33X_CM3 config

In reply to Kory Maincent via buildroot

From: "Kory Maincent (TI.com)" <[email protected]>

Add support for suspend resume by enabling AM33X_CM3 config.

---

Change in v3:
- New patch.

---
 configs/beaglebone_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/beaglebone_defconfig +1 -0
index 11859a6c02..be11186f8c 100644
@@ -19,6 +19,7 @@ BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/omap/am335x-evm ti/omap/am335x-bone ti/omap
 BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
 BR2_PACKAGE_XZ=y
+BR2_PACKAGE_AM33X_CM3=y
 BR2_PACKAGE_KMOD=y
 BR2_PACKAGE_KMOD_TOOLS=y
 BR2_TARGET_ROOTFS_EXT2=y
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot