Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/5] configs/beagleboneai_defconfig: move board files to board/beagleboard/beagleboneai
@ 2024-07-13 14:01 Romain Naour via buildroot
  2024-07-13 14:01 ` [Buildroot] [PATCH 2/5] configs/beaglebone{_qt5}_defconfig: move board files to board/beagleboard/beaglebone Romain Naour via buildroot
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Romain Naour via buildroot @ 2024-07-13 14:01 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour

The beagleboneai board files from beagleboard.org project should be
moved to board/beagleboard directory.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
---
 .checkpackageignore                                         | 4 ++--
 DEVELOPERS                                                  | 2 +-
 board/{ => beagleboard}/beagleboneai/genimage.cfg           | 0
 .../beagleboneai/patches/linux-headers/linux-headers.hash   | 0
 .../{ => beagleboard}/beagleboneai/patches/linux/linux.hash | 0
 .../beagleboneai/patches/uboot/0001-am57xx_evm-fixes.patch  | 0
 .../{ => beagleboard}/beagleboneai/patches/uboot/uboot.hash | 0
 board/beagleboard/beagleboneai/post-build.sh                | 4 ++++
 board/{ => beagleboard}/beagleboneai/readme.txt             | 0
 board/{ => beagleboard}/beagleboneai/uEnv.txt               | 0
 board/beagleboneai/post-build.sh                            | 4 ----
 configs/beagleboneai_defconfig                              | 6 +++---
 12 files changed, 10 insertions(+), 10 deletions(-)
 rename board/{ => beagleboard}/beagleboneai/genimage.cfg (100%)
 rename board/{ => beagleboard}/beagleboneai/patches/linux-headers/linux-headers.hash (100%)
 rename board/{ => beagleboard}/beagleboneai/patches/linux/linux.hash (100%)
 rename board/{ => beagleboard}/beagleboneai/patches/uboot/0001-am57xx_evm-fixes.patch (100%)
 rename board/{ => beagleboard}/beagleboneai/patches/uboot/uboot.hash (100%)
 create mode 100755 board/beagleboard/beagleboneai/post-build.sh
 rename board/{ => beagleboard}/beagleboneai/readme.txt (100%)
 rename board/{ => beagleboard}/beagleboneai/uEnv.txt (100%)
 delete mode 100755 board/beagleboneai/post-build.sh

diff --git a/.checkpackageignore b/.checkpackageignore
index 3fea2d9b39..b29f290dd8 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -10,8 +10,8 @@ board/asus/tinker/post-build.sh Shellcheck
 board/atmel/flasher.sh Shellcheck
 board/beaglebone/patches/linux/0001-keep-jtag-clock-alive-for-debugger.patch lib_patch.Upstream
 board/beaglebone/post-build.sh Shellcheck
-board/beagleboneai/patches/uboot/0001-am57xx_evm-fixes.patch lib_patch.Upstream
-board/beagleboneai/post-build.sh Shellcheck
+board/beagleboard/beagleboneai/patches/uboot/0001-am57xx_evm-fixes.patch lib_patch.Upstream
+board/beagleboard/beagleboneai/post-build.sh Shellcheck
 board/beaglev/post-build.sh Shellcheck
 board/beelink/gs1/post-build.sh Shellcheck
 board/boundarydevices/common/post-build.sh Shellcheck
diff --git a/DEVELOPERS b/DEVELOPERS
index b66fda5fcb..4d13e90924 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2504,7 +2504,7 @@ F:	package/libunistring/
 
 N:	Peter Korsgaard <peter@korsgaard.com>
 F:	board/arrow/avenger96/
-F:	board/beagleboneai/
+F:	board/beagleboard/beagleboneai/
 F:	board/minnowboard/
 F:	board/nezha/
 F:	board/librecomputer/lafrite/
diff --git a/board/beagleboneai/genimage.cfg b/board/beagleboard/beagleboneai/genimage.cfg
similarity index 100%
rename from board/beagleboneai/genimage.cfg
rename to board/beagleboard/beagleboneai/genimage.cfg
diff --git a/board/beagleboneai/patches/linux-headers/linux-headers.hash b/board/beagleboard/beagleboneai/patches/linux-headers/linux-headers.hash
similarity index 100%
rename from board/beagleboneai/patches/linux-headers/linux-headers.hash
rename to board/beagleboard/beagleboneai/patches/linux-headers/linux-headers.hash
diff --git a/board/beagleboneai/patches/linux/linux.hash b/board/beagleboard/beagleboneai/patches/linux/linux.hash
similarity index 100%
rename from board/beagleboneai/patches/linux/linux.hash
rename to board/beagleboard/beagleboneai/patches/linux/linux.hash
diff --git a/board/beagleboneai/patches/uboot/0001-am57xx_evm-fixes.patch b/board/beagleboard/beagleboneai/patches/uboot/0001-am57xx_evm-fixes.patch
similarity index 100%
rename from board/beagleboneai/patches/uboot/0001-am57xx_evm-fixes.patch
rename to board/beagleboard/beagleboneai/patches/uboot/0001-am57xx_evm-fixes.patch
diff --git a/board/beagleboneai/patches/uboot/uboot.hash b/board/beagleboard/beagleboneai/patches/uboot/uboot.hash
similarity index 100%
rename from board/beagleboneai/patches/uboot/uboot.hash
rename to board/beagleboard/beagleboneai/patches/uboot/uboot.hash
diff --git a/board/beagleboard/beagleboneai/post-build.sh b/board/beagleboard/beagleboneai/post-build.sh
new file mode 100755
index 0000000000..384b4d8745
--- /dev/null
+++ b/board/beagleboard/beagleboneai/post-build.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+BOARD_DIR="$(dirname $0)"
+
+cp board/beagleboard/beagleboneai/uEnv.txt $BINARIES_DIR/uEnv.txt
diff --git a/board/beagleboneai/readme.txt b/board/beagleboard/beagleboneai/readme.txt
similarity index 100%
rename from board/beagleboneai/readme.txt
rename to board/beagleboard/beagleboneai/readme.txt
diff --git a/board/beagleboneai/uEnv.txt b/board/beagleboard/beagleboneai/uEnv.txt
similarity index 100%
rename from board/beagleboneai/uEnv.txt
rename to board/beagleboard/beagleboneai/uEnv.txt
diff --git a/board/beagleboneai/post-build.sh b/board/beagleboneai/post-build.sh
deleted file mode 100755
index 34a86cc746..0000000000
--- a/board/beagleboneai/post-build.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-BOARD_DIR="$(dirname $0)"
-
-cp board/beagleboneai/uEnv.txt $BINARIES_DIR/uEnv.txt
diff --git a/configs/beagleboneai_defconfig b/configs/beagleboneai_defconfig
index a002869984..9c5c3d165a 100644
--- a/configs/beagleboneai_defconfig
+++ b/configs/beagleboneai_defconfig
@@ -1,12 +1,12 @@
 BR2_arm=y
 BR2_cortex_a15=y
-BR2_GLOBAL_PATCH_DIR="board/beagleboneai/patches"
+BR2_GLOBAL_PATCH_DIR="board/beagleboard/beagleboneai/patches"
 BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
 BR2_SYSTEM_DHCP="eth0"
-BR2_ROOTFS_POST_BUILD_SCRIPT="board/beagleboneai/post-build.sh"
+BR2_ROOTFS_POST_BUILD_SCRIPT="board/beagleboard/beagleboneai/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
-BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beagleboneai/genimage.cfg"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beagleboard/beagleboneai/genimage.cfg"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.217"
-- 
2.45.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 2/5] configs/beaglebone{_qt5}_defconfig: move board files to board/beagleboard/beaglebone
  2024-07-13 14:01 [Buildroot] [PATCH 1/5] configs/beagleboneai_defconfig: move board files to board/beagleboard/beagleboneai Romain Naour via buildroot
@ 2024-07-13 14:01 ` Romain Naour via buildroot
  2024-07-13 14:01 ` [Buildroot] [PATCH 3/5] configs/beaglev_defconfig: remove defconfig Romain Naour via buildroot
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Romain Naour via buildroot @ 2024-07-13 14:01 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour

The beaglebone board files from beagleboard.org project should be
moved to board/beagleboard directory.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
---
 .checkpackageignore                                    |  4 ++--
 DEVELOPERS                                             |  2 +-
 board/{ => beagleboard}/beaglebone/extlinux.conf       |  0
 board/{ => beagleboard}/beaglebone/genimage.cfg        |  0
 board/{ => beagleboard}/beaglebone/linux-sgx.fragment  |  0
 .../patches/linux-headers/linux-headers.hash           |  0
 .../0001-keep-jtag-clock-alive-for-debugger.patch      |  0
 ...3-1-replace-Sun-Solaris-style-flag-on-section.patch |  0
 ...ci-Match-EM_MAX_SLOTS-with-SATA_PMP_MAX_PORTS.patch |  0
 .../0004-ata-ahci-fix-enum-constants-for-gcc-13.patch  |  0
 .../beaglebone/patches/linux/linux.hash                |  0
 .../beaglebone/patches/uboot/uboot.hash                |  0
 board/{ => beagleboard}/beaglebone/post-build.sh       |  0
 board/{ => beagleboard}/beaglebone/readme.txt          |  0
 .../rootfs_overlay/etc/qt5/eglfs_kms_cfg.json          |  0
 board/{ => beagleboard}/beaglebone/uEnv.txt            |  0
 configs/beaglebone_defconfig                           |  4 ++--
 configs/beaglebone_qt5_defconfig                       | 10 +++++-----
 18 files changed, 10 insertions(+), 10 deletions(-)
 rename board/{ => beagleboard}/beaglebone/extlinux.conf (100%)
 rename board/{ => beagleboard}/beaglebone/genimage.cfg (100%)
 rename board/{ => beagleboard}/beaglebone/linux-sgx.fragment (100%)
 rename board/{ => beagleboard}/beaglebone/patches/linux-headers/linux-headers.hash (100%)
 rename board/{ => beagleboard}/beaglebone/patches/linux/0001-keep-jtag-clock-alive-for-debugger.patch (100%)
 rename board/{ => beagleboard}/beaglebone/patches/linux/0002-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section.patch (100%)
 rename board/{ => beagleboard}/beaglebone/patches/linux/0003-ata-ahci-Match-EM_MAX_SLOTS-with-SATA_PMP_MAX_PORTS.patch (100%)
 rename board/{ => beagleboard}/beaglebone/patches/linux/0004-ata-ahci-fix-enum-constants-for-gcc-13.patch (100%)
 rename board/{ => beagleboard}/beaglebone/patches/linux/linux.hash (100%)
 rename board/{ => beagleboard}/beaglebone/patches/uboot/uboot.hash (100%)
 rename board/{ => beagleboard}/beaglebone/post-build.sh (100%)
 rename board/{ => beagleboard}/beaglebone/readme.txt (100%)
 rename board/{ => beagleboard}/beaglebone/rootfs_overlay/etc/qt5/eglfs_kms_cfg.json (100%)
 rename board/{ => beagleboard}/beaglebone/uEnv.txt (100%)

diff --git a/.checkpackageignore b/.checkpackageignore
index b29f290dd8..b49d8d92b4 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -8,8 +8,8 @@ board/arcturus/aarch64-ucls1012a/post-image.sh Shellcheck
 board/aspeed/common/post-image.sh Shellcheck
 board/asus/tinker/post-build.sh Shellcheck
 board/atmel/flasher.sh Shellcheck
-board/beaglebone/patches/linux/0001-keep-jtag-clock-alive-for-debugger.patch lib_patch.Upstream
-board/beaglebone/post-build.sh Shellcheck
+board/beagleboard/beaglebone/patches/linux/0001-keep-jtag-clock-alive-for-debugger.patch lib_patch.Upstream
+board/beagleboard/beaglebone/post-build.sh Shellcheck
 board/beagleboard/beagleboneai/patches/uboot/0001-am57xx_evm-fixes.patch lib_patch.Upstream
 board/beagleboard/beagleboneai/post-build.sh Shellcheck
 board/beaglev/post-build.sh Shellcheck
diff --git a/DEVELOPERS b/DEVELOPERS
index 4d13e90924..806c01e2a8 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2029,7 +2029,7 @@ F:	package/mongrel2/
 
 N:	Lothar Felten <lothar.felten@gmail.com>
 F:	board/bananapi/bananapi-m2-ultra/
-F:	board/beaglebone/
+F:	board/beagleboard/beaglebone/
 F:	configs/bananapi_m2_ultra_defconfig
 F:	configs/beaglebone_defconfig
 F:	configs/beaglebone_qt5_defconfig
diff --git a/board/beaglebone/extlinux.conf b/board/beagleboard/beaglebone/extlinux.conf
similarity index 100%
rename from board/beaglebone/extlinux.conf
rename to board/beagleboard/beaglebone/extlinux.conf
diff --git a/board/beaglebone/genimage.cfg b/board/beagleboard/beaglebone/genimage.cfg
similarity index 100%
rename from board/beaglebone/genimage.cfg
rename to board/beagleboard/beaglebone/genimage.cfg
diff --git a/board/beaglebone/linux-sgx.fragment b/board/beagleboard/beaglebone/linux-sgx.fragment
similarity index 100%
rename from board/beaglebone/linux-sgx.fragment
rename to board/beagleboard/beaglebone/linux-sgx.fragment
diff --git a/board/beaglebone/patches/linux-headers/linux-headers.hash b/board/beagleboard/beaglebone/patches/linux-headers/linux-headers.hash
similarity index 100%
rename from board/beaglebone/patches/linux-headers/linux-headers.hash
rename to board/beagleboard/beaglebone/patches/linux-headers/linux-headers.hash
diff --git a/board/beaglebone/patches/linux/0001-keep-jtag-clock-alive-for-debugger.patch b/board/beagleboard/beaglebone/patches/linux/0001-keep-jtag-clock-alive-for-debugger.patch
similarity index 100%
rename from board/beaglebone/patches/linux/0001-keep-jtag-clock-alive-for-debugger.patch
rename to board/beagleboard/beaglebone/patches/linux/0001-keep-jtag-clock-alive-for-debugger.patch
diff --git a/board/beaglebone/patches/linux/0002-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section.patch b/board/beagleboard/beaglebone/patches/linux/0002-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section.patch
similarity index 100%
rename from board/beaglebone/patches/linux/0002-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section.patch
rename to board/beagleboard/beaglebone/patches/linux/0002-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section.patch
diff --git a/board/beaglebone/patches/linux/0003-ata-ahci-Match-EM_MAX_SLOTS-with-SATA_PMP_MAX_PORTS.patch b/board/beagleboard/beaglebone/patches/linux/0003-ata-ahci-Match-EM_MAX_SLOTS-with-SATA_PMP_MAX_PORTS.patch
similarity index 100%
rename from board/beaglebone/patches/linux/0003-ata-ahci-Match-EM_MAX_SLOTS-with-SATA_PMP_MAX_PORTS.patch
rename to board/beagleboard/beaglebone/patches/linux/0003-ata-ahci-Match-EM_MAX_SLOTS-with-SATA_PMP_MAX_PORTS.patch
diff --git a/board/beaglebone/patches/linux/0004-ata-ahci-fix-enum-constants-for-gcc-13.patch b/board/beagleboard/beaglebone/patches/linux/0004-ata-ahci-fix-enum-constants-for-gcc-13.patch
similarity index 100%
rename from board/beaglebone/patches/linux/0004-ata-ahci-fix-enum-constants-for-gcc-13.patch
rename to board/beagleboard/beaglebone/patches/linux/0004-ata-ahci-fix-enum-constants-for-gcc-13.patch
diff --git a/board/beaglebone/patches/linux/linux.hash b/board/beagleboard/beaglebone/patches/linux/linux.hash
similarity index 100%
rename from board/beaglebone/patches/linux/linux.hash
rename to board/beagleboard/beaglebone/patches/linux/linux.hash
diff --git a/board/beaglebone/patches/uboot/uboot.hash b/board/beagleboard/beaglebone/patches/uboot/uboot.hash
similarity index 100%
rename from board/beaglebone/patches/uboot/uboot.hash
rename to board/beagleboard/beaglebone/patches/uboot/uboot.hash
diff --git a/board/beaglebone/post-build.sh b/board/beagleboard/beaglebone/post-build.sh
similarity index 100%
rename from board/beaglebone/post-build.sh
rename to board/beagleboard/beaglebone/post-build.sh
diff --git a/board/beaglebone/readme.txt b/board/beagleboard/beaglebone/readme.txt
similarity index 100%
rename from board/beaglebone/readme.txt
rename to board/beagleboard/beaglebone/readme.txt
diff --git a/board/beaglebone/rootfs_overlay/etc/qt5/eglfs_kms_cfg.json b/board/beagleboard/beaglebone/rootfs_overlay/etc/qt5/eglfs_kms_cfg.json
similarity index 100%
rename from board/beaglebone/rootfs_overlay/etc/qt5/eglfs_kms_cfg.json
rename to board/beagleboard/beaglebone/rootfs_overlay/etc/qt5/eglfs_kms_cfg.json
diff --git a/board/beaglebone/uEnv.txt b/board/beagleboard/beaglebone/uEnv.txt
similarity index 100%
rename from board/beaglebone/uEnv.txt
rename to board/beagleboard/beaglebone/uEnv.txt
diff --git a/configs/beaglebone_defconfig b/configs/beaglebone_defconfig
index 064f283489..b1a0c7cda4 100644
--- a/configs/beaglebone_defconfig
+++ b/configs/beaglebone_defconfig
@@ -10,9 +10,9 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
 BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
 
 # Image
-BR2_ROOTFS_POST_BUILD_SCRIPT="board/beaglebone/post-build.sh"
+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/beaglebone/genimage.cfg"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beagleboard/beaglebone/genimage.cfg"
 
 # Kernel
 BR2_LINUX_KERNEL=y
diff --git a/configs/beaglebone_qt5_defconfig b/configs/beaglebone_qt5_defconfig
index ae46fff228..e09a88e21b 100644
--- a/configs/beaglebone_qt5_defconfig
+++ b/configs/beaglebone_qt5_defconfig
@@ -1,20 +1,20 @@
 BR2_arm=y
 BR2_cortex_a8=y
-BR2_GLOBAL_PATCH_DIR="board/beaglebone/patches"
+BR2_GLOBAL_PATCH_DIR="board/beagleboard/beaglebone/patches"
 BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
 BR2_TOOLCHAIN_BUILDROOT_CXX=y
 BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
-BR2_ROOTFS_OVERLAY="board/beaglebone/rootfs_overlay"
-BR2_ROOTFS_POST_BUILD_SCRIPT="board/beaglebone/post-build.sh"
+BR2_ROOTFS_OVERLAY="board/beagleboard/beaglebone/rootfs_overlay"
+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/beaglebone/genimage.cfg"
+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,4.19.94-ti-r72)/linux-4.19.94-ti-r72.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="omap2plus"
-BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/beaglebone/linux-sgx.fragment"
+BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/beagleboard/beaglebone/linux-sgx.fragment"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-evm am335x-bone am335x-boneblack am335x-bonegreen am335x-evmsk am335x-boneblue am335x-boneblack-wireless am335x-bonegreen-wireless"
 BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
-- 
2.45.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 3/5] configs/beaglev_defconfig: remove defconfig
  2024-07-13 14:01 [Buildroot] [PATCH 1/5] configs/beagleboneai_defconfig: move board files to board/beagleboard/beagleboneai Romain Naour via buildroot
  2024-07-13 14:01 ` [Buildroot] [PATCH 2/5] configs/beaglebone{_qt5}_defconfig: move board files to board/beagleboard/beaglebone Romain Naour via buildroot
@ 2024-07-13 14:01 ` Romain Naour via buildroot
  2024-07-13 14:01 ` [Buildroot] [PATCH 4/5] boot/beaglev-secondboot: remove package Romain Naour via buildroot
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Romain Naour via buildroot @ 2024-07-13 14:01 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour, Thomas Petazzoni

The beaglev_defconfig was meant for BeagleV-Starlight prototype waiting
for the arrival of the official revision. But BeagleV-Starlight was
never produced [1].

BeagleV-Starlight is nowadays superseded by the Beaglev-Ahead board [2].

[1] https://forum.beagleboard.org/t/the-future-of-beaglev-community/30463
[2] https://www.beagleboard.org/boards/beaglev-ahead

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 .checkpackageignore                           |   2 -
 DEVELOPERS                                    |   2 -
 board/beaglev/extlinux.conf                   |   4 -
 board/beaglev/genimage.cfg                    |  12 --
 ...iscv-Fix-build-against-binutils-2.38.patch |  58 --------
 board/beaglev/post-build.sh                   |  11 --
 board/beaglev/readme.txt                      | 124 ------------------
 configs/beaglev_defconfig                     |  43 ------
 8 files changed, 256 deletions(-)
 delete mode 100644 board/beaglev/extlinux.conf
 delete mode 100644 board/beaglev/genimage.cfg
 delete mode 100644 board/beaglev/patches/uboot/0001-riscv-Fix-build-against-binutils-2.38.patch
 delete mode 100755 board/beaglev/post-build.sh
 delete mode 100644 board/beaglev/readme.txt
 delete mode 100644 configs/beaglev_defconfig

diff --git a/.checkpackageignore b/.checkpackageignore
index b49d8d92b4..1052a6f90f 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -12,7 +12,6 @@ board/beagleboard/beaglebone/patches/linux/0001-keep-jtag-clock-alive-for-debugg
 board/beagleboard/beaglebone/post-build.sh Shellcheck
 board/beagleboard/beagleboneai/patches/uboot/0001-am57xx_evm-fixes.patch lib_patch.Upstream
 board/beagleboard/beagleboneai/post-build.sh Shellcheck
-board/beaglev/post-build.sh Shellcheck
 board/beelink/gs1/post-build.sh Shellcheck
 board/boundarydevices/common/post-build.sh Shellcheck
 board/boundarydevices/common/post-image.sh Shellcheck
@@ -143,7 +142,6 @@ configs/bananapi_m2_ultra_defconfig lib_defconfig.ForceCheckHash
 configs/bananapi_m2_zero_defconfig lib_defconfig.ForceCheckHash
 configs/bananapro_defconfig lib_defconfig.ForceCheckHash
 configs/beaglebone_defconfig lib_defconfig.ForceCheckHash
-configs/beaglev_defconfig lib_defconfig.ForceCheckHash
 configs/beelink_gs1_defconfig lib_defconfig.ForceCheckHash
 configs/broadcom_northstar_defconfig lib_defconfig.ForceCheckHash
 configs/canaan_kd233_defconfig lib_defconfig.ForceCheckHash
diff --git a/DEVELOPERS b/DEVELOPERS
index 806c01e2a8..181e5ef174 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -3067,13 +3067,11 @@ F:	package/go/
 
 N:	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
 F:	arch/Config.in.arm
-F:	board/beaglev/
 F:	board/stmicroelectronics/stm32mp157c-dk2/
 F:	boot/beaglev-ddrinit/
 F:	boot/beaglev-secondboot/
 F:	boot/boot-wrapper-aarch64/
 F:	boot/grub2/
-F:	configs/beaglev_defconfig
 F:	configs/stm32mp157c_dk2_defconfig
 F:	package/android-tools/
 F:	package/b43-firmware/
diff --git a/board/beaglev/extlinux.conf b/board/beaglev/extlinux.conf
deleted file mode 100644
index 9daf6a7581..0000000000
--- a/board/beaglev/extlinux.conf
+++ /dev/null
@@ -1,4 +0,0 @@
-label linux
-  kernel /boot/Image
-  devicetree /boot/jh7100-beaglev-starlight.dtb
-  append console=ttyS0,115200 earlyprintk root=PARTUUID=0fef845a-c6e1-45bc-82f7-002fa720f958 rootwait
diff --git a/board/beaglev/genimage.cfg b/board/beaglev/genimage.cfg
deleted file mode 100644
index deefdbc110..0000000000
--- a/board/beaglev/genimage.cfg
+++ /dev/null
@@ -1,12 +0,0 @@
-image sdcard.img {
-	hdimage {
-		partition-table-type = "gpt"
-	}
-
-	partition rootfs {
-		partition-type-uuid = 72ec70a6-cf74-40e6-bd49-4bda08e8f224
-		partition-uuid = 0fef845a-c6e1-45bc-82f7-002fa720f958
-		bootable = "true"
-		image = "rootfs.ext4"
-	}
-}
diff --git a/board/beaglev/patches/uboot/0001-riscv-Fix-build-against-binutils-2.38.patch b/board/beaglev/patches/uboot/0001-riscv-Fix-build-against-binutils-2.38.patch
deleted file mode 100644
index 52b496f054..0000000000
--- a/board/beaglev/patches/uboot/0001-riscv-Fix-build-against-binutils-2.38.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From 0cf11f3c0478f4286adcfb09bf9137f8b00212e3 Mon Sep 17 00:00:00 2001
-From: Alexandre Ghiti <alexandre.ghiti@canonical.com>
-Date: Mon, 3 Oct 2022 18:07:54 +0200
-Subject: [PATCH] riscv: Fix build against binutils 2.38
-
-The following description is copied from the equivalent patch for the
-Linux Kernel proposed by Aurelien Jarno:
-
->From version 2.38, binutils default to ISA spec version 20191213. This
-means that the csr read/write (csrr*/csrw*) instructions and fence.i
-instruction has separated from the `I` extension, become two standalone
-extensions: Zicsr and Zifencei. As the kernel uses those instruction,
-this causes the following build failure:
-
-arch/riscv/cpu/mtrap.S: Assembler messages:
-arch/riscv/cpu/mtrap.S:65: Error: unrecognized opcode `csrr a0,scause'
-arch/riscv/cpu/mtrap.S:66: Error: unrecognized opcode `csrr a1,sepc'
-arch/riscv/cpu/mtrap.S:67: Error: unrecognized opcode `csrr a2,stval'
-arch/riscv/cpu/mtrap.S:70: Error: unrecognized opcode `csrw sepc,a0'
-
-Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
-Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
-Tested-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-Tested-by: Heiko Stuebner <heiko@sntech.de>
-Tested-by: Christian Stewart <christian@paral.in>
-Reviewed-by: Rick Chen <rick@andestech.com>
-(cherry picked from commit 1dde977518f13824b847e23275001191139bc384)
-Upstream: https://gitlab.com/u-boot/u-boot/-/commit/1dde977518f13824b847e23275001191139bc384
-Signed-off-by: Romain Naour <romain.naour@gmail.com>
----
- arch/riscv/Makefile | 11 ++++++++++-
- 1 file changed, 10 insertions(+), 1 deletion(-)
-
-diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
-index 0b80eb8d864..53d1194ffb6 100644
---- a/arch/riscv/Makefile
-+++ b/arch/riscv/Makefile
-@@ -24,7 +24,16 @@ ifeq ($(CONFIG_CMODEL_MEDANY),y)
- 	CMODEL = medany
- endif
- 
--ARCH_FLAGS = -march=$(ARCH_BASE)$(ARCH_A)$(ARCH_C) -mabi=$(ABI) \
-+RISCV_MARCH = $(ARCH_BASE)$(ARCH_A)$(ARCH_C)
-+
-+# Newer binutils versions default to ISA spec version 20191213 which moves some
-+# instructions from the I extension to the Zicsr and Zifencei extensions.
-+toolchain-need-zicsr-zifencei := $(call cc-option-yn, -mabi=$(ABI) -march=$(RISCV_MARCH)_zicsr_zifencei)
-+ifeq ($(toolchain-need-zicsr-zifencei),y)
-+	RISCV_MARCH := $(RISCV_MARCH)_zicsr_zifencei
-+endif
-+
-+ARCH_FLAGS = -march=$(RISCV_MARCH) -mabi=$(ABI) \
- 	     -mcmodel=$(CMODEL)
- 
- PLATFORM_CPPFLAGS	+= $(ARCH_FLAGS)
--- 
-2.41.0
-
diff --git a/board/beaglev/post-build.sh b/board/beaglev/post-build.sh
deleted file mode 100755
index fe61fd33cc..0000000000
--- a/board/beaglev/post-build.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-BOARD_DIR=$(dirname $0)
-
-# Bring the extlinux.conf file in.
-install -D -m 0644 ${BOARD_DIR}/extlinux.conf \
-	${TARGET_DIR}/boot/extlinux/extlinux.conf
-
-# To be reflashed through Xmodem, the bootloader needs to be prepended
-# with a 4-byte header that contains the total size of the file.
-perl -e 'print pack("l", (stat @ARGV[0])[7])' ${BINARIES_DIR}/fw_payload.bin > ${BINARIES_DIR}/fw_payload.bin.out
-cat ${BINARIES_DIR}/fw_payload.bin >> ${BINARIES_DIR}/fw_payload.bin.out
diff --git a/board/beaglev/readme.txt b/board/beaglev/readme.txt
deleted file mode 100644
index 472d6b1cf1..0000000000
--- a/board/beaglev/readme.txt
+++ /dev/null
@@ -1,124 +0,0 @@
-BeagleV
-=======
-
-BeagleV is a low-cost RISC-V 64-bit based platform, powered by a
-Starfive JH7100 processor. The current defconfig in Buildroot has been
-tested with the JH7100 chip used on the beta version of the BeagleV
-board.
-
-How to build
-============
-
-$ make beaglev_defconfig
-$ make
-
-Build results
-=============
-
-After building, output/images contains:
-
-+ bootloader-JH7100-buildroot.bin.out
-+ ddrinit-2133-buildroot.bin.out
-+ Image
-+ fw_payload.bin
-+ fw_payload.bin.out
-+ fw_payload.elf
-+ rootfs.ext2
-+ rootfs.ext4
-+ sdcard.img
-+ u-boot.bin
-
-The four important files are:
-
- - bootloader-JH7100-buildroot.bin.out, the first stage bootloader
-
- - ddrinit-2133-buildroot.bin.out, the DDR initialization firmware
-
- - fw_payload.bin.out, which is the bootloader image, containing
-   both OpenSBI and U-Boot.
-
- - sdcard.img, the SD card image, which contains the root filesystem,
-   kernel image and Device Tree.
-
-Flashing the SD card image
-==========================
-
-$ sudo dd if=output/images/sdcard.img of=/dev/sdX
-
-Preparing the board
-===================
-
-Connect the Beagle-V fan to the 5V supply (pin 2 or 4 of the GPIO
-connector) and GND (pin 6 of the GPIO connector).
-
-Connect a TTL UART cable to pin 8 (TX), 10 (RX) and 14 (GND).
-
-Insert your SD card.
-
-Power-up the board using an USB-C cable.
-
-Flashing OpenSBI/U-Boot
-=======================
-
-The bootloader pre-flashed on the Beagle-V has a non-working
-fdt_addr_r environment variable value, so it won't work
-as-is. Reflashing the bootloader with the bootloader image produced by
-Buildroot is necessary.
-
-When the board starts up, a pre-loader shows a count down of 2
-seconds, interrupt by pressing any key. You should reach a menu like
-this:
-
---------8<----------
-
-bootloader version:210209-4547a8d
-ddr 0x00000000, 1M test
-ddr 0x00100000, 2M test
-DDR clk 2133M,Version: 210302-5aea32f
-0
-***************************************************
-*************** FLASH PROGRAMMING *****************
-***************************************************
-
-0:update uboot
-1:quit
-select the function:
-
---------8<----------
-
-Press 0 and Enter. You will now see "C" characters being
-displayed. Ask your serial port communication program to send
-fw_payload.bin.out using the Xmodem protocol.
-
-After reflashing is complete, restart the board, it will automatically
-start the system from the SD card, and reach the login prompt.
-
-Flashing low-level bootloaders
-==============================
-
-The BeagleV comes pre-flashed with functional low-level bootloaders
-(called "secondboot" and "ddrinit"). Re-flashing them is not necessary
-to use this Buildroot defconfig. However, for the sake of
-completeness, Buildroot builds and provides those low-level bootloader
-images.
-
-You can flash them as follows:
-
- - In the same "pre-loader" menu as the one used above, instead of
-   entering 0 or 1, enter the magic "root@s5t" string. This enters the
-   "expert" features.
-
- - Then, press 0 and send over X-modem the
-   bootloader-JH7100-buildroot.bin.out file.
-
- - Then, press 1 and send over X-modem the
-   ddrinit-2133-buildroot.bin.out.
-
-Note that the reflashing mechanism itself relies on those low-level
-bootloaders, so if you flash non-working versions, you'll have to go
-through a recovery process. This requires wiring up to a separate
-debug UART, which pins are located near the HDMI connector. See
-https://wiki.seeedstudio.com/BeagleV-Update-bootloader-ddr-init-boot-uboot-Recover-bootloader/
-section "Recover the bootloader" for more details. The instructions
-make use of a jh7100-recover tool, which Buildroot has built as part
-of this defconfig: it is available as output/host/bin/jh7100-recover.
diff --git a/configs/beaglev_defconfig b/configs/beaglev_defconfig
deleted file mode 100644
index 9984b8b74e..0000000000
--- a/configs/beaglev_defconfig
+++ /dev/null
@@ -1,43 +0,0 @@
-BR2_riscv=y
-BR2_riscv_custom=y
-BR2_RISCV_ISA_RVM=y
-BR2_RISCV_ISA_RVA=y
-BR2_RISCV_ISA_RVF=y
-BR2_RISCV_ISA_RVD=y
-BR2_RISCV_ISA_RVC=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y
-BR2_ROOTFS_POST_BUILD_SCRIPT="board/beaglev/post-build.sh"
-BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
-BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beaglev/genimage.cfg"
-BR2_LINUX_KERNEL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-# tag buildroot-20210609 of the 5.13 branch (esmil_starlight)
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,linux,83dba1f25dfc118cacec991c31a7a4cfa7405c89)/linux-83dba1f25dfc118cacec991c31a7a4cfa7405c89.tar.gz"
-BR2_LINUX_KERNEL_DEFCONFIG="starlight"
-BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="starfive/jh7100-beaglev-starlight"
-BR2_LINUX_KERNEL_INSTALL_TARGET=y
-BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
-BR2_TARGET_ROOTFS_EXT2=y
-BR2_TARGET_ROOTFS_EXT2_4=y
-# BR2_TARGET_ROOTFS_TAR is not set
-BR2_TARGET_BEAGLEV_DDRINIT=y
-BR2_TARGET_BEAGLEV_SECONDBOOT=y
-BR2_TARGET_OPENSBI=y
-BR2_TARGET_OPENSBI_CUSTOM_TARBALL=y
-# upstream opensbi master branch
-BR2_TARGET_OPENSBI_CUSTOM_TARBALL_LOCATION="$(call github,riscv,opensbi,79f9b4220ffa7f74356054be25d450d7958bf16c)/opensbi-79f9b4220ffa7f74356054be25d450d7958bf16c.tar.gz"
-BR2_TARGET_OPENSBI_PLAT="generic"
-# BR2_TARGET_OPENSBI_INSTALL_DYNAMIC_IMG is not set
-# BR2_TARGET_OPENSBI_INSTALL_JUMP_IMG is not set
-BR2_TARGET_OPENSBI_UBOOT_PAYLOAD=y
-BR2_TARGET_OPENSBI_FW_FDT_PATH=y
-BR2_TARGET_UBOOT=y
-BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
-BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
-# HEAD of the starfive-tech:Fedora_VIC_7100_2021.04 branch
-BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,u-boot,64ead5b83959da8eb87b6963843addf5942e6ed4)/uboot-64ead5b83959da8eb87b6963843addf5942e6ed4.tar.gz"
-BR2_TARGET_UBOOT_BOARD_DEFCONFIG="starfive_vic7100_beagle_v_smode"
-BR2_PACKAGE_HOST_GENIMAGE=y
-BR2_PACKAGE_HOST_JH71XX_TOOLS=y
-BR2_GLOBAL_PATCH_DIR="board/beaglev/patches"
-- 
2.45.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 4/5] boot/beaglev-secondboot: remove package
  2024-07-13 14:01 [Buildroot] [PATCH 1/5] configs/beagleboneai_defconfig: move board files to board/beagleboard/beagleboneai Romain Naour via buildroot
  2024-07-13 14:01 ` [Buildroot] [PATCH 2/5] configs/beaglebone{_qt5}_defconfig: move board files to board/beagleboard/beaglebone Romain Naour via buildroot
  2024-07-13 14:01 ` [Buildroot] [PATCH 3/5] configs/beaglev_defconfig: remove defconfig Romain Naour via buildroot
@ 2024-07-13 14:01 ` Romain Naour via buildroot
  2024-07-13 14:01 ` [Buildroot] [PATCH 5/5] boot/beaglev-ddrinit: " Romain Naour via buildroot
  2024-07-13 14:54 ` [Buildroot] [PATCH 1/5] configs/beagleboneai_defconfig: move board files to board/beagleboard/beagleboneai Thomas Petazzoni via buildroot
  4 siblings, 0 replies; 6+ messages in thread
From: Romain Naour via buildroot @ 2024-07-13 14:01 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour, Thomas Petazzoni

The beaglev-secondboot was meant for the BeagleV-Starlight
board (beaglev_defconfig) but the support was removed.

Remove beaglev-secondboot too.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 Config.in.legacy                              |  7 +++++
 DEVELOPERS                                    |  1 -
 boot/Config.in                                |  1 -
 boot/beaglev-secondboot/Config.in             |  9 ------
 .../beaglev-secondboot.hash                   |  3 --
 boot/beaglev-secondboot/beaglev-secondboot.mk | 28 -------------------
 6 files changed, 7 insertions(+), 42 deletions(-)
 delete mode 100644 boot/beaglev-secondboot/Config.in
 delete mode 100644 boot/beaglev-secondboot/beaglev-secondboot.hash
 delete mode 100644 boot/beaglev-secondboot/beaglev-secondboot.mk

diff --git a/Config.in.legacy b/Config.in.legacy
index 78dcabed63..28cfce3ce1 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,13 @@ endif
 
 comment "Legacy options removed in 2024.08"
 
+config BR2_TARGET_BEAGLEV_SECONDBOOT
+	bool "beaglev-secondboot has been removed"
+	select BR2_LEGACY
+	help
+	  The beaglev-secondboot package has been removed after
+	  the beaglev_defconfig removal.
+
 config BR2_PACKAGE_ONEVPL_INTEL_GPU
 	bool "onevpl-intel-gpu has been renamed"
 	select BR2_LEGACY
diff --git a/DEVELOPERS b/DEVELOPERS
index 181e5ef174..8a438db9cd 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -3069,7 +3069,6 @@ N:	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
 F:	arch/Config.in.arm
 F:	board/stmicroelectronics/stm32mp157c-dk2/
 F:	boot/beaglev-ddrinit/
-F:	boot/beaglev-secondboot/
 F:	boot/boot-wrapper-aarch64/
 F:	boot/grub2/
 F:	configs/stm32mp157c_dk2_defconfig
diff --git a/boot/Config.in b/boot/Config.in
index 25a50265d2..8f504fee34 100644
--- a/boot/Config.in
+++ b/boot/Config.in
@@ -5,7 +5,6 @@ source "boot/at91bootstrap3/Config.in"
 source "boot/arm-trusted-firmware/Config.in"
 source "boot/barebox/Config.in"
 source "boot/beaglev-ddrinit/Config.in"
-source "boot/beaglev-secondboot/Config.in"
 source "boot/binaries-marvell/Config.in"
 source "boot/boot-wrapper-aarch64/Config.in"
 source "boot/edk2/Config.in"
diff --git a/boot/beaglev-secondboot/Config.in b/boot/beaglev-secondboot/Config.in
deleted file mode 100644
index a9695fc138..0000000000
--- a/boot/beaglev-secondboot/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-config BR2_TARGET_BEAGLEV_SECONDBOOT
-	bool "beaglev-secondboot"
-	depends on BR2_riscv
-	depends on BR2_HOSTARCH = "x86_64" # host-riscv64-elf-toolchain
-	help
-	  This package builds the SecondBoot firmware used on the
-	  BeagleV platform.
-
-	  https://github.com/starfive-tech/beagle_secondBoot
diff --git a/boot/beaglev-secondboot/beaglev-secondboot.hash b/boot/beaglev-secondboot/beaglev-secondboot.hash
deleted file mode 100644
index d35d3a3856..0000000000
--- a/boot/beaglev-secondboot/beaglev-secondboot.hash
+++ /dev/null
@@ -1,3 +0,0 @@
-# Locally computed
-sha256  bf152500e9f7e467bb1dee95a2291f9ecfaaebe1d64b93f6d403cfaf50e540e0  beaglev-secondboot-e17302063c9a4b74475b18ff24dd149c27257354.tar.gz
-sha256  284d26192537710910ec1f112ec5f4c981601ae23702391986d6ce0b8ba90813  LICENSE
diff --git a/boot/beaglev-secondboot/beaglev-secondboot.mk b/boot/beaglev-secondboot/beaglev-secondboot.mk
deleted file mode 100644
index 7e5f5681f4..0000000000
--- a/boot/beaglev-secondboot/beaglev-secondboot.mk
+++ /dev/null
@@ -1,28 +0,0 @@
-################################################################################
-#
-# beaglev-secondboot
-#
-################################################################################
-
-# Commit on the 'starfive' branch
-BEAGLEV_SECONDBOOT_VERSION = e17302063c9a4b74475b18ff24dd149c27257354
-BEAGLEV_SECONDBOOT_SITE = $(call github,starfive-tech,beagle_secondBoot,$(BEAGLEV_SECONDBOOT_VERSION))
-BEAGLEV_SECONDBOOT_INSTALL_TARGET = NO
-BEAGLEV_SECONDBOOT_INSTALL_IMAGES = YES
-BEAGLEV_SECONDBOOT_DEPENDENCIES = host-riscv64-elf-toolchain
-BEAGLEV_SECONDBOOT_LICENSE = GPL-2.0+
-BEAGLEV_SECONDBOOT_LICENSE_FILES = LICENSE
-
-define BEAGLEV_SECONDBOOT_BUILD_CMDS
-	$(MAKE) -C $(@D)/build \
-		CROSS_COMPILE=$(HOST_DIR)/bin/riscv64-unknown-elf- \
-		SUFFIX=buildroot \
-		GIT_VERSION=$(BEAGLEV_SECONDBOOT_VERSION)
-endef
-
-define BEAGLEV_SECONDBOOT_INSTALL_IMAGES_CMDS
-	$(INSTALL) -D -m 0644 $(@D)/build/bootloader-JH7100-buildroot.bin.out \
-		$(BINARIES_DIR)/bootloader-JH7100-buildroot.bin.out
-endef
-
-$(eval $(generic-package))
-- 
2.45.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 5/5] boot/beaglev-ddrinit: remove package
  2024-07-13 14:01 [Buildroot] [PATCH 1/5] configs/beagleboneai_defconfig: move board files to board/beagleboard/beagleboneai Romain Naour via buildroot
                   ` (2 preceding siblings ...)
  2024-07-13 14:01 ` [Buildroot] [PATCH 4/5] boot/beaglev-secondboot: remove package Romain Naour via buildroot
@ 2024-07-13 14:01 ` Romain Naour via buildroot
  2024-07-13 14:54 ` [Buildroot] [PATCH 1/5] configs/beagleboneai_defconfig: move board files to board/beagleboard/beagleboneai Thomas Petazzoni via buildroot
  4 siblings, 0 replies; 6+ messages in thread
From: Romain Naour via buildroot @ 2024-07-13 14:01 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour, Thomas Petazzoni

The beaglev-ddrinit was meant for the BeagleV-Starlight
board (beaglev_defconfig) but the support was removed.

Remove beaglev-ddrinit too.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 Config.in.legacy                          |  7 ++++++
 DEVELOPERS                                |  1 -
 boot/Config.in                            |  1 -
 boot/beaglev-ddrinit/Config.in            |  9 --------
 boot/beaglev-ddrinit/beaglev-ddrinit.hash |  3 ---
 boot/beaglev-ddrinit/beaglev-ddrinit.mk   | 28 -----------------------
 6 files changed, 7 insertions(+), 42 deletions(-)
 delete mode 100644 boot/beaglev-ddrinit/Config.in
 delete mode 100644 boot/beaglev-ddrinit/beaglev-ddrinit.hash
 delete mode 100644 boot/beaglev-ddrinit/beaglev-ddrinit.mk

diff --git a/Config.in.legacy b/Config.in.legacy
index 28cfce3ce1..36efcfb7af 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,13 @@ endif
 
 comment "Legacy options removed in 2024.08"
 
+config BR2_TARGET_BEAGLEV_DDRINIT
+	bool "beaglev-ddrinit has been removed"
+	select BR2_LEGACY
+	help
+	  The beaglev-secondboot package has been removed after
+	  the beaglev_defconfig removal.
+
 config BR2_TARGET_BEAGLEV_SECONDBOOT
 	bool "beaglev-secondboot has been removed"
 	select BR2_LEGACY
diff --git a/DEVELOPERS b/DEVELOPERS
index 8a438db9cd..6acda869dd 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -3068,7 +3068,6 @@ F:	package/go/
 N:	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
 F:	arch/Config.in.arm
 F:	board/stmicroelectronics/stm32mp157c-dk2/
-F:	boot/beaglev-ddrinit/
 F:	boot/boot-wrapper-aarch64/
 F:	boot/grub2/
 F:	configs/stm32mp157c_dk2_defconfig
diff --git a/boot/Config.in b/boot/Config.in
index 8f504fee34..5c8d0e7ee5 100644
--- a/boot/Config.in
+++ b/boot/Config.in
@@ -4,7 +4,6 @@ source "boot/afboot-stm32/Config.in"
 source "boot/at91bootstrap3/Config.in"
 source "boot/arm-trusted-firmware/Config.in"
 source "boot/barebox/Config.in"
-source "boot/beaglev-ddrinit/Config.in"
 source "boot/binaries-marvell/Config.in"
 source "boot/boot-wrapper-aarch64/Config.in"
 source "boot/edk2/Config.in"
diff --git a/boot/beaglev-ddrinit/Config.in b/boot/beaglev-ddrinit/Config.in
deleted file mode 100644
index 7ca92a7b9b..0000000000
--- a/boot/beaglev-ddrinit/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-config BR2_TARGET_BEAGLEV_DDRINIT
-	bool "beaglev-ddrinit"
-	depends on BR2_riscv
-	depends on BR2_HOSTARCH = "x86_64" # host-riscv64-elf-toolchain
-	help
-	  This package builds the DDRinit firmware used on the BeagleV
-	  platform.
-
-	  https://github.com/starfive-tech/beagle_ddrinit
diff --git a/boot/beaglev-ddrinit/beaglev-ddrinit.hash b/boot/beaglev-ddrinit/beaglev-ddrinit.hash
deleted file mode 100644
index d4235904d1..0000000000
--- a/boot/beaglev-ddrinit/beaglev-ddrinit.hash
+++ /dev/null
@@ -1,3 +0,0 @@
-# Locally computed
-sha256  08a49355f89fc2cb4f5101183339c9c6f86b722545d0abbc319aab26a511dad7  beaglev-ddrinit-8d6318acfe71e790c983b34448c9abfcfcec3ed8.tar.gz
-sha256  284d26192537710910ec1f112ec5f4c981601ae23702391986d6ce0b8ba90813  LICENSE
diff --git a/boot/beaglev-ddrinit/beaglev-ddrinit.mk b/boot/beaglev-ddrinit/beaglev-ddrinit.mk
deleted file mode 100644
index d9707de610..0000000000
--- a/boot/beaglev-ddrinit/beaglev-ddrinit.mk
+++ /dev/null
@@ -1,28 +0,0 @@
-################################################################################
-#
-# beaglev-ddrinit
-#
-################################################################################
-
-# Commit on the 'starfive' branch
-BEAGLEV_DDRINIT_VERSION = 8d6318acfe71e790c983b34448c9abfcfcec3ed8
-BEAGLEV_DDRINIT_SITE = $(call github,starfive-tech,beagle_ddrinit,$(BEAGLEV_DDRINIT_VERSION))
-BEAGLEV_DDRINIT_INSTALL_TARGET = NO
-BEAGLEV_DDRINIT_INSTALL_IMAGES = YES
-BEAGLEV_DDRINIT_DEPENDENCIES = host-riscv64-elf-toolchain
-BEAGLEV_DDRINIT_LICENSE = GPL-2.0+
-BEAGLEV_DDRINIT_LICENSE_FILES = LICENSE
-
-define BEAGLEV_DDRINIT_BUILD_CMDS
-	$(MAKE) -C $(@D)/build \
-		CROSS_COMPILE=$(HOST_DIR)/bin/riscv64-unknown-elf- \
-		SUFFIX=buildroot \
-		GIT_VERSION=$(BEAGLEV_DDRINIT_VERSION)
-endef
-
-define BEAGLEV_DDRINIT_INSTALL_IMAGES_CMDS
-	$(INSTALL) -D -m 0644 $(@D)/build/ddrinit-2133-buildroot.bin.out \
-		$(BINARIES_DIR)/ddrinit-2133-buildroot.bin.out
-endef
-
-$(eval $(generic-package))
-- 
2.45.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH 1/5] configs/beagleboneai_defconfig: move board files to board/beagleboard/beagleboneai
  2024-07-13 14:01 [Buildroot] [PATCH 1/5] configs/beagleboneai_defconfig: move board files to board/beagleboard/beagleboneai Romain Naour via buildroot
                   ` (3 preceding siblings ...)
  2024-07-13 14:01 ` [Buildroot] [PATCH 5/5] boot/beaglev-ddrinit: " Romain Naour via buildroot
@ 2024-07-13 14:54 ` Thomas Petazzoni via buildroot
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-13 14:54 UTC (permalink / raw)
  To: Romain Naour via buildroot; +Cc: Romain Naour

On Sat, 13 Jul 2024 16:01:29 +0200
Romain Naour via buildroot <buildroot@buildroot.org> wrote:

> The beagleboneai board files from beagleboard.org project should be
> moved to board/beagleboard directory.
> 
> Signed-off-by: Romain Naour <romain.naour@smile.fr>
> ---
>  .checkpackageignore                                         | 4 ++--
>  DEVELOPERS                                                  | 2 +-
>  board/{ => beagleboard}/beagleboneai/genimage.cfg           | 0
>  .../beagleboneai/patches/linux-headers/linux-headers.hash   | 0
>  .../{ => beagleboard}/beagleboneai/patches/linux/linux.hash | 0
>  .../beagleboneai/patches/uboot/0001-am57xx_evm-fixes.patch  | 0
>  .../{ => beagleboard}/beagleboneai/patches/uboot/uboot.hash | 0
>  board/beagleboard/beagleboneai/post-build.sh                | 4 ++++
>  board/{ => beagleboard}/beagleboneai/readme.txt             | 0
>  board/{ => beagleboard}/beagleboneai/uEnv.txt               | 0
>  board/beagleboneai/post-build.sh                            | 4 ----
>  configs/beagleboneai_defconfig                              | 6 +++---
>  12 files changed, 10 insertions(+), 10 deletions(-)
>  rename board/{ => beagleboard}/beagleboneai/genimage.cfg (100%)
>  rename board/{ => beagleboard}/beagleboneai/patches/linux-headers/linux-headers.hash (100%)
>  rename board/{ => beagleboard}/beagleboneai/patches/linux/linux.hash (100%)
>  rename board/{ => beagleboard}/beagleboneai/patches/uboot/0001-am57xx_evm-fixes.patch (100%)
>  rename board/{ => beagleboard}/beagleboneai/patches/uboot/uboot.hash (100%)
>  create mode 100755 board/beagleboard/beagleboneai/post-build.sh
>  rename board/{ => beagleboard}/beagleboneai/readme.txt (100%)
>  rename board/{ => beagleboard}/beagleboneai/uEnv.txt (100%)
>  delete mode 100755 board/beagleboneai/post-build.sh

Series applied to master, thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-07-13 14:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-13 14:01 [Buildroot] [PATCH 1/5] configs/beagleboneai_defconfig: move board files to board/beagleboard/beagleboneai Romain Naour via buildroot
2024-07-13 14:01 ` [Buildroot] [PATCH 2/5] configs/beaglebone{_qt5}_defconfig: move board files to board/beagleboard/beaglebone Romain Naour via buildroot
2024-07-13 14:01 ` [Buildroot] [PATCH 3/5] configs/beaglev_defconfig: remove defconfig Romain Naour via buildroot
2024-07-13 14:01 ` [Buildroot] [PATCH 4/5] boot/beaglev-secondboot: remove package Romain Naour via buildroot
2024-07-13 14:01 ` [Buildroot] [PATCH 5/5] boot/beaglev-ddrinit: " Romain Naour via buildroot
2024-07-13 14:54 ` [Buildroot] [PATCH 1/5] configs/beagleboneai_defconfig: move board files to board/beagleboard/beagleboneai Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox