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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3213C433F5 for ; Tue, 19 Oct 2021 12:06:19 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 19B126113B for ; Tue, 19 Oct 2021 12:06:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 19B126113B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=auriga.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 36B6283278; Tue, 19 Oct 2021 14:06:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=auriga.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id EA75582DC3; Tue, 19 Oct 2021 13:31:57 +0200 (CEST) Received: from hq-ms.auriga.com (hq-ms.auriga.com [82.97.202.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 72B8380D28 for ; Tue, 19 Oct 2021 13:31:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=auriga.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=georgii.matiukhin@auriga.com Received: from hq-ms.office.auriga.msk (82.97.202.32) by hq-ms.office.auriga.msk (82.97.202.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Tue, 19 Oct 2021 14:31:49 +0300 Received: from hq-ms.office.auriga.msk ([::1]) by hq-ms.office.auriga.msk ([::1]) with mapi id 15.01.2308.014; Tue, 19 Oct 2021 14:31:49 +0300 From: "Matiukhin, Georgii" To: "u-boot@lists.denx.de" Subject: Message to U-boot list Thread-Topic: Message to U-boot list Thread-Index: AQHXxNxH5fFnmyUED0e0UNZRalg8Ag== Date: Tue, 19 Oct 2021 11:31:49 +0000 Message-ID: <7dd38b19ca4b48bc86969108d724395a@auriga.com> Accept-Language: ru-RU, en-US Content-Language: ru-RU X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [185.4.227.89] x-tm-snts-smtp: D10390F86FA5971D1588C85864F3535DB8C283BA8409FAB1F968A4D3C0ABB7702000:8 MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 19 Oct 2021 14:06:12 +0200 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean Hello. I would like to send my message to U-boot list. Hi folks. I am developing my own USB driver for RPI4 board and ran into a problem - t= he VL805 chip raises the HSE error when I'm trying to transfer it to the RU= N state. I configure all the registers of the hardware exactly as the u-boot does: 1) I set up the root complex of bcm2711 root complex; 2) I set up the config space for the root of the complex and VL805; 3) I set the outbound window in the root complex to the specified addresses= ; 4) I write to the operational registers in VL805 valid addresses of DMA buf= fers; 5) After all I turn on the RUN bit in the command register of VL805. Immedi= ately after that, the HSE bit is turned on in the status register (host sys= tem error) 6) In the PCIe status registers of the root complex and VL805, I see the Ta= rget Abort bit set (PCIE status =3D 0x1010) Now I adhere to the version that the abortion target appears due to the ina= bility to complete the DMA transaction. Probably, the root complex cannot access the memory, for example, due to th= e fact that the memory controller is prohibited from accepting requests fro= m the root complex. In other words, u-ot makes some additional settings that I can't see. Hope someone can suggest some ideas on how to solve the problem. Best regards, Georgii Matiukhin SW Engineer Auriga, Inc.