From patchwork Mon Mar 30 17:22:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 1264135 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=open-nandra.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Ok+4zGFa; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48rfS842vVz9sQt for ; Tue, 31 Mar 2020 04:23:20 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 60EC0884A7; Mon, 30 Mar 2020 17:23:18 +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 RkwFlIH-8Ds9; Mon, 30 Mar 2020 17:23:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id B4B38884A0; Mon, 30 Mar 2020 17:23:13 +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 8B9031BF403 for ; Mon, 30 Mar 2020 17:23:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 88C4C87739 for ; Mon, 30 Mar 2020 17:23:09 +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 ygM3xAIJSNzD for ; Mon, 30 Mar 2020 17:23:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id 1517487A85 for ; Mon, 30 Mar 2020 17:23:08 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id 65so22708872wrl.1 for ; Mon, 30 Mar 2020 10:23:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ERky/kyjGTSmvsuVlLd0GkoW3S5OAudMvhmJkfyH+yo=; b=Ok+4zGFazq37ewEqfLpmkD6/J3Jh3LMgXdKpyyyzHAhKCoeeOCMit/0mldveEUDkNl 3MZbDntJIOsLvfvzVu0jRgqDGYM5Wh+N98/S+CERIuUhjlOoyBRHeh1IiaNTNNLK8cKx u6VY8fNyi9jF7sGpy6GuWT6R6W2YRdIehQK6gquxOh9RWYXLv4ZsPF96XmsT/dkYDXMF EoWaiCR9pIJVF6afnazAiO3dyPogVXCIGqF3B8nnwO134FZpnM9zxPnQdpi0eiiZK1JN c0PqkDCx8gFrANmg0lJOyeBfGZZIPRTuIvQzsi5UL3/P91oyO0wSwV3Yg7f3aies+btK 6fow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=ERky/kyjGTSmvsuVlLd0GkoW3S5OAudMvhmJkfyH+yo=; b=OAyTO9hetV/n/EbWkT9QjYjIXQj25XqmertpIKFhSgKkgpWR5YznpexrIbnkGibL1S d2vT4z0/BIh+VmAYOhL13VSJBhDazlXmg9dnTyQx1UejGW0ufPQ6IrH4wE137ThErpqU DKsId5K6DTR0Jxxrp159JfF98eDMealpBQ1nfeMzIglW8/2IQqVrhwjcQLBfYPGWBwf1 pIWI6hQHq2zUSzcedy49AMpgQAlVRuB8017QvJojYwOchg18PtFqsWm70ryVMoZVncaJ d10rivbv+rG6iZ+tWnLI2UhPaO9wVGgcg1zOiIOzSz/9P6UGBj+rr1eM6WN9UVaYe55T JdYg== X-Gm-Message-State: ANhLgQ18B2BmfGDPoLghuOtERqZIdVx/U2SdeZJtOzhyUJ3+CpM3zJb5 rV3JlTUYBy2B6yrIYdWIB6tLGJIgUQ1Kzg== X-Google-Smtp-Source: ADFU+vsctAT4glwfBRENZyC4Prcm6m4+cVD2YVRkiyPULB6dKQIWHq3t8H+xE5Yru7r8tvhBpfhP/Q== X-Received: by 2002:adf:f8ce:: with SMTP id f14mr12660488wrq.348.1585588986260; Mon, 30 Mar 2020 10:23:06 -0700 (PDT) Received: from dnb.domain ([217.74.219.94]) by smtp.gmail.com with ESMTPSA id j5sm21762571wrr.47.2020.03.30.10.23.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Mar 2020 10:23:05 -0700 (PDT) From: Marek Belisko To: buildroot@busybox.net Date: Mon, 30 Mar 2020 19:22:58 +0200 Message-Id: <1585588981-12498-2-git-send-email-marek.belisko@open-nandra.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1585588981-12498-1-git-send-email-marek.belisko@open-nandra.com> References: <1585588981-12498-1-git-send-email-marek.belisko@open-nandra.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 1/4] Revert "configs/nanopi_neo4: remove defconfig" 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: Marek Belisko Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This reverts commit 8af7b11bd8a95bc41e4de46f727f3b0afde465a4. neo4 config was removed due to the fact that 32 bit toolchain was missing for building AFT and was not added until some time. Recently in commit d9959b647f2afd09e564bddfc3d21476f9a0f669 package was added to return back neo4 config and use this new option. --- board/friendlyarm/nanopi-neo4/extlinux.conf | 4 +++ board/friendlyarm/nanopi-neo4/genimage.cfg | 22 ++++++++++++ board/friendlyarm/nanopi-neo4/post-build.sh | 9 +++++ board/friendlyarm/nanopi-neo4/readme.txt | 53 ++++++++++++++++++++++++++++ configs/nanopi_neo4_defconfig | 54 +++++++++++++++++++++++++++++ 5 files changed, 142 insertions(+) create mode 100644 board/friendlyarm/nanopi-neo4/extlinux.conf create mode 100644 board/friendlyarm/nanopi-neo4/genimage.cfg create mode 100755 board/friendlyarm/nanopi-neo4/post-build.sh create mode 100644 board/friendlyarm/nanopi-neo4/readme.txt create mode 100644 configs/nanopi_neo4_defconfig diff --git a/board/friendlyarm/nanopi-neo4/extlinux.conf b/board/friendlyarm/nanopi-neo4/extlinux.conf new file mode 100644 index 0000000..91eef67 --- /dev/null +++ b/board/friendlyarm/nanopi-neo4/extlinux.conf @@ -0,0 +1,4 @@ +label NanoPi Neo4 linux + kernel /boot/Image + devicetree /boot/rk3399-nanopi-neo4.dtb + append earlycon=uart8250,mmio32,0xff1a0000 root=/dev/mmcblk1p1 rootwait diff --git a/board/friendlyarm/nanopi-neo4/genimage.cfg b/board/friendlyarm/nanopi-neo4/genimage.cfg new file mode 100644 index 0000000..b8c1cd5 --- /dev/null +++ b/board/friendlyarm/nanopi-neo4/genimage.cfg @@ -0,0 +1,22 @@ +image sdcard.img { + hdimage { + } + + partition u-boot-tpl-spl-dtb { + in-partition-table = "no" + image = "u-boot-tpl-spl-dtb.img" + offset = 32K + } + + partition u-boot-dtb { + in-partition-table = "no" + image = "u-boot.itb" + offset = 8M + size = 30M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/board/friendlyarm/nanopi-neo4/post-build.sh b/board/friendlyarm/nanopi-neo4/post-build.sh new file mode 100755 index 0000000..e852ba6 --- /dev/null +++ b/board/friendlyarm/nanopi-neo4/post-build.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +MKIMAGE=$HOST_DIR/bin/mkimage +BOARD_DIR="$(dirname $0)" + +$MKIMAGE -n rk3399 -T rksd -d $BINARIES_DIR/u-boot-tpl-dtb.bin $BINARIES_DIR/u-boot-tpl-dtb.img +cat $BINARIES_DIR/u-boot-tpl-dtb.img $BINARIES_DIR/u-boot-spl-dtb.bin > $BINARIES_DIR/u-boot-tpl-spl-dtb.img + +install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf diff --git a/board/friendlyarm/nanopi-neo4/readme.txt b/board/friendlyarm/nanopi-neo4/readme.txt new file mode 100644 index 0000000..07e3491 --- /dev/null +++ b/board/friendlyarm/nanopi-neo4/readme.txt @@ -0,0 +1,53 @@ +Intro +===== + +NanoPi Neo4 is a RK3399 SoC based ARM64 board. + + +Official wiki: http://wiki.friendlyarm.com/wiki/index.php/NanoPi_NEO4 +Mainline wiki: https://wiki.amarulasolutions.com/bsp/rockchip/rk3399/neo4.html + +Build +===== + +Run NanoPi Neo4 configuration + + $ make nanopi_neo4_defconfig + +To build, run make comamnd. + + $ make + +Files created in output directory +================================= + +output/images + +├── bl31.bin +├── bl31.elf +├── Image +├── rk3399-nanopi-neo4.dtb +├── rootfs.ext2 +├── rootfs.ext4 -> rootfs.ext2 +├── rootfs.tar +├── sdcard.img +├── u-boot.bin +├── u-boot.itb +├── u-boot-spl-dtb.bin +├── u-boot-tpl-dtb.bin +├── u-boot-tpl-dtb.img +└── u-boot-tpl-spl-dtb.img + +Creating bootable SD card: +========================= + +Simply invoke (as root) + + # dd if=output/images/sdcard.img of=/dev/sdX && sync + +Where X is your SD card device + +Serial console +-------------- + +Baudrate for this board is 1500000 diff --git a/configs/nanopi_neo4_defconfig b/configs/nanopi_neo4_defconfig new file mode 100644 index 0000000..0e58aea --- /dev/null +++ b/configs/nanopi_neo4_defconfig @@ -0,0 +1,54 @@ +# Architecture +BR2_aarch64=y +BR2_cortex_a72_a53=y + +# Linux headers same as kernel, a 5.2 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_2=y + +# Firmware +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/ARM-software/arm-trusted-firmware" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v2.0" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="rk3399" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/amarula/u-boot-amarula.git" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="dd2b180c457d35de195707dfa0b57a83b97fb275" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nanopi-neo4-rk3399" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS=y +BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y +BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb" +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl-dtb.bin tpl/u-boot-tpl-dtb.bin" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.2" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="rockchip/rk3399-nanopi-neo4" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Filesystem +BR2_TARGET_GENERIC_HOSTNAME="NanoPi Neo4" +BR2_TARGET_GENERIC_ISSUE="Welcome to NanoPi Neo4!" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/friendlyarm/nanopi-neo4/genimage.cfg" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/friendlyarm/nanopi-neo4/post-build.sh" From patchwork Mon Mar 30 17:22:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 1264136 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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=open-nandra.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=KGdFb59d; 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 48rfSG6Mygz9sQt for ; Tue, 31 Mar 2020 04:23:26 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 82A9687C25; Mon, 30 Mar 2020 17:23:20 +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 tWw3bcyVjSzF; Mon, 30 Mar 2020 17:23:18 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 583FF87A85; Mon, 30 Mar 2020 17:23:18 +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 DBA3B1BF403 for ; Mon, 30 Mar 2020 17:23:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D8C3F87739 for ; Mon, 30 Mar 2020 17:23:09 +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 QJdHd9RmcNPO for ; Mon, 30 Mar 2020 17:23:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by whitealder.osuosl.org (Postfix) with ESMTPS id 25B2B87C2E for ; Mon, 30 Mar 2020 17:23:09 +0000 (UTC) Received: by mail-wm1-f54.google.com with SMTP id r16so2977799wmg.5 for ; Mon, 30 Mar 2020 10:23:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=JKhHM1tzNBintgzDV8BMoHNJxNRYUzYoLCSQcSp/C68=; b=KGdFb59dvCpHkLitvvxhWF6zu2z4VZ7OcFdljtlz0HJjQRauNxQcgYJMzX51IanJKj T/P15weCAsafaYTebSYmCeUrENsVM7/ZkOVrwTjHt6rx6mr4LqpE39EaQDRXcWoKI/9G Funy7kPjU34zmtGqxCscNcswZMmINhrsKfKA0CoZlkapbkzlR6xUPe4uOJ9fEKtqVdv2 zw2KAANw1V7YndoDoYRKeUAhJjXtc0docWg8tHDTTSAmlghy9G6U9YHR53O4B3I1kswA KCQE7J4pcHfefArLxQCnj2luxrjHo4BbhyM2iy+bITMAzjloYAffs1yFmbBXOX4MFlnS PITQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=JKhHM1tzNBintgzDV8BMoHNJxNRYUzYoLCSQcSp/C68=; b=SnhF1ClXbs9k5kQ17OYq08KwcDsB4P72AchAn3UQPp9xnprFvFFu3CtwaiKW6rf3x9 qm2QPvLwr4Cdr+Bp5y23rZ0f9NLZmut05MH17DfXnoWy7JCvVKQj9JcZYlBzN980uJqh VV8b8ptLm2pytsCuKGGAOJp+drWMTz7tWC04e7HC4+DWfMhu4FVdOzjZMtLjwd2MWhpB l9C3YiixatK0m4z4CVrCLjvY4UKBcf/c53ik8OV7/cTgbFG56XHr5r2oaSYiS/EJgvaz M7jRrZ6R7NpTylC+2zLUk3IsXjejxCeT+1SlRaS5JA3HIuIOp4KbW1SwgCH1XRD78JRR eSPA== X-Gm-Message-State: ANhLgQ23PVSNRana3Fk9kCQuu6Xv5xoI5eIeRSaQX8WlvKgCcQpccyt+ YFzKZyO3tcgUpf+Z5Qrg9arz5PnWfL/iaQ== X-Google-Smtp-Source: ADFU+vvw/Q47fhrj2jCpHGjp8Btw4qsxFODY5s9TFMZiFDDkCohoLaIreXGYAoRHzqZ0r8jnBhDbQQ== X-Received: by 2002:a7b:c452:: with SMTP id l18mr354758wmi.140.1585588987462; Mon, 30 Mar 2020 10:23:07 -0700 (PDT) Received: from dnb.domain ([217.74.219.94]) by smtp.gmail.com with ESMTPSA id j5sm21762571wrr.47.2020.03.30.10.23.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Mar 2020 10:23:07 -0700 (PDT) From: Marek Belisko To: buildroot@busybox.net Date: Mon, 30 Mar 2020 19:22:59 +0200 Message-Id: <1585588981-12498-3-git-send-email-marek.belisko@open-nandra.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1585588981-12498-1-git-send-email-marek.belisko@open-nandra.com> References: <1585588981-12498-1-git-send-email-marek.belisko@open-nandra.com> Subject: [Buildroot] [PATCH v2 2/4] nanpi_neo4_config: Enable BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN option 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: Marek Belisko MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" With this option enabled AFT to neo4 will be build without issues. For more details see commit: 8af7b11bd8a95bc41e4de46f727f3b0afde465a4 and d9959b647f2afd09e564bddfc3d21476f9a0f669 Signed-off-by: Marek Belisko --- configs/nanopi_neo4_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/nanopi_neo4_defconfig b/configs/nanopi_neo4_defconfig index 0e58aea..2bffe66 100644 --- a/configs/nanopi_neo4_defconfig +++ b/configs/nanopi_neo4_defconfig @@ -11,6 +11,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/ARM-software/arm-trusted-firmware" BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v2.0" BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="rk3399" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y # Bootloader From patchwork Mon Mar 30 17:23:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 1264138 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=open-nandra.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=ENg3m1gq; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48rfSK4BNWz9sPk for ; Tue, 31 Mar 2020 04:23:29 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 97E0522EE7; Mon, 30 Mar 2020 17:23:22 +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 dFRVl6m7PGcG; Mon, 30 Mar 2020 17:23:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 5B21022E3F; Mon, 30 Mar 2020 17:23:19 +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 6D3C01BF403 for ; Mon, 30 Mar 2020 17:23:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6A5D787739 for ; Mon, 30 Mar 2020 17:23:11 +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 4Fb62lesIOiB for ; Mon, 30 Mar 2020 17:23:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id 9BBEA87C25 for ; Mon, 30 Mar 2020 17:23:10 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id r16so2977880wmg.5 for ; Mon, 30 Mar 2020 10:23:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=C/nrx78qqRru2sMxlQcFzuYkJu3eUbd1KAxVB7PQNRw=; b=ENg3m1gq0MWMaPBX+zvhfXmAKHgA9ABk6Gs9ZNc9TlNzmNiQPgpzcT+ejo5C6R6zCQ c9k7JaCffrH7RToTCoHRZIcVw1kB7c3SiI7qwcEpG1wH1KU78yrcitvsCDXsRFsWrw96 QXHNNdpHh8Zb422pNNxqh7Ik7B8Ro6DX5uHKgEPhd2Hb6O1tIeVnE9vQVToxVglISIez dWFBWr0NdFTmgQKDx0ebc7UBq69vISbjutQERhD5d5/IJAytJV2WcJwSxomyvgwQGb4c TZXjPdktBoLFL4pn+EsY1SVUxZFmvXw65O3pAtvC+r+7MKd4x2ILlyR4nU8uGH2ULntv DQ3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=C/nrx78qqRru2sMxlQcFzuYkJu3eUbd1KAxVB7PQNRw=; b=NiY3FCe65GpAt0zmFqT8x0b1MyCUD47rODUhy7VHz08fVhdzOLK/f/cNYfc1kymljG G9E7dQtbM6Xmyqh0wCcxjyLUbLRKykNKniOD2MWfq/Brm1u2lgX2EznfsnkFZRV5ALKL iV2Yyt6DJY5ZP9WpCXxWhEU2CeuhGatmVtIVW6JefDFY1STVqimdxJ34s6854x7a72N3 kWy7J1zw2RgCi0egp7nW9cOc7dJSGYFpocvObLqEnKI6lIGSXFr7VG39hB2BVNGFfQVW X1lNLIVO88d//FHkuzyItCtaMGk3Uzs0zsWhN/UTAKRKm6OidupzMbQi5RhCfaZC8QdD Hpyw== X-Gm-Message-State: ANhLgQ02vKhQP8cqxGQmbgNB/DzI8VueYPYVf+8INQIobuoLzqu7ytz1 HULuPs/Z2YMiBlBNVynJOf7TebobSJEEaQ== X-Google-Smtp-Source: ADFU+vvVfr1PWPVlfkqAPRXCkv+cI3Xfgt5gZXW/VHoSGHAbbY76qz6O0Po858fFZsvSaZsa1JiVaw== X-Received: by 2002:a7b:c7cb:: with SMTP id z11mr51232wmk.15.1585588988891; Mon, 30 Mar 2020 10:23:08 -0700 (PDT) Received: from dnb.domain ([217.74.219.94]) by smtp.gmail.com with ESMTPSA id j5sm21762571wrr.47.2020.03.30.10.23.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Mar 2020 10:23:08 -0700 (PDT) From: Marek Belisko To: buildroot@busybox.net Date: Mon, 30 Mar 2020 19:23:00 +0200 Message-Id: <1585588981-12498-4-git-send-email-marek.belisko@open-nandra.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1585588981-12498-1-git-send-email-marek.belisko@open-nandra.com> References: <1585588981-12498-1-git-send-email-marek.belisko@open-nandra.com> Subject: [Buildroot] [PATCH v2 3/4] nanopi_neo4_defconfig: Bump kernel to 5.4 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: Marek Belisko MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Marek Belisko --- configs/nanopi_neo4_defconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/nanopi_neo4_defconfig b/configs/nanopi_neo4_defconfig index 2bffe66..f68b5e2 100644 --- a/configs/nanopi_neo4_defconfig +++ b/configs/nanopi_neo4_defconfig @@ -2,8 +2,8 @@ BR2_aarch64=y BR2_cortex_a72_a53=y -# Linux headers same as kernel, a 5.2 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_2=y +# Linux headers same as kernel, a 5.4 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y @@ -34,7 +34,7 @@ BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl-dtb.bin tpl/u-boot-tpl-dtb.bin" # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.2" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.18" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="rockchip/rk3399-nanopi-neo4" From patchwork Mon Mar 30 17:23:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 1264137 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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=open-nandra.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=RLEKGQ9b; 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 48rfSH2QFsz9sRN for ; Tue, 31 Mar 2020 04:23:27 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9D8AA87C99; Mon, 30 Mar 2020 17:23:22 +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 rymluA-lWDoP; Mon, 30 Mar 2020 17:23:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 9E12387A85; Mon, 30 Mar 2020 17:23:20 +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 BF9051BF403 for ; Mon, 30 Mar 2020 17:23:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BCDBC87739 for ; Mon, 30 Mar 2020 17:23:12 +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 HooLxzJpSzxD for ; Mon, 30 Mar 2020 17:23:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0A36087C37 for ; Mon, 30 Mar 2020 17:23:12 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id s1so22655329wrv.5 for ; Mon, 30 Mar 2020 10:23:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=4I/mBibV71orKqQ4zfRPeYJMxgmZzAvAM6ciBQwLZrY=; b=RLEKGQ9bFh5OcgyrFGa/pxUMLuKBpqPT7oXAXNMybg4dNDYUPHsFnuNlFynlD6EZPi v5MyM8ZELCfIBrC2+Evv2T52IG0oVrWodTJ8mZYj9ZQTr5/SKuEp99WEVh9FjBlaS3WO SILLShC8RyQsR2FHS9UAx/U6owjrjXIlF2nxRHpMBlUq5vwTDdh/Sgw5/LpzAoteDzfM tkKiNfXhK8Roh0RkUhIuazzaXLlibeC/QcRC56VPFRjfw/ZCEqf1YHgzcxthS7kTTcUw PSY5r+MuuvO1QbUtQ90Z74367CS8OmQ28x25BFI89oY/r6zM9Unn2+S1bhgNkgwmKYyT i8dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=4I/mBibV71orKqQ4zfRPeYJMxgmZzAvAM6ciBQwLZrY=; b=QiQDaNuGzYy6aU7Lp2LC4nrXwoqS5sd+j2cNcj/b1EJX2ThkF3FDvi3Hb8jJfe+bFT cpcSsp/rRYyuHyV+zkgAbql2gDne64Cm/mKLOkheINN6DYzmAudLFLxkNBD3Rl5E64zx 3nFO5YGrxDzD2QA7gNJ1Zi9/AggyBYs7ShB31DYyTsTkbl/Hd6Q8i/622ajX5Wqw/uT2 rQ0WRb7dR1y9XlLZUg8VjCsU/DcONL49TOEXSoqajkqztKb8oAewgb0yolIdQfwzmgm2 mawFvZN9N/t2/KWUTKxs1EeEFr9oW0KNIQVPg0vAQJc0p1JiNgnilj1/X9wK9TnR2Kla 2UBg== X-Gm-Message-State: ANhLgQ1u53EeRNDN8/8IHEgogQa8j5GhDra90LuKXQXtFfKPcokFE7Ij wrf3vIpIL8ORIuyQr2P5Owkzh1+DXiKmaQ== X-Google-Smtp-Source: ADFU+vsHUtvNAYHI/pI+U1sctXIvOusdgV2lU3fOvSABXhVfhytv4beqrTxW4rVhWbM411CDuQ+1fA== X-Received: by 2002:adf:b307:: with SMTP id j7mr16680927wrd.128.1585588990206; Mon, 30 Mar 2020 10:23:10 -0700 (PDT) Received: from dnb.domain ([217.74.219.94]) by smtp.gmail.com with ESMTPSA id j5sm21762571wrr.47.2020.03.30.10.23.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Mar 2020 10:23:09 -0700 (PDT) From: Marek Belisko To: buildroot@busybox.net Date: Mon, 30 Mar 2020 19:23:01 +0200 Message-Id: <1585588981-12498-5-git-send-email-marek.belisko@open-nandra.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1585588981-12498-1-git-send-email-marek.belisko@open-nandra.com> References: <1585588981-12498-1-git-send-email-marek.belisko@open-nandra.com> Subject: [Buildroot] [PATCH v2 4/4] nanopi_neo4_defconfig: Bump rootfs size to 70M 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: Marek Belisko MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" When bumped kernel to 5.4 rootfs increase a bit and it doesn't fit to default 60M. Increase size to 70M. Signed-off-by: Marek Belisko --- configs/nanopi_neo4_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/nanopi_neo4_defconfig b/configs/nanopi_neo4_defconfig index f68b5e2..8cc9bb4 100644 --- a/configs/nanopi_neo4_defconfig +++ b/configs/nanopi_neo4_defconfig @@ -46,6 +46,7 @@ BR2_TARGET_GENERIC_HOSTNAME="NanoPi Neo4" BR2_TARGET_GENERIC_ISSUE="Welcome to NanoPi Neo4!" BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="70M" BR2_PACKAGE_HOST_DOSFSTOOLS=y BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=y