Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6ED17C433F5 for ; Tue, 15 Feb 2022 12:19:07 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 29A1C82F00; Tue, 15 Feb 2022 13:19:05 +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="kpVeKXPK"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CA1E680F47; Tue, 15 Feb 2022 13:19:02 +0100 (CET) Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (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 A722780F47 for ; Tue, 15 Feb 2022 13:18:59 +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=heiko.thiery@gmail.com Received: by mail-ej1-x633.google.com with SMTP id p15so43793100ejc.7 for ; Tue, 15 Feb 2022 04:18:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Kl6jpUKYZH5sM6ghqrl+rRIlPscAe9FxKAL18LYVwmg=; b=kpVeKXPKQE/8VmzaSROmfCxgPTGWO0mZ1rOwAft6CobFW7a4Ca/E20Snue697U0MWN W0Vk7hkm2GKCryTjhYBOH1wEOdC028aO1Y2lNrZ3R+c3IhobvVZhwSpL6ptyY5UN/dUL /1WzOs8OTHd30btGgD8roHkeRrF2ZgiKLrdQAfvidWfTyuNerbgQKq+lqXjE66pIZ5Sq sGo30c9DodvsxwQBEdwRFHjHGrWmZSEEFrpSsVsI6hvHMfhDw4UKtiT1FjeqSIBc2jwj UTrMnSWms2c7ext8gJ+h826/wIvzupTNNMpSxUXxGhw3GlkCd5yI3ZD822yqyXBrqEAi uN6A== 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:mime-version :content-transfer-encoding; bh=Kl6jpUKYZH5sM6ghqrl+rRIlPscAe9FxKAL18LYVwmg=; b=1xdQ40sFZqWoo+tZmkN0UUNuXu+23bUEeyPx7QoPo6v7XTBW/eIttaFpBGRJXZcmHI LVkbx5gtVwD/q4tUrG+zDucNEAlGPYReA+wCBEEGb8+5yFpPk5cqTpQ2nuHneEHCNet+ kk6t57AIdbpmlARrGDrhru3dZga1P94OfuKPRs5d7Uc45KhX0iNov+0IKeSLLEGK7XLB J8C8OOYe2JwoSr+O1wpvfx9oQrwnsGvCZCmECHwvyfF88igePSfeZ5UrgJJF2rvyEikP 8JyGCdnq7859l2gMhZVt+QllprCgx1tD+I3tQlkVVlyGQ25ZFnAr3mJse+SFq/qauSEr VzLA== X-Gm-Message-State: AOAM530tfubnywFBFPY1Tg64kQeAtYtrmogyI51id6F2oRPPTXO8kU6a 03JV/H/KTUDocQt0JCcRGGXmatHnpCA= X-Google-Smtp-Source: ABdhPJyiaa9izIkzVk2wkMNCQOwd1ggQmZOvEvGGI4w+MBb+lp/4BFGOzTscSd1Sw7UNe7biG4wTLw== X-Received: by 2002:a17:907:c09:: with SMTP id ga9mr1511275ejc.626.1644927538834; Tue, 15 Feb 2022 04:18:58 -0800 (PST) Received: from hthiery.kontron.local ([213.135.10.150]) by smtp.gmail.com with ESMTPSA id kw5sm11960196ejc.140.2022.02.15.04.18.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 04:18:58 -0800 (PST) From: Heiko Thiery To: u-boot@lists.denx.de Cc: Frieder Schrempf , Heiko Thiery Subject: [PATCH] kontron-sl-mx8mm: change kernel_addr_r and scriptaddr Date: Tue, 15 Feb 2022 13:18:39 +0100 Message-Id: <20220215121837.1509225-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.5 at phobos.denx.de X-Virus-Status: Clean Currently the space between kernel_addr_r and the fdt_addr_r is only 32MB. To have enought space to load kernel images bigger than 32MB change the kernel_addr_r to CONFIG_SYS_LOAD_ADDR. Also set the scriptaddr to this value. Cc: Frieder Schrempf Signed-off-by: Heiko Thiery --- include/configs/kontron-sl-mx8mm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/kontron-sl-mx8mm.h b/include/configs/kontron-sl-mx8mm.h index d1e87f97d6..5c23d31950 100644 --- a/include/configs/kontron-sl-mx8mm.h +++ b/include/configs/kontron-sl-mx8mm.h @@ -68,11 +68,11 @@ #define FEC_QUIRK_ENET_MAC #define CONFIG_EXTRA_ENV_SETTINGS \ - "kernel_addr_r=0x42000000\0" \ + "kernel_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \ "fdt_addr_r=0x44000000\0" \ "ramdisk_addr_r=0x46400000\0" \ "pxefile_addr_r=0x46000000\0" \ - "scriptaddr=0x46000000\0" \ + "scriptaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \ "dfu_alt_info=sf 0:0=flash-bin raw 0x400 0x1f0000\0" \ "bootdelay=3\0" \ "hostname=" CONFIG_HOSTNAME "\0" \ -- 2.30.2