From patchwork Mon Apr 1 17:25:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Maciej Nowak X-Patchwork-Id: 1073038 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=o2.pl Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HOvQ4ZVt"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=o2.pl header.i=@o2.pl header.b="VIW7lSC5"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::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 44XzmK5R7qz9sPv for ; Tue, 2 Apr 2019 04:26:57 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:References: In-Reply-To:Message-Id:Date:To:From:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=PUI/wRQa/iF6PI78Kc28SFtcDB/J7heHNzYHpaeQMkA=; b=HOvQ4ZVtLXRvL2vYbvlS9+tQC9 7q04N2J8slDH4NZG+1xK47zb/2qv5Wd1P/5miu8B/pLjBOIrM5t0aHeHQ7iubSmGcMd9pbr8zoDZn eOquxjJGh9IR6I+eW4rhrc2yNI8BIpTB92fNd8rB/cw+S7sL8cdoHiSP8JjNyZ3u0P4dd7TCuNshH +NDNkrh4vGUGev3pjZ9NJ8Bg1fp5e9hYTyX7rP+4Cnep0Ix5LHZSzrABSxkgfTr2/l5PWQa9PdSub CH/wg55G7AcV0mME9UvfZofDuTCUScHMuRCuYjJP1WpinXlAO89pzGyggMQOjXCwmyxLtVJ2xRMgf 9s4NUByQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hB0hi-0000Ub-Cx; Mon, 01 Apr 2019 17:26:38 +0000 Received: from mx-out.tlen.pl ([193.222.135.148]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hB0hd-0000Sq-Ui for openwrt-devel@lists.openwrt.org; Mon, 01 Apr 2019 17:26:36 +0000 Received: (wp-smtpd smtp.tlen.pl 12682 invoked from network); 1 Apr 2019 19:26:28 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=o2.pl; s=1024a; t=1554139589; bh=VoOtTi2slowH8p+4422s9bHsYFYRqKc2hfMyqy+/Iio=; h=From:To:Subject; b=VIW7lSC5/PGhLAIR3zDalPVRUW3mU3PFZGr6DZecCpdKEVev0uTEndGE1AbspDzsf m9YCIM7bz8WRghMRNo/f1P1juptnKwB2RaCMD1PCYqpTfHy+4XPauhwwRexH6BkRhY 5vpsPtzh9hch6x7XrWli8OFYYVmA1WDcfY9y4LpQ= Received: from 131.ip-164-132-48.eu (HELO localhost.localdomain) (tomek_n@o2.pl@[164.132.48.131]) (envelope-sender ) by smtp.tlen.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 1 Apr 2019 19:26:28 +0200 From: Tomasz Maciej Nowak To: openwrt-devel@lists.openwrt.org Date: Mon, 1 Apr 2019 19:25:37 +0200 Message-Id: <20190401172544.32005-1-tomek_n@o2.pl> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190304185326.9234-1-tomek_n@o2.pl> References: <20190304185326.9234-1-tomek_n@o2.pl> MIME-Version: 1.0 X-WP-MailID: 077926b55d5f6b20cf5bf5561403ed85 X-WP-AV: skaner antywirusowy Poczty o2 X-WP-SPAM: NO 0000000 [cYPE] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190401_102634_309782_D2F4542A X-CRM114-Status: GOOD ( 10.68 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tomek_n[at]o2.pl) -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain Subject: [OpenWrt-Devel] [PATCH v4 0/7] tegra: add new target with support for CompuLab TrimSlice X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org This is continuation of effort in [1] PR to old LEDE source tree. It received few improvement and some commits got split. Main changes worth mentioning: - update tools and U-Boot to recent versions, - added support for 4.19 kernel - now SD card image is also an rescue image with embedded U-Boot - the SD card creation process is more generic which makes adding basic support for other boards/devices trivial 1. https://github.com/lede-project/source/pull/1252 Changes in v4 - disable binman when creating U-Boot images, otherwise it would require swig on host side or in OpenWrt tools to build, pointed out by Hauke Mehrtens Changes in v3 - clean-up kernel configs in result of review by Hauke Mehrtens Changes in v2 - there are no drastic storage space constraints for this target, so instead of creating packages for target speciffic modules, build them in the kernel, requested by Felix Fietkau - since video drivers are now built-in I enabled also USB keyboard related drivers, because most users with connected monitors would expect to interact with the device OOTB Tomasz Maciej Nowak (7): tegra: add new target tools: add cbootimage for tegra tools: add cbootimage-configs for tegra uboot-tegra: add U-Boot for tegra boards kernel: package rtc-em3027 module tegra: add support for CompuLab TrimSlice tegra: add kernel 4.19 support package/boot/uboot-tegra/Makefile | 64 ++ package/kernel/linux/modules/netdevices.mk | 4 +- package/kernel/linux/modules/other.mk | 18 + target/linux/generic/config-4.14 | 2 + target/linux/generic/config-4.19 | 1 + target/linux/tegra/Makefile | 29 + target/linux/tegra/base-files/etc/inittab | 4 + .../base-files/lib/preinit/79_move_config | 22 + .../tegra/base-files/lib/upgrade/platform.sh | 105 ++++ target/linux/tegra/config-4.14 | 558 ++++++++++++++++++ target/linux/tegra/config-4.19 | 558 ++++++++++++++++++ target/linux/tegra/image/Makefile | 59 ++ target/linux/tegra/image/generic-bootscript | 6 + ...interrupts-due-to-tegra2-silicon-bug.patch | 77 +++ ...enable-front-panel-leds-in-TrimSlice.patch | 46 ++ ...interrupts-due-to-tegra2-silicon-bug.patch | 77 +++ ...enable-front-panel-leds-in-TrimSlice.patch | 46 ++ tools/Makefile | 2 + tools/cbootimage-configs/Makefile | 32 + tools/cbootimage/Makefile | 31 + 20 files changed, 1739 insertions(+), 2 deletions(-) create mode 100644 package/boot/uboot-tegra/Makefile create mode 100644 target/linux/tegra/Makefile create mode 100644 target/linux/tegra/base-files/etc/inittab create mode 100644 target/linux/tegra/base-files/lib/preinit/79_move_config create mode 100644 target/linux/tegra/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/tegra/config-4.14 create mode 100644 target/linux/tegra/config-4.19 create mode 100644 target/linux/tegra/image/Makefile create mode 100644 target/linux/tegra/image/generic-bootscript create mode 100644 target/linux/tegra/patches-4.14/100-serial8250-on-tegra-hsuart-recover-from-spurious-interrupts-due-to-tegra2-silicon-bug.patch create mode 100644 target/linux/tegra/patches-4.14/101-ARM-dtc-tegra-enable-front-panel-leds-in-TrimSlice.patch create mode 100644 target/linux/tegra/patches-4.19/100-serial8250-on-tegra-hsuart-recover-from-spurious-interrupts-due-to-tegra2-silicon-bug.patch create mode 100644 target/linux/tegra/patches-4.19/101-ARM-dtc-tegra-enable-front-panel-leds-in-TrimSlice.patch create mode 100644 tools/cbootimage-configs/Makefile create mode 100644 tools/cbootimage/Makefile