From patchwork Fri Feb 8 11:31:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zoltan Gyarmati X-Patchwork-Id: 219115 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 0D0F52C008D for ; Fri, 8 Feb 2013 22:31:36 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 32EB58C952; Fri, 8 Feb 2013 11:31:33 +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 ZguUXBRvea6D; Fri, 8 Feb 2013 11:31:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 62DC18C86A; Fri, 8 Feb 2013 11:31:27 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id EE5308F753 for ; Fri, 8 Feb 2013 11:31:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id A4E9F3028B for ; Fri, 8 Feb 2013 11:31:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id usobHiLsszA3 for ; Fri, 8 Feb 2013 11:31:24 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-bk0-f46.google.com (mail-bk0-f46.google.com [209.85.214.46]) by silver.osuosl.org (Postfix) with ESMTPS id 707C025D7F for ; Fri, 8 Feb 2013 11:31:24 +0000 (UTC) Received: by mail-bk0-f46.google.com with SMTP id j5so1608254bkw.5 for ; Fri, 08 Feb 2013 03:31:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=rTxtPFKxpgKCxsa9CFUAQZgLYkYP2LOs3bP3D/PwdJk=; b=BxKs7g/Tpi/tsubFyNPZIJYKKYxUD9ZLlHsKxXeVa1B6txq5zlIWUQL1l9NbyK16yB bURiZ6C9SA1+UFOFRO2vZItj3LenxRDT1RulIaEoSV7P7mFebpkFn2raF7kzMudF4A2M PF2biY+2mVhCLVVu3He7bsXDRvC3Lcs91RwvYNE65CISngOUXt4L32MrbX6R54Xbt0P5 3LceDI0I2d7lkLC7c60sFRqEBgfvpv6b5b8oQ8O79X0wHjHsfsOCzrbSPUdVFMt2IL/9 aF25xO8iP4nM/dBtja3cyK197wp0OesbrR/NeRgmmoujiPbIu19X7vFQT2obD09SNqjZ WNzA== X-Received: by 10.204.147.81 with SMTP id k17mr1372797bkv.70.1360323082361; Fri, 08 Feb 2013 03:31:22 -0800 (PST) Received: from localhost.localdomain (g227196150.adsl.alicedsl.de. [92.227.196.150]) by mx.google.com with ESMTPS id fs20sm10010253bkc.8.2013.02.08.03.31.20 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 08 Feb 2013 03:31:21 -0800 (PST) From: Zoltan Gyarmati To: buildroot@uclibc.org Date: Fri, 8 Feb 2013 12:31:12 +0100 Message-Id: <1360323072-29592-1-git-send-email-mr.zoltan.gyarmati@gmail.com> X-Mailer: git-send-email 1.7.9.5 Subject: [Buildroot] [PATCH] Add Gnublin board support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net Signed-off-by: Zoltan Gyarmati --- board/gnublin/README | 52 +++++++++++++++++++++++++++++++++++++++++++++ configs/gnublin_defconfig | 16 ++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 board/gnublin/README create mode 100644 configs/gnublin_defconfig diff --git a/board/gnublin/README b/board/gnublin/README new file mode 100644 index 0000000..e58b366 --- /dev/null +++ b/board/gnublin/README @@ -0,0 +1,52 @@ +This the Buildroot support for the LPC3131 based Gnublin board (see here: +http://en.gnublin.org/) and for the Elektor Linux board +(http://www.elektor.com/news/elektor-presents-embedded-linux-made-easy.2147294. +lynkx) + +Unfortunately currently the AD and the pwm modules are not supported, i'm about +to add also those drivers as well to the current kernel later. + +Base kernel version: 3.7 (available here: +https://gitorious.org/linux-3-7-gnublin/linux-3-7-gnublin/commits/gnublin- +support) + +U-boot version: 2009.11 (available here: +https://gitorious.org/u-boot-gnublin-support/u-boot-gnublin-support) + + +Steps to create a bootable SD card (with the given config you need an at least +500 MB SD card): + +1.Config buildroot with the gnublin_defconfig: + +$ make gnublin_defconfig + +2.Tweak the config for your needs: + +$ make menuconfig + +3.Build: + +$ make + +4.Create two partitions on your SD card, one with type of BootIt (fdisk ID: df), +the size should be around 1M, and another partition with all of the left space +on the card, and with the type of normal DOS partition. + +5.From the output/images directory dump the u-boot image to the BootIt partition +(probably you have to modify the output /dev files according to your system): + +$ dd if=output/images/u-boot.bin of=/dev/sdc1 + +6.Dump the root fs image as well: + +$ dd if=output/images/rootfs.ext2 of=/dev/sdc2 + +7.Insert the SD card into the board's slot, and your board should boot up with +your newly created system. + +Any feedback/report is welcome on the mr.zoltan.gyarmati[at]gmail.com + + + + diff --git a/configs/gnublin_defconfig b/configs/gnublin_defconfig new file mode 100644 index 0000000..68deca9 --- /dev/null +++ b/configs/gnublin_defconfig @@ -0,0 +1,16 @@ +BR2_arm=y +BR2_arm926t=y +BR2_TARGET_GENERIC_ISSUE="Welcome to Gnublin" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_BLOCKS=475000 +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="GNUBLIN" +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL="git://gitorious.org/u-boot-gnublin-support/u-boot-gnublin-support.git" +BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION="2009.11_gnublin_support_v2" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="git://gitorious.org/linux-3-7-gnublin/linux-3-7-gnublin.git" +BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="v3.7-gnublin-2" +BR2_LINUX_KERNEL_DEFCONFIG="gnublin" +BR2_LINUX_KERNEL_INSTALL_TARGET=y