From patchwork Tue Jan 16 08:44:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 124626 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp941063lje; Tue, 16 Jan 2018 00:50:49 -0800 (PST) X-Google-Smtp-Source: ACJfBosEYNG5f9RYv68OTs5DmdV2RaB4O8mPh16lZgXkM0IvPw8AOKvFu8ACRnv4yK6Iamtn7TJ5 X-Received: by 10.80.195.75 with SMTP id q11mr19137020edb.254.1516092649495; Tue, 16 Jan 2018 00:50:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516092649; cv=none; d=google.com; s=arc-20160816; b=HRjXCE8C9MDcJ6uoPXC011Q/89k6kBBomdQoN67YvAvubSV+RWu1rJGBxFIUWbwYGj /fv6mgoefsYV+IBWIxLpu+vuY53crJMn6dkwbnKCD9h/WjIOTUDGbzbOJPnz+00PxKjB xOVzpZgOWTii98ay1fEvtKh6500TbtnH/DgRQ8RcNrVvwi2FrZpk3qc+rh+/jCTve1l3 ECySNic2kC8i9IUzLe6L0edrxJao3cFr/RJdnAOt1BwTEXmfaLBSiz924Vd7NLUWkJ9S uKHv8pxpyyQN+qkS67hjgG1ieu+W+3Sa/vCyeMno/vtQuR6a9dX3ZQKUdnC4ZKploBEO sTlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=oi/wn/qypu16eSddBAbnSfFqMSovN89UtCKitE6q5Nc=; b=ob/yT9WNWqFPWC6vTZVCXPMLMlTow/jnFfi1MFyU+ojOWRAyDQVQabsgW4VId0+++x u2ZpqTnFlc5418kvAiN4Gn2A+XLqjli656myBkvmO25kA5VNUf/un0STgnzErP2rIREP YkBX7kPfH/yuOv/EBVwSqoZ+4C7Esa267jdPkbqVBFaOk7DTDc0ltRNyHPOgs3UIP5Oc 6KSk03qNcJqblEvllySJLnCoqOQ++/lnCtL0vaO3Qjq5s6504eHrX1c1smEeX89lfzt6 QPTdPFjEf6B3FI37Lrfb24z5GlZvNNWqjOMc/gVk6uamNyKMfHLIsVdIhRXNjeIX0FVG BIHA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id v37si40858edm.114.2018.01.16.00.50.49; Tue, 16 Jan 2018 00:50:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 25041C21E1D; Tue, 16 Jan 2018 08:45:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 46638C21E11; Tue, 16 Jan 2018 08:44:34 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 5186AC21DFA; Tue, 16 Jan 2018 08:44:30 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 0D7C7C21DB5 for ; Tue, 16 Jan 2018 08:44:28 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id DBC6F208B3; Tue, 16 Jan 2018 09:44:26 +0100 (CET) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id ADDD12084D; Tue, 16 Jan 2018 09:44:26 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 16 Jan 2018 09:44:13 +0100 Message-Id: <20180116084424.17801-2-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180116084424.17801-1-maxime.ripard@free-electrons.com> References: <20180116084424.17801-1-maxime.ripard@free-electrons.com> Cc: Andre Przywara , agraf@suse.de, u-boot@lists.denx.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH v2 01/12] dfu: select HASH X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The DFU code relies on the HASH config option. Make sure it is always there by selecting it. Signed-off-by: Maxime Ripard --- drivers/dfu/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dfu/Kconfig b/drivers/dfu/Kconfig index 56a98f5273ce..fa27efbb4053 100644 --- a/drivers/dfu/Kconfig +++ b/drivers/dfu/Kconfig @@ -2,6 +2,7 @@ menu "DFU support" config USB_FUNCTION_DFU bool + select HASH if CMD_DFU config DFU_TFTP From patchwork Tue Jan 16 08:44:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 124621 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp940725lje; Tue, 16 Jan 2018 00:49:06 -0800 (PST) X-Google-Smtp-Source: ACJfBovSukOJlb4kuhlKHXERBoMyxr4eJk5GomkwW2UzjNDuNyE3ATX759IjLfHf8NIOrZ1GXsoj X-Received: by 10.80.216.79 with SMTP id v15mr53449363edj.238.1516092546530; Tue, 16 Jan 2018 00:49:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516092546; cv=none; d=google.com; s=arc-20160816; b=Gt3ro0bYVlH1mzQEWuWakpbXWtLQSraiSt60zNsOhmwUFOrA6DyVL/d0kMLGb6tlGg qj1f7Wegw3jUx42tVjq5F/KK5s3N+VQBzlrg7MOrRfgDgd3YRpesEy8sAHZ0qZZyfXN0 nP0q2UQytfyFgH9Tw2GBwWjWs9bEgvMBNM5FI0mSccvDm5gP7KAJctKTAr3qCetUT4AF 06yuGefUidotT8zbCCfOtfOEoZ/iaQ2IHYbS2vzDNfkJK3K0Gv25O2CnC+GIlIi3/A4x K2MWs014RaMf0hmZtBFpCfvJpA6K/zn9/WcMrLA7OlxUtPJggqMVem4YcYn28gXhqhMx Tefg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=95E/Hw1q6F/15goxQXXFEIe+0Ppdfm4hevTsbIhUsRw=; b=xC1uaqWJj0aA774S3UOa0VYacNCAJcDaWsaO7jpamdgDrSjo2UkhHKhUKquqoqWhjR NjooABDvbiDBopchaLmzIkTO1RD8QqOTrcKNst9mPRHkHgCe1ES/S3kcqzLxrsi6X9A2 EmRSYX6Op1iiKR44qRCEmZc6/D2pX4ny+4ERGNRlcGGfnUZ5/ZzonRUTTZXWB6mob255 PuHFPtSniGu8trlDZ5F7HTxH6Ugm423BiRWEipwD8Ln8uHymTAqHPq2PBYjyGk/vonKP qlwmz7RZpoqQMu0HFIKfKk4hFhuW9Oc9FH3LL97ckaAfRPApDLvAs1snlDcbpg/qTr9t BFSA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id s7si1553655edh.274.2018.01.16.00.49.06; Tue, 16 Jan 2018 00:49:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 2ABA5C21DB5; Tue, 16 Jan 2018 08:46:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 53CE2C21E3B; Tue, 16 Jan 2018 08:44:42 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 686F2C21E40; Tue, 16 Jan 2018 08:44:31 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 70C44C21DE4 for ; Tue, 16 Jan 2018 08:44:28 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 483AF208B5; Tue, 16 Jan 2018 09:44:27 +0100 (CET) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 1DD032084D; Tue, 16 Jan 2018 09:44:27 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 16 Jan 2018 09:44:14 +0100 Message-Id: <20180116084424.17801-3-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180116084424.17801-1-maxime.ripard@free-electrons.com> References: <20180116084424.17801-1-maxime.ripard@free-electrons.com> Cc: Andre Przywara , agraf@suse.de, u-boot@lists.denx.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH v2 02/12] cmd: crc32: Disable by default on sunXi X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The sunXi arm64 build has overflown, leading to the main U-boot binary overwriting the environment when flashing the new image, or even worse, overwriting itself when we're calling saveenv. Disable this command that is not critical until we can adress the issue properly. Signed-off-by: Maxime Ripard --- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index 83dc778e46f1..a79788b085e5 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -397,6 +397,7 @@ menu "Memory commands" config CMD_CRC32 bool "crc32" select HASH + default n if ARCH_SUNXI default y help Compute CRC32. From patchwork Tue Jan 16 08:44:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 124624 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp940858lje; Tue, 16 Jan 2018 00:49:48 -0800 (PST) X-Google-Smtp-Source: ACJfBotySE6ZrRvUzQDuHYR++AmhSLnLatPofbQmx2Jo4sVwE7fV/S2FshdhsPr0Sr5yxvVQTlsi X-Received: by 10.80.214.154 with SMTP id r26mr14037541edi.288.1516092588476; Tue, 16 Jan 2018 00:49:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516092588; cv=none; d=google.com; s=arc-20160816; b=glYzOEGw46mP0jqFPlU4hV3gpd6rDWOlEMrhS46a6cFLZ8ikGA6+hs4+pteZYqSUZB /Ebq1lOgu2ocdJcPFWGa1UveDoUrG93xqarKIaBNGp+4oD6IsFx5hbvEe8C/ExUDzsv9 jbvqfiEk8lywwXLFcp55/K23We/2mM05ydKapbKEyAZl7MlxCIKLV59knQgM8dizB4lQ aEa5ZXnKq0NutGdhZHPZudPrspamU9y2/58p4b2mEtxu0DiKBANHzS6Ml19TrU23NTIb HtHehpF1tYgZYkbvwyMPdV26g0Ys+5+YcQk9ZaNCa2ZNSwLt3466bVrR01Nn3LUWlC7I ZcvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=34JUZ1+7SH6AEQJiS8zO3gozAOFW7KnTPhDybNzKayk=; b=a7hFiU9PsWJ93oDu8//4K8Rdd92XoV10hd36k0wibKY1DpeXAD/mFdE8e3Du9rHoJO 530sFrs83KQNE+UFbhDyAdu9ia2hliNFsSLYC9VEoUaVpohntLQQN5ukjLqMs1CCIzBL c3orwE3uP80VajqIHYQ8/4A/QOyT8Nc3gMoe/Jl06xGYenRJJUabUkGNTCZoO4LQJ+rx qhfi+wA/zlLKKuq8JR//0Bu7Se1T7hA02EHA7bK2wU3Btawc4xeJeqQy1bD6zqsqG5YK MjUKUXu2skr8WxfJThCMxvH3HO0MotOlPH4oMT0FBIV1G4i/thCG3zN690wn16PKMWt0 H9Fw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id h30si1841308edc.390.2018.01.16.00.49.48; Tue, 16 Jan 2018 00:49:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 22A63C21DB5; Tue, 16 Jan 2018 08:48:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id DB2F0C21E3E; Tue, 16 Jan 2018 08:44:53 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B9113C21E26; Tue, 16 Jan 2018 08:44:32 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id C91C7C21DFA for ; Tue, 16 Jan 2018 08:44:28 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id A3AB2208B2; Tue, 16 Jan 2018 09:44:27 +0100 (CET) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 7A53C206FC; Tue, 16 Jan 2018 09:44:27 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 16 Jan 2018 09:44:15 +0100 Message-Id: <20180116084424.17801-4-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180116084424.17801-1-maxime.ripard@free-electrons.com> References: <20180116084424.17801-1-maxime.ripard@free-electrons.com> Cc: Andre Przywara , agraf@suse.de, u-boot@lists.denx.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH v2 03/12] cmd: unzip: Disable by default on sunXi X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The sunXi arm64 build has overflown, leading to the main U-boot binary overwriting the environment when flashing the new image, or even worse, overwriting itself when we're calling saveenv. Disable this command that is not critical until we can adress the issue properly. Signed-off-by: Maxime Ripard --- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index a79788b085e5..49e4b9f1953b 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -539,6 +539,7 @@ config CMD_LZMADEC config CMD_UNZIP bool "unzip" + default n if ARCH_SUNXI default y if CMD_BOOTI help Uncompress a zip-compressed memory region. From patchwork Tue Jan 16 08:44:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 124619 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp940366lje; Tue, 16 Jan 2018 00:47:14 -0800 (PST) X-Google-Smtp-Source: ACJfBoviIGSUhXZIViCAX3RyMMKr3kpVWw9VuOV6o7cEUy5SD7BIvbBlKDUJkblHe1BDe/NejxAy X-Received: by 10.80.152.68 with SMTP id h4mr18673672edb.23.1516092434603; Tue, 16 Jan 2018 00:47:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516092434; cv=none; d=google.com; s=arc-20160816; b=moSbwQ3eSmRwBbZ8Nj1E2VfkJPksY5qI7D/P4mEVF2Stk7VKsoXtRp0jZ1dSnf5joW nqMruzwDhTPGrROmeCp2EckPgIS3KHhDcBY3OUDV8rWlhR0VIPkYhdNshTDN7cx+fMHG YS2ghh7Ao4Ke+ePlsgcuko64vmGxYBxtK39Oc98XuPubBI2yk4pX9xx5+duR8CQwi9Er ywfVLokHME103pw1nQ4PPYBVrEC5RR6ApUaAT0Ak5IByWbJmEbYV1AJr6KN7dj/FDOwt LfDi+kZvkp2w0deW+q/ddPWAJV40eIr9WgvBV5IT9ConVadmMpNgK7Nc8+omQdoPX9gJ Yjog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=65azJm8wAZtJ6I6CYeAi0b6C6WSOyJAeXAfL9rFGYFg=; b=HY64SO4DIrxDeNjbre101BnktYyckQ1MhI+5Sc+oa9SBkrM5MH12cWme8nGUIr9Fgi sMOX8zUuyBSlQCswaEM4GGA5+5BEB09DLOw1O3vUNdoWBVfgfZ6ipEm4Wqmm3X1NJ/2r u4ctQFzWQdLb6hMDS6Jviv2AvbIbbeISYiRxwTwpAmsd05k+8zxh8/7cPJVEmAHR/4Jq WNVKz/Ab9QiwTE+1KWL5xSXrI3ABQRUeSDNqY7iKocHcOEmJK8H1xKr+PChKF/0cgHk7 XZqiunLWHNm2tZI/sVan7cdxBXZjE8eXjXppBHNbuOdx33C8seSvqX2cwiAJFdEwv0nR VhuA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id j1si1842176edb.53.2018.01.16.00.47.14; Tue, 16 Jan 2018 00:47:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 11111C21E0C; Tue, 16 Jan 2018 08:45:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 47C2CC21E2F; Tue, 16 Jan 2018 08:44:40 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C4C11C21E30; Tue, 16 Jan 2018 08:44:32 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 3875EC21E11 for ; Tue, 16 Jan 2018 08:44:29 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 0FCAE208B6; Tue, 16 Jan 2018 09:44:28 +0100 (CET) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id DAC93206FC; Tue, 16 Jan 2018 09:44:27 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 16 Jan 2018 09:44:16 +0100 Message-Id: <20180116084424.17801-5-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180116084424.17801-1-maxime.ripard@free-electrons.com> References: <20180116084424.17801-1-maxime.ripard@free-electrons.com> Cc: Andre Przywara , agraf@suse.de, u-boot@lists.denx.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH v2 04/12] cmd: loadb: Disable by default on sunXi X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The sunXi arm64 build has overflown, leading to the main U-boot binary overwriting the environment when flashing the new image, or even worse, overwriting itself when we're calling saveenv. Disable this command that is not critical until we can adress the issue properly. Signed-off-by: Maxime Ripard --- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index 49e4b9f1953b..c1609bc9007e 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -748,6 +748,7 @@ config CMD_I2C config CMD_LOADB bool "loadb" + default n if ARCH_SUNXI default y help Load a binary file over serial line. From patchwork Tue Jan 16 08:44:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 124622 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp940764lje; Tue, 16 Jan 2018 00:49:16 -0800 (PST) X-Google-Smtp-Source: ACJfBotb9ZYncY5KHZUnJJUpEmHh51WJNccjKP2aDJT82BbEoFxgMs84uFHooKM2dZ1vBvm/5JKa X-Received: by 10.80.144.13 with SMTP id b13mr20124462eda.165.1516092556488; Tue, 16 Jan 2018 00:49:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516092556; cv=none; d=google.com; s=arc-20160816; b=nV30vJjHX05tJ/bpNMGK24ytkC1B/iDQKUrEo4WfH9y+Imvoyelm0U139y3An2o84y NYYlWyZp1xg+NQtWIfVuTI5cnZlII8nMvqOWeIqxFhKKCjzP0boqlc/b+mhypyw37Pn6 DU6QZ7x0Gn00ycbNJzPvLPGyuS1QWu2d6M6ShxAkXATigpzlw/UAR/q/siC05ccRklsB QcNkXjQUKF2r727mmNREJ13SI/eEf6SfoN2IGZW+IQE0W7sfOySZ4RkBBgMP+0uQfOVd IV0dHdavKyt1mNkzqooDRBBucPs7MAD4q3ApMh1BRLrVOKIMEg17sx7VDfXWS7RXfHgI RN0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=LKOHrsS19OzOXwRMHPGMlizqgGLF25Zp1D/U3Jv3/ag=; b=Vuqur5LIMOwa6ac1D5yJVlkbehfvwfavk5s/NjPgUtMMdnBCgHd6lTntYYQHsjEJ/A SAnowbjp/fduU7LmCHVcKYavkLftucU+sKiLFeslkU/5KGnSQ1mm+dJXqVmEZFytKwgM pVEi9UswWwsLrCXguPe6gVENEvsqg6nMJk0fgsl9ee2bYtaETV+5ZXEzy8ASba93nBbK cXQu3kYNeN2uvl3rBxRmPoC+YN2lAJMLjyGFee/avZdmgAuYWI6LYPBKkkYH0eVZRES6 P39yLR8x5FkqvFPI1srzXXWYYv3clzzsEQOjKF95smz7+nN3UcvjnMQbpcbhUSuTA9sJ oUFw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id 93si37810edh.107.2018.01.16.00.49.16; Tue, 16 Jan 2018 00:49:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 1A495C21E30; Tue, 16 Jan 2018 08:47:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 2B734C21DBA; Tue, 16 Jan 2018 08:44:46 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id BE941C21E76; Tue, 16 Jan 2018 08:44:33 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 8F87AC21DCA for ; Tue, 16 Jan 2018 08:44:29 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 6B62A208B7; Tue, 16 Jan 2018 09:44:28 +0100 (CET) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 42E79206FC; Tue, 16 Jan 2018 09:44:28 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 16 Jan 2018 09:44:17 +0100 Message-Id: <20180116084424.17801-6-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180116084424.17801-1-maxime.ripard@free-electrons.com> References: <20180116084424.17801-1-maxime.ripard@free-electrons.com> Cc: Andre Przywara , agraf@suse.de, u-boot@lists.denx.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH v2 05/12] cmd: loads: Disable by default on sunXi X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The sunXi arm64 build has overflown, leading to the main U-boot binary overwriting the environment when flashing the new image, or even worse, overwriting itself when we're calling saveenv. Disable this command that is not critical until we can adress the issue properly. Signed-off-by: Maxime Ripard --- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index c1609bc9007e..87511aa5b15c 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -755,6 +755,7 @@ config CMD_LOADB config CMD_LOADS bool "loads" + default n if ARCH_SUNXI default y help Load an S-Record file over serial line From patchwork Tue Jan 16 08:44:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 124627 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp941141lje; Tue, 16 Jan 2018 00:51:16 -0800 (PST) X-Google-Smtp-Source: ACJfBosK7m4TZjvN00QHrpcsJeJ1ZdJwaHSaQIwqlf2Bn6jiz2oDobsq6k7uoSF9r17x3Wv+KxIS X-Received: by 10.80.180.173 with SMTP id w42mr51564244edd.299.1516092676589; Tue, 16 Jan 2018 00:51:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516092676; cv=none; d=google.com; s=arc-20160816; b=CCUoEg9vHxdPv2gxc4otDWpsMtwZEALa+B0/3qB7Vc+mMGcNbT/Tp/lNpH+kq8ULcA ixqL2QI6lMekdHsQt+1aT/Qx7wIImeEtoz5OJZL23L0XGqytwyAirKA+tl6qt4lOsVdo himAo8suwkB3+TgJ0ye6hm1B0QNThTnWSBrRIj5kL/eWVoIjRviTm/JLjc6l8cavDs01 kxPKlKK/1tMwDoQOjuyCqqRnWaohb1ht7hrang8zISsmlP61W9TCddKYuZWNLcOet7at 2IkDLd0+Zn0XmD8I8Q41ieiXBsI1XyxelaYQ5eS/9njauApCnRISuWVBIZ0uvmMgDpVp SN4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=P6CigQ0FzCRYCVq/k+DXp/fMKbXfO1JUn4y21r8p3A8=; b=owyUqnvOWuCNfRkg+UMZirf8v58qAtCMLhr1KOZmUvDnmZkDH5Vu5SZmmCWiop9Zlj XQJAWSUi+ZevB7OzxEKFeaR9w7iGS/zgl0LgqHSDm+A6tKeB9O/vswJHfvgPYM7ffYbP sNWKacGh/RtXSVLa0gJXo40SfIJyo54NpOoZuYW9EPE4UqlHo7xiMVoqW1vYodairOrj KLcALyRtaJmLUa0aU8wjREAXev4db+pVMBtYoK+17Z9kNYZyisxu2C2ffiFyFI+1Mn47 oobvaHkp1zE9h0RjM7G+UfnH7XRIfwCfw7p4cm1QBvXNZVCEPta9yIwZTeT5EyrYdi29 dAHg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id o63si1783195edd.266.2018.01.16.00.51.16; Tue, 16 Jan 2018 00:51:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 27C1DC21E31; Tue, 16 Jan 2018 08:46:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 287BBC21E64; Tue, 16 Jan 2018 08:44:45 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 3BBFBC21E45; Tue, 16 Jan 2018 08:44:35 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id F4089C21E1E for ; Tue, 16 Jan 2018 08:44:29 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id D0713208B8; Tue, 16 Jan 2018 09:44:28 +0100 (CET) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id A4960206FC; Tue, 16 Jan 2018 09:44:28 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 16 Jan 2018 09:44:18 +0100 Message-Id: <20180116084424.17801-7-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180116084424.17801-1-maxime.ripard@free-electrons.com> References: <20180116084424.17801-1-maxime.ripard@free-electrons.com> Cc: Andre Przywara , agraf@suse.de, u-boot@lists.denx.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH v2 06/12] cmd: misc: Disable by default on sunXi X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The sunXi arm64 build has overflown, leading to the main U-boot binary overwriting the environment when flashing the new image, or even worse, overwriting itself when we're calling saveenv. Disable this command that is not critical until we can adress the issue properly. Reviewed-by: Andre Przywara Signed-off-by: Maxime Ripard --- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index 87511aa5b15c..28ceb417683c 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1138,6 +1138,7 @@ config CMD_GETTIME # TODO: rename to CMD_SLEEP config CMD_MISC bool "sleep" + default n if ARCH_SUNXI default y help Delay execution for some time From patchwork Tue Jan 16 08:44:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 124623 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp940840lje; Tue, 16 Jan 2018 00:49:41 -0800 (PST) X-Google-Smtp-Source: ACJfBoucAr7UPInRLj0Fgoj6geqdQFvykfFyBlyJAnP8BXjWjgdV/UVBwkZVhd3xmiDMfM5bPZZu X-Received: by 10.80.173.163 with SMTP id a32mr53800887edd.114.1516092580923; Tue, 16 Jan 2018 00:49:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516092580; cv=none; d=google.com; s=arc-20160816; b=nYD5ad/Vtr3Fbv43Qtc/pZ2aDRZskPfzz6Jpw6z7XluVGao9Lr1DmXT7cfqA5hAGLm gO5LRP9Ey3vEOST0Kfh55pReJWWrrVUPqU6lYKZ2MJ2qFDPvfSR7JhDZHmFszWcIb2cm zlq9k2H2dfEGzfYpNg8gTC5tTRaxbay4M8X2/nzKz4eeBfYCohtO3et7zHgwKXDpBRzV SIm1Nnio32+PG3QYiSvFZ6LmWBu7ehjTIowh1mngfineP0+QH5I4ejxB/lspPwYM2jM/ jcF2j1j7AEOOojnNwYG+kXuJytK3sWa+2U6R6bOLysQnAIqlZj9tuUndoYjf56UG3Bj6 vTvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=0BJfKRwd1RpHTtMLdUFywoTtZIsN8F2hipLACjyf/0o=; b=f6gxLhyrUAmSKzFuDZIWHw80Clg/9/wgvz9KXGHvG4Wha7GNA19nrMfQOO4uF7pi5V jYGJXgCaZunq0IXObCKRvbEcrC4vSHT86DT3JKiRLqkmc71YGh6MsFiJ9eC9OdPcY+X7 D/R6Id8X3WHtFTIFyKhZ2S/+ZgFttPbsz62EpvA1A0Xcx4/o1ebX7glAhlogo3tO1iwj 8yMXPYNhLMCyKWaX3dGuEuD1W6XWYOhlpGhqDsAloUoqQob+Hm/R3eOxaJ72f8CsQzWp DrtsmGyCoEjOkmpMt02dTxNhw6DuRp4/8vF7s5q4kf56ptiIUP/LyzjUulmYthxjjme2 EmeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id l1si1708105ede.539.2018.01.16.00.49.40; Tue, 16 Jan 2018 00:49:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 6AD6EC21E26; Tue, 16 Jan 2018 08:48:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id CE059C21E4A; Tue, 16 Jan 2018 08:44:52 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A3964C21E28; Tue, 16 Jan 2018 08:44:35 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 66BB9C21DC1 for ; Tue, 16 Jan 2018 08:44:30 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 42B94208B9; Tue, 16 Jan 2018 09:44:29 +0100 (CET) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 14ACB2084D; Tue, 16 Jan 2018 09:44:29 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 16 Jan 2018 09:44:19 +0100 Message-Id: <20180116084424.17801-8-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180116084424.17801-1-maxime.ripard@free-electrons.com> References: <20180116084424.17801-1-maxime.ripard@free-electrons.com> Cc: Andre Przywara , agraf@suse.de, u-boot@lists.denx.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH v2 07/12] video: bpp8: Disable by default on sunXi X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The sunXi arm64 build has overflown, leading to the main U-boot binary overwriting the environment when flashing the new image, or even worse, overwriting itself when we're calling saveenv. Disable this command that is not critical until we can adress the issue properly. Reviewed-by: Anatolij Gustschin Reviewed-by: Andre Przywara Signed-off-by: Maxime Ripard --- drivers/video/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 45a105db06ae..a267c9acfecb 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -38,6 +38,7 @@ config BACKLIGHT_GPIO config VIDEO_BPP8 bool "Support 8-bit-per-pixel displays" depends on DM_VIDEO + default n if ARCH_SUNXI default y if DM_VIDEO help Support drawing text and bitmaps onto a 8-bit-per-pixel display. From patchwork Tue Jan 16 08:44:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 124625 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp940962lje; Tue, 16 Jan 2018 00:50:12 -0800 (PST) X-Google-Smtp-Source: ACJfBotoHwu9UG39T03mLF9upAVqnbu1Dd6qXVThqtI6fkcRVaj0zZ67kOxpTpAQHJdtV0i8DPXU X-Received: by 10.80.219.75 with SMTP id b11mr6244984edl.220.1516092612413; Tue, 16 Jan 2018 00:50:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516092612; cv=none; d=google.com; s=arc-20160816; b=z150oo7Rhg9i28VeYyCSiqEmnEPX0YUZ319mMm7L2ZssQR8Oc1S3Lxz5yBcXWqzpgM Hrfsq914sv7LqEmUluXkgg4OYKNnyqG23z8qRcHKczBf0mxAc83ad7GgSj54JsHUJPhM DYfXam9+7ahZHL+vpduSHFpA9yDN219Xl3FI6fwmAXUOSTB1vEeVOiO5m+Y54K1BT3ru o6rGcxNzyGEQH8QE4wZVvmS+2csdgF2YXKLNIom35LsGhwJJsBMsQ6Yf1EjcwKjNEMb4 bX8AHjSHUVYPuwV/uEJOzQdW4o1FnmoDvK077fC7wASMzbzdIdo/HjOGVWhn486/0mM3 TNfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=ln2fzK8jZdbcHlb5nMFWuALldFgT9WqY5Psb3EEM+xU=; b=n9CEV72TGCJLahi7QjpBmTZl7typ8AZKQJoNUP/p3wZ7I4vLA72iVqV6FeNDFBVcW6 Abnt29C+OAN/X75/FybX2TTZdUyWs388uU48PiwJ0y/WJF9SVKkEELWChBR9Zgn9yp6D yTaFAynEzx8z+4SLYXSLli80Jp8pmO/wFyAfE5h81cBPBj+fT1iMSLBBACZ7rOR6qB5K Jk07EVY3sz8sMTI6w6oE7ENZgv4MW3s8VZ0jqJMhejjRP/8fDu8u4cf8CPFhZnbxF0Lb RytcpKnrYPO8pI/ti6GXDSCYZSuLyWfc8TywwGWzv2anVBgF8NJtfzFpGNjpL8EGW63n 3q/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id x91si1876828edc.408.2018.01.16.00.50.12; Tue, 16 Jan 2018 00:50:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 120A1C21DE5; Tue, 16 Jan 2018 08:47:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id CD8BBC21E66; Tue, 16 Jan 2018 08:44:48 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 730BFC21E70; Tue, 16 Jan 2018 08:44:35 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id C7785C21E2F for ; Tue, 16 Jan 2018 08:44:30 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id A404D208BA; Tue, 16 Jan 2018 09:44:29 +0100 (CET) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 74B682084D; Tue, 16 Jan 2018 09:44:29 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 16 Jan 2018 09:44:20 +0100 Message-Id: <20180116084424.17801-9-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180116084424.17801-1-maxime.ripard@free-electrons.com> References: <20180116084424.17801-1-maxime.ripard@free-electrons.com> Cc: Andre Przywara , agraf@suse.de, u-boot@lists.denx.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH v2 08/12] video: bpp16: Disable by default on sunXi X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The sunXi arm64 build has overflown, leading to the main U-boot binary overwriting the environment when flashing the new image, or even worse, overwriting itself when we're calling saveenv. Disable this command that is not critical until we can adress the issue properly. Reviewed-by: Anatolij Gustschin Reviewed-by: Andre Przywara Signed-off-by: Maxime Ripard --- drivers/video/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index a267c9acfecb..2fc0defcd0d1 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -49,6 +49,7 @@ config VIDEO_BPP8 config VIDEO_BPP16 bool "Support 16-bit-per-pixel displays" depends on DM_VIDEO + default n if ARCH_SUNXI default y if DM_VIDEO help Support drawing text and bitmaps onto a 16-bit-per-pixel display. From patchwork Tue Jan 16 08:44:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 124628 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp941229lje; Tue, 16 Jan 2018 00:51:49 -0800 (PST) X-Google-Smtp-Source: ACJfBos40tVDi80dXqcqLxWUQu07vj9A+qUauZNHuW5wI4MppQwc3cHxkAaHAE29G+ngaocrK22K X-Received: by 10.80.158.79 with SMTP id z73mr51521159ede.134.1516092709070; Tue, 16 Jan 2018 00:51:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516092709; cv=none; d=google.com; s=arc-20160816; b=NXoqBsfbwwFDCP3GMsLNNeGkuK0hRKd+8aO5ImgKD0VOLt00ec1cRG2vmPq0vjFrFR ac+x0NYqr+SlupVWJ6H7mgj/ah0iZPfhatWwMdFHoiJtFY6nGyyBudTz0Uoze4J2YxYT 0BxxHpKYc7CJZRrIAGRLd/HtsFTFFqaAhg1F7M1CyoE1fZAMd8tnDhowJGRep2XF8Uec xLmWeOhmJ6eNgtjZLku7YOVcCE2rDac2HkH27ohhVCA9ND0NUputlMYjfrkwkf50Uq+2 aAJ981AWZWHhVvhyMzEEKv33WfQwAdCzDLBFLh0lyv9ZYxpda5VDM/cowXyDH+6JJv2a Lz2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=on6fNjW0IHz/5CPum/8NSycFU+d3q8sSrMmDJaFhE0g=; b=Q/tg+JHkCyZYt8mV0tv5zBAGMvpJ4QrPmywNAKGGM3F5vevgIrmYKPU68FRnCENJRf GNis9JOsGgNYOCMj65oy/98hhcX068TGFCqxwoLWA8xVfsyHVAG5EZMZzizwkQ1kyaVU QfoVUgVitibjOdN+4dwnxsuu+369J9AZidzyi7r0tqnxcxmdxmCTTE3h8YApwTRCzPn1 Nw6OYLsVFxVcsjlmPU2LBX8DqZmt/Bqt2KJ2seEAyUEmD+J/P5IicqNnZ0yEGbYOdILT P8cu2WIqCoSxDIOO9YLxEE2jk1tRBWeblZCJHo59R8Vdu5hsTdZuM0qEwgnk5nQ+fcnM bBRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id t4si1851879edj.405.2018.01.16.00.51.48; Tue, 16 Jan 2018 00:51:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id A9894C21E08; Tue, 16 Jan 2018 08:47:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id A96C1C21E45; Tue, 16 Jan 2018 08:44:47 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 05E6BC21DB5; Tue, 16 Jan 2018 08:44:35 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 364ECC21E28 for ; Tue, 16 Jan 2018 08:44:31 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 11EA3208BB; Tue, 16 Jan 2018 09:44:30 +0100 (CET) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id D62D92084D; Tue, 16 Jan 2018 09:44:29 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 16 Jan 2018 09:44:21 +0100 Message-Id: <20180116084424.17801-10-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180116084424.17801-1-maxime.ripard@free-electrons.com> References: <20180116084424.17801-1-maxime.ripard@free-electrons.com> Cc: Andre Przywara , agraf@suse.de, u-boot@lists.denx.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH v2 09/12] net: regex: Disable by default on sunXi X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The sunXi arm64 build has overflown, leading to the main U-boot binary overwriting the environment when flashing the new image, or even worse, overwriting itself when we're calling saveenv. Disable this option that is not critical until we can adress the issue properly. Reviewed-by: Andre Przywara Signed-off-by: Maxime Ripard --- lib/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Kconfig b/lib/Kconfig index 00ac650e741d..710deb7a6303 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -57,6 +57,7 @@ config PANIC_HANG config REGEX bool "Enable regular expression support" + default n if ARCH_SUNXI default y if NET help If this variable is defined, U-Boot is linked against the From patchwork Tue Jan 16 08:44:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 124618 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp940154lje; Tue, 16 Jan 2018 00:46:18 -0800 (PST) X-Google-Smtp-Source: ACJfBosMvqlyEdAY2BBP+nr+VfuG6Q0/FfaEwoF6stfIOme03D4Z6Pbf1t2k7cKM0SlHEYXRlYHK X-Received: by 10.80.230.12 with SMTP id y12mr2123001edm.203.1516092378800; Tue, 16 Jan 2018 00:46:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516092378; cv=none; d=google.com; s=arc-20160816; b=ihEas4wVuCovVCieiE6QLtJczfPN01YM1J2VnmWnwLyhx2ow3OcXmTsMLTfDJH4sy1 qgbThoCudn5IYUWxv0e5LGlsmgnHd/Wo8k+gPqavt4rMumWOMtwH9BnZRX18JjIU/Vys m9rNFUtYANnnKqjV9Qh7hIxCOfxVSu+KTKmyow51mm3okbogp4QvRCNPckPeYCtoHF3r l60dp4JId+oCzak4hZDNlgxcBZ17gPcU4I8BQ1MHSg21ly/RBWGKzDO/wLbNXMJ3wOXc pFCO++AjbZ0RuixEuk8QqOZOP1Ra7VbF67NYzo5ZuX9lA5vLPQjp5VY2GdLcZ65oSuyG UahA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=97e/Q3A04gUY1yZYIyyC6f1Raeo8xJ271IQe1DdWZlM=; b=wndBQRXzTuX4ZsqBkq/Cg/K5VgJem8X25RH3rF++1CX17+I0g8xSoODb06YQRvy5RU IusOVUA0BhJCTjkn/dTIHRR1Lqw6/zoHQ2BM4TZf3ZPeJRo+QhtniNnzQDBLGqivYxIF 3XOApm57rH1BKHHVN4LWC079IaIl+VocNFyG6WPDtzMfhvkzwkZgb9gnf1tiyWdn0CZL 1ZUQxfbcDv91UMzBa7DK2+5yoJDk6AIN6xwPR979+0vnai95E3xxhWMc3v+dOPwfuSnn 1ozCboyzIXbK5wgz11WgB9qTAb+JVRj5X32Pi+T9Z7UaUNxBzmGX5cw0Z3dPqeEihZYD gMtQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id f48si1540869eda.61.2018.01.16.00.46.18; Tue, 16 Jan 2018 00:46:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 47C1BC21E16; Tue, 16 Jan 2018 08:44:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 932C1C21DE8; Tue, 16 Jan 2018 08:44:28 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 8FE75C21CA6; Tue, 16 Jan 2018 08:44:27 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 3B2D6C21DA5 for ; Tue, 16 Jan 2018 08:44:27 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 0FA9C208A2; Tue, 16 Jan 2018 09:44:26 +0100 (CET) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id DADA020726; Tue, 16 Jan 2018 09:44:25 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 16 Jan 2018 09:44:22 +0100 Message-Id: <20180116084424.17801-11-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180116084424.17801-1-maxime.ripard@free-electrons.com> References: <20180116084424.17801-1-maxime.ripard@free-electrons.com> Cc: Andre Przywara , agraf@suse.de, u-boot@lists.denx.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH v2 10/12] sunxi: imply CONFIG_OF_LIBFDT_OVERLAY X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Andre Heider fdt overlay support is useful for all sunxi boards, enable per default and remove it from sunxi defconfigs. Signed-off-by: Andre Heider Signed-off-by: Maxime Ripard --- arch/arm/Kconfig | 1 + configs/CHIP_defconfig | 1 - configs/CHIP_pro_defconfig | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 001ece3cf140..645bff5702cf 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -748,6 +748,7 @@ config ARCH_SUNXI select USE_TINY_PRINTF imply CMD_GPT imply FAT_WRITE + imply OF_LIBFDT_OVERLAY imply PRE_CONSOLE_BUFFER imply SPL_GPIO_SUPPORT imply SPL_LIBCOMMON_SUPPORT diff --git a/configs/CHIP_defconfig b/configs/CHIP_defconfig index 062ac76e6d66..2452d42a873c 100644 --- a/configs/CHIP_defconfig +++ b/configs/CHIP_defconfig @@ -20,4 +20,3 @@ CONFIG_AXP_ALDO4_VOLT=3300 CONFIG_USB_EHCI_HCD=y CONFIG_USB_MUSB_GADGET=y CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y -CONFIG_OF_LIBFDT_OVERLAY=y diff --git a/configs/CHIP_pro_defconfig b/configs/CHIP_pro_defconfig index f47aead6f904..02e79b5bb510 100644 --- a/configs/CHIP_pro_defconfig +++ b/configs/CHIP_pro_defconfig @@ -25,4 +25,3 @@ CONFIG_AXP_ALDO4_VOLT=3300 CONFIG_USB_EHCI_HCD=y CONFIG_USB_MUSB_GADGET=y CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y -CONFIG_OF_LIBFDT_OVERLAY=y From patchwork Tue Jan 16 08:44:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 124617 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp940124lje; Tue, 16 Jan 2018 00:46:14 -0800 (PST) X-Google-Smtp-Source: ACJfBosrWwWE3vRCQQsWqMUG2yXay9NSNlFxla4mLwKYkriSxWqIsfMAQ0/PbekO2sEssrTOtbvs X-Received: by 10.80.241.215 with SMTP id y23mr24842528edl.204.1516092374245; Tue, 16 Jan 2018 00:46:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516092374; cv=none; d=google.com; s=arc-20160816; b=BmSdombnCDZR0teSbxd3Lpf35fIsnQcv4u58rn3pMoTZRqrNQvNtkBV7Zav+SQgOua Futx20ijYMpWVKcgRWJZMFOESLy6auini2zMAZWG8qlcomKu0d39zY6xme8sVabv6SIW gVD1zm9mBAPzSNdFkMXDFjjI7kAWVGdx3VqWCuKfOZDj5TIBdjFy3ZJM7ZbGr07ByIAw irDi+JURHX6Kb4yluCSa+yvbrGfhL/JTYZd0hRCzVkbeOoPxNUXtDglAAEx6fyI0IcOo WXW7JuDBQe7+VCGl/Zxg1katB/q+3XaJW1Yc8pIv2wCRyhLdAcEp00P/DrHL3g23esfi VFJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=TRfRfDKVSyUJBNk59wbHuiAVkj/SOp89/qTjZZtbwys=; b=Hwrgk5EvfI1WMjECVR31oV9+8wLZsum0s1GihGCWxYTkec2MIuuuA7LsC6lTRtvxIJ q0JCqZHH0dQ4DYXBRfYBTEEQY9rFQCvpPOA0DlWzMcrtpJmqc/y/pF09rucjTHMNaugx 9t1Jf9Gh0cnMCxp/EFVs7OusItSiQ86k+Ow+cpCbnZj7Hth7/WbKcP3EtPG5ByrtqNUx VLsshgO0RGeatY2cIHbzvETW8YlL/7sF2LGPeEw9ihI86PdwAeiTHZ8Idxr70LNNP5v5 VYbmqjlcA1RAxGjDME4OF6qv99SMzHr4EEY2zrnu71NSaB2/IROzgsoKAFb9JTN4XxuN FayA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id b56si1792723eda.69.2018.01.16.00.46.13; Tue, 16 Jan 2018 00:46:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id B3362C21DF3; Tue, 16 Jan 2018 08:45:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 71BDDC21DF3; Tue, 16 Jan 2018 08:44:31 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id DE782C21DA6; Tue, 16 Jan 2018 08:44:27 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 99173C21DA5 for ; Tue, 16 Jan 2018 08:44:27 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 72F32208AE; Tue, 16 Jan 2018 09:44:26 +0100 (CET) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 4A80720726; Tue, 16 Jan 2018 09:44:26 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 16 Jan 2018 09:44:23 +0100 Message-Id: <20180116084424.17801-12-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180116084424.17801-1-maxime.ripard@free-electrons.com> References: <20180116084424.17801-1-maxime.ripard@free-electrons.com> Cc: Andre Przywara , agraf@suse.de, u-boot@lists.denx.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH v2 11/12] Makefile: Add size check to the u-boot.itb make target X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The make macro to check if the binary exceeds the board size limit is not called. Make sure that is the case. Signed-off-by: Maxime Ripard --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 4981a2ed6f4a..719521950360 100644 --- a/Makefile +++ b/Makefile @@ -1053,6 +1053,7 @@ u-boot-dtb.img u-boot.img u-boot.kwb u-boot.pbl u-boot-ivt.img: \ u-boot.itb: u-boot-nodtb.bin dts/dt.dtb $(U_BOOT_ITS) FORCE $(call if_changed,mkfitimage) + $(BOARD_SIZE_CHECK) u-boot-spl.kwb: u-boot.img spl/u-boot-spl.bin FORCE $(call if_changed,mkimage) From patchwork Tue Jan 16 08:44:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 124620 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp940705lje; Tue, 16 Jan 2018 00:48:57 -0800 (PST) X-Google-Smtp-Source: ACJfBotTNkYuxT8mWwm8EQAFX/dftmKpgW0XbdEpLE8/SKcR8SLbzV1wUHwBJN7S7UBay+eP64Lm X-Received: by 10.80.179.14 with SMTP id q14mr53851610edd.251.1516092537451; Tue, 16 Jan 2018 00:48:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516092537; cv=none; d=google.com; s=arc-20160816; b=Uhpmv85E3wdu5DrVdMHuB3hP9orDHf8y560Ko39meLhGpOPZA6sMDY+eswJAanNDVu o5uvjExTCrmYHXN0LCDKTAHQp2EFSPKVQG3FIT7F84z6iPm2MAXs+Gj+Df7hPgseP6dg b42XXzKI5YxcGtRtQnF5QaADQ6bcPyJm6MTGAaKk2StIHySUk8tp3zIrzUrvpyZg76Fd d0wyE0+g6UnKyltYcladsqLAMAGCH/lGxLT1mjFzgTpx2/RT6216NyETKaEhDzcnKrwi N1Oo2uJ9+fKM5SwIDkgdw64jJcD4lSoBqmqzHE9UIHIi+c1z/nfAdMC/HX1CfOAXagqN 20gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=rKW+NpVWwDivWBu+zd/YA1EP1oRzYO1AoHhjQ6lLLmY=; b=zKP+COPpwt0/9ULrCAHYzMA55j3oG9hJNnGOQG88r4O/aR1BF6P7+jrvj2Ym0zlt6j +OfFdA1NF6nZASlgKaXCij6eYH7ddveSLbk+Y9oCCLlfIuuQkgU23ZaXm+ka5DIE9YD4 4117kYlybUaqup4wNXpT8w2uSTUcPFUqVi5cIMo4rC/7SYofX8oU7LnkJy/HNLxrqqzU gjMnIdvjdOL7IqDdQiGAPHxMwU79c/0Md6NXnJUK3CuZ7xHgaDWiQOODgsC2vsU+VhF5 jiRhJs38k75AY4izQj/vMzn4z81vanJMcTYiMjTfKu0TczFa5SHfUDvgEQrzyt8lJiK0 fCbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id g45si1803922edb.218.2018.01.16.00.48.57; Tue, 16 Jan 2018 00:48:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id F1257C21E33; Tue, 16 Jan 2018 08:46:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 458DDC21E1D; Tue, 16 Jan 2018 08:44:41 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id F3A5FC21E1E; Tue, 16 Jan 2018 08:44:35 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 93AE7C21E30 for ; Tue, 16 Jan 2018 08:44:31 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 6E6D4208BD; Tue, 16 Jan 2018 09:44:30 +0100 (CET) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 45613208B1; Tue, 16 Jan 2018 09:44:30 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 16 Jan 2018 09:44:24 +0100 Message-Id: <20180116084424.17801-13-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180116084424.17801-1-maxime.ripard@free-electrons.com> References: <20180116084424.17801-1-maxime.ripard@free-electrons.com> Cc: Andre Przywara , agraf@suse.de, u-boot@lists.denx.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH v2 12/12] sunxi: Add limit with the MMC environment X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The MMC environment offset is getting very close to the end of the U-Boot binary now. Since we want to make sure this will not overflow, add a size limit in the board for arm64. arm32 has already that limit enforced in our custom image generation. Signed-off-by: Maxime Ripard --- include/configs/sunxi-common.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 3855c564f914..6236e129a89d 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -147,6 +147,16 @@ #endif #if defined(CONFIG_ENV_IS_IN_MMC) + +#ifdef CONFIG_ARM64 +/* + * This is actually (CONFIG_ENV_OFFSET - + * (CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)), but the value will be used + * directly in a makefile, without the preprocessor expansion. + */ +#define CONFIG_BOARD_SIZE_LIMIT 0x7e000 +#endif + #if CONFIG_MMC_SUNXI_SLOT_EXTRA != -1 /* If we have two devices (most likely eMMC + MMC), favour the eMMC */ #define CONFIG_SYS_MMC_ENV_DEV 1