From patchwork Tue Dec 19 16:04:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 755921 Delivered-To: patch@linaro.org Received: by 2002:adf:b181:0:b0:336:6142:bf13 with SMTP id q1csp1501038wra; Tue, 19 Dec 2023 08:06:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IG2Abg43DaZQ9tpLg+iD7N+/iQV9xIOEh7yKEibECtQ/TGjhojmflrUCx2Qd2QigcH3LVg5 X-Received: by 2002:a05:600c:3583:b0:40d:27e9:faf6 with SMTP id p3-20020a05600c358300b0040d27e9faf6mr589259wmq.23.1703001995438; Tue, 19 Dec 2023 08:06:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703001995; cv=none; d=google.com; s=arc-20160816; b=e1z7WmWYKMihSH6dpvBuot+YMvdKGeHFTXQ8UqrOOudDBF/PMrsYfDLTMPrhgnM63b qECvYVSkWJ0RaTGrxaQEqZoX8Zd+u2ipP0rn4cYQRBUHOzyfQvCVadpE1MO8xXWyfC5f gmCirQff1zuGRCuWupx2Td1p3R22vWvKPx0ZpdxLCnrgSxATnTkbUGs79iZBqXD9AvGB n05HSr6BLo4ht45VnqgTzVctcRzV4zOgD00FUQbG6JZPqaqZJTUZ0qVK8R9WydRsxKbc Bq/vpKCl0bNF4eJWeHdQLvEqdCUSi3hT5Rz1CM0kTX3vfdT8b/RM3TPcogWbEUgNHTQ6 oVMA== 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:cc:to:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=JButcUx5EqAmqGpkf2jGyugvykMJpnrebMLZRjCIsVE=; fh=GB9E9KzRIiNXhkRWIZbZpSMjbCjxnqnvE8nYuQxq8UI=; b=RytOd+m7eEizLqDUx9cih+rplKVQIOto/oovokrpPS8RuvcFng3Cgb0soJDU5kDGfS QuNDK9BNTHcbN85A3MckMqyELaNEviiy94tPP33zWTKhL9ZcWsdzoNrxJMIg6cDaVV7q 1pVGU/QxqX9uzDfs+230Fy5t7y9LBDrq5rL2gfQGHz6pexADRf5+E+ZENAi1n/sOVcZx /YWC6SHGVoTRnMnm07zV2Ptthf8RB26hutUIOVxDJ6BEm6MQXMdpzDUJpFf0NYpgis2N toO7ic5246r4qiild78Do2GWA/d/HPcA4Ns0Wow4rDxKHAWpSXjb5DuMnMW7nA4D30Wh 3RPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="bkopxe/o"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id d12-20020a056000186c00b003366d004560si1680787wri.970.2023.12.19.08.06.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 08:06:35 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="bkopxe/o"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 7AE0D87807; Tue, 19 Dec 2023 17:04:54 +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="bkopxe/o"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B6A7D8784A; Tue, 19 Dec 2023 17:04:45 +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, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) (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 EE218877A1 for ; Tue, 19 Dec 2023 17:04:33 +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=caleb.connolly@linaro.org Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-40c60dfa5bfso56304595e9.0 for ; Tue, 19 Dec 2023 08:04:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703001873; x=1703606673; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=JButcUx5EqAmqGpkf2jGyugvykMJpnrebMLZRjCIsVE=; b=bkopxe/okrqiDo7rmmKWCwmu7L8p2O12zOsjKGmRwqtjScUu7U+Gef1M6ZVSonZ1Yc Kzlqdj0R6buYhweAvIC13O4lxs9J5R8M9uC9f9A/HAzak5PCzCIIfG1n8pvxTZTX1VP2 aZJokOwO2CKQQcR6CM3Fjn16iL2UOosccsKafK4D55lxJSZCraSoCN5I1UTpEwF+FOCS x+BGXx5HIGOy3tuwX4GUKX6241++6z8w56GwgpHcp41zTNITDBCfvqojBoIa5kbo51dI roc+jIjaLet0FhBtv6B7PibrejNvK3/J034/7c7ZaB9x3zzsVaj1eDGj16KBMAaRNL0Q R5QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703001873; x=1703606673; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JButcUx5EqAmqGpkf2jGyugvykMJpnrebMLZRjCIsVE=; b=i5IRYoQW5H2YozZ+jTPH6WFv1TbfnxlGcz4LoJmEhw+XjLLFlJcgONiClv+96GGgfE cljI+zF/Q/u4x9RB/+4JESe/5Nse8hKw2Xc9SB/7sSm92L+DyG88uMCdKoSiCbIgSYeH XOK3PuLthswCC/Rb/XIakHT1bYzczTYbwlgUIBouzc9yCMwII32Jg2bj5w/y02v43ZtC Pb+uXyNbOnPQPFSzcLEyVESFpqXeQ2XzUiPgiq1DofDdKdasetkOSBfnKDOrjL0UrLLK tB4DRbAIo/lLYjwkBz52uITRqWeYggWixr1m1pailYTh+nF3L6ZfBx87daSFoKLTkBiP ohvw== X-Gm-Message-State: AOJu0YwLjmBHd7ws5w3qOk/UaqSzsPs2KLj25mSRNlemjpxaWpgzKe5B K+yUOTwEQRU82YqsYGO3+UFgGA== X-Received: by 2002:a05:600c:3d9a:b0:40c:3d70:2751 with SMTP id bi26-20020a05600c3d9a00b0040c3d702751mr9495292wmb.149.1703001873462; Tue, 19 Dec 2023 08:04:33 -0800 (PST) Received: from lion.localdomain (host-92-17-96-230.as13285.net. [92.17.96.230]) by smtp.gmail.com with ESMTPSA id je17-20020a05600c1f9100b0040d1450ca7esm3429723wmb.7.2023.12.19.08.04.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 08:04:33 -0800 (PST) From: Caleb Connolly Date: Tue, 19 Dec 2023 16:04:12 +0000 Subject: [PATCH v2 11/32] board: dragonboard410c: add chainloaded config fragment MIME-Version: 1.0 Message-Id: <20231219-b4-qcom-common-target-v2-11-b6dd9704219e@linaro.org> References: <20231219-b4-qcom-common-target-v2-0-b6dd9704219e@linaro.org> In-Reply-To: <20231219-b4-qcom-common-target-v2-0-b6dd9704219e@linaro.org> To: Neil Armstrong , Sumit Garg , Ramon Fried , Dzmitry Sankouski , Caleb Connolly , Peng Fan , Jaehoon Chung , Rayagonda Kokatanur , Lukasz Majewski , Sean Anderson , Jorge Ramirez-Ortiz , Stephan Gerhold Cc: Marek Vasut , u-boot@lists.denx.de X-Mailer: b4 0.13-dev-4bd13 X-Developer-Signature: v=1; a=openpgp-sha256; l=875; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=r9bM3Hxmr7eZ3bpO72RbzrN4tdx9nW/pBR07LRM1dbA=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhtTG/UyL85dvfsS9eBHrFuXQLItjhfWL86ZVS1w9PWfCn lOh7ldVOkpZGAQ5GGTFFFnETyyzbFp72V5j+4ILMHNYmUCGMHBxCsBEpL8y/OHQ8cllu758ZhZz 5a9dzzoXMSrlOshnH9+916xT5+CGg9qMDBPVf8/h47L88zD0eVpK545Z2wRXPVh94OV86d+6qz5 un/ASAA== X-Developer-Key: i=caleb.connolly@linaro.org; a=openpgp; fpr=83B24DA7FE145076BC38BB250CD904EB673A7C47 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean Add a config fragment for building U-Boot such that it can be chainloaded by aboot/LK rather than being flashed directly to the aboot partition. Signed-off-by: Caleb Connolly Reviewed-by: Neil Armstrong --- board/qualcomm/dragonboard410c/configs/chainloaded.config | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/board/qualcomm/dragonboard410c/configs/chainloaded.config b/board/qualcomm/dragonboard410c/configs/chainloaded.config new file mode 100644 index 000000000000..3fd064924a1f --- /dev/null +++ b/board/qualcomm/dragonboard410c/configs/chainloaded.config @@ -0,0 +1,7 @@ +# CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK is not set +CONFIG_TEXT_BASE=0x0 +# CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR is not set +# CONFIG_REMAKE_ELF is not set +CONFIG_POSITION_INDEPENDENT=y +CONFIG_INIT_SP_RELATIVE=y +CONFIG_SYS_INIT_SP_BSS_OFFSET=524288