All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Grégory Hermant" <gregory.hermant@calao-systems.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/6] Add config file for the snowball board
Date: Thu, 08 Nov 2012 09:28:26 +0100	[thread overview]
Message-ID: <509B6D2A.90408@calao-systems.com> (raw)
In-Reply-To: <50905017.8080301@mind.be>

Le 30/10/2012 23:09, Arnout Vandecappelle a ?crit :
> On 10/29/12 09:41, Gregory Hermant wrote:
>>
>> Signed-off-by: Gregory Hermant<gregory.hermant@calao-systems.com>
>> ---
>>   configs/calao_snowball_defconfig |   52 ++++++++++++++++++++++++++++++++++++++
>>   1 file changed, 52 insertions(+)
>>   create mode 100644 configs/calao_snowball_defconfig
>>
>> diff --git a/configs/calao_snowball_defconfig b/configs/calao_snowball_defconfig
>> new file mode 100644
>> index 0000000..68f0a51
>> --- /dev/null
>> +++ b/configs/calao_snowball_defconfig
>> @@ -0,0 +1,52 @@
>> +BR2_arm=y
>> +BR2_cortex_a9=y
>> +BR2_TOOLCHAIN_EXTERNAL=y
> 
>  We don't use external toolchains for the defconfigs, unless the internal
> one doesn't work for some reason (e.g. microblaze).
> 
Until now the ubuntu images available on the igloo community website were
built from the linaro toolchain that's why i used the external linaro toolchain.
I will change the config for the buildroot one.

>> +BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA2"
>> +BR2_PACKAGE_BUSYBOX_CONFIG="board/calao/snowball/busybox-1.20.x.config"
> 
>  This file should be created in the same patch, otherwise this defconfig
> isn't working.
> 
>  Also, is it really necessary to have a custom busybox config?
>
I need to enable the mdev loading firmware support.
I will change the snowball defconfig file in order to use mdev.

>> +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
>> +BR2_PACKAGE_BZIP2=y
>> +BR2_PACKAGE_FBSET=y
>> +BR2_PACKAGE_FBTERM=y
>> +BR2_PACKAGE_FBV=y
>> +BR2_PACKAGE_QT=y
>> +BR2_PACKAGE_QT_DEMOS=y
>> +BR2_PACKAGE_QT_LICENSE_APPROVED=y
>> +BR2_PACKAGE_QT_MOUSE_PC=y
>> +BR2_PACKAGE_QT_MOUSE_LINUXTP=y
>> +BR2_PACKAGE_QT_MOUSE_LINUXINPUT=y
>> +BR2_PACKAGE_QT_MOUSE_TSLIB=y
>> +BR2_PACKAGE_MINICOM=y
>> +BR2_PACKAGE_LUA=y
>> +BR2_PACKAGE_OPENSSL=y
>> +BR2_PACKAGE_SQLITE=y
>> +BR2_PACKAGE_LIBELF=y
>> +BR2_PACKAGE_PCRE=y
>> +BR2_PACKAGE_LIBXML2=y
> 
>  We don't select any packages in a defconfig, unless they're required
> for booting correctly.  We certainly don't want to build Qt!

I thought it could be interesting for the end user to have QT built-in in the default rootfs.
I will remove QT from the snowball config file.
> 
>> +BR2_PACKAGE_HDMISERVICE=y
>> +BR2_PACKAGE_SNOWBALL_FIRMWARE=y
>> +BR2_PACKAGE_SNOWBALL_INIT=y
> 
>  These packages don't exist yet; the patches adding them should come
> before this patch.
> 
>  Note that for these, it could be relevant to include them in the
> defconfig - they're not strictly required for booting, but I guess
> you want them in practice.
> 
>> +BR2_PACKAGE_BLUEZ_UTILS=y
>> +BR2_PACKAGE_IW=y
>> +BR2_PACKAGE_WGET=y
>> +BR2_PACKAGE_WIRELESS_TOOLS=y
>> +BR2_PACKAGE_WIRELESS_TOOLS_LIB=y
>> +BR2_PACKAGE_WPA_SUPPLICANT=y
>> +BR2_PACKAGE_WPA_SUPPLICANT_EAP=y
>> +BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
>> +BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
>> +BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
>> +BR2_PACKAGE_WPA_SUPPLICANT_WPS=y
>> +BR2_TARGET_ROOTFS_TAR_GZIP=y
>> +BR2_TARGET_UBOOT=y
>> +BR2_TARGET_UBOOT_BOARDNAME="u8500_snowball"
>> +BR2_TARGET_UBOOT_CUSTOM_GIT=y
>> +BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL="git://igloocommunity.org/git/boot/u-boot-ux500.git"
>> +BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION="master"
>> +BR2_LINUX_KERNEL=y
>> +BR2_LINUX_KERNEL_CUSTOM_GIT=y
>> +BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="git://igloocommunity.org/git/kernel/igloo-kernel.git"
>> +BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="stable-linux-ux500-3.4"
>> +BR2_LINUX_KERNEL_PATCH="board/calao/snowball/linux-3.4.patch"
> 
>  This patch is more than a month old - how come it's not yet accepted
> upstream?

I don't know exactly what is the status of the snowball support in the mainline kernel.
As i prefer to use the latest stable release available from igloo, i need to add this patch.

> 
>> +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
>> +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/calao/snowball/linux-3.4.config"
> 
>  Any reason why the u8500_defconfig isn't appropriate?
> 
You are right i can use the default defconfig.
I had modified the config file for QT (input devices enabled) but anyway the one attached in the patch serie
didn't match my test config.

>> +BR2_LINUX_KERNEL_INSTALL_TARGET=y
> 
>  Why?
> 
To load the kernel from the rootfs partition hence the boot partition
could be removed.

> 
>  Regards,
>  Arnout

Thanks for your feedback.

BR,
gregory

  reply	other threads:[~2012-11-08  8:28 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-29  8:41 [Buildroot] [PATCH 0/6] Add support for the snowball board Gregory Hermant
2012-10-29  8:41 ` [Buildroot] [PATCH 1/6] Add config file " Gregory Hermant
2012-10-30 22:09   ` Arnout Vandecappelle
2012-11-08  8:28     ` Grégory Hermant [this message]
2012-11-09  1:51       ` Arnout Vandecappelle
2012-10-29  8:41 ` [Buildroot] [PATCH 2/6] Add hdmiservice package " Gregory Hermant
2012-10-30 22:17   ` Arnout Vandecappelle
2012-10-30 22:19   ` Arnout Vandecappelle
2012-10-29  8:41 ` [Buildroot] [PATCH 3/6] Add firmware for the AW-NH580 connectivity module of the snowball Gregory Hermant
2012-10-30 22:34   ` Arnout Vandecappelle
2012-11-08  8:47     ` Grégory Hermant
2012-11-10  2:16       ` Arnout Vandecappelle
2012-11-13 11:08         ` Grégory Hermant
2012-10-30 22:35   ` Arnout Vandecappelle
2012-10-29  8:41 ` [Buildroot] [PATCH 4/6] Add board files for snowball Gregory Hermant
2012-10-29  8:41 ` [Buildroot] [PATCH 5/6] Add init script files for snowball board Gregory Hermant
2012-10-30 22:42   ` Arnout Vandecappelle
2012-10-29  8:41 ` [Buildroot] [PATCH 6/6] bluez-utils: add cg2900 support " Gregory Hermant
2012-10-29  9:43   ` Yegor Yefremov
2012-10-29 12:23     ` Grégory Hermant

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=509B6D2A.90408@calao-systems.com \
    --to=gregory.hermant@calao-systems.com \
    --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.