From patchwork Thu Dec 21 12:40:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 122546 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp829229qgn; Thu, 21 Dec 2017 04:41:09 -0800 (PST) X-Google-Smtp-Source: ACJfBosHaqN/YbOn5Q8QEk/BAhZ+xlhqy3UM+qEjm7dvqD0NKp+SdeL0wUV0GyF6NBdvxfoDLLVP X-Received: by 10.80.179.137 with SMTP id s9mr10169552edd.164.1513860069276; Thu, 21 Dec 2017 04:41:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513860069; cv=none; d=google.com; s=arc-20160816; b=oMVpzqOVdnHtO8hQ+1qQA+dVIK7Kc67YN+VZkAlVsLGPps6/xxx9PYXbqi4GrcALF0 WB2MI9GD5bvbgozgncmUTf0hOgAk4MBa2acECMMA67GC3+Yk4rVGM5+asr98e+de7Hch AGspya4tnAwcghRGnZqOYyM30PFHw1GCDYy8dv9gk/ZTktV6ufM+GWr3wV/ytnS2644h HqocdnN1ja4CLCQS6mjRV6ikj0xdLqxf3k6OJvOU+/rRkZ0w+/BZolv3NldJv6PKrXHn zUg3qc4AFd11W9RJvvd/hHW8ymONp7S9fjYd+HoTm80ALYXdvuN0zhF7AUSUDQ6kOH7P 9WxA== 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=xyfRUe5/uLkYyygMNF1WpP+Te9QLtkKxWYYgkAammPI=; b=kklXw5syucnHfxJWQ4wpFisisxAHFh94ShynYDjersNXsyvhUBZuXRP21x2Ns2mh5B 8sLZ9VbfNdW4w7+jw2/eQTqCcDsqx/p3RsyvRbgJLADv2E9b9VP053QPWJS5X1nAfRSi cxVISCVlsRBslTN//o+8FFEwAyCR7r56/lpxfVwWrDzUrYQORFUcgBZ8eEWO81YMxcDn K4dzZwTAvzqDfCrOU+2kgYDOcS8dRtv9Ik4Su0i9NuSMO6Wubas8NJdnsiDdbpKxhwS0 q1VqVSe+i/nidhSwNc22wGNqjalt6rsGJANQy8JsUWU2Vy4pt309dv894ekZil+i2FUI WTjA== 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 b2si364602edh.448.2017.12.21.04.41.09; Thu, 21 Dec 2017 04:41:09 -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 DB399C22204; Thu, 21 Dec 2017 12:40:55 +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 12FA8C221AC; Thu, 21 Dec 2017 12:40:35 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id CA984C21F1D; Thu, 21 Dec 2017 12:40: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 57D2FC21E45 for ; Thu, 21 Dec 2017 12:40:33 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 86030207C8; Thu, 21 Dec 2017 13:40:32 +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 5CCBA203B5; Thu, 21 Dec 2017 13:40:32 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Thu, 21 Dec 2017 13:40:20 +0100 Message-Id: <20171221124030.23721-2-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171221124030.23721-1-maxime.ripard@free-electrons.com> References: <20171221124030.23721-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 01/11] 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 Reviewed-by: Andre Przywara --- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index c0332235261f..7751001819d0 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 Thu Dec 21 12:40:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 122547 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp830152qgn; Thu, 21 Dec 2017 04:41:51 -0800 (PST) X-Google-Smtp-Source: ACJfBovjIFlLE9fLiHrM2LUr3G/4UP3iqU4NHUUZWjPXdAFL1aTon1aTGrlo3g7nVltBESsJGiAe X-Received: by 10.80.143.67 with SMTP id 61mr9939404edy.219.1513860111322; Thu, 21 Dec 2017 04:41:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513860111; cv=none; d=google.com; s=arc-20160816; b=e0m8Kedq+uqakF/rZA9oJTnr9yA/rFgjluiIymps5n8RFJoGdHByLScs6OHVmn/bBo Ser/nYFUeMuP/VN/aQSOVXqJnGixGjqEY4NjHY3QGM2sVoPHPUhQPe6EGp3ACgRM3Yzu 0YgBYIzpu6CAfebDbQXdQar3HVeCRado2+am9WtKuLm3HtvilqtCJpfvoKKwxfkj8bqK 5d5Lee9BE1Lw7Qx9n+r+pFVxJYjdG6BE4yZaeRS8RQo5PMDdnEg4X/mE1MwJV8q95zIH IchV+P7Bqgw8JXkJ0rG4jt2PnTcXZ/HWawCOCa+ZkPGKNvmszO799qa+gWerWJENSoWP tnGQ== 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=wKRM8eIzvYGft9STZShexjYvBXCfdtFHV1PUPhPAG28=; b=fYHByYcW9Fv6mps4sKCFse8rg50kea1fdRQMEuLY3f95ogebUC6SeOmhj/GGgWliFH jd/CQVdsODHBkcoZyoxs33QGZnqDz+pfC2vY5NxQQKWgE0na8EpELai8PHJIDmb6tXT4 1kz2QLMNfpsaBCmk6BIttHkp98XV5X+k05VmLcwKJ98+Ekhhd/IdO4KCft/SClyhqV9i oa5M0/bJ7rqmyLa01dqmjTXpyV6ajAaEvbnwYUhr/KSPLjZ973mCkpT7k2H41QlvP05o N6Ff/jcjLkFZpbt9shZo1lNiGq035NRqf+EBsKtfgxN1YbTfjhkcD4JjMXQ2m8d1S1aN A4eQ== 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 p92si456484edd.308.2017.12.21.04.41.51; Thu, 21 Dec 2017 04:41:51 -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 EC8C3C21F8C; Thu, 21 Dec 2017 12:41:15 +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 8C10CC221C9; Thu, 21 Dec 2017 12:40:38 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 61D59C21F8C; Thu, 21 Dec 2017 12:40:34 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id BC9B4C21F0A for ; Thu, 21 Dec 2017 12:40:33 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id EA907207F3; Thu, 21 Dec 2017 13:40:32 +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 C2B95203B5; Thu, 21 Dec 2017 13:40:32 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Thu, 21 Dec 2017 13:40:21 +0100 Message-Id: <20171221124030.23721-3-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171221124030.23721-1-maxime.ripard@free-electrons.com> References: <20171221124030.23721-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 02/11] 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 7751001819d0..88188938045f 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 Thu Dec 21 12:40:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 122548 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp831274qgn; Thu, 21 Dec 2017 04:42:53 -0800 (PST) X-Google-Smtp-Source: ACJfBosTP372KrmsN8T4f39P3aTV++k02C3PMoXgE96OP0bnymwMOhwkotPOxWro4l/n5SSsSiQS X-Received: by 10.80.194.194 with SMTP id u2mr9956651edf.260.1513860173747; Thu, 21 Dec 2017 04:42:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513860173; cv=none; d=google.com; s=arc-20160816; b=pPGUU/UprXOkxLOHVprxuLNuWvHljKQ2Fac6R4ueTiAYWvQ6+L6pLB3oIhxwQp0j9Y AQL5TO2r0Ys4BsIgGijJuwpws8lJr97lVtwVKDM63e+zIyG994JRryCP3h8OF45CxXcc tNbh/+L1V7sxR0q0gj+LWzKJzCaeqccdAk/canjGt1fJHHoR7m0j8A8yuJMe4kHgASTo i1xhNrEgjNmmbFw84gBiCqCXvZqUW6yV97FhD0FqFu1JF80tY1XwMknQrP/wvLG2paj7 garbDwVD2Ftvuc+NoE16KxUcLEJgecRkHOgVsGHblnuP2giPDoZZppurv3mV35pu7fhu qXYA== 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=EYOvWus7BuB7FrqzUHg5ntVewBuoWX9H3UPSLuSqx1w=; b=KiIG46aouKUq4oGubx7e7J82FgabTEQlHGraxSDPlv9EmJgOKgSZkQoeKRMvFK8gF7 Q4TDVdCA9fQWn0Nq2CiDdoVt4C1acsx3MjwUj2pnu81hkeSO81MqXff5DX51K5xi1Pr8 cV7VMLAdjM8DpVbsiwTgRDyWdFX2P0sMonb6Sh7Vx9gn5N3+CQtBn/5Acc/gteBPNs+w Y6aRHJqnYO2b6odrpEXEezqd/Z0kcrNXaHjQJzb5fMMoxXRCe0AQuvxOMVlKBmNuKJef 0mBEJzsoi2HBLjVBjkEQe4vGHSlye0eYNMiGKgFAn0O/ddK6aCVvf0lb+Pw//BOMd04F Fqqg== 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 m59si15523124ede.46.2017.12.21.04.42.53; Thu, 21 Dec 2017 04:42:53 -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 22A5BC221E9; Thu, 21 Dec 2017 12:41: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 883ABC21F0A; Thu, 21 Dec 2017 12:40:39 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 96198C22140; Thu, 21 Dec 2017 12:40:34 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 2E54EC21E45 for ; Thu, 21 Dec 2017 12:40:34 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 5C14D2082F; Thu, 21 Dec 2017 13:40:33 +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 32303203B5; Thu, 21 Dec 2017 13:40:33 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Thu, 21 Dec 2017 13:40:22 +0100 Message-Id: <20171221124030.23721-4-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171221124030.23721-1-maxime.ripard@free-electrons.com> References: <20171221124030.23721-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 03/11] 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 88188938045f..36a1b9b784a6 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 Thu Dec 21 12:40:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 122555 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp834610qgn; Thu, 21 Dec 2017 04:45:52 -0800 (PST) X-Google-Smtp-Source: ACJfBosfLC1v4FDAoUOEvCiGDcsFXRCYMtyeL0I5Wo7g4b80xXZXN9FFS+afQZkMn4ylLCeB14Bs X-Received: by 10.80.244.202 with SMTP id v10mr10016396edm.91.1513860352048; Thu, 21 Dec 2017 04:45:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513860352; cv=none; d=google.com; s=arc-20160816; b=Bm0D/v5dBpP+Sv2kHHmChUquD3a90l1jKSRyVQufIAJ0hqGNWy2GBr1Nra6OzMcjoX HYemkVfbJypPQneg16g6/cBTvAVOJiJwmVEWOawwmPQ8S3h2KUnc746/oUak00ZcQtsW dWjuqUz3cEej/u8Z9RSXDMhdRD0jO0rXXZ4cEOY+mKK+H1AwrBSAVFlemFl5btU70zxo p2Mokbtx8a5fd3iZWRiKvGMffeS3bCJNs2pn4pS5u3aH4LxL/1aLnwBrmXdQ7tTf9kM3 4VoNCA9AxDa7ux6VMa4a/cKVeQPrzFOsgGrucbq1Sh4qZraS1uytw2VEFhm3ZMZjWp5B G9kg== 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=7MCw2QjVy2smfjDnEjsLZtn2T5T3qL1nj9cn8BJJK+4=; b=nyq+Yj13Rgys7YvEPBC5E118PjTqgXncPwv4RKBDmytnBp/Eg5c2ElY5UY8440LCeG 5iaEOklnGKmo7o7Fa/qprABbYbsLogHpPPTAz4zVW4v41GrFFDzsckXYJy4Hg2c1Qgb2 i2NSVtB5qTskJrKkKHqnzxQIi8x/33hg6uTsWPkujSAGH3RKZtI8nOcex70llIuC6dyn 6//ukDKOvDnp/P+/JigJAwqDeA95I6ZnCg7JMLdGsRMFmQmhMinUE3xdVe1k8AK60Zs3 9I37lsnBVyOxjimcIne73CfM2EMbQhTHb7h7Wgua6lUHeaH9hZIgr00VFuW0CEQPiOfx CgtA== 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 b22si5811479edn.176.2017.12.21.04.45.51; Thu, 21 Dec 2017 04:45:52 -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 AD472C21FA8; Thu, 21 Dec 2017 12:41:48 +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 64094C221E1; Thu, 21 Dec 2017 12:40:42 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 0B0DFC221E5; Thu, 21 Dec 2017 12:40:38 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 997D7C21F8C for ; Thu, 21 Dec 2017 12:40:34 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id C90D52092B; Thu, 21 Dec 2017 13:40:33 +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 A103C203B5; Thu, 21 Dec 2017 13:40:33 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Thu, 21 Dec 2017 13:40:23 +0100 Message-Id: <20171221124030.23721-5-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171221124030.23721-1-maxime.ripard@free-electrons.com> References: <20171221124030.23721-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 04/11] 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 36a1b9b784a6..098fbe6fc90a 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 Thu Dec 21 12:40:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 122551 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp833866qgn; Thu, 21 Dec 2017 04:45:12 -0800 (PST) X-Google-Smtp-Source: ACJfBovWdH4BdmalZ/QM6SH+GSQYHy3ZMJ7GxeoYWAuD+DO8XJPEjjuoHD/9fbV2gWyf+ayxnndR X-Received: by 10.80.184.131 with SMTP id l3mr10039298ede.66.1513860312318; Thu, 21 Dec 2017 04:45:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513860312; cv=none; d=google.com; s=arc-20160816; b=dqrytt3xMMtipLC4rVAxyOvI+fHbbybizlw+nX65K5mcqKNWMLYdXQEbsjXNmKw6eF VfhGN+/NvCu0CZfRAJZESDB1w3hulm4fOKsLQa4SizsZPR8S+veav6eAgFEjwwfqYlb2 axP8PcU1/pCxzjYTj2e4r5MHydT6Ki48/q5JzDIfYcFVOe+lI/1vr+F6bADq4ToqsKgK evUGerLDMOrd5JMq7qvFtHxfJpdiC6J5dpxmPGtYd1fYYSxM0UZ7tdhelOMZnB2TixwU VxIyjqQx4aGNz6wi1UhHtEBIMWYy3SE1iuL6Y2R9DUQtrQZaoU3qtholdAd/n1QC3Y6p 4HTQ== 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=ICJuVFMNiXEnF34UQ48b6l6cgKHW6EaFkzN57IxrGjk=; b=g1JaZSqeDVipamIvwuNCHp3jH6oF6OTkaaax70JuwWpISOwXWh+I6XwoATHmiIEiLf AFVcrowWFvAPX51tRuTcstWo7BhQgfFsfY2zCzTU8vcQeC5B4bQW5TJLcF8+XMKQarGh 2v4z39CSrWYZ8qsKmudRFCADjkSQc/Prs3w0L7J2atjmQrVXyqLpoors3Ep6swWuHE+3 /Oyk0RMDBsUbP/p1rPRvq2NNgo7ts7cCqADvjrD4/ZOKy3xFsYG64H0rOEaej7TScwr7 b8rEyA2N03xFCvHAI0GYMArIRmGl76KfKjTb4JvbqeBwlwtl92ueR5BBPy83wTExynTM JssQ== 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 p1si2935426edl.305.2017.12.21.04.45.11; Thu, 21 Dec 2017 04:45: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 D13BAC221BC; Thu, 21 Dec 2017 12:42:23 +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 2BC51C221F4; Thu, 21 Dec 2017 12:40:46 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 91FA8C2217E; Thu, 21 Dec 2017 12:40:38 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 0B6A2C221AA for ; Thu, 21 Dec 2017 12:40:35 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 39B4620949; Thu, 21 Dec 2017 13:40:34 +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 1138A203B5; Thu, 21 Dec 2017 13:40:34 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Thu, 21 Dec 2017 13:40:24 +0100 Message-Id: <20171221124030.23721-6-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171221124030.23721-1-maxime.ripard@free-electrons.com> References: <20171221124030.23721-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 05/11] 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. Signed-off-by: Maxime Ripard Reviewed-by: Andre Przywara --- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index 098fbe6fc90a..ca6d3956bd10 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1130,6 +1130,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 Thu Dec 21 12:40:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 122554 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp834532qgn; Thu, 21 Dec 2017 04:45:47 -0800 (PST) X-Google-Smtp-Source: ACJfBouT/mQYkqDptG7YBTMTJg6QrNoKfsUiSHelb5UF1kFxFM495+3UjQspLV0lPpPLnH0LWQi3 X-Received: by 10.80.138.34 with SMTP id i31mr9751575edi.193.1513860347295; Thu, 21 Dec 2017 04:45:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513860347; cv=none; d=google.com; s=arc-20160816; b=v6FDiivNJfDyIndhMpXvSdt2RKlkPjUdp1Rj8rE8Y6lZSRFcUFfj6M4AyxyQ9Cj4zc nsvFElsQ+IwrCHTTh2JXJdO4+2yQ3YYJrYObCQfwENbGVOsqthavQXuGU52mjh86DLbR 28M2n9jqQQpvfGLxRX6O/FNBcmbRFUpgHaZrAmpo5MTnMwAv+lrgHr/XTxgP8MK3JB1B af4iZ4L3YUDyt/TSjF79S7R44ez49QNVXlCDuJCX82ZiuCHd3yOzqcM6VZjVK5hMNSA8 jbYjtXYk/wdvBctk95owN2c6+RZN509eQwBMAgkRrftHFOYjSrkYLyBlFaBApsNdAcUY c8cg== 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=dOEsOvZg7yL3oNzjcJUDQ4A1D3g+/rF6iBHla4ydv4c=; b=hnwvBG7vk3FX4wcRNd5qDxGQnzv/M2bDMjpUclkJbqjCbyWGBiw1GrmVh9+83WgdoX iKAjWvQwa3Ijk1DH6skJWo+A4yittGKodXviQaIJzJuncDJ8BOdggZxs81kHYVsTwS7X Z3UIPwZizdfdUTWAMabwCphHrRdw/0nzbitx9tq6duPq3cVfw0eCkYgUfO/65MjJkYc7 SgmKkf44oy8m/QH3nSDoNrDu4GARYrZxmbPpAWlR35BIBenSZggjkFrOD+ORTjGTVC2x wqNmMhmQIjeRdxpkcR7cLOVnh0/n6T78P9LJS8dbtiDdEF07yKSVdcaTphYdUOiB6T4H Hlmw== 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 j3si6551092eda.6.2017.12.21.04.45.47; Thu, 21 Dec 2017 04:45:47 -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 DEA0FC22209; Thu, 21 Dec 2017 12:42:05 +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 43535C221E7; Thu, 21 Dec 2017 12:40:43 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 0B1E7C221EA; Thu, 21 Dec 2017 12:40:38 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 6986FC221BC for ; Thu, 21 Dec 2017 12:40:35 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 9A5D320950; Thu, 21 Dec 2017 13:40:34 +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 72D89203B5; Thu, 21 Dec 2017 13:40:34 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Thu, 21 Dec 2017 13:40:25 +0100 Message-Id: <20171221124030.23721-7-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171221124030.23721-1-maxime.ripard@free-electrons.com> References: <20171221124030.23721-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 06/11] 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. Signed-off-by: Maxime Ripard Reviewed-by: Andre Przywara Reviewed-by: Anatolij Gustschin --- 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 Thu Dec 21 12:40:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 122552 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp833975qgn; Thu, 21 Dec 2017 04:45:17 -0800 (PST) X-Google-Smtp-Source: ACJfBoteTRdSLIjdAPqcpDxbZ+/kDEPy4m6ryU4/M9fd5XkdUBnPn1J0rfUwTkzWjWocl39+UoIn X-Received: by 10.80.201.196 with SMTP id c4mr9976554edi.56.1513860317336; Thu, 21 Dec 2017 04:45:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513860317; cv=none; d=google.com; s=arc-20160816; b=VQ+PL0BT/n7wYDSe6idbx7T3DGYQddGNf/PdV6SS+oibzq/a2kK9cXw7ixdUvJHUBg DFET+TtZcPElgmgSMazRPqfPostpg6OoNJLTW0BON/ND3ZJT0C0f50XAFSSKxlxcDkVm Jg8kXNKUrXf8sV34+nCwbF1hECyqTQVovQcS3DL32wGGMA8Z0898hq+ePjm2ZJPrHO29 +h50o5KGnWiTCOkE2ez3/2O+0hM/034GCZ1sp7Apr27zK72ZDcSv2lNB3XGjekBv21K2 s42nAyceULvYLdvf5TmIoOiEYN8o8ofph+NAVUSvQlIBfKHjuldkeei/V+JFxNF5KdS+ CJ0A== 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=xU5E1WaZjpxx+9RXdRfVpWjEaWNa+S3UB06g3ieI0q8=; b=f0XlZULNdZm++68yhw9OHHUw1MUcoMqAjN1GfV5tYJL1osnNzQZDeQxxNUHQa+ayoZ kyb+959NwfEml5jMMrBmEnwOK5FfXsdB6dYz2NNZcHBb36c16MOfpZ49FDRIhp4OIpqz gIznQLU1X1ZSx0vu/NHHGWdPU0ywSrnzLBZy2qoLdmyi48CF9p7TTsngcb3GuQCSX4NB S9a+yn+22099hdYz5vSKtrtTbwKZeadAKQwfILWKLfiARnRNYBklm21p7wHa/AYFBSM1 HltUaCJ4MwmEy1krRQ87osoIsxTgUh+tIr2oUqRKX71UqfeOXGYk72ylmj3iG24kp2wK zrFQ== 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 g9si8769842edi.196.2017.12.21.04.45.17; Thu, 21 Dec 2017 04:45:17 -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 F307AC22202; Thu, 21 Dec 2017 12:42:56 +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 CC455C22209; Thu, 21 Dec 2017 12:40:50 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 36C10C2217E; Thu, 21 Dec 2017 12:40:39 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id BC34FC221C4 for ; Thu, 21 Dec 2017 12:40:35 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id EBF9920953; Thu, 21 Dec 2017 13:40:34 +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 C2FE6203B5; Thu, 21 Dec 2017 13:40:34 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Thu, 21 Dec 2017 13:40:26 +0100 Message-Id: <20171221124030.23721-8-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171221124030.23721-1-maxime.ripard@free-electrons.com> References: <20171221124030.23721-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 07/11] 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. Signed-off-by: Maxime Ripard Reviewed-by: Andre Przywara Reviewed-by: Anatolij Gustschin --- 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 Thu Dec 21 12:40:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 122550 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp833152qgn; Thu, 21 Dec 2017 04:44:37 -0800 (PST) X-Google-Smtp-Source: ACJfBov4K+FzXR7DBaT/arRnd8/xQ3nsq7Ty68K125dPNSX47YnV8sNdYmQP91uiFal1NMrclwia X-Received: by 10.80.206.26 with SMTP id y26mr10508936edi.117.1513860277314; Thu, 21 Dec 2017 04:44:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513860277; cv=none; d=google.com; s=arc-20160816; b=gv3p+mGLb9+vbRr3pYJFTLn7xJYgeEXDMRtf60qrU2CY52hW70f2/Tp60JZwFCS74S o12BObcZiMiq0R8IRBOxu/xEmVpZ9WqNIrQ/UwEwkdEBn+i6ObqrJ4stfEKm4g8ZP4Xb LAvGlriUsEYQAeks8+Ux3gaOTJMnr1T+6TTUaTaj1ObeHWJj2h1X1Dsor4gTNH3Pumhx CSMYBlQMO5T92Md8kXNJBjkHHGHFiqsxcDR0BmCX09GDFBaK2bHfmDw9O8jgMTeP72+G 3zjaXNGUwO2RFgW6FQSCmdFdkmo81AjFCzevXDbQRygnJWQ2J4/eLKNRfrgoKPHU2pQB szJg== 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=5weY9ugY7M09MuP988jOfiZoaPdReCPC7xECWmvVv9g=; b=SyPBYbIY9bvnUvtPFjDNDil+J1rhMr5iFXyPWotqar9SvZbGgr4ry/1FEhAbQtb4b7 zZx+VdQuCCR0PME00FuroaRfhBpy9ixZ5XBN0tRWG9/8nfwBj8sDSqeFWCb93Nq2lNfj roAP7WAhwun2PWE4f2b/kXABRajWqUOrSQWMPAvuAlUU1aweMvS7VO7MdvDMrWYRGu/n 1ZuchBxCUy+Bjr3FMv4TzNbL5x1+UwCOznjKPMicdLVvYQ0c5rz12XRsX0CjOM2qwhLx ISDIIHBwIgpLbd/wmTDTQgpjsRtTJiAheu5WFViBz2T8iVGWeU8g3z6QgVY9+npNF4r/ qNqQ== 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 h8si2927422edj.370.2017.12.21.04.44.37; Thu, 21 Dec 2017 04:44:37 -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 EB900C221ED; Thu, 21 Dec 2017 12:43:46 +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 13023C2221F; Thu, 21 Dec 2017 12:40:55 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 04E8CC221CC; Thu, 21 Dec 2017 12:40:42 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 51D33C22169 for ; Thu, 21 Dec 2017 12:40:37 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 82D162092B; Thu, 21 Dec 2017 13:40:36 +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 5B32A203B5; Thu, 21 Dec 2017 13:40:36 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Thu, 21 Dec 2017 13:40:27 +0100 Message-Id: <20171221124030.23721-9-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171221124030.23721-1-maxime.ripard@free-electrons.com> References: <20171221124030.23721-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 08/11] 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 command that is not critical until we can adress the issue properly. Signed-off-by: Maxime Ripard Reviewed-by: Andre Przywara --- lib/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Kconfig b/lib/Kconfig index f447c53bdeff..8a17a9afe10b 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -47,6 +47,7 @@ config USE_TINY_PRINTF 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 Thu Dec 21 12:40:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 122553 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp834512qgn; Thu, 21 Dec 2017 04:45:46 -0800 (PST) X-Google-Smtp-Source: ACJfBosw+Oqoa2rDG1uNM3uf/9pAEX3CeX1mtU2+zvLPPviij8BgpHVVXy2WI2o1dor3uCyLU20O X-Received: by 10.80.178.35 with SMTP id o32mr1228157edd.293.1513860346068; Thu, 21 Dec 2017 04:45:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513860346; cv=none; d=google.com; s=arc-20160816; b=Rmii4a8xJuRtRQAlSBtsi5wK17zIvjevVZtSAPaYQCSUf5IhLMPltxNebnziYhVtZ/ JjqIrC4yi/nHclMyi8jFEJETehuZSBU4szT7hiz8k3u3VLUe2BiOpvUzsRVPXK3ljYSJ t2UJhkZp3PS76QZkjpxXX2T4SOXMHNsj8faXlEqA7A11IqRIcOnON444l97eb0GdpEy2 mI4exw364koII1qENi5+rp+y/yvEByF/L2UwlxCuhZlJLmI3dLMknIfrn4SVItdqi7rv d1GVkZbWbf/+2OuwnPSToVRKyuqQUmwFtAmdIyYS91RH9Kz4CCuOksC2Ae7yDLse8VKO 5z6A== 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=1+yVLnsDxcqfNmMb+z79bzPxoFzmGduImowIOtCyveM=; b=0oR/gGIG55ouglZIIRtKXfVRZWi72uurcugsGmA62CIlNbfdTeBBwg9nBLu0E1bg2i oBW+/CTTxRsnhT61Kqef20kZd9NOVqsNbJbuDeZeeUGi4WU8Mo8hPrWQpzbUrxPl41ip Q5lWM58S/TC8fFnOXjW7kZry5NhnOIwDV9fN9YXbUnYJrgqSEIkYvjApv39gme2wL3ei +DHvhKjZAOSbKQI3pEgIIB1ot76Xk8RLPoOaUyU1wHz66RaeNAlyT/4VChre1c/8E187 hjJgiW6y3x+BacdMmr2trqYHU89TB8qnKzgy5JpREeJW0EsCQ+Bctlw5sgnvOBFp/d/I H05Q== 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 h59si1029035edd.454.2017.12.21.04.45.45; Thu, 21 Dec 2017 04:45:46 -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 92607C21FA8; Thu, 21 Dec 2017 12:42:39 +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 16C74C221A1; Thu, 21 Dec 2017 12:40:50 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id E9DEAC221F3; Thu, 21 Dec 2017 12:40:39 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 29D34C221CC for ; Thu, 21 Dec 2017 12:40:36 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 59A2420956; Thu, 21 Dec 2017 13:40:35 +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 31334203B5; Thu, 21 Dec 2017 13:40:35 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Thu, 21 Dec 2017 13:40:28 +0100 Message-Id: <20171221124030.23721-10-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171221124030.23721-1-maxime.ripard@free-electrons.com> References: <20171221124030.23721-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 09/11] 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 f2c35e32c649..918424a82ac2 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -715,6 +715,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 Thu Dec 21 12:40:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 122557 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp836524qgn; Thu, 21 Dec 2017 04:47:33 -0800 (PST) X-Google-Smtp-Source: ACJfBov6H53H4vNQlIA3mOO2legwbW1X5tSFLCPf/rPOS+9a2p3dUHPtsctXkoJB2s/IlurGVJQ5 X-Received: by 10.80.149.152 with SMTP id w24mr10255631eda.76.1513860453261; Thu, 21 Dec 2017 04:47:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513860453; cv=none; d=google.com; s=arc-20160816; b=RZjlUJc+0LC7IwQd4FZq54KhXo6F4fMbIzbr+EZCS9G8auD8zuINL3dy63p36Yscv+ 9ZdDYSDyR5MynZ6ZmuTCo85CR9NXAAaBzuynTbhh0DJYVSf3N8JsomX4hDj+o6fuvw9P EpZzSJa9MXjQQlwWVCZjiaf99Ldu765tCr0Ja+DTevIJK25sAypgq1+MiO1bR1UZTo/Z gPkOsBVdFN5baBVEuBNo32XzlruqgjVdVtGm30QpUMuNxnUbZOjg/Su5AaU2NPaKmVXr xkBPOc74FMN2g10mAOnjAOCc3ODcinT2+DVmmEp6It6VwtxvaGcBlBGIOc1QfvqK6TST UrJg== 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=WGDJEhJi3M7zedX0zdl264c+m/qO053DgK+0f7UN0R4=; b=myQjTTrkYJ2DdU1GzSHtz4LEFlV0jRY/aoXNgFzpbzCAraOAT+ASPwWux+I//SFyrr sHm3bbMkaol34fNaXPHatROlI8tvk+Eaw+J/7XjHu4dYbDLRL/qdanw3iH6L9Qy1pe/Q xwQ4jokhcjpQvbf+XHk9cnRFFlDfDxlgj0YprknP8iDJIVw6dBnQeH8XeG33TpCeVQsc +Pa3BKDobnTTwQdWRBlq/ZBA4W6zDI2gkmJTD1p73t4z3QWaboARXI9KmMSCR52e0XdV h/buJUfn0a9Ol1BKB8k42OM9B1DtP0kTAGhX/nBGiaSpI2k/MGyMxyZPKb20wJwlnUX7 gitw== 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 x27si6827719edb.73.2017.12.21.04.47.33; Thu, 21 Dec 2017 04:47:33 -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 DF3FBC221E0; Thu, 21 Dec 2017 12:43:30 +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 5D853C221CC; Thu, 21 Dec 2017 12:40:54 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A3EA3C221CA; Thu, 21 Dec 2017 12:40:41 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 83287C221C0 for ; Thu, 21 Dec 2017 12:40:36 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id B42C02095A; Thu, 21 Dec 2017 13:40:35 +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 8C7FE203B5; Thu, 21 Dec 2017 13:40:35 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Thu, 21 Dec 2017 13:40:29 +0100 Message-Id: <20171221124030.23721-11-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171221124030.23721-1-maxime.ripard@free-electrons.com> References: <20171221124030.23721-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 10/11] 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 c573ddba95ff..dd26795bb1f3 100644 --- a/Makefile +++ b/Makefile @@ -1022,6 +1022,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 Thu Dec 21 12:40:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 122556 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp835473qgn; Thu, 21 Dec 2017 04:46:38 -0800 (PST) X-Google-Smtp-Source: ACJfBoucwgenkkF19ZEqdyeK0sDfx03oFbJjcrDb9eQ7aQUfoG61nXtOU59SOYOXGYiFD44N3XiI X-Received: by 10.80.208.150 with SMTP id v22mr9815341edd.62.1513860398710; Thu, 21 Dec 2017 04:46:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513860398; cv=none; d=google.com; s=arc-20160816; b=H/SXqtdAYndTzHwjch61zJwTuwui8we+8OSwM/gUMsCeJg1+1At/1dkQquJOoksqqw EfNBYIuq1SK7tsKA5GLtbV3y2Ce4y48ge5pIKn+SDnXRCiF5JoZ/p6i5y6GqJKfiXLDF CPyPjik1+zf+NuaU9W3nrJx36LQ16m+39A6JmGRWh6hmo3psWo6w3Xi3/06NlV57+rpi nQzQBZiJpuadmUW7t8UewVb0YEP2nEAPPdcbSijXwmvrk6YY+zrN6s7E9zpKQB5aBjCI TVbGGnOwwx+PuH4cD94tzmS0lR+qFlsO6OrEBNcYNxVStIcVI2zEIvr7sANpAGMuw8mg Qojg== 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=jsFdZPYnYuuMXnFCAUHcMnLT06dhuA2tJpfn1OWyLQnb5hnwkmFxOzI+KnuWgJm7Mc Giwo8SPrzIqjjpks0U1Hipce+xpWyj8KrWccc+fomquZ763pj7IOxP2QQs5/IGrDhPW8 LA1EANPoLQGRMz8Ztb5mfEIcyp3MNVmHGLvUgUbj0jhNjRKLpJV4yibCBmxu8m/YKWib Lk/1Tr9nl5yZNDFwUfxgQViUr3XH/bw69dV8YDST0YbXeYU2sUrc/bU+RKGQKUJ3SFfX BEIs7UwtlTpOKjF3URQRbcIswy1Bt1l/UmmWkV7qlHg4syooi9lSoMjMLmhymRoVA3pb rpUg== 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 a6si261351ede.158.2017.12.21.04.46.38; Thu, 21 Dec 2017 04:46:38 -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 4DCB6C221E7; Thu, 21 Dec 2017 12:43:12 +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 A38CBC221D5; Thu, 21 Dec 2017 12:40:53 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 3672FC221CC; Thu, 21 Dec 2017 12:40:41 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id DE5C5C221D2 for ; Thu, 21 Dec 2017 12:40:36 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 1AC5520964; Thu, 21 Dec 2017 13:40:36 +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 E5DCA203B5; Thu, 21 Dec 2017 13:40:35 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Thu, 21 Dec 2017 13:40:30 +0100 Message-Id: <20171221124030.23721-12-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171221124030.23721-1-maxime.ripard@free-electrons.com> References: <20171221124030.23721-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 11/11] 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