From patchwork Thu Dec 19 10:55:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1213178 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="tISzuZDd"; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47dpgg5jBFz9sP6 for ; Thu, 19 Dec 2019 21:55:27 +1100 (AEDT) Received: from phobos.denx.de (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9C604802C1; Thu, 19 Dec 2019 11:55:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="tISzuZDd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8FE3981486; Thu, 19 Dec 2019 11:55:20 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, SPF_HELO_NONE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 08BC880197 for ; Thu, 19 Dec 2019 11:55:17 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=igor.opaniuk@gmail.com Received: by mail-wr1-x443.google.com with SMTP id c14so5490621wrn.7 for ; Thu, 19 Dec 2019 02:55:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=EiILtnrxqBjYCAVQ++CutvdcZUU8H8/D7HueYtXlB6o=; b=tISzuZDdS+KmiqCvnCnUuWin49TD2r933wBjq215bp9CwX/rT0D/Hpi79MsXcsW7H+ qZ+mzucB+Our38FUcDQeHu4B+2FQ9AyjB+G96WhvjQO0Ycw8uKfMcFrOO6BQgLc+iNYF zzm1CV0A5c/2sHW/6SMpIQgk8qVUlJ3DXDZZaI0pd27pZrV8oaMEaKNmYXR5UDtjtlLB SAF3gDSWA7Pq/vSE/MafqJEZZMMc76QV+ySdd0UWvq09dyd3Xmxrb13r+O9dL82fM605 ytRKt7VFFk8RSz0KHJoeHUgsGW0AgNb0rt4w3OgU57o8NUqFMhmXHzm3WSHDy7OS+lKq GVdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=EiILtnrxqBjYCAVQ++CutvdcZUU8H8/D7HueYtXlB6o=; b=mEQlOAjGYPVztDMzvMAxcjn/dt8XxxhyBDw/ohaL51ant3VmsftXQ/Bd0QAlnAfa9y GuRrzFt3ycBQkZbvjotNNTbBU4gKUJPQbL8H4k834b/KTbwPex115ZqceXpKZnRtml5K MITqPSvQVWIeR5mtvKTjMBw2SuY5nzsYkq6O93qfm7+4uyUNhwx2i5yTezpciCYex1dq 09HElneWIl/n7udrtTsWelCWX0cCCeg9Z0sSZa3+14bMyU+eWs1DTHHnxfql9LysXwnZ g3p+O+DF0twr2cB1KRjLgDC4Zt/c9l1g62XN6QVp6aA9wJ2kYNeyx0oqT9XhOggVJThx v4mA== X-Gm-Message-State: APjAAAVd/yWkHVfZM4Tqud96GjLV+8yjcJu2IlGmsw1yY2uH+aViATae qxNvsKGVm+DsgeELa6rj6JzovpVaqz4= X-Google-Smtp-Source: APXvYqyKMran3aFyFmaNyoU0vFpYKhF9umMHQ5uGqEW+SpXrWth5eUg1os+iCBnOFZEieHoICLHtQA== X-Received: by 2002:adf:f885:: with SMTP id u5mr8850964wrp.359.1576752916118; Thu, 19 Dec 2019 02:55:16 -0800 (PST) Received: from localhost ([194.105.145.90]) by smtp.gmail.com with ESMTPSA id h66sm6334694wme.41.2019.12.19.02.55.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Dec 2019 02:55:15 -0800 (PST) From: Igor Opaniuk To: u-boot@lists.denx.de Subject: [PATCH v1] colibri_imx7: disable HAB and CAAM support Date: Thu, 19 Dec 2019 12:55:13 +0200 Message-Id: <20191219105513.28762-1-igor.opaniuk@gmail.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Agner , Marcel Ziswiler , Igor Opaniuk , Max Krummenacher Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean From: Igor Opaniuk Currently Colibri iMX7 NAND version doesn't boot at all with HABv4 support enabled. If CSF section is included in the final imx binary, BootROM every time switches to usb recovery mode. However eMMC version of the same SoM works without any issues. Disable HAB and CAAM support for now until the problem is properly investigated and fixed. For additional details about the problem check [2], [3], [4]. [1] https://www.nxp.com/docs/en/application-note/AN4581.pdf [2] https://lists.denx.de/pipermail/u-boot/2019-July/379103.html [3] https://lists.denx.de/pipermail/u-boot/2019-September/383412.html [4] https://community.nxp.com/message/1138659 Signed-off-by: Igor Opaniuk Reviewed-by: Oleksandr Suvorov --- configs/colibri_imx7_defconfig | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/configs/colibri_imx7_defconfig b/configs/colibri_imx7_defconfig index 29ddd7d3e9..7a4caca977 100644 --- a/configs/colibri_imx7_defconfig +++ b/configs/colibri_imx7_defconfig @@ -8,8 +8,6 @@ CONFIG_ENV_OFFSET=0x380000 CONFIG_NR_DRAM_BANKS=1 CONFIG_IMX_RDC=y CONFIG_IMX_BOOTAUX=y -CONFIG_IMX_HAB=y -# CONFIG_CMD_DEKBLOB is not set CONFIG_DISTRO_DEFAULTS=y CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/toradex/colibri_imx7/imximage.cfg,MX7D" CONFIG_BOOTDELAY=1 @@ -39,7 +37,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y # CONFIG_BOOTP_PXE is not set CONFIG_CMD_BMP=y CONFIG_CMD_CACHE=y -# CONFIG_CMD_HASH is not set CONFIG_CMD_MTDPARTS=y CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" CONFIG_MTDPARTS_DEFAULT="mtdparts=gpmi-nand:512k(mx7-bcb),1536k(u-boot1)ro,1536k(u-boot2)ro,512k(u-boot-env),-(ubi)" @@ -52,7 +49,6 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y CONFIG_IP_DEFRAG=y CONFIG_TFTP_BLOCKSIZE=16352 -CONFIG_FSL_CAAM=y CONFIG_DFU_NAND=y CONFIG_DM_GPIO=y CONFIG_DM_I2C=y @@ -84,5 +80,6 @@ CONFIG_DM_VIDEO=y CONFIG_VIDEO_BPP8=y CONFIG_VIDEO_BPP16=y CONFIG_VIDEO_BPP32=y +CONFIG_SHA_HW_ACCEL=y CONFIG_OF_LIBFDT_OVERLAY=y CONFIG_FDT_FIXUP_PARTITIONS=y