Skip to contentSkip to conversation

configs/ls1046a-rdb: enable the fmc package

Buildroot Julien Olivain 1 participant 1 message Apr 12, 2025

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=a35529c0afe6f307c79ee0c069668653ab9c9c17
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Since LS1046A-RDB uses the Linux Factory-supplied lsdk.config, it disables the upstream DPAA1 kernel networking drivers and enables their SDK counterparts. These SDK kernel drivers are configured using the fmc tool to do basic things such as apply a default PCD, so it seems a reasonable idea to enable this package by default.

Since fmc uses C++, we need to add the standard library for that, which also seems to increase the rootfs size.

[Julien: regenerate with "make savedefconfig"]
---
 configs/ls1046a-rdb_defconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
configs/ls1046a-rdb_defconfig +3 -1
index bd20baeea9..92045487f9 100644
@@ -1,6 +1,7 @@
 BR2_aarch64=y
 BR2_cortex_a72=y
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
+BR2_TOOLCHAIN_BUILDROOT_CXX=y
 BR2_GLOBAL_PATCH_DIR="board/freescale/ls1046a-rdb/patches"
 BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 BR2_TARGET_GENERIC_HOSTNAME="ls1046ardb"
@@ -20,9 +21,10 @@ BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/fsl-ls1046a-rdb freescale/fsl-ls1046
 BR2_LINUX_KERNEL_INSTALL_TARGET=y
 BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 BR2_PACKAGE_QORIQ_FM_UCODE=y
+BR2_PACKAGE_FMC=y
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
-BR2_TARGET_ROOTFS_EXT2_SIZE="128M"
+BR2_TARGET_ROOTFS_EXT2_SIZE="200M"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y

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