From patchwork Fri Sep 11 10:00:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 516663 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 062ED140784 for ; Fri, 11 Sep 2015 20:00:22 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 47927A326D; Fri, 11 Sep 2015 10:00:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id okbfZ8icEwUk; Fri, 11 Sep 2015 10:00:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A1C4CA3147; Fri, 11 Sep 2015 10:00:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id B71EC1CECF1 for ; Fri, 11 Sep 2015 10:00:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B1C4591932 for ; Fri, 11 Sep 2015 10:00:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zaz-6Jjqjr2I for ; Fri, 11 Sep 2015 10:00:18 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by whitealder.osuosl.org (Postfix) with ESMTPS id 281A491A23 for ; Fri, 11 Sep 2015 10:00:18 +0000 (UTC) Received: by wicfx3 with SMTP id fx3so57880550wic.1 for ; Fri, 11 Sep 2015 03:00:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=8RuqiMsFebag3S40cxF5vy34EBrP8NXIVCyOFxOoomE=; b=VYxCcOO4JQPIHlTyI+11xI47wrTzCKbG0xkrxB3A9TlsYdkK00wnwU2XpiCnABPUh/ jFDZOxADCZlzXyKkao9SeDkGUP67ksb8ZM7wdCtZmgyt6fPFxudhm6Xd0i/3kSpAPVP/ rsjoMooyJGVEys7Q6jIsEdUTnkSW3kUBc+SJOLHkIv158yztFGggmyPCz6JoxVuVPj7Z qUtqX3nlvrgyy3T6BZgFQPobNWTY1oTk+DO1t0YiIJzspsjZo8iS7YBRnd+c4OKnrunu j/PXcb+EwmSBYsW1R6B0r9G/Uwi5kCTSKBt4RuxVTQ6sYFkQZRPrJYuqTogb6L4o81CT FmtA== X-Gm-Message-State: ALoCoQmXRf1x6beWWdTFsSeHrkENv8t1pqWwwCyLfHB7b90iTam3trQBuCNCuZTzqGsGyGMmutBq X-Received: by 10.180.37.232 with SMTP id b8mr3010773wik.46.1441965616694; Fri, 11 Sep 2015 03:00:16 -0700 (PDT) Received: from t450s.lan (89-92-157-132.hfc.dyn.abo.bbox.fr. [89.92.157.132]) by smtp.googlemail.com with ESMTPSA id ht5sm1470186wib.10.2015.09.11.03.00.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 Sep 2015 03:00:16 -0700 (PDT) From: Gary Bisson To: buildroot@busybox.net Date: Fri, 11 Sep 2015 12:00:09 +0200 Message-Id: <1441965609-4092-1-git-send-email-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.5.1 Cc: thomas.petazzoni@free-electrons.com Subject: [Buildroot] [PATCH] configs: add nitrogen6sx_defconfig for Boundary Devices SoloX board X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This board is using the exact same kernel and u-boot revision as the Nitrogen6x. They also share the same u-boot "autoboot" script. The differences between the two configurations are: - getty port is ttymxc0 instead of ttymxc1 - uImage load address is 0x80008000 - different device tree http://boundarydevices.com/product/nit6_solox-imx6/ Signed-off-by: Gary Bisson --- Hi all, I didn't include this patch as part of the Freescale packages update as it is an addition. However this patch depends on the updates to be applied for graphics support and so on. http://lists.busybox.net/pipermail/buildroot/2015-September/139278.html I wish we could do an include of another defconfig, that'd simplify future config updates as it could look like: include nitrogen6x_defconfig BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x80008000" BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sx-nitrogen6sx" That would also be very useful for all the Freescale sabre boards where every config is almost the same apart from uboot configuration or device tree name. Regards, Gary --- configs/nitrogen6sx_defconfig | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 configs/nitrogen6sx_defconfig diff --git a/configs/nitrogen6sx_defconfig b/configs/nitrogen6sx_defconfig new file mode 100644 index 0000000..70006d5 --- /dev/null +++ b/configs/nitrogen6sx_defconfig @@ -0,0 +1,37 @@ +# architecture +BR2_arm=y +BR2_cortex_a9=y + +# system +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/boundarydevices/nitrogen6x/post-build.sh" +BR2_PACKAGE_HOST_UBOOT_TOOLS=y + +# filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_2r1=y + +# Lock headers to match kernel +BR2_KERNEL_HEADERS_VERSION=y +BR2_DEFAULT_KERNEL_VERSION="3.14.28" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14=y + +# bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="nitrogen6sx" +BR2_TARGET_UBOOT_FORMAT_IMX=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +# Last version of branch boundary-v2015.07 +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="http://github.com/boundarydevices/u-boot-imx6/tarball/5115a9e/u-boot-5115a9e.tar.gz" + +# kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +# Last version of branch boundary-imx_3.14.28_1.0.0_ga +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux-imx6/tarball/3417c66/linux-imx6-3417c66.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="nitrogen6x" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x80008000" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sx-nitrogen6sx"