Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp290610lqt; Thu, 6 Jun 2024 03:54:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX9JqNeykC0Wa0+nCirEjeijj+h9lJIDkwIbXqLiev50/iBqYz2nbCeJ1bqefWRs4dAOVH1Yy93HO8tvJWZOQZBbvELNzR+Wg2S8kDx6Q== X-Google-Smtp-Source: AGHT+IFYltYA8nPxeLZF0x/VGVjegRYJ4rSMxKZebmJGdT5Gy7kTI3pttY/OAnLjWWvtShWLRz49 X-Received: by 2002:a05:6870:b026:b0:250:7a43:aefd with SMTP id 586e51a60fabf-25121d1e8c8mr5714062fac.2.1717671288738; Thu, 06 Jun 2024 03:54:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717671288; cv=pass; d=google.com; s=arc-20160816; b=aMiRzs9xwQ8yKZzPPZpSRfgBrSLmKnanfTeM0h49RuNfzJLO0K4QlKmrKZ3YbR5bEr hfx0ZnzcsrddbzbSdxQEx3E0huZHKAmAlC99soM/hMQuEUyUM99DV9tKAl6y/fIH2PF5 EY8pYM/j32KRkqIdF4VYQN5Ap1SKMBTqrSWs2LURe/GRQB35GVEZcrSSWbKgTjfOEkOF Q4ZAbE0rz0HUFRpl73CIDvIsScYDdqmoCF4b3Oyzh+lciyad6Qxjk3hqFl8XR+sSYFDw 4iUHdKyTYHQvSQi9Outa1LDV/eehzptqFhwkJKuW5pcQ/ZxFYux2GHsxY4MA/Mnd9OmV t5Sw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=SsGwWh0yCq6rqI6nRsTk0y057hD2XpDmpnkIc4MhpBo=; fh=QzjTxyWid/SLmjvfd5cGmoaCz1rmK4tS6ERyYr1E8ag=; b=nG/C7z3W3VXvrHk/I8doF+nvhqhZE89ZAC6YIRs51nLfQjSL/bHcaS4IlDWPLRZ+3k enUOK012lY6prfdRaVeIM3wn9NU+y9hc7+bvXXHfpsUHE4spU1+bCsNEi6y/YOb/64yr GV82/PJrV04Q5tUhxuk3lkoMR4BFuHFByhHAcGCK0xrVXT4YpYMqIPkDME3asRjzkDGj r/iKQ6+MkQtMkzTEnzXv0LqBMDN7X/aoneDnIDgUkaFs0E3K7pCYEXvAEy3wThfawGF9 MkoUPXyc3gs7xynIzlRMVh/K4BHlC1us9B+crge8Wtoa+4K4brm/cw87N0LSi5CZUS6F mCPg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rtyqaBTM; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-204145-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204145-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-79532852045si67487385a.97.2024.06.06.03.54.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 03:54:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-204145-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rtyqaBTM; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-204145-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204145-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 641351C21586 for ; Thu, 6 Jun 2024 10:54:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 543D31953A0; Thu, 6 Jun 2024 10:54:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="rtyqaBTM" Received: from mail-yb1-f174.google.com (mail-yb1-f174.google.com [209.85.219.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5850F194C96 for ; Thu, 6 Jun 2024 10:54:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717671279; cv=none; b=f90Rzn7dUAd2WRpjnLtGrb+gFn0WW1eD5ABCxbHzfnx1Qe/Gzg+n5Kk9S164//jwcD0RfOh+mZ8UZ3EnpG+/DKi5ys6GoSwnEjHzQsrAhvj2ppt5PgshW0tylBF4t1iZMK7wk41zyFb/Fyir4FXrp6kpV/Yyz3cjaC8YiiPMTKs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717671279; c=relaxed/simple; bh=bDtMSsjCrJv2kaYS9z4BBdUYh74RR91gmQdy0rI8Xg0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=HtEx2IvZyuFNX0YLFcu3+64ZPYNMed3Q3q8ncTcvsY4cepL3OdYULVebcIMCfnXZL5l0CO7PljNbi2gjQu7z/PMnD/w6K71DB+Zaa1158Hv9JjfppQ6k4MbCpemu7DJTXiFAUZMxm3zMQla0lZNTWJm3jO8EChzIeNy1BwaVhMc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=rtyqaBTM; arc=none smtp.client-ip=209.85.219.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yb1-f174.google.com with SMTP id 3f1490d57ef6-dfab5f7e749so905167276.0 for ; Thu, 06 Jun 2024 03:54:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717671275; x=1718276075; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=SsGwWh0yCq6rqI6nRsTk0y057hD2XpDmpnkIc4MhpBo=; b=rtyqaBTMEaEoXpaj6cxcBSSgyN8YCZhT4Vahc0GxNrO/op44lkUb2ORz5d1sdXjLLY zmhwLc4jHuf52hLTfeDRfwoTZlxQyU8fcRfRbD3Of+2OIoPAyQon0HhnfUUAe4726lN+ RKFNtWEF+s1rYeNYJdHYREECcz9NC8ksndpY1oPAihsefMbeJ2EPDhB3AJBQ3NltMp0A QIUV9Bul0KD+AXyq+TGcq4gk0pstjhOKK8uDztxCso3c0KjU7vCuD/pid5IjYZGoiQEP vo8xYvTV5tPEq6sX1wpL81iN8GrnWOerQGnJMpw7pM9mDFsEn8mPfsEumnNjU+KEtPyW b2ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717671275; x=1718276075; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SsGwWh0yCq6rqI6nRsTk0y057hD2XpDmpnkIc4MhpBo=; b=bSFn4q1o2bIurn6Uh9M2FgtNuKRs4sVcwRpYFJoViKhGj/1LTvQ4qv+ICCX43IoaHk BiL+AA80CYQNJ0kaXhocmHER3vY4CV5OQzVd8G8UQckKfzRhZnC8w36CS8r0Rivtev3k yUIhjHsW0VLy08O2R80inbTvS75Z5cEyH4Ifr/6G6pBrv0n7WAOhtqkMFla3iLvPl5ZV Og+KzrIuDcPDcMssm4MQ5mAt8Q08iKYh2UsGJEIOrmWSh8q/LQCcb8lTLzmFHW+GvqAZ va1NPRF9si3z8GmiWfUbaY878S9vTLeKXIcWRoAD22AvKEYXcs4RY/wFBUFGuoVIxX2w V6Fw== X-Forwarded-Encrypted: i=1; AJvYcCXivpHUmTp/mexRGPjrHzTCYJ7WxRlcfYhoQNAiUyTg1DrPtY3v23aBrzgK4UXfv8faunNwF1RH6F+qVJsybQvofMVndhQXRpRsfbQW X-Gm-Message-State: AOJu0YzED0s5Np5yAklkVwde9TfwjcbrBxsA9Dg9kEWlTRaY/Q3hvC+9 6al9x6wsDFDhmUC/og663vbSeL6gF3DQUjOClz1FD9POk+y/EGr1bcZvvJLSQZBxbUhfUDxuDZy 7RqzKUA6uekVJBaAMceNSTFl3E//cvQHDmlHH9w== X-Received: by 2002:a25:8012:0:b0:df7:887b:abfb with SMTP id 3f1490d57ef6-dfaca9ba7demr5236764276.15.1717671274604; Thu, 06 Jun 2024 03:54:34 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240529100926.3166325-1-quic_tengfan@quicinc.com> <20240529100926.3166325-5-quic_tengfan@quicinc.com> <205de8b7-507f-45c9-83ce-6eceb1466cb2@quicinc.com> <89c5c663-df8a-43d4-91b3-0a84b0c9a324@quicinc.com> <783099ed-e19b-4313-bc92-e0cddee09203@quicinc.com> In-Reply-To: <783099ed-e19b-4313-bc92-e0cddee09203@quicinc.com> From: Dmitry Baryshkov Date: Thu, 6 Jun 2024 13:54:22 +0300 Message-ID: Subject: Re: [PATCH v9 4/4] arm64: dts: qcom: aim300: add AIM300 AIoT To: Tingwei Zhang Cc: Tengfei Fan , andersson@kernel.org, konrad.dybcio@linaro.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@quicinc.com, Qiang Yu , Ziyue Zhang , quic_chenlei@quicinc.com Content-Type: text/plain; charset="UTF-8" On Thu, 6 Jun 2024 at 12:27, Tingwei Zhang wrote: > > On 6/3/2024 3:52 PM, Dmitry Baryshkov wrote: > > On Mon, 3 Jun 2024 at 10:38, Tengfei Fan wrote: > >> > >> > >> > >> On 5/31/2024 4:38 PM, Dmitry Baryshkov wrote: > >>> On Fri, 31 May 2024 at 11:35, Tengfei Fan wrote: > >>>> > >>>> > >>>> > >>>> On 5/29/2024 11:18 PM, Dmitry Baryshkov wrote: > >>>>> On Wed, May 29, 2024 at 06:09:26PM +0800, Tengfei Fan wrote: > >>>>>> Add AIM300 AIoT Carrier board DTS support, including usb, UART, PCIe, > >>>>>> I2C functions support. > >>>>>> Here is a diagram of AIM300 AIoT Carrie Board and SoM > >>>>>> +--------------------------------------------------+ > >>>>>> | AIM300 AIOT Carrier Board | > >>>>>> | | > >>>>>> | +-----------------+ | > >>>>>> |power----->| Fixed regulator |---------+ | > >>>>>> | +-----------------+ | | > >>>>>> | | | > >>>>>> | v VPH_PWR | > >>>>>> | +----------------------------------------------+ | > >>>>>> | | AIM300 SOM | | | > >>>>>> | | |VPH_PWR | | > >>>>>> | | v | | > >>>>>> | | +-------+ +--------+ +------+ | | > >>>>>> | | | UFS | | QCS8550| |PMIC | | | > >>>>>> | | +-------+ +--------+ +------+ | | > >>>>>> | | | | > >>>>>> | +----------------------------------------------+ | > >>>>>> | | > >>>>>> | +----+ +------+ | > >>>>>> | |USB | | UART | | > >>>>>> | +----+ +------+ | > >>>>>> +--------------------------------------------------+ > >>>>>> > >>>>>> Co-developed-by: Qiang Yu > >>>>>> Signed-off-by: Qiang Yu > >>>>>> Co-developed-by: Ziyue Zhang > >>>>>> Signed-off-by: Ziyue Zhang > >>>>>> Signed-off-by: Tengfei Fan > >>>>>> --- > >>>>>> arch/arm64/boot/dts/qcom/Makefile | 1 + > >>>>>> .../boot/dts/qcom/qcs8550-aim300-aiot.dts | 322 ++++++++++++++++++ > >>>>>> 2 files changed, 323 insertions(+) > >>>>>> create mode 100644 arch/arm64/boot/dts/qcom/qcs8550-aim300-aiot.dts > >>>>> > >>>>> [trimmed] > >>>>> > >>>>>> +&remoteproc_adsp { > >>>>>> + firmware-name = "qcom/qcs8550/adsp.mbn", > >>>>>> + "qcom/qcs8550/adsp_dtbs.elf"; > >>>>> > >>>>> Please excuse me, I think I missed those on the previous run. > >>>>> > >>>>> adsp_dtb.mbn > >>>> > >>>> Currently, waht we have released is adsp_dtbs.elf. If we modify it to > >>>> adsp_dtb.mbn, it may cause the ADSP functionality can not boot normally. > >>> > >>> Released where? linux-firmware doesn't have such a file. And the modem > >>> partition most likely has a different path for it anyway. > >> > >> Firmware releases can be obtained from > >> https://qpm-git.qualcomm.com/home2/git/qualcomm/qualcomm-linux-spf-1-0_test_device_public.git > >> after users sign up for free accounts on both > >> https://qpm-git.qualcomm.com and https://chipmaster2.qti.qualcomm.com. > > > > I'm getting 403 when accessing qpm-git (both with my Linaro > > credentials and with gmail ones). > > If I try to git-clone the URL you've provided, I'm getting "Not found" > > when using a gmail account and CURL error when using Linaro > > createntials. > > > > error: RPC failed; HTTP 302 curl 22 The requested URL returned error: 302 > > > > Not to mention that the URL wasn't mentioned anywhere beforehand. So I > > can hardly call that 'released' > > > Hi Dmitry, > > Let me elabarote the way to get access to firmware of aim300. > > Visit the website Qualcomm used to release software which is > chipcode.qti.qualcomm.com. > Use sign up to create a Qualcomm ID with email you have. > Login with your Qualcomm ID. Search for Qualcomm_Linux.SPF.1.0. > This is Qualcomm Linux release. Select > qualcomm-linux-spf-1-0_test_device_public. You should be able to find > the firmware release. You need to agree PKLA license during this process. > > After that, you can edit ~/.netrc to add your username and password > which you just create as Qualcomm ID to chipmaster2.qti.qualcomm.com and > qpm-git.qualcomm.com. > git clone > https://qpm-git.qualcomm.com/home2/git/qualcomm/qualcomm-linux-spf-1-0_test_device_public.git Cloning into 'qualcomm-linux-spf-1-0_test_device_public'... Username for 'https://chipmaster2.qti.qualcomm.com': dbaryshkov@gmail.com Password for 'https://dbaryshkov@gmail.com@chipmaster2.qti.qualcomm.com': warning: redirecting to https://chipmaster2.qti.qualcomm.com/home/git/qualcomm/qualcomm-linux-spf-1-0_test_device_public.git/ error: RPC failed; HTTP 302 curl 22 The requested URL returned error: 302 fatal: the remote end hung up unexpectedly > Firmware package is under > qualcomm-linux-spf-1-0_test_device_public/QCM8550.LE.2.0/common/build/ufs/bin/QCS8550_fw.zip. The licence file is not present inside the repository. So after clicking through it it I have no way to check the terms of the licence. > Unzip this file. Firmware is under QCS8550_fw/lib/firmware/qcom/qcs8550/ Is there anything specific to qcs8550 vs sm8550? If not, it should go to firmware/qcom/sm8550/ instead. However, back to the original question. We are looking for the unification of the firmware names, not for the further diversions of them. Few weeks ago we got another ping from arm-soc maintainers to stop including firmware-names into the DT files. From my point of view, no matter what file name was used in the binary release, please use adsp_dtb.mbn for upstream submission. > >> > >>> > >>>> > >>>>> > >>>>>> + status = "okay"; > >>>>>> +}; > >>>>>> + > >>>>>> +&remoteproc_cdsp { > >>>>>> + firmware-name = "qcom/qcs8550/cdsp.mbn", > >>>>>> + "qcom/qcs8550/cdsp_dtbs.elf"; > >>>>> > >>>>> cdsp_dtb.mbn > >>>> > >>>> CDSP also as above ADSP. -- With best wishes Dmitry