From patchwork Sat Mar 30 16:02:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3067 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D135940CB3 for ; Sat, 30 Mar 2024 17:02:58 +0100 (CET) Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-513e31aef6csf2283673e87.1 for ; Sat, 30 Mar 2024 09:02:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711814578; cv=pass; d=google.com; s=arc-20160816; b=jhzKX53BED7PF6H0t4k6ZemuWBGfUrP0B1oinN8GX4iEIzZ480znVXLx3qAl2QVb0W hQGJKwuNMwj8Eym2w4tsDvmI1uYe/Pr/O8g5jdjRDTsQkMYeqY1XTGUQan45U5XRIL9G Y+/HePEhejlbG2N11aRBdgg9GnBawSAP/lDYrrsHi2npvQkrSlQClmVzc04MyXv0/eEO trTj9JUfN5J8R+o/mhUjbuC7o/IDNuV3cJvDPTkELOTfYyZVSiB7UkHuDvFWIhKXZdrh 6M2rJsn3JhcrlfOYKOxnQMzHY5ZIdA4BzblyKkIFnvLdm/JtP4B0FDWvkoisYJSPPYhJ kdSA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=K5Tm6p5gbqwcSMu3YQm8iylaU2J2lG6N7fLlBe2os8w=; fh=mNAo/2Gk96aEwa4lsuMWfFW+wVxjK7P78oHEQ4fOLQI=; b=WdVnprlspmNrUtcL64aTUDqys+PGFTYvcgH8CzyGkH1BAXEcbpsZCjFaWlZGAuDREJ nyxLqHWaIoRdHZUW9VnvNxG1guBKINO+Pe352E0sp+Q5UU498j90tppfEZ1hzz6ma5yN rUFJDJY9mFJJ1h/SdVSPFYCEHzOklAESlWTMq21CpnO3Exz4sSinl/pkj1ABKyk5/iBm zRaUge3m36qqcOzyB6IfW5shBAQFObo+f1xDnM+745MbzkwN+DRznDo+RX6q8nM6gjq/ R4nq/g8Bz+eepP3bTv5umvY6gvGW7r71qPxh9eNsmnuet3iHuyeMs6DCEbqPiijH6Fsn nbqg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Gm3TYAu9; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1711814578; x=1712419378; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=K5Tm6p5gbqwcSMu3YQm8iylaU2J2lG6N7fLlBe2os8w=; b=Wjs33Fs6dPORe+IBjIms0d+xBbX1bPFCr1ubSQ957MVjWkfeeHBz5pHEN6xPz1PSD1 sGJQCACunU5IkhoRk4Nc7R/kGhZlsW8ueajfSkXhljbaFWdGYBX0aOgk8KIczb8AnGtV Ofhq+D6aL9IjqHJFnRI6z2q+4WyHDkqUfC0Fg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711814578; x=1712419378; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=K5Tm6p5gbqwcSMu3YQm8iylaU2J2lG6N7fLlBe2os8w=; b=js3NgTC79VVht1zGc9rbb+vGkPWu7ccgWYhkG+wZrVDGNL/peacMhEvOkOLJpXAIA5 l666S4vldzbR1L1s2um7SFfrxD0tV7izI9FYgWyfOWnoJnRidP/9k0NiyMqO2q8/yFEA yEawNbMyIA7J/3XxLW8rbJIg2PcwOQwc4vedveopEK6bqXnDrPpfPjRzIGN8QbicDKog ddO+85P3cXbVZiQ2MvytRsCMHeyPhqprXZpM8QnasS2ByC9G/SZota/TItH5trsNCQOj WveWLKDGq3Ha+3qlnGIO7ElyAKMeUtOwsXMx8CEJ5r0ilKdKChwKirQtduR9R0aVa0J4 MjAg== X-Forwarded-Encrypted: i=2; AJvYcCX+Ma2osK1BuYQT7WPhuTiiX7HZytppcaKqfSVaS/ysCpiPz2D75s4JgoRaQZx2aM0vThy8ttTvWufcQ30k5d6a/mcilpNLFSUqwCiz19h19RkPPF9mScbapqUoyg== X-Gm-Message-State: AOJu0Yw/7xMl+FQXYaotgKu/rZJwDxnZZtSr3Rw9Z/yGmxmM0QKFHgUB l8+4XQ5J8jHwqxDt6o73P/YqUi7DevtB/Q5IcDe6rLQWOhkXq6EhKsp1S+4meK1mcg== X-Google-Smtp-Source: AGHT+IHeMRqsMl/yKTld8FDKyUf4CPbBtydf1laAkfCPXeXiNR5iwWI0acol7n00+pcZSWLC9QchBg== X-Received: by 2002:ac2:5e8d:0:b0:513:e14d:15e1 with SMTP id b13-20020ac25e8d000000b00513e14d15e1mr4125430lfq.57.1711814577445; Sat, 30 Mar 2024 09:02:57 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6512:3e06:b0:515:bebd:eca3 with SMTP id i6-20020a0565123e0600b00515bebdeca3ls651024lfv.2.-pod-prod-05-eu; Sat, 30 Mar 2024 09:02:56 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX/748kx5j25EW348F1PHlmob6dZCkDildyOSZx311x3K1Fo1EWoM+xJfOkq0Hzvzgs6HZc9ArapQHoDXUX7pNte/+3QJA5BgluBw4XHrK1QB1l X-Received: by 2002:a05:6512:1385:b0:515:d196:6d4d with SMTP id fc5-20020a056512138500b00515d1966d4dmr4906889lfb.24.1711814575530; Sat, 30 Mar 2024 09:02:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711814575; cv=none; d=google.com; s=arc-20160816; b=pRIZZCGzqCf8zGBQ6l5krW+pzkRzlH3Q/01Ygr+UPacKdt35jKvnBm5Kn7XpwNEdMK aGy5ax8JUOB640FceR1YViBkZGl20/UnuwXZt/q+Bww/IczM+lXoevt2H2QwiqDmMxEj 7RSUHFunth0HMp4kfF7Y22gcAbOuVjijWsBIivjh/x5rWez9sT73IBPTlFj6TEXJFz/9 tK7Q5hEto7Zr48QJ6OVRz8gdG1MJR29SdCu+m82ZSmTcIKJAF8rTjavEYXkgsExfP7Gz q42FcZBApt38DPM0dAWYKo9nQKrPNzB3wCya3lfhBbj8KMdT3vvUyRdR7TOV6l0RUHRg KAnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=OlgqGuh36ehNJiVVoCxNXxhAlXwG6OEjKu1L1xo6aFU=; fh=vyYPSWM1rpHbq0d2eQI4xpmaHLT7peEVUHxT+1Ll6Vg=; b=rCMRKJobVjMx57Ika/AQeyLIi4jyoFaD2Kid0FQo3Eksb2EdYtINGzr4OpNB7aPxw3 +QNvKaWgD6PdCJPYEFtOq7Ngg5FmUuQ77DRF5raWJb5l0H3vVFHGa+YcP8wyzpMFfrU0 bI5mYoDZ1fOYJwl9yEox60N/w7E41wgMeKzdE/peSV0q+cveDuvuCLZm+f5IaLUr4Yi/ I+wNk4BwCO8TkDmaG0WFOZ2MlQ8utDoKTBa7eVE5d4VmUMgH+Ps+sjcR5CqqakDZz4AH iBj++QUUTIkuRY4CcTn64FUnjGTBXEDrfeYxGAPtqWKz7LeGA6TMm/d7mp4mI7lt5OMr xFwA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Gm3TYAu9; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id f5-20020a170906084500b00a4e26a20078sor649203ejd.4.2024.03.30.09.02.55 for (Google Transport Security); Sat, 30 Mar 2024 09:02:55 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCWzou5jTepjn29Cwbde5Cggei0ibQcDCxaXVx4+djw1NgCgJLA5SnA08N4x6S2oayuugrwahpBDiC6028993E6bv34rTc5tEdvsYZVA8oJ2aGzg X-Received: by 2002:a50:ab14:0:b0:56c:5a49:738 with SMTP id s20-20020a50ab14000000b0056c5a490738mr4186054edc.10.1711814575243; Sat, 30 Mar 2024 09:02:55 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-8-99-67.retail.telecomitalia.it. [87.8.99.67]) by smtp.gmail.com with ESMTPSA id f13-20020a056402004d00b0056c633354c6sm2127107edu.45.2024.03.30.09.02.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 09:02:54 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: Romain Naour , Alexander Sverdlin , Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi , Anand Gadiyar , James Hilliard , Thomas Petazzoni , Dario Binacchi , michael@amarulasolutions.com, Asaf Kahlon , francois.perrad@gadz.org, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com, "Yann E . Morin" Subject: [PATCH v10 05/12] package/ti-k3: disable HS-FS for AM65 SOC Date: Sat, 30 Mar 2024 17:02:37 +0100 Message-ID: <20240330160244.3214733-6-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240330160244.3214733-1-dario.binacchi@amarulasolutions.com> References: <20240330160244.3214733-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Gm3TYAu9; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , It seems that some TI K3 SoC variant doesn't provide all SECTYPE. For example: AM65 provide only GP or HS, there is no HS-FS. This can be checked in meta-ti: meta-ti-bsp/conf/machine/include/am65xx.inc:IMAGE_BOOT_FILES += "tiboot3-am65x_sr2-gp-evm.bin" meta-ti-bsp/conf/machine/include/am65xx.inc:IMAGE_BOOT_FILES += "tiboot3-am65x_sr2-hs-evm.bin" So BR2_PACKAGE_TI_K3_SECTYPE_HS_FS must not be selected if BR2_PACKAGE_TI_K3_SOC_AM65X is used. Suggested-by: Romain Naour Signed-off-by: Dario Binacchi --- Added in v7 Signed-off-by: Dario Binacchi --- package/ti-k3/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/ti-k3/Config.in b/package/ti-k3/Config.in index 2a51b1531487..b8545b7bca62 100644 --- a/package/ti-k3/Config.in +++ b/package/ti-k3/Config.in @@ -32,6 +32,7 @@ config BR2_PACKAGE_TI_K3_SECTYPE_GP config BR2_PACKAGE_TI_K3_SECTYPE_HS_FS bool "hs-fs" + depends on !BR2_PACKAGE_TI_K3_SOC_AM65X config BR2_PACKAGE_TI_K3_SECTYPE_HS bool "hs"