From patchwork Thu Nov 4 14:23:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Etienne Carriere X-Patchwork-Id: 516813 Delivered-To: patch@linaro.org Received: by 2002:ad5:5208:0:0:0:0:0 with SMTP id p8csp1994952iml; Thu, 4 Nov 2021 07:25:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyunagYdCCe7ZnbMLknC7NoX04f2wgXY+mz5ru3ApMx3MtPWb1jqCDJz39tSpZIyINL0VtU X-Received: by 2002:a17:907:d94:: with SMTP id go20mr3048932ejc.78.1636035922238; Thu, 04 Nov 2021 07:25:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636035922; cv=none; d=google.com; s=arc-20160816; b=Cs+6LZf7ao7MXQeQSo2Py/OUjrDN4CjoRBBnrxRVkN3ZeDq7lq5HoJlBZyEDEcxv3V cCpxGaBbKQPSeTpSBthmP6jo7YwnVig3MLW5nRrXP3txVNLW4a1AkxCE1avqkQP0LUfy DSmeVho3+N3mJoxbCTTmcOmBm7YoK9gycsOcYU8KcEt/TU7qf3eSC+hAwZbHqC/4OKce BG42DUGQPAFSqULJuzKfRi+GUizOiMmHKb3ox58510Bo2UflLkbr6NH8rjwNCz4u0UQe 2ONIWh/jjcYg/ziVMLR2mQMk7jLy5B/7xi9lMEV3ON5N8QV7OaL9yJVOVATqbVbjZp9R p7Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=VKiGdgMXVc/bC4naPpuxgPcaihEmojJ6kwF86j9MZ9s=; b=HepLMwG0Zpgkq6oYfIvjc3GUJoragwixvW4VOzLyWC155B03IVQYAVANvOYP008wtK +8zYLbdNwqMgEUHeqX7ts1slEREPyMIHQ/yibEYB8pgWXos4Kn5lY7O3EMsDEhtaku8m 8pjWfBgwczsIOJ3zz2lEBHcpStaNLck3zb4NeHwBTXGxCmjzSUt71wgi8j+KtXQHP0so RWWtqrvE7clwB+DjJhpw/hdIOF8yMGswaoXEt1qJhwT5pSNQ5W+o6wP1MbYUnFmChycI P1EWfsuHepaG9gwWxNjkyUUcBp27X8OBwyYYCTBKZplzeJqDPqESNPjeu37IYXSpd+VX TOmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JwIGXOtJ; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id b5si8377944ejb.4.2021.11.04.07.25.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Nov 2021 07:25:22 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JwIGXOtJ; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 437AD836E7; Thu, 4 Nov 2021 15:24:19 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="JwIGXOtJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 329C7836EC; Thu, 4 Nov 2021 15:23:49 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (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 13198836E6 for ; Thu, 4 Nov 2021 15:23:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=etienne.carriere@linaro.org Received: by mail-wm1-x32c.google.com with SMTP id d72-20020a1c1d4b000000b00331140f3dc8so4418479wmd.1 for ; Thu, 04 Nov 2021 07:23:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=VKiGdgMXVc/bC4naPpuxgPcaihEmojJ6kwF86j9MZ9s=; b=JwIGXOtJxZSjGICuHh/inmRYTkH9s+ZSzUaN3UR86nUAyfEidzv7B16icKTVWGuiKX GjkUb+NDeqQcH6e9uAV2LWQedG1IwjpIjb2N0DvmoXE8cN5sz3nePxK1isvxV6fTZCvy dGOlv7td/0MeNLsp8OqAycD8tWunmQm8ha/+kw7j6aLy5Gqqo9ZLvZUNRoL1JfhRoyca TOVhDTDp5c13P9cpEbCAeK0dGu9ZRL0+AW9vLSYYd0nbRWbuCYPB0gNpLrR2w8BKeND8 hXJXnYnzUSwG2a8Q3qxLmDhV1+m+owzRZiSqHhc0gqC5AO0MorpiOGUZoUEYakBSlvLU gz+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=VKiGdgMXVc/bC4naPpuxgPcaihEmojJ6kwF86j9MZ9s=; b=vSo4+oVOqVyr69ab5mcKsXMchaJmyvKhHCARICw5FZP3Rr2l41GTDd8esp8fqRUE/3 4Gitdn5f950jBsI8tZaUcEtZ/dTIo/YpbED39sLqcvE91jgE3R7YSeTT5RMrFXuFYdnN OvUYPdGmnNnkJirWb3XcQXju9dZI2gDk+B+Ge2iZaNSJs3EM+hBYjvLIj59v2ydpq21f P5AFLSsVS3kFeB5afj7aglmo4qXbEaLq5jyljU8/FmhnqGq7Mt2UCvD0xUKF52uDzH0I uu7EjAc0Ibx1S2Hr+tM9Bucvf3ZImQpOGKHwbabBKbqEyfAKo8xEnNzZGROVkJjuE0Eh TTQg== X-Gm-Message-State: AOAM533zuLVKL1nlJyPSpCETfp/7idfW4ywMtoDZ6ZBVVzLCVyLl6gGd Mey3mrmeC4BwGCkIR7oQpDiJbyZ3eZ0aQw== X-Received: by 2002:a1c:27c3:: with SMTP id n186mr23726536wmn.192.1636035819453; Thu, 04 Nov 2021 07:23:39 -0700 (PDT) Received: from lmecxl0524.lme.st.com ([2a04:cec0:10b3:52ee:40ee:3a6f:5eb8:bd35]) by smtp.gmail.com with ESMTPSA id m34sm9383297wms.25.2021.11.04.07.23.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Nov 2021 07:23:39 -0700 (PDT) From: Etienne Carriere To: u-boot@lists.denx.de Cc: Etienne Carriere Subject: [PATCH 14/14] [HACK] configs: stm32mp15: enable earlyprintk Date: Thu, 4 Nov 2021 15:23:24 +0100 Message-Id: <20211104142324.2879-14-etienne.carriere@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211104142324.2879-1-etienne.carriere@linaro.org> References: <20211104142324.2879-1-etienne.carriere@linaro.org> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Increase CONFIG_SYS_MALLOC_F_LEN for pre-reloc trace buffers and enable earlyprintk config for STM32. Change-Id: Ibcfcff1f0e6af7eb73b5c53c717bfc6ea20881af Signed-off-by: Etienne Carriere --- configs/stm32mp15_trusted_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig index dc1f48c518..b5608bec42 100644 --- a/configs/stm32mp15_trusted_defconfig +++ b/configs/stm32mp15_trusted_defconfig @@ -1,7 +1,7 @@ CONFIG_ARM=y CONFIG_ARCH_STM32MP=y CONFIG_TFABOOT=y -CONFIG_SYS_MALLOC_F_LEN=0x10000 +CONFIG_SYS_MALLOC_F_LEN=0x40000 CONFIG_SYS_MEMTEST_START=0xc0000000 CONFIG_SYS_MEMTEST_END=0xc4000000 CONFIG_ENV_OFFSET=0x280000 @@ -159,3 +159,5 @@ CONFIG_FDT_FIXUP_PARTITIONS=y # CONFIG_LMB_USE_MAX_REGIONS is not set CONFIG_LMB_MEMORY_REGIONS=2 CONFIG_LMB_RESERVED_REGIONS=16 +CONFIG_DEBUG_UART_STM32=y +CONFIG_DEBUG_UART=y