From patchwork Thu Feb 6 22:04:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 317550 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 7C29A2C0099 for ; Fri, 7 Feb 2014 09:04:53 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1F3768BEFB; Thu, 6 Feb 2014 22:04:52 +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 Z5U3gVlJiF15; Thu, 6 Feb 2014 22:04:51 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7D5A58BF04; Thu, 6 Feb 2014 22:04:51 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id BFE5F1C2291 for ; Thu, 6 Feb 2014 22:04:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B9A088C711 for ; Thu, 6 Feb 2014 22:04:50 +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 r7E1q8ZCpv0P for ; Thu, 6 Feb 2014 22:04:50 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (top.free-electrons.com [176.31.233.9]) by whitealder.osuosl.org (Postfix) with ESMTP id D1CF08C5CD for ; Thu, 6 Feb 2014 22:04:49 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 57409817; Thu, 6 Feb 2014 23:04:49 +0100 (CET) Received: from localhost (AToulouse-651-1-134-190.w109-222.abo.wanadoo.fr [109.222.213.190]) by mail.free-electrons.com (Postfix) with ESMTPSA id ED5D17AC; Thu, 6 Feb 2014 23:04:48 +0100 (CET) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Thu, 6 Feb 2014 23:04:45 +0100 Message-Id: <1391724285-23135-1-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.8.3.2 Subject: [Buildroot] [PATCH] zedboard: add Avnet Zedboard 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 From: Spenser Gilliland [Thomas: update to recent Buildroot which had renamed several Config.in options, lock down kernel headers version] Signed-off-by: Spenser Gilliland Signed-off-by: Thomas Petazzoni --- board/avnet/zedboard/readme.txt | 13 +++++++++++++ configs/zedboard_defconfig | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 board/avnet/zedboard/readme.txt create mode 100644 configs/zedboard_defconfig diff --git a/board/avnet/zedboard/readme.txt b/board/avnet/zedboard/readme.txt new file mode 100644 index 0000000..b869066 --- /dev/null +++ b/board/avnet/zedboard/readme.txt @@ -0,0 +1,13 @@ +This is the buildroot board support for the Avnet Zedboard. The Zedboard is +a development board based on the Xilinx Zynq-7000 based All-Programmable +System-On-Chip. + +Zedboard information including schematics, reference designs, and manuals are +available from http://www.zedboard.org . + +To boot the Zedboard using a buildroot generated image copy the following files +to the sdcard: + zynq-zed.dtb -> devicetree.dtb + rootfs.cpio.gz.uboot -> uramdisk.image.gz + uImage -> uImage + diff --git a/configs/zedboard_defconfig b/configs/zedboard_defconfig new file mode 100644 index 0000000..2a67fdd --- /dev/null +++ b/configs/zedboard_defconfig @@ -0,0 +1,32 @@ +BR2_arm=y +BR2_cortex_a9=y +BR2_ARM_ENABLE_NEON=y + +# Lock to 3.8 headers as the kernel is based off 3.8 +BR2_KERNEL_HEADERS_VERSION=y +BR2_DEFAULT_KERNEL_VERSION="3.8" + +BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://github.com/Xilinx/linux-xlnx.git" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v14.5" +BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq" +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zed" + +# Root filesystem +BR2_TARGET_ROOTFS_CPIO=y +BR2_TARGET_ROOTFS_CPIO_GZIP=y +BR2_TARGET_ROOTFS_CPIO_UIMAGE=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="zynq_zed" +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/Xilinx/u-boot-xlnx.git" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v14.5" +BR2_TARGET_UBOOT_FORMAT_ELF=y