Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1812577lql; Wed, 13 Mar 2024 08:49:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX8lS64rhRwsrGkdhRy4p9KkAbR7aTspzBGotY53T2qCv23YTCqGJ/rJM/HtI9hTb8oTKK4dCNNR916j6uHNAOtc5GMW8wKS1dNzGZ2nA== X-Google-Smtp-Source: AGHT+IGbCa6SqLIEvQLNDxxtGzmlezWDNELOzAo4GJ8cHzyegk7kCQqZ7vi9OYPpOBDPxKmN1Lrx X-Received: by 2002:a05:6a00:1403:b0:6e3:c568:47aa with SMTP id l3-20020a056a00140300b006e3c56847aamr3196997pfu.24.1710344959785; Wed, 13 Mar 2024 08:49:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710344959; cv=pass; d=google.com; s=arc-20160816; b=NGHqN7OV1qG79njT0O9A1z/kZwhWqp0CtSHreHwLUJIuKao3TqBLKsXNZHj44JeyP1 q+YCtXpZOV/Mpg68jqoHeWoLVe4I7XCWCGTLWKb4Yv9OaGTuZbvDBPTBzgIZS0HdhQSY F6aIOn/nTsyxNZdrH2NSj5ScNnOLDeKF1/8SP64IMHAlLrDT6vakhU/brEciTg07kbH9 HQSksDNyQ7n7U9BBPQy7v14Uzqy0SmOt2F23kNV+kqCWY8PFpNrU8wx2H1i8HRqrYQGU Q17puJT30F0vSTNCRQbB8SrH/5YcRrttVnxJSX5r0kCcUQWJNkZPcfBz+2rwUE7vlUiY 15IQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Q3XCjorAqzhcxtTE1akOhucpm0x01G9s1mIo5Dg2lCY=; fh=oeR2tPk0YxEYpVfJ8tTZ866vQwnuCFr5eilp54ObI3I=; b=0HbohHw/W7ReWr74uetrHls3ZYAdAGSll4DGUoj9lWXqbyXIt9In3YBY/tlkppV0f3 vgC5Yo127B9mKSLXyuZNVIvBVgMCzH7qZTmjsUe++hBMSJN2dRyeu3wqqv8vR9fY9vcW 57dGD4HgcIH+bDr+9M0PV5L1YK+hmI7bxGm5gSLbXFTWGHvxUHjbPFd+AlTud72ihipM /Ym3zaKWJvuM7YSjZlN2aIQ1IzjOX+Id0tecBqFdmN6mJxbAEabBKO7KUXs0HFCGNcWn 2c1ENoHHRRLSvTi00FPwqUtRfI6ok5UYHGtlvK4Y+eYeTGa2qhRqZzv+XgbBOWIehU4h j10g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EFYjawc2; 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-wireless+bounces-4683-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4683-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b22-20020a637156000000b005e3cdc24c26si9444932pgn.467.2024.03.13.08.49.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 08:49:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4683-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EFYjawc2; 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-wireless+bounces-4683-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4683-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6364D283C12 for ; Wed, 13 Mar 2024 15:49:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E67FC482FE; Wed, 13 Mar 2024 15:48:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="EFYjawc2" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (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 E8C73481C6 for ; Wed, 13 Mar 2024 15:48:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710344937; cv=none; b=hG84u1OlfaMTWVTx2/MEmq5ysckGX44H2MBM0MBSfCg3uuQMwxDHinm2xU/ixyh353o1OJ/fRgvUC3qL00BApxmNUf8M9glBkXMd2QPF7xqX/R9MRo5BhISNHFSkCsezwY2GktaJGeBECVL+JUoUNunMHN5c417dkHbUE93V12A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710344937; c=relaxed/simple; bh=Zvgg9s54JQ66k5XEWGPZHQY1faeSamcPZ7cushNifPk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Sy4aJO0dPH28MPpnAsBL61+xwxgjZzGaBgRGdaDJYIeaUWm7otEEielMHF/Fm6ibufLluQDR513Lle7k3UFHJTmCNSKQV/UJtGbh0MwYCcsarfXEkNrqN+Tt6a9YS6053zF85zGDpOdwVwJrGAUYo1z6XzV5QC9xc8tg7gLHQCk= 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=EFYjawc2; arc=none smtp.client-ip=209.85.167.44 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-lf1-f44.google.com with SMTP id 2adb3069b0e04-512f3e75391so5367222e87.2 for ; Wed, 13 Mar 2024 08:48:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710344934; x=1710949734; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Q3XCjorAqzhcxtTE1akOhucpm0x01G9s1mIo5Dg2lCY=; b=EFYjawc2JJUlj9cJtwdoMR94C2VccFeIYQuzpU6Y2/l3ZzCuTs4BGx2LrcvjZOMkcS XuXcnFt/rrntWH1N4IVLuk/U9nT+2tLnhS2tl8fb2Tf29NbpVtKR4QqC9hNPCvKsa+GR 5iKkVew2ZLk0IZCzH76wm57+nm3I/khtVDbjGT2gAVe35th2dUxuHBO2BgJ3K5lzLs9U TAl7taV+aTPwPVoow7yG4z2MvPOfIof0whL/EN5zDj7SpkDEis1t6oyX8TQSBhoZsPBL Zx7rVoihLIwOUDs6IzXThOTKOjKU/XuUGQY+MS2XGIe+Lul2p2X3wStk+qVp2wIO+8qB hJDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710344934; x=1710949734; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Q3XCjorAqzhcxtTE1akOhucpm0x01G9s1mIo5Dg2lCY=; b=tGECl7hVBD7/IlnWkXswid3v5975iZOnZfVIIjEXKjX5GDk0339IXjWcwevCZrIwv7 QJko4V68NtIP6bvq3nyCmMxFJz/GRmNJmxlEsOkT6iDkianrDdFrO1x+tqJQgBZJkCfq acT0LisDAWrrCIwDeTEbrhWGIGq03rtrsQLyU6TYrXYSA3ZSw1aJ9oNBF3MSV5oyiNmV FT4vN6kF2uHM/Y2ijTuvlAS92ZwFJqg8wg5mKgG0p3rqrazOi2pTRpX/GtEAdPNdHGQr 74Ckqs3jC+Kzpq3MZmAOvNynSK5cHzqx3HfXxlXCRmpCJP7OW3Sh/mD7NT6ogh2VbwcB HiQg== X-Forwarded-Encrypted: i=1; AJvYcCXuZhhaS/vFiMt8WDamO4f51xL4PWtquAjpw0Swf9E6UChMPciZH09jB6mVv+VcRkCSxrGkfdS95QVQMVvXi4nt32oN6GzwmoBBSJJnylM= X-Gm-Message-State: AOJu0YzMYU9xAxnnP8LRT0LMR+eZvkVr8DjQCw3NGaora8Yu8lrftG1/ mNaKr/PTwfgl2FJfAdXWgBriQ96WfRmEm3EXLCDv2EbztPy8lMm2YmW/ydfJ9Rs= X-Received: by 2002:ac2:4823:0:b0:513:4705:a4f3 with SMTP id 3-20020ac24823000000b005134705a4f3mr3726441lft.65.1710344933982; Wed, 13 Mar 2024 08:48:53 -0700 (PDT) Received: from [87.246.221.223] (netpanel-87-246-221-223.pol.akademiki.lublin.pl. [87.246.221.223]) by smtp.gmail.com with ESMTPSA id u12-20020ac25bcc000000b00513c68b20e9sm470609lfn.188.2024.03.13.08.48.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Mar 2024 08:48:53 -0700 (PDT) Message-ID: <111bc38e-aa9f-4be6-9415-9d510e66250b@linaro.org> Date: Wed, 13 Mar 2024 16:48:50 +0100 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] dt-bindings: net: wireless: ath10k: add qcom,no-msa-ready-indicator prop To: Marc Gonzalez , Jeffrey Hugo , Bjorn Andersson Cc: Kalle Valo , Jeff Johnson , ath10k , wireless , DT , Pierre-Hugues Husson , Jami Kettunen , Dmitry Baryshkov References: <14daa98e-7fd3-4ebb-87bb-5d2c1fba679f@freebox.fr> <871q8wk7o3.fsf@kernel.org> <3392f356-7b19-483d-b9f8-3bd84068fa52@freebox.fr> <87wmqoilzf.fsf@kernel.org> <87cyse8j9m.fsf@kernel.org> <6d4b1381-c121-4cda-a8c9-9ccac56bd447@freebox.fr> <87plw87nsc.fsf@kernel.org> <0816f7bb-3c97-4b90-8e19-191552ea6e26@freebox.fr> <87h6hk7aee.fsf@kernel.org> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/13/24 16:09, Marc Gonzalez wrote: > [ Dropping the DT fellows ] > > On 05/03/2024 20:20, Kalle Valo wrote: > >> Marc Gonzalez wrote: >> >>> I need to build a kernel + rootfs + FW to test the proposed solution, >>> then I can spin a formal submission. >> >> Yeah, please do test this to make sure we are not missing anything :) > > I used buildroot ( https://buildroot.org ) to generate a kernel + rootfs > for my board (a variation of qcom/msm8998-mtp.dts) > > Not sure if I must use the vendor FW blobs? Or if I can use the blobs > from linux-firmware-20240115.tar.xz (as supported by BR2). > > > All I see from the ath10k driver (with debugging cranked to the max) is: > > [ 0.539801] ath10k_snoc 18800000.wifi: Adding to iommu group 0 > [ 0.541941] ath10k_snoc 18800000.wifi: snoc xo-cal-data return -22 > [ 0.543633] ath10k_snoc 18800000.wifi: supply vdd-3.3-ch1 not found, using dummy regulator > [ 0.544002] ath10k_snoc 18800000.wifi: qmi msa.paddr: 0x0000000094400000 , msa.vaddr: 0x(____ptrval____) > [ 0.544271] ath10k_snoc 18800000.wifi: snoc probe > > > # ip link > 1: lo: mtu 65536 qdisc noqueue qlen 1000 > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > 2: enp1s0: mtu 1500 qdisc pfifo_fast qlen 1000 > link/ether 34:27:92:82:48:ec brd ff:ff:ff:ff:ff:ff > > No wlan device at this point. > > I got shell-shock from reading these setup steps: > > https://wiki.postmarketos.org/wiki/Qualcomm_Snapdragon_835_(MSM8998)#WLAN > https://github.com/jhugo/linux/blob/5.5rc2_wifi/README > > > Jeffrey, Bjorn, Konrad, > Has someone written idiot-proof (such as myself) steps to enable > the ath10k core on a msm8998 board? $ cat /tmp/x.json [ {"names": ["bus=snoc,qmi-board-id=stinkyboard"], "data": "board_stink.bin"} ] $ ls -lh board_stink.bin -rw-rw-r-- 1 konrad konrad 19K Mar 13 16:42 board_stink.bin $ python3 ~/qca-swiss-army-knife/tools/scripts/ath10k/ath10k-bdencoder -c /tmp/x.json -o board-2.bin board binary file 'board-2.bin' is created I believe Kalle aggregates these boardfiles and then uploads a big combined board-2.bin to linux-firmware nowadays? Konrad