From patchwork Thu Nov 24 11:33:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 1708658 X-Patchwork-Delegate: bmeng.cn@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=Ixk29j+u; 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 ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NHwrg2Dn7z23lT for ; Thu, 24 Nov 2022 22:34:43 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4589185627; Thu, 24 Nov 2022 12:34:22 +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=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Ixk29j+u"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0232B8561A; Thu, 24 Nov 2022 12:33:54 +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,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) (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 AB10485612 for ; Thu, 24 Nov 2022 12:33:47 +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=bmeng.cn@gmail.com Received: by mail-pf1-x429.google.com with SMTP id a16so1003626pfg.4 for ; Thu, 24 Nov 2022 03:33:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+XOmdCCekGk52hZ+2fJmW97V3A27KKtYYZ0TmNwUooA=; b=Ixk29j+uw7AUCu7tjKP7OZGTF0cs8whgqdRIqWsAgyHQ+9d8uvU+iGBT4UV7fQn+qW H9W6PNsVktnPSN0urLvAmRtjgwE5eZbxuWdwfYhVevb6OmzskDRV+wREkzRUHDEfAVBF AK5RDeV8sKOwIvJa2FXeq4BmO0wPnjZ7XolCYB2MihtYS2BCrBrxtonIKcl9r2GY9Nhf SPIYWrMT/Gq8bzmOES8mYFVgAWwspxQn/l4AygQ/LBpfLnQRnllkzx640B6HoXPD/cyN x9xCdlb1tNZC6143l2BYKlkUma4bM8ecBxXd48Qw31JS9WtwPuTAfZC4ZshLl2e7qimc 8VYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+XOmdCCekGk52hZ+2fJmW97V3A27KKtYYZ0TmNwUooA=; b=ecghQ48nm7LOM8J2L3RgqXSSLt4I39B9XOEY3YRZzVOGcIMynewZv4Fwr7yhfI3qyl dfkj3OusJG4T2dhhOGS2+yKaJBiR5MEuqYb2DgZ1LhXAsU3OR7POyGHkLQ9VFf4ijsoc 1WS7l4hRz1eaGS3Q2j4mtnFNP4XA2d1RNiju1OLs92jX2CAgSp5R5u3VaLlR9ZUHKKcd ba9+OyFlH2ljLIrNanJPmQW5qW12eZqaUcyfCPDuntYbWBT82r888r/HgsIWZxaQV1lE Q8P3bPQonXCrYZWAkSKq1ijnMlin/D3JOqlMGZoiz+3N7KkwAhWTGYUEteD9CvG6lx5M 342Q== X-Gm-Message-State: ANoB5pkwviTvsqujf9Y/j15yAgyMLVm1ZTthMzxbXJuY+Mv1DpnPUU4B c9f/wLsQdyT8EoUx0RtGchgrlWsKYGY= X-Google-Smtp-Source: AA0mqf5bZF4OUvZid8tQni/pcXH93lkl8ywflgiIW7XgbowMKTkZa4e2dffczVBAqT6AJdenQkbwTg== X-Received: by 2002:a05:6a00:1893:b0:56b:8282:b165 with SMTP id x19-20020a056a00189300b0056b8282b165mr15355404pfh.69.1669289618259; Thu, 24 Nov 2022 03:33:38 -0800 (PST) Received: from ubuntu.. (144.168.56.201.16clouds.com. [144.168.56.201]) by smtp.gmail.com with ESMTPSA id z5-20020aa79f85000000b005636326fdbfsm1009725pfr.78.2022.11.24.03.33.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Nov 2022 03:33:37 -0800 (PST) From: Bin Meng To: u-boot@lists.denx.de Cc: Stefan Roese Subject: [PATCH 4/5] x86: dfi-bt700: Adjust CONFIG_TEXT_BASE Date: Thu, 24 Nov 2022 19:33:28 +0800 Message-Id: <20221124113329.3162008-4-bmeng.cn@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221124113329.3162008-1-bmeng.cn@gmail.com> References: <20221124113329.3162008-1-bmeng.cn@gmail.com> MIME-Version: 1.0 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.6 at phobos.denx.de X-Virus-Status: Clean At present U-Boot no longer builds as a complete rom for all the configs of dfi-bt700. BINMAN .binman_stamp Wrote map file './rom.map' to show errors binman: Section '/binman/rom': contents size 0x80e836 (8448054) exceeds section size 0x800000 (8388608) Checking rom.map we see 'intel-vga' section is overlapped with other sections: fff00000 000aac90 u-boot-with-ucode-ptr fffa0000 00010000 intel-vga fffaac90 00001df0 u-boot-dtb-with-ucode fffaca80 00019800 u-boot-ucode Let's adjust CONFIG_TEXT_BASE to allow more space for U-Boot codes. Signed-off-by: Bin Meng Reviewed-by: Stefan Roese --- configs/dfi-bt700-q7x-151_defconfig | 2 +- configs/theadorable-x86-dfi-bt700_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/dfi-bt700-q7x-151_defconfig b/configs/dfi-bt700-q7x-151_defconfig index f9b1bae413..63b8c8f92d 100644 --- a/configs/dfi-bt700-q7x-151_defconfig +++ b/configs/dfi-bt700-q7x-151_defconfig @@ -1,5 +1,5 @@ CONFIG_X86=y -CONFIG_TEXT_BASE=0xFFF00000 +CONFIG_TEXT_BASE=0xFFE00000 CONFIG_NR_DRAM_BANKS=8 CONFIG_ENV_SIZE=0x1000 CONFIG_ENV_OFFSET=0x6EF000 diff --git a/configs/theadorable-x86-dfi-bt700_defconfig b/configs/theadorable-x86-dfi-bt700_defconfig index 4755b4754f..fea35cd915 100644 --- a/configs/theadorable-x86-dfi-bt700_defconfig +++ b/configs/theadorable-x86-dfi-bt700_defconfig @@ -1,5 +1,5 @@ CONFIG_X86=y -CONFIG_TEXT_BASE=0xFFF00000 +CONFIG_TEXT_BASE=0xFFE00000 CONFIG_NR_DRAM_BANKS=8 CONFIG_ENV_SIZE=0x2000 CONFIG_ENV_OFFSET=0x6EC000