Skip to contentSkip to conversation

configs: freescale_imx6ulevk_defconfig: Add alsa-utils

PATCH New Fabio Estevam 3 participants 3 messages May 5, 2016 – May 6, 2016 Arm i.MX and Layerscape

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 configs: freescale_imx6ulevk_defconfig: Add alsa-utils

From: Fabio Estevam <[email protected]>

Add support for alsa-utils.

Also select BR2_TOOLCHAIN_BUILDROOT_WCHAR as this is a requirement for alsamixer.

---
 configs/freescale_imx6ulevk_defconfig | 6 ++++++
 1 file changed, 6 insertions(+)
configs/freescale_imx6ulevk_defconfig +6 -0
index b8a1f86..8f36971 100644
@@ -6,6 +6,7 @@ BR2_cortex_a7=y
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14=y
 
 # system
+BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
 BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
 
 # kernel
@@ -31,5 +32,10 @@ BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_MTOOLS=y
 
 # filesystem / image
+BR2_PACKAGE_ALSA_UTILS=y
+BR2_PACKAGE_ALSA_UTILS_ALSACONF=y
+BR2_PACKAGE_ALSA_UTILS_APLAY=y
+BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST=y
+BR2_TARGET_ROOTFS_EXT2=y
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/imx6ulevk/post-image.sh"
 BR2_TARGET_ROOTFS_EXT2=y
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 configs: freescale_imx6ulevk_defconfig: Add alsa-utils

Hello Fabio,

Quoted 25 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Add support for alsa-utils.

Also select BR2_TOOLCHAIN_BUILDROOT_WCHAR as this is a requirement for alsamixer.

---
 configs/freescale_imx6ulevk_defconfig | 6 ++++++
 1 file changed, 6 insertions(+)
configs/freescale_imx6ulevk_defconfig +1 -0
index b8a1f86..8f36971 100644
@@ -6,6 +6,7 @@ BR2_cortex_a7=y
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14=y
 
 # system
+BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
 BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
 
 # kernel

configs/freescale_imx6ulevk_defconfig BR2_PACKAGE_HOST_GENIMAGE=y · line 39

Quoted 8 lines
configs/freescale_imx6ulevk_defconfig +5 -0
@@ -31,5 +32,10 @@ BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_MTOOLS=y
 
 # filesystem / image
+BR2_PACKAGE_ALSA_UTILS=y
+BR2_PACKAGE_ALSA_UTILS_ALSACONF=y
+BR2_PACKAGE_ALSA_UTILS_APLAY=y
+BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST=y
+BR2_TARGET_ROOTFS_EXT2=y

I think this one can be removed because it's already defined 2 lines below:

configs/freescale_imx6ulevk_defconfig BR2_PACKAGE_HOST_GENIMAGE=y · line 41

Quoted 2 lines
configs/freescale_imx6ulevk_defconfig +0 -0
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/imx6ulevk/post-image.sh"
 BR2_TARGET_ROOTFS_EXT2=y						<<<<<<<<<<<<<<

Thomas will confirm but, IIRC, Buildroot mainlined defconfigs only define the mininal options to boot the boards and then it's up to the user to choose the packages it needs.

Best regards,
Julien

#2 lore raw

PATCH 1/1 configs: freescale_imx6ulevk_defconfig: Add alsa-utils

In reply to Fabio Estevam

Hello,

Quoted 8 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Add support for alsa-utils.

Also select BR2_TOOLCHAIN_BUILDROOT_WCHAR as this is a requirement for alsamixer.

Thanks Fabio! However, as Julien explained, the principle of Buildroot defconfigs is that they should be "minimal" configuration, i.e configurations that just build a basic toolchain + bootloader + kernel
+ minimal rootfs with just Busybox.

In addition to those minimal configurations, we have started accepting "demo" configurations, such as firefly_rk3288_demo_defconfig. But they should be a bit more "useful" than just having alsa-utils. For example, firefly_rk3288_demo_defconfig adds Qt5 with OpenGL support, as well as Qt5 examples.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com