Skip to contentSkip to conversation

configs/andes_ae350_45: remove defconfig, broken

PATCH In review Thomas Petazzoni via buildroot 1 participant 5 messages Aug 18, 2025 – Aug 19, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/andes_ae350_45: remove defconfig, broken

This configuration doesn't build anymore as its kernel version has been removed from https://github.com/andestech/linux/.

This has been failing for over 2 months without anyone bothering to fix it, so let's drop this defconfig.

Fixes:

https://gitlab.com/buildroot.org/buildroot/-/jobs/11012272348

---
 .checkpackageignore                           |   4 -
 DEVELOPERS                                    |   2 -
 board/andes/ae350/genimage_sdcard.cfg         |  26 -----
 ...-Support-DTS-of-ftsdc010-driver-for-.patch |  38 -------
 ...-tree-blob-address-at-8-byte-boundar.patch |  42 -------
 board/andes/ae350/post-build.sh               |   3 -
 board/andes/ae350/readme.txt                  | 106 ------------------
 .../boot/extlinux/extlinux.conf               |   4 -
 board/andes/ae350/uboot.config.fragment       |   6 -
 configs/andes_ae350_45_defconfig              |  40 -------
 10 files changed, 271 deletions(-)
 delete mode 100644 board/andes/ae350/genimage_sdcard.cfg
 delete mode 100644 board/andes/ae350/patches/uboot/0001-mmc-ftsdc010_mci-Support-DTS-of-ftsdc010-driver-for-.patch
 delete mode 100644 board/andes/ae350/patches/uboot/0002-spl-Align-device-tree-blob-address-at-8-byte-boundar.patch
 delete mode 100755 board/andes/ae350/post-build.sh
 delete mode 100644 board/andes/ae350/readme.txt
 delete mode 100644 board/andes/ae350/rootfs_overlay/boot/extlinux/extlinux.conf
 delete mode 100644 board/andes/ae350/uboot.config.fragment
 delete mode 100644 configs/andes_ae350_45_defconfig
.checkpackageignore +0 -4
index 554c05ef70..8b21f78357 100644
@@ -1,7 +1,4 @@
 board/amarula/vyasa/post-build.sh Shellcheck
-board/andes/ae350/patches/uboot/0001-mmc-ftsdc010_mci-Support-DTS-of-ftsdc010-driver-for-.patch lib_patch.Upstream
-board/andes/ae350/patches/uboot/0002-spl-Align-device-tree-blob-address-at-8-byte-boundar.patch lib_patch.Upstream
-board/andes/ae350/post-build.sh Shellcheck
 board/arcturus/aarch64-ucls1012a/post-build.sh Shellcheck
 board/arcturus/aarch64-ucls1012a/post-image.sh Shellcheck
 board/aspeed/common/post-image.sh Shellcheck
@@ -101,7 +98,6 @@ boot/syslinux/0014-Fix-build-with-binutils-note-gnu-property-section.patch lib_p
 boot/syslinux/0016-Workaround-multiple-definition-of-symbol-errors.patch lib_patch.Upstream
 boot/syslinux/0017-Replace-builtin-strlen-that-appears-to-get-optimized.patch lib_patch.Upstream
 configs/am574x_idk_defconfig lib_defconfig.ForceCheckHash
-configs/andes_ae350_45_defconfig lib_defconfig.ForceCheckHash
 configs/arcturus_ucls1012a_defconfig lib_defconfig.ForceCheckHash
 configs/arcturus_ucp1020_defconfig lib_defconfig.ForceCheckHash
 configs/aspeed_ast2500evb_defconfig lib_defconfig.ForceCheckHash
DEVELOPERS +0 -2
index a28f3e8d57..f50a92fc56 100644
@@ -2601,8 +2601,6 @@ F:	package/systemd/
 F:	package/tcf-agent/
 
 N:	Leo Yu-Chi Liang <[email protected]>
-F:	board/andes
-F:	configs/andes_ae350_45_defconfig
 F:	package/andes-spi-burn/
 F:	package/kmon/
 
board/andes/ae350/genimage_sdcard.cfg deleted +0 -26
deleted file mode 100644
index 58c6f8f156..0000000000
@@ -1,26 +0,0 @@
-image boot.vfat {
-	vfat {
-		files = {
-			"u-boot-spl.bin",
-			"u-boot.itb",
-			"ae350_ax45mp.dtb",
-		}
-	}
-	size = 2M
-}
-
-image sdcard.img {
-	hdimage {
-	}
-
-	partition boot {
-		partition-type = 0xC
-		image = "boot.vfat"
-	}
-
-	partition rootfs {
-		partition-type = 0x83
-		bootable = true
-		image = "rootfs.ext4"
-	}
-}
board/andes/ae350/patches/uboot/0001-mmc-ftsdc010_mci-Support-DTS-of-ftsdc010-driver-for-.patch deleted +0 -38
deleted file mode 100644
index be89a1563f..0000000000
@@ -1,38 +0,0 @@
-From 16aad5594e08550295ea3c12c1c9ed6f64774748 Mon Sep 17 00:00:00 2001
-From: Rick Chen <[email protected]>
-Date: Tue, 29 Mar 2022 13:41:10 +0800
-Subject: [PATCH] mmc: ftsdc010_mci: Support DTS of ftsdc010 driver for
- generic dma
-
-The ftsdc010 driver has been implemented for generic dma in Linux
-kernel. And its compatible is andestech,atfsdc010g to distinguish
-the legacy andestech,atfsdc010 which is not for generic dma.
-
-Althought the ftsdc010_mci driver in U-Boot does not use dma, but
-it still can work well with the mmc node for generic dma. So add
-the compatible string to support it.
-
-Signed-off-by: Rick Chen <[email protected]>
-
-Upstream-Status: Pending
-
-Signed-off-by: Yu Chien Peter Lin <[email protected]>
----
- drivers/mmc/ftsdc010_mci.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/drivers/mmc/ftsdc010_mci.c b/drivers/mmc/ftsdc010_mci.c
-index 570d54cf9d..65b1d447a8 100644
---- a/drivers/mmc/ftsdc010_mci.c
-+++ b/drivers/mmc/ftsdc010_mci.c
-@@ -460,6 +460,7 @@ int ftsdc010_mmc_bind(struct udevice *dev)
- 
- static const struct udevice_id ftsdc010_mmc_ids[] = {
- 	{ .compatible = "andestech,atfsdc010" },
-+	{ .compatible = "andestech,atfsdc010g" },
- 	{ }
- };
- 
--- 
-2.34.1
-
board/andes/ae350/patches/uboot/0002-spl-Align-device-tree-blob-address-at-8-byte-boundar.patch deleted +0 -42

42 lines not on this page · raw message

board/andes/ae350/post-build.sh deleted +0 -3
deleted file mode 100755
index 84187a064b..0000000000
@@ -1,3 +0,0 @@
-#!/bin/sh
-cp $BINARIES_DIR/Image $TARGET_DIR/boot
-cp $BINARIES_DIR/ae350_ax45mp.dtb $TARGET_DIR/boot
board/andes/ae350/readme.txt deleted +0 -106

106 lines not on this page · raw message

board/andes/ae350/rootfs_overlay/boot/extlinux/extlinux.conf deleted +0 -4
deleted file mode 100644
index be19e196a8..0000000000
@@ -1,4 +0,0 @@
-label linux
-   kernel /boot/Image
-   fdt /boot/ae350_ax45mp.dtb
-   append earlycon=sbi root=/dev/mmcblk0p2 rootwait
board/andes/ae350/uboot.config.fragment deleted +0 -6
deleted file mode 100644
index 4497ed4c74..0000000000
@@ -1,6 +0,0 @@
-CONFIG_SPL_FS_FAT=y
-CONFIG_SPL_MMC=y
-CONFIG_SPL_OPENSBI_LOAD_ADDR=0x0
-CONFIG_SPL_OPENSBI_SCRATCH_OPTIONS=0x0
-CONFIG_DISPLAY_CPUINFO=y
-CONFIG_DISPLAY_BOARDINFO=y
configs/andes_ae350_45_defconfig deleted +0 -40
deleted file mode 100644
index 7b5a6f73c6..0000000000
@@ -1,40 +0,0 @@
-BR2_riscv=y
-BR2_RISCV_ISA_RVC=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_0=y
-BR2_GLOBAL_PATCH_DIR="board/andes/ae350/patches"
-BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
-BR2_ROOTFS_OVERLAY="board/andes/ae350/rootfs_overlay"
-BR2_ROOTFS_POST_BUILD_SCRIPT="board/andes/ae350/post-build.sh"
-BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
-BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/andes/ae350/genimage_sdcard.cfg"
-BR2_LINUX_KERNEL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,andestech,linux,v6.0.y_ae350-ax45mp)/linux-v6.0.y_ae350-ax45mp.tar.gz"
-BR2_LINUX_KERNEL_DEFCONFIG="ae350_ax45mp"
-BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="andes/ae350_ax45mp"
-BR2_TARGET_ROOTFS_EXT2=y
-BR2_TARGET_ROOTFS_EXT2_4=y
-# BR2_TARGET_ROOTFS_TAR is not set
-BR2_TARGET_OPENSBI=y
-BR2_TARGET_OPENSBI_CUSTOM_TARBALL=y
-BR2_TARGET_OPENSBI_CUSTOM_TARBALL_LOCATION="$(call github,riscv,opensbi,22f38ee6c658a660083aa45c4ec6c72f66a17260)/opensbi-22f38ee6c658a660083aa45c4ec6c72f66a17260.tar.gz"
-BR2_TARGET_OPENSBI_PLAT="andes/ae350"
-# BR2_TARGET_OPENSBI_INSTALL_JUMP_IMG is not set
-BR2_TARGET_UBOOT=y
-BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
-BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
-BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,u-boot,u-boot,a5dfa3b8a0f7ad555495bad1386613d2de4ba619)/u-boot-a5dfa3b8a0f7ad555495bad1386613d2de4ba619.tar.gz"
-BR2_TARGET_UBOOT_BOARD_DEFCONFIG="ae350_rv64_spl_xip"
-BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/andes/ae350/uboot.config.fragment"
-BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
-BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
-BR2_TARGET_UBOOT_NEEDS_OPENSBI=y
-# BR2_TARGET_UBOOT_FORMAT_BIN is not set
-BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
-BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb"
-BR2_TARGET_UBOOT_SPL=y
-BR2_PACKAGE_HOST_ANDES_SPI_BURN=y
-BR2_PACKAGE_HOST_DOSFSTOOLS=y
-BR2_PACKAGE_HOST_GENIMAGE=y
-BR2_PACKAGE_HOST_MTOOLS=y
Signature · 6 lines
2.50.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 26 lines · Thomas Petazzoni

[EXTERNAL MAIL]

This configuration doesn't build anymore as its kernel version has been removed from https://github.com/andestech/linux/.

This has been failing for over 2 months without anyone bothering to fix it, so let's drop this defconfig.

Fixes:

https://gitlab.com/buildroot.org/buildroot/-/jobs/11012272348

---
 .checkpackageignore                           |   4 -
 DEVELOPERS                                    |   2 -
 board/andes/ae350/genimage_sdcard.cfg         |  26 -----
 ...-Support-DTS-of-ftsdc010-driver-for-.patch |  38 -------
 ...-tree-blob-address-at-8-byte-boundar.patch |  42 -------
 board/andes/ae350/post-build.sh               |   3 -
 board/andes/ae350/readme.txt                  | 106 ------------------
 .../boot/extlinux/extlinux.conf               |   4 -
 board/andes/ae350/uboot.config.fragment       |   6 -
 configs/andes_ae350_45_defconfig              |  40 -------
 10 files changed, 271 deletions(-)
Quoted 8 lines
 delete mode 100644 board/andes/ae350/genimage_sdcard.cfg
 delete mode 100644 board/andes/ae350/patches/uboot/0001-mmc-ftsdc010_mci-Support-DTS-of-ftsdc010-driver-for-.patch
 delete mode 100644 board/andes/ae350/patches/uboot/0002-spl-Align-device-tree-blob-address-at-8-byte-boundar.patch
 delete mode 100755 board/andes/ae350/post-build.sh
 delete mode 100644 board/andes/ae350/readme.txt
 delete mode 100644 board/andes/ae350/rootfs_overlay/boot/extlinux/extlinux.conf
 delete mode 100644 board/andes/ae350/uboot.config.fragment
 delete mode 100644 configs/andes_ae350_45_defconfig

Hi Thomas,

My apologies for not catching the CI failure earlier; my email filter was misconfigured.

I've fixed the Linux tarball link and confirmed that the defconfig builds.

Would it be possible to drop this patch?

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

#2 lore raw

Hello Leo,

Quoted 2 lines · On Tue, 19 Aug 2025 17:39:09 +0800 Leo Liang <[email protected]> wrote:

My apologies for not catching the CI failure earlier; my email filter was misconfigured.

OK.

Quoted 1 line

I've fixed the Linux tarball link and confirmed that the defconfig builds.

When you say you "fixed the Linux tarball", you mean you re-added the missing branch to your Github repo?

Note that the defconfig is apparently using a branch, which is not correct. It should either use a tag or a commit hash. Indeed, branches can change over time, while our defconfigs should be reproducible.

Quoted 1 line

Would it be possible to drop this patch?

I'll drop the patch, but aside from the branch vs. tag issue above, there are other issues to fix in your defconfig:

Patches lack an "Upstream" tag:

board/andes/ae350/patches/uboot/0001-mmc-ftsdc010_mci-Support-DTS-of-ftsdc010-driver-for-.patch lib_patch.Upstream board/andes/ae350/patches/uboot/0002-spl-Align-device-tree-blob-address-at-8-byte-boundar.patch lib_patch.Upstream

The post-build shell script doesn't pass Shellcheck:

board/andes/ae350/post-build.sh Shellcheck

Hashes are missing for the defconfig:

configs/andes_ae350_45_defconfig lib_defconfig.ForceCheckHash

Could you please address all those issues to keep the defconfig in a properly maintained state?

Thanks a lot!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

Hi Thomas,

Quoted 10 lines · Thomas Petazzoni

[EXTERNAL MAIL]

Hello Leo,

Quoted 2 lines · On Tue, 19 Aug 2025 17:39:09 +0800 Leo Liang <[email protected]> wrote:

My apologies for not catching the CI failure earlier; my email filter was misconfigured.

Quoted 6 lines

OK.

Quoted 1 line

I've fixed the Linux tarball link and confirmed that the defconfig builds.

When you say you "fixed the Linux tarball", you mean you re-added the missing branch to your Github repo?

Yes, I have re-added the missing branch.

Quoted 4 lines

Note that the defconfig is apparently using a branch, which is not correct. It should either use a tag or a commit hash. Indeed, branches can change over time, while our defconfigs should be reproducible.

Got it!

Quoted 13 lines
Quoted 2 lines

Would it be possible to drop this patch?

I'll drop the patch, but aside from the branch vs. tag issue above, there are other issues to fix in your defconfig:

Patches lack an "Upstream" tag:

board/andes/ae350/patches/uboot/0001-mmc-ftsdc010_mci-Support-DTS-of-ftsdc010-driver-for-.patch lib_patch.Upstream board/andes/ae350/patches/uboot/0002-spl-Align-device-tree-blob-address-at-8-byte-boundar.patch lib_patch.Upstream

The post-build shell script doesn't pass Shellcheck:

Quoted 8 lines

board/andes/ae350/post-build.sh Shellcheck

Hashes are missing for the defconfig:

configs/andes_ae350_45_defconfig lib_defconfig.ForceCheckHash

Could you please address all those issues to keep the defconfig in a properly maintained state?

Roger that!
I will prepare a patchset ASAP to address these issues. Thank you for all the reminders!

Quoted 7 lines

Thanks a lot!

Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training
https://bootlin.com

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

#4 lore raw

Hello Leo,

Quoted 3 lines · On Tue, 19 Aug 2025 18:17:03 +0800 Leo Liang <[email protected]> wrote:

Roger that!
I will prepare a patchset ASAP to address these issues. Thank you for all the reminders!

Thanks, looking forward to seeing your patches!

Best regards,

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot