From patchwork Tue May 21 20:45:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeffrey Kinross X-Patchwork-Id: 1103008 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=i3pd.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=i3pd.com header.i=@i3pd.com header.b="fqw9+41b"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 457npm3hNcz9sBV for ; Wed, 22 May 2019 06:45:50 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D753B86C7B; Tue, 21 May 2019 20:45:48 +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 FeqCIW5c+k9p; Tue, 21 May 2019 20:45:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 6DBB286C18; Tue, 21 May 2019 20:45:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 26DAF1BF3A0 for ; Tue, 21 May 2019 20:45:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 22B3687C9F for ; Tue, 21 May 2019 20:45:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mrvKOC7V2oTX for ; Tue, 21 May 2019 20:45:45 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-it1-f196.google.com (mail-it1-f196.google.com [209.85.166.196]) by hemlock.osuosl.org (Postfix) with ESMTPS id 0A27287C41 for ; Tue, 21 May 2019 20:45:45 +0000 (UTC) Received: by mail-it1-f196.google.com with SMTP id h11so6854940itf.5 for ; Tue, 21 May 2019 13:45:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=i3pd.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CY0gPkQSZIshjD68ymVqQBtunhwnb/Bv12CCkfc3d0E=; b=fqw9+41bVu5/aHQS1KwxC3Ti6OkGdsQvsDrE+ramy3OlRbgUZV8a9Kkur5bE1BRqbo rCAoffQFpy0yD9O0DsHEhaLhy+xZneTNK+TDFpjwD4GMRw7xv2SF26Vwx2zJQjQup8Pk 7xpsPys17bZH+5zXh4N12f2bdJIQRHmwhacSG5kAmqHHQbUBFpMWVXq+1FgXTppZrbd3 r3K2VFkacnZdHlSzfi+Mxv2Rk0SHYB8XLSo8FYkRqDTP6TB5bEU/HmAwejAuprhoZSnJ f9XPax4/6fYZ5L/BpIzu4MoPFzcrPMxlQb2ALcyQvOANz4wCWlO3zx+PFmA4ehsBO9QZ dwyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CY0gPkQSZIshjD68ymVqQBtunhwnb/Bv12CCkfc3d0E=; b=S3MME1gNFuujYv1BVUarG2MF+4P9j1kLKKqGLiYTKgnmX1zNK/AEk35bn4BBGpr06S x0LUWBsiUpyEoUO/kjHB0HFpOsdL3Sa5rwrnzahvy55AQYbUOOPI/01xP8Z4UyEfvz0t /sg372kRbn3wuvodeq5pVcUtb3IxnR3EDZWgOK82/kxkZUCDKfC5AX/2u+s9zFd8mnRP B5ZP9oopBPso+AEtWCAzWbQ2Zn7qk5R0EJ/iMP/B+BvzNB7hD5xYOMdwG2fOo6gp93Nr w/59UFNd3UqnyMHD6O8oWU5TcnSdTly+Zo1PCkWB3pIHEZ31NHAz5JkOrYPF+cpzF9R/ bnEA== X-Gm-Message-State: APjAAAWyRpHPgKTxwzGCyY60t/ViHmhF8P6Lx3rfQIOg36MvD2ZZXTK+ 4YUonISFpXIBbFOeDflgvEO2Zk7chPk= X-Google-Smtp-Source: APXvYqzq4C2N2cz3ie1pVU/aiR0JhBgL2h1WVJg5ppoNIN09Cep7e/VuaG8lUpPvVM4gWsITZbpmzQ== X-Received: by 2002:a24:4e03:: with SMTP id r3mr5903529ita.11.1558471543974; Tue, 21 May 2019 13:45:43 -0700 (PDT) Received: from jupiter.i3pd.local (h208-73-89-178.mdtnwi.dedicated.static.tds.net. [208.73.89.178]) by smtp.gmail.com with ESMTPSA id i25sm6711825ioh.23.2019.05.21.13.45.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 May 2019 13:45:43 -0700 (PDT) From: jeffrey.kinross@i3pd.com To: buildroot@buildroot.org Date: Tue, 21 May 2019 15:45:34 -0500 Message-Id: <20190521204534.27569-1-jeffrey.kinross@i3pd.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] configs/imx6ullevk: add imx6ullevk support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jeffrey.kinross@i3pd.com Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Jeffrey Kinross Signed-off-by: Jeffrey Kinross --- board/freescale/imx6ullevk/readme.txt | 64 +++++++++++++++++++++++++++ configs/imx6ullevk_defconfig | 38 ++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 board/freescale/imx6ullevk/readme.txt create mode 100644 configs/imx6ullevk_defconfig diff --git a/board/freescale/imx6ullevk/readme.txt b/board/freescale/imx6ullevk/readme.txt new file mode 100644 index 0000000000..1b10f90621 --- /dev/null +++ b/board/freescale/imx6ullevk/readme.txt @@ -0,0 +1,64 @@ +*************************** +Freescale i.MX6ULL EVK board +*************************** + +This file documents the Buildroot support for the Freescale i.MX6ULL EVK board. + +Please read the i.MX6ULL Evaluation Kit Quick Start Guide [1] for an +introduction to the board. + +Build +===== + +First, configure Buildroot for your i.MX6ULL EVK board: + +make imx6ullevk_defconfig + +Build all components: + + make + +You will find in ./output/images/ the following files: + - imx6ull-14x14-evk.dtb + - rootfs.ext4 + - rootfs.tar + - sdcard.img + - u-boot.imx + - zImage + +Create a bootable microSD card +============================== + +To determine the device associated to the microSD card have a look in the +/proc/partitions file: + + cat /proc/partitions + +Buildroot prepares a bootable "sdcard.img" image in the output/images/ +directory, ready to be dumped on a microSD card. Launch the following +command as root: + + dd if=./output/images/sdcard.img of=/dev/ + +*** WARNING! This will destroy all the card content. Use with care! *** + +For details about the medium image layout, see the definition in +board/freescale/common/imx/genimage.cfg.template. + +Boot the i.MX6ULL EVK board +========================= + +To boot your newly created system (refer to the i.MX6ULL EVK Quick Start Guide +[1] for guidance): +- insert the microSD card in the microSD slot of the board; +- verify that your i.MX6ULL EVK board jumpers and switches are set as mentioned + in the i.MX6ULL EVK Quick Start Guide [1]; +- put a micro USB cable into the Debug USB Port and connect using a terminal + emulator at 115200 bps, 8n1; +- power on the board. + +Enjoy! + +References +========== +[1] https://www.nxp.com/files-static/32bit/doc/brochure/IMX6ULLQSG.pdf diff --git a/configs/imx6ullevk_defconfig b/configs/imx6ullevk_defconfig new file mode 100644 index 0000000000..85e0f4fe8b --- /dev/null +++ b/configs/imx6ullevk_defconfig @@ -0,0 +1,38 @@ +# architecture +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_NEON_VFPV4=y + +# Linux headers same as kernel, a 4.19 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y + +# system +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" + +# kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.44" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ull-14x14-evk" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="mx6ullevk" +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_USE_DEFCONFIG=y +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mx6ull_14x14_evk" +BR2_TARGET_UBOOT_FORMAT_IMX=y +BR2_TARGET_UBOOT_NEEDS_DTC=y + +# required tools to create the SD card image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# filesystem / image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y