All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/4] board/minnowboard-max: Add more peripherals and features to the kernel
Date: Tue, 12 Apr 2016 20:55:51 -0300	[thread overview]
Message-ID: <CAAEAJfDu8vgHZ21s+5EvF99t0tJwf8ix603B1iF=0mcwS9pxMg@mail.gmail.com> (raw)
In-Reply-To: <570D84BC.40808@mind.be>

On 12 April 2016 at 20:29, Arnout Vandecappelle <arnout@mind.be> wrote:
> On 04/12/16 07:29, Ezequiel Garcia wrote:
>>
>> This commit enables support for:
>>    * HDMI audio
>>    * Support for user-provided EDID firmware
>>      (useful to workaround broken monitors)
>>    * Evdev interface
>>    * System V IPC (required by ALSA)
>>    * POSIX message queue
>>    * fhandle syscall
>>    * cgroups
>
>
>  Why cgroups?
>

Well, in fact... the commit log is not correct. My initial intention
was to add IPC (required by ALSA), HDMI audio and evdev.

As you can imagine, the goal was to play supertuxkart.

The rest of the configs got added by Buildroot, because
of the systemd presence:

$ cat linux/linux.mk
[..]
        $(if $(BR2_PACKAGE_SYSTEMD),
                $(call KCONFIG_ENABLE_OPT,CONFIG_CGROUPS,$(@D)/.config)
                $(call KCONFIG_ENABLE_OPT,CONFIG_INOTIFY_USER,$(@D)/.config)
                $(call KCONFIG_ENABLE_OPT,CONFIG_FHANDLE,$(@D)/.config)
                $(call KCONFIG_ENABLE_OPT,CONFIG_AUTOFS4_FS,$(@D)/.config)
                $(call KCONFIG_ENABLE_OPT,CONFIG_TMPFS_POSIX_ACL,$(@D)/.config)
                $(call
KCONFIG_ENABLE_OPT,CONFIG_TMPFS_POSIX_XATTR,$(@D)/.config))

Same goes for devtmpfs, but that's a different matter. I suppose I was
originally working with BR2_ROOTFS_DEVICE_CREATION_STATIC=y and
so carried the options (not needed with systemd of course).

They options got here because I manually added the new options
and updated the config from a defconfig using savedefconfig.

Anyway: I don't care at all about them, I just want audio and evdev :-)

Regarding using systemd, I'll reply to the other patch.

>>
>> The options are quite common and make the system more useful.
>>
>> Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
>> ---
>>   board/minnowboard-max/linux.config | 17 +++++++++++++++++
>>   1 file changed, 17 insertions(+)
>>
>> diff --git a/board/minnowboard-max/linux.config
>> b/board/minnowboard-max/linux.config
>> index abb7fdce9861..f80170b9b81d 100644
>> --- a/board/minnowboard-max/linux.config
>> +++ b/board/minnowboard-max/linux.config
>> @@ -1,4 +1,8 @@
>> +CONFIG_SYSVIPC=y
>> +CONFIG_POSIX_MQUEUE=y
>> +CONFIG_FHANDLE=y
>>   CONFIG_NO_HZ=y
>> +CONFIG_CGROUPS=y
>>   CONFIG_SMP=y
>>   CONFIG_X86_INTEL_LPSS=y
>>   CONFIG_MATOM=y
>> @@ -13,12 +17,15 @@ CONFIG_NET=y
>>   CONFIG_PACKET=y
>>   CONFIG_UNIX=y
>>   CONFIG_INET=y
>> +CONFIG_DEVTMPFS=y
>> +CONFIG_DEVTMPFS_MOUNT=y
>
>
>  This is added automatically by Buildroot. That said, it's better if it's
> already in the defconfig.
>
>
>>   CONFIG_CHR_DEV_SG=y
>>   CONFIG_ATA=y
>>   CONFIG_SATA_AHCI=y
>>   CONFIG_ATA_PIIX=y
>>   CONFIG_NETDEVICES=y
>>   CONFIG_R8169=y
>> +CONFIG_INPUT_EVDEV=y
>>   CONFIG_SERIAL_8250=y
>>   CONFIG_SERIAL_8250_CONSOLE=y
>>   CONFIG_SERIAL_8250_DW=y
>> @@ -33,7 +40,15 @@ CONFIG_GPIOLIB=y
>>   CONFIG_GPIO_SYSFS=y
>>   CONFIG_AGP=y
>>   CONFIG_DRM=y
>> +CONFIG_DRM_LOAD_EDID_FIRMWARE=y
>>   CONFIG_DRM_I915=y
>> +CONFIG_SOUND=y
>> +CONFIG_SND=y
>> +# CONFIG_SND_DRIVERS is not set
>> +CONFIG_SND_HDA_INTEL=y
>> +CONFIG_SND_HDA_CODEC_HDMI=y
>> +# CONFIG_SND_SPI is not set
>> +# CONFIG_SND_USB is not set
>>   CONFIG_USB=y
>>   CONFIG_USB_XHCI_HCD=y
>>   CONFIG_NOP_USB_XCEIV=y
>> @@ -44,3 +59,5 @@ CONFIG_MMC_SDHCI_ACPI=y
>>   CONFIG_PWM=y
>>   CONFIG_PWM_LPSS=y
>>   CONFIG_EXT4_FS=y
>> +CONFIG_AUTOFS4_FS=y
>
>
>  Why?
>
>> +CONFIG_TMPFS_POSIX_ACL=y
>
>
>  Why?
>
>  Regards,
>  Arnout
>>
>>
>
>
> --
> Arnout Vandecappelle                          arnout at mind be
> Senior Embedded Software Architect            +32-16-286500
> Essensium/Mind                                http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF



-- 
Ezequiel Garc?a, VanguardiaSur
www.vanguardiasur.com.ar

  reply	other threads:[~2016-04-12 23:55 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-12  5:29 [Buildroot] [PATCH 0/4] Fun with Minnowboard Turot Ezequiel Garcia
2016-04-12  5:29 ` [Buildroot] [PATCH 1/4] board/minnowboard-max: Rework to generate SD card image Ezequiel Garcia
2016-04-12 23:21   ` Arnout Vandecappelle
2016-04-13 19:59     ` Peter Korsgaard
2016-04-13 20:05       ` Ezequiel Garcia
2016-04-13 20:39   ` Peter Korsgaard
2016-04-12  5:29 ` [Buildroot] [PATCH 2/4] board/minnowboard: " Ezequiel Garcia
2016-04-12 23:24   ` Arnout Vandecappelle
2016-04-12 23:56     ` Ezequiel Garcia
2016-04-12  5:29 ` [Buildroot] [PATCH 3/4] board/minnowboard-max: Add more peripherals and features to the kernel Ezequiel Garcia
2016-04-12 23:29   ` Arnout Vandecappelle
2016-04-12 23:55     ` Ezequiel Garcia [this message]
2016-04-13 21:02       ` Peter Korsgaard
2016-04-13 22:02         ` Ezequiel Garcia
2016-04-12  5:29 ` [Buildroot] [PATCH 4/4] board/minnowboard-max: Add a X-based graphical defconfig Ezequiel Garcia
2016-04-12 23:41   ` Arnout Vandecappelle
2016-04-13  0:02     ` Ezequiel Garcia
2016-04-13  7:38       ` Arnout Vandecappelle
2016-04-13 21:02     ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAEAJfDu8vgHZ21s+5EvF99t0tJwf8ix603B1iF=0mcwS9pxMg@mail.gmail.com' \
    --to=ezequiel@vanguardiasur.com.ar \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.