Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp2186552ybg; Fri, 5 Jun 2020 07:42:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKlpg+ATJB6QFPQ+sDZXoL7KAhsu/Xyyrn+npiP0CbZpJVQOwBa23KaR0BNZsk38h3PU+m X-Received: by 2002:a17:906:e2d5:: with SMTP id gr21mr8705210ejb.219.1591368145692; Fri, 05 Jun 2020 07:42:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591368145; cv=none; d=google.com; s=arc-20160816; b=N8O7IEoYdthX+xEsn4dvJYnyB5PusctsjT/lOtgF5rl69PABT2tsi7aTndgNjCGDml Wr2SJxV/hOwS4g22rsyMcYbi0zRWi0asna659Z9BGKYQW6xGvFcOyJsD1zpi0RJy0bQA 9/70lJSLcVuYtqgAV1gN+7Krue8za3X5oU5nXIn0fSrphiMQXz6lfIsQV6K4i80NzfDQ u34i/5LeAQXM7pDy6FwzzHkf94svRWsNMCEuRE7wbTnwXYv0H6h6fBQt7TIAKGfJvgGg tRRowylWLItqNcs7twts31++dPcXOJUnr5WWsm8C4EUKm1esQ1yz3NRBFgQMj9GXIsX2 922Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=KTWUDLwRGa0tY+A1+UTpe+rQGvhwB5yp5lNO+CrBQH4=; b=da1if4G3tkF3/l6UNTsAEZlW/JLnkNGiyocYzXXYGfq0NNsjmmMxhWRYgPXGRBgxHF M7QFJTyyB7M/d9hZdTtu0Ks9U1tQCkXvVph9ylaQtPfDtA81xefzsEVkduwmwh9jtUGh X8nHvtyh+YNFJsWTSjTPuWlnV5ez0KDYRKx8LfSN849ek4dBiYUodJJjoDaM1OFb5TPP dDXirKGsSrJNc0qwGqmtD8nTcCFv3g5BQQqohT300LOyFc510IqLOBLrXiU49AsZkZZF 2zd0mpFtcKdXMubneXu9mCxT76HCNCcGbEfKsanfm2768vVkAVmFcPV/Bsa2X1NxG68U +egg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=ee2VDNIn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j11si3597925edp.371.2020.06.05.07.42.02; Fri, 05 Jun 2020 07:42:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=ee2VDNIn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728068AbgFEOj5 (ORCPT + 99 others); Fri, 5 Jun 2020 10:39:57 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:50942 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727113AbgFEOj4 (ORCPT ); Fri, 5 Jun 2020 10:39:56 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1591367995; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=KTWUDLwRGa0tY+A1+UTpe+rQGvhwB5yp5lNO+CrBQH4=; b=ee2VDNInvrTN986OGabYInlH0LICHoRqdR4ZoKGaiknKiUopZkMaGhdu0mzlougoCH93IcEi HOM0rK4IJyaE+SIEHDyZZCdGx3OWP8gVLwNsXiFRerSJTqW5CzYYwd4mvQzvy45R6mOvkoH0 NkDGTymTe4J+kfdhlsFmeTIZQM4= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n04.prod.us-west-2.postgun.com with SMTP id 5eda593646d39fc0a28680cb (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 05 Jun 2020 14:39:50 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 13945C43387; Fri, 5 Jun 2020 14:39:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: saiprakash.ranjan) by smtp.codeaurora.org (Postfix) with ESMTPSA id 91E91C433CA; Fri, 5 Jun 2020 14:39:49 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 05 Jun 2020 20:09:49 +0530 From: Sai Prakash Ranjan To: Nicolas Dechesne Cc: Jonathan Marek , Bjorn Andersson , linux-arm-msm , Andy Gross , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list , devicetree-owner@vger.kernel.org Subject: Re: [PATCH 1/6] arm64: dts: qcom: sm8150: add apps_smmu node In-Reply-To: References: <20200524023815.21789-1-jonathan@marek.ca> <20200524023815.21789-2-jonathan@marek.ca> <20200529025246.GV279327@builder.lan> <20200529031520.GA1799770@builder.lan> <91eb7ee0e549b10724c724aebfd91996@codeaurora.org> <8cf134f0-381f-7765-2496-e5abd77f3087@marek.ca> Message-ID: <81a9d07c0c8d76abf0ef734963788884@codeaurora.org> X-Sender: saiprakash.ranjan@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nico, On 2020-06-05 20:01, Nicolas Dechesne wrote: > On Fri, Jun 5, 2020 at 4:14 PM Sai Prakash Ranjan > wrote: >> >> On 2020-06-05 19:40, Jonathan Marek wrote: >> > On 6/5/20 10:03 AM, Sai Prakash Ranjan wrote: >> >> On 2020-05-29 08:45, Bjorn Andersson wrote: >> >>> On Thu 28 May 20:02 PDT 2020, Jonathan Marek wrote: >> >>> >> >>>> >> >>>> >> >>>> On 5/28/20 10:52 PM, Bjorn Andersson wrote: >> >>>> > On Sat 23 May 19:38 PDT 2020, Jonathan Marek wrote: >> >>>> > >> >>>> > > Add the apps_smmu node for sm8150. Note that adding the iommus field for >> >>>> > > UFS is required because initializing the iommu removes the bypass mapping >> >>>> > > that created by the bootloader. >> >>>> > > >> >>>> > >> >>>> > Unrelated to the patch itself; how do you disable the splash screen on >> >>>> > 8150? "fastboot oem select-display-panel none" doesn't seem to work for >> >>>> > me on the MTP - and hence this would prevent my device from booting. >> >>>> > >> >>>> > Thanks, >> >>>> > Bjorn >> >>>> > >> >>>> >> >>>> I don't have a MTP, but on HDK855, "fastboot oem >> >>>> select-display-panel none" >> >>>> combined with setting the physical switch to HDMI mode (which >> >>>> switches off >> >>>> the 1440x2560 panel) gets it to not setup the display at all (just >> >>>> the >> >>>> fastboot command isn't enough). >> >>>> >> >>> >> >>> Okay, I don't think we have anything equivalent on the MTP, but good >> >>> to >> >>> know. >> >>> >> >> >> >> Actually I tried out this in SM8150 MTP and it works fine for me, >> >> >> >> "fastboot set_active a; fastboot set_active b; fastboot set_active a; >> >> fastboot oem select-display-panel none; fastboot reboot bootloader; >> >> fastboot boot boot-sm8150.img" >> >> >> >> Also I need to switch slots everytime like above, otherwise I always >> >> see some error >> >> while loading the boot image. >> >> >> > >> > What is the error? If it is "FAILED (remote: Failed to >> > load/authenticate boot image: Load Error)" then flashing/erasing >> > boot_a will make it go away ("fastboot erase boot_a") for the next 6 >> > or so "failed" boots. >> > >> >> Yes this exact error. > > The bootloader maintains a 'boot status' in one of the partition > attributes. After a certain amount of 'failed' boot , it will switch > to the other boot partition. It's the same thing on RB3/DB845c. In our > release for DB845c, we are patching the bootloader so that this > behavior is bypassed. On typical 'product' there is a user space > application that will come and set the partition attribute to indicate > the boot was successful. > > For the record, this is the patch we use on 845c: > https://git.linaro.org/landing-teams/working/qualcomm/abl.git/commit/?h=release/LE.UM.2.3.7-09200-sda845.0&id=e3dc60213234ed626161a568ba587ddac63c5158 > > rebuilding EDK2/ABL requires access to signing tools.. so it might not > be possible for everyone. but in case you can, it should be > straightforward to reuse this patch. > Thank you for these details and the patch, it's very useful. I do have access to ABL code and the signing tools and can build one. Thanks, Sai -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation