From: Patrick Wildt Date: Thu, 3 Oct 2019 15:41:04 +0200 Subject: [U-Boot] HAB synchronous error loop i.MX8M In-Reply-To: <0864444d-a503-b7a1-02b2-d781a912e407@conclusive.pl> References: <653b8458-feab-ea01-19ab-22499d9213fb@conclusive.pl> <20191003130116.GA50353@nox.fritz.box> <20191003132746.GA50399@nox.fritz.box> <0864444d-a503-b7a1-02b2-d781a912e407@conclusive.pl> Message-ID: <20191003134104.GB50422@nox.fritz.box> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Since I'm not booting Linux I don't know if it will help you. :( Best regards, Patrick On Thu, Oct 03, 2019 at 03:39:34PM +0200, Bartlomiej wrote: > Hello Patrick, > > On a first glance it looks very similar to the Variscite's implementation > for i.MX8M HAB, which actually seems to work for authenticating the > bootloader image, but on the other hand fails on the kernel image on > `hab_rvt_check_target` with the check target SMC returning -1 ("unknown > function" according to SMC Calling Convention). I'll apply the diff, check > out how it works and get back to you. Thank you very much! > > Best regards, > Bartlomiej Nowak > > On 03.10.2019 15:27, Patrick Wildt wrote: > > On Thu, Oct 03, 2019 at 10:13:19AM -0300, Fabio Estevam wrote: > > > Hi Patrick, > > > > > > On Thu, Oct 3, 2019 at 10:01 AM Patrick Wildt wrote: > > > > > > > Boundary Devices U-Boot is about a year old, and I haven't checked how > > > > they implemented it. I have a diff for i.MX8M HAB support which works > > > > for me. > > > Please submit the i.MX8M HAB support as a formal patch. > > > > > > Thanks > > It was only meant for him to test, but sure, I will do that. First I > > need to take care of all the other diffs I have in progress first. It's > > nearly a full-time job replying and fixing all the tiny nits mail by > > mail. :) > > > > Patrick