From owner-freebsd-arm@freebsd.org Mon May 18 23:26:04 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 329312F0681 for ; Mon, 18 May 2020 23:26:04 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49QwB266s8z4Ww5 for ; Mon, 18 May 2020 23:26:02 +0000 (UTC) (envelope-from greg@unrelenting.technology) MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unrelenting.technology; s=default; t=1589844360; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=s8YuR7OmANKuwhHdZgXRtvi64o60KG3FvX5TrkbLaAo=; b=SINOKH33Z1tTGnVAv4Z4pr/I6N3EisJtlSrdNen0iuyMjXzLXLDDMETl0J/z1pkR9s/Eow uNYR43iykXZ5nB2XQMeSE1HSGr255g1mJNqdfSPZ8FOIyEZedBuCnq+q54HfCyGkgpO1Su ChEqWJIIIWa0psW9E0KbigsYb5ZYkMg= Date: Mon, 18 May 2020 23:25:58 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: greg@unrelenting.technology Message-ID: <947c2f9bfaad823a2b104b8741502b40@unrelenting.technology> Subject: Re: FreeBSD on Layerscape/QorIQ LX2160X To: "Dan Kotowski" Cc: "John-Mark Gurney" , freebsd-arm@freebsd.org In-Reply-To: <-993X5kyX6HEebSKMfqeSWmICCLli6PEFDf82ulKUdk49KTg9sf2u6V_4a8wWQGyFpwtgdXwqvk2kIjFm5u_ZWw6t2qGw5nSV7f-O_96U_g=@a9development.com> References: <-993X5kyX6HEebSKMfqeSWmICCLli6PEFDf82ulKUdk49KTg9sf2u6V_4a8wWQGyFpwtgdXwqvk2kIjFm5u_ZWw6t2qGw5nSV7f-O_96U_g=@a9development.com> <7AFDA7E0-82EC-4CD2-BB03-B7E33D019EDA@unrelenting.technology> <_lvahpuNQE69s4KpHud6ANL6yzL3RCVI-MTyB0_J_ULyW-3UWsqAXnm5gfoFcOyvfRQRabZk4Z4bQgyp15a001kA-WcvsvnWcjqgMBkgGTY=@a9development.com> <7F9D7164-2C04-4E27-85F9-A495EAC8FC84@unrelenting.technology> <63b4f78ff4ee07359a345bcbc03afeaa@unrelenting.technology> <2053cd2299b81860deecc638ef839d1f@unrelenting.technology> <0012917d629a48e9fcd8589f4f002e1b@unrelenting.technology> X-Spam-Score: -0.10 X-Rspamd-Queue-Id: 49QwB266s8z4Ww5 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=default header.b=SINOKH33; dmarc=pass (policy=none) header.from=unrelenting.technology; spf=pass (mx1.freebsd.org: domain of greg@unrelenting.technology designates 91.121.223.63 as permitted sender) smtp.mailfrom=greg@unrelenting.technology X-Spamd-Result: default: False [-1.43 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[unrelenting.technology:s=default]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:91.121.223.63]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[unrelenting.technology:+]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; FROM_NO_DN(0.00)[]; NEURAL_HAM_SHORT(-0.43)[-0.430]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2020 23:26:04 -0000 May 19, 2020 1:29 AM, "Dan Kotowski" wro= te:=0A=0A>> You still should do kern.cfg.order=3Dacpi, is it on?=0A> =0A>= Weirdly when I set that it hangs and drops into the mountroot> shell aga= in, while leaving it unset=0A> lets me boot into the installer.=0A> =0A> = https://gist.github.com/agrajag9/171b2665c24baece898ec5ba22439a54=0A=0AOk= ay, so now you have PCIe but not USB.=0A=0A(You're reading the log, right= ? Not weird to see mountroot if you haven't seen USB in the log.)=0A=0AAc= tually SATA is supposed to work too, it's odd that you're not seeing AHCI= .=0A(I was being stupid when I said they have custom SATA, lol)=0AAlso, t= here's generic PNP0D40 for SDHCI, but we don't recognize that. we should.= =0A=0AMake sure your firmware is up to date, is your edk2-platforms=0Aexa= ctly the same as master-lx2160a branch on github currently?=0A=0ASpecific= ally make sure these changes are in:=0A=0Ahttps://github.com/SolidRun/edk= 2-platforms/commit/97e6b0a36a925f57568d8e411666cfb5034aa38b=0Ahttps://git= hub.com/SolidRun/edk2-platforms/commit/24698f90b79facfbbfc4067b39a4ddf8c7= fdfa88=0A=0ATest on that linked build if the log was from your build, and= vice versa.=0A=0AHere's a kernel that should also recognize SDHCI (eMMC?= ),=0Awith the amdgpu driver as a bonus :)=0Ahttps://send.firefox.com/down= load/4dd9b553bfe88cb3/#URS-DESsR8WTsiGutrJlRg