From owner-freebsd-arm@freebsd.org Tue May 19 03:08:27 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 CA6A62F8E50 for ; Tue, 19 May 2020 03:08:27 +0000 (UTC) (envelope-from dan.kotowski@a9development.com) Received: from mail1.protonmail.ch (mail1.protonmail.ch [185.70.40.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49R16g0BzXz3ZZJ for ; Tue, 19 May 2020 03:08:26 +0000 (UTC) (envelope-from dan.kotowski@a9development.com) Date: Tue, 19 May 2020 03:08:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=a9development.com; s=protonmail; t=1589857704; bh=0LkkWI7aV8i74IzeXLRfbKMSNkOwlrP0GHpCgJJ/Ke0=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=BBOq3Z0mXEM9xEBRSBpwrKZrfTkHh5GC6VJ+0iWCqfuzQXO+wRBJXDGlSuf2lb1QK LvDTW+NTECjQwJwF7c6BE+jQp++urem2oIJfzv2IpioQgvZqiBVEx4fSOjnTSuLXVJ BwV2IKsOat6dJcn5j7o7V8ELJIThG8dr6peJulzo= To: "greg@unrelenting.technology" From: Dan Kotowski Cc: John-Mark Gurney , "freebsd-arm@freebsd.org" Reply-To: Dan Kotowski Subject: Re: FreeBSD on Layerscape/QorIQ LX2160X Message-ID: In-Reply-To: <947c2f9bfaad823a2b104b8741502b40@unrelenting.technology> References: <-993X5kyX6HEebSKMfqeSWmICCLli6PEFDf82ulKUdk49KTg9sf2u6V_4a8wWQGyFpwtgdXwqvk2kIjFm5u_ZWw6t2qGw5nSV7f-O_96U_g=@a9development.com> <_lvahpuNQE69s4KpHud6ANL6yzL3RCVI-MTyB0_J_ULyW-3UWsqAXnm5gfoFcOyvfRQRabZk4Z4bQgyp15a001kA-WcvsvnWcjqgMBkgGTY=@a9development.com> <7F9D7164-2C04-4E27-85F9-A495EAC8FC84@unrelenting.technology> <63b4f78ff4ee07359a345bcbc03afeaa@unrelenting.technology> <2053cd2299b81860deecc638ef839d1f@unrelenting.technology> <0012917d629a48e9fcd8589f4f002e1b@unrelenting.technology> <947c2f9bfaad823a2b104b8741502b40@unrelenting.technology> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.protonmail.ch X-Rspamd-Queue-Id: 49R16g0BzXz3ZZJ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=a9development.com header.s=protonmail header.b=BBOq3Z0m; dmarc=pass (policy=none) header.from=a9development.com; spf=pass (mx1.freebsd.org: domain of dan.kotowski@a9development.com designates 185.70.40.18 as permitted sender) smtp.mailfrom=dan.kotowski@a9development.com X-Spamd-Result: default: False [-1.79 / 15.00]; HAS_REPLYTO(0.00)[dan.kotowski@a9development.com]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[a9development.com:s=protonmail]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[a9development.com:+]; DMARC_POLICY_ALLOW(-0.50)[a9development.com,none]; NEURAL_HAM_SHORT(-0.69)[-0.687]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_VERYGOOD(0.00)[185.70.40.18:from]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[185.70.40.18:from] 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: Tue, 19 May 2020 03:08:27 -0000 > > > You still should do kern.cfg.order=3Dacpi, is it on? > > > > Weirdly when I set that it hangs and drops into the mountroot> shell ag= ain, while leaving it unset > > lets me boot into the installer. > > https://gist.github.com/agrajag9/171b2665c24baece898ec5ba22439a54 > > Okay, so now you have PCIe but not USB. > > (You're reading the log, right? Not weird to see mountroot if you haven't= seen USB in the log.) Sure am. > Actually SATA is supposed to work too, it's odd that you're not seeing AH= CI. > (I was being stupid when I said they have custom SATA, lol) > Also, there's generic PNP0D40 for SDHCI, but we don't recognize that. we = should. > > Make sure your firmware is up to date, is your edk2-platforms > exactly the same as master-lx2160a branch on github currently? > > Specifically make sure these changes are in: > > https://github.com/SolidRun/edk2-platforms/commit/97e6b0a36a925f57568d8e4= 11666cfb5034aa38b > https://github.com/SolidRun/edk2-platforms/commit/24698f90b79facfbbfc4067= b39a4ddf8c7fdfa88 Okay, moved edk2-platforms forward to commit d33742f303bdf335c3bb0203d7c273= f10af6923f > Test on that linked build if the log was from your build, and vice versa. > > Here's a kernel that should also recognize SDHCI (eMMC?), > with the amdgpu driver as a bonus :) > https://send.firefox.com/download/4dd9b553bfe88cb3/#URS-DESsR8WTsiGutrJlR= g Booted with the updated UEFI and kernel+modules, new dmesg.boot here: https= ://gist.github.com/agrajag9/a9702c04a659784c829a77d969f6315c It looks like there's a handful of new things there, but unfortunately I st= ill only see da0, which is the installer-imaged sdcard. Any ideas why the e= MMC block device isn't showing up? And I'll pull some drives off my shelves tomorrow to verify the SATA ports.