From owner-freebsd-arm@freebsd.org Tue May 19 16:58:05 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 849682DEF23 for ; Tue, 19 May 2020 16:58:05 +0000 (UTC) (envelope-from mw@semihalf.com) Received: from mail-qv1-xf42.google.com (mail-qv1-xf42.google.com [IPv6:2607:f8b0:4864:20::f42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49RMWw2hrgz3Zdj for ; Tue, 19 May 2020 16:58:04 +0000 (UTC) (envelope-from mw@semihalf.com) Received: by mail-qv1-xf42.google.com with SMTP id v15so6834681qvr.8 for ; Tue, 19 May 2020 09:58:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=oAdJy2I+BLkSVOC58Xf+Z1iwhFeZNFyAoPrHlEVubzI=; b=w7GfjoPI+N4KS1bWst0f+PujrE8jMUpT4ioL1HicvXyT3A3Aa5NoXDbzcqxgqA8NQz XOwVrwbAqjk4XbYAOqtumGoyVemekN4iTEHl8/eUCGlsUZxlioO4+XEtP2mhckYF/T6G SRImEklaa5YolICViZxJJYvzz5eqAzXXNxEFhpYmqTJrsKxTlITXXOLFkcTZLFrhQG0+ Nhgkh1kKODe8dwqDhbvpx3TCK6s2qiOWnSEw5ET4HOrQnWjVsS/zcv8WABx1wwtFHcZi UDDJ7w4/pGee9r/2NYuM094xqFjvZybs34xwSmiJvqrU1KW/5SKeUUFdt1KXyEbZ7rp7 LKag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=oAdJy2I+BLkSVOC58Xf+Z1iwhFeZNFyAoPrHlEVubzI=; b=TR4arqwX1CKzDXvoVEBnDGwWVWWu+/bDlpMMT5EBDnKuTp8owKMDFkWWyZQvucueNm FeiUXcgVpwDQ/KIhMaUauIWYBYUEHU2JgFxABmEPGP1a8oJcZLvyYE4VoUEgygl+h59W XVDlvGy8Gt5Xv1G19f++TjPlog6lwQoGD6tdxRDp8lLLeC/XKwsYO+BN42O7QHpZFBmK myIozGqNd1d6E0Bdxa3hlX6KHsws2srtdcQE9S6Tnyl+hQsCOC3zIrdlX2dzT4c8s8Jg G3vI/ni26a5RO5rPsZhlXacnUsT/gKWpl+ClXxRPZHV6xazfdkADHT1+5K0e7qQuQKDr MgnA== X-Gm-Message-State: AOAM533Q5K8U/Bu/5QopJvhAfhwjPNnotwuOYr2r3fuB+MNu1fdenKF/ URyzPyKE5AXR6oos9koZi4QTXIc6zyDsloMiUYfv+Srb X-Google-Smtp-Source: ABdhPJx9bwDpzE9FE8bU3GbRlH7MMAEkRaZ82IcJ9xfdSYe+If3CXr7fHmVD85oDNO3l3XlYeev0PVCAmSVfRkKe7gE= X-Received: by 2002:a0c:a692:: with SMTP id t18mr568981qva.56.1589907483230; Tue, 19 May 2020 09:58:03 -0700 (PDT) MIME-Version: 1.0 References: <7F9D7164-2C04-4E27-85F9-A495EAC8FC84@unrelenting.technology> <63b4f78ff4ee07359a345bcbc03afeaa@unrelenting.technology> <2053cd2299b81860deecc638ef839d1f@unrelenting.technology> <0012917d629a48e9fcd8589f4f002e1b@unrelenting.technology> <947c2f9bfaad823a2b104b8741502b40@unrelenting.technology> In-Reply-To: From: Marcin Wojtas Date: Tue, 19 May 2020 18:57:50 +0200 Message-ID: Subject: Re: FreeBSD on Layerscape/QorIQ LX2160X To: Greg V Cc: Dan Kotowski , freebsd-arm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 49RMWw2hrgz3Zdj X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=w7GfjoPI; dmarc=none; spf=none (mx1.freebsd.org: domain of mw@semihalf.com has no SPF policy when checking 2607:f8b0:4864:20::f42) smtp.mailfrom=mw@semihalf.com X-Spamd-Result: default: False [-1.01 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.44)[-0.445]; R_DKIM_ALLOW(-0.20)[semihalf-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[semihalf.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[semihalf-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-0.26)[-0.264]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f42:from]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(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: Tue, 19 May 2020 16:58:05 -0000 wt., 19 maj 2020 o 18:42 napisa=C5=82(a): > > May 19, 2020 7:11 PM, "Dan Kotowski" wro= te: > > >> Getting closer... > >> dmesg.boot: https://gist.github.com/agrajag9/99d26385be0f49a8a4f046f15= a2c0f08 > >> > >> "iicbus0: at addr 0x77" nice! > >> Would be great if you could run `i2c -s` also. > > > > Scanning I2C devices on /dev/iic0: 01 02 03 04 05 06 07 08 09 0a 0b 0c = 0d 0e 0f 10 11 12 13 14 [..] > > > > Hey look at that! A bunch of numbers! Hopefully they mean more to you t= han they do to me... > > hmm, it shouldn't report all numbers as present. oh well. > > >> sdhci_acpi0-slot0 seems to have hung the boot process for almost 5min = waiting for various timeouts. > >> > >> oops, so they didn't really make generic sdhci work :D > >> > >> Well turns out we do have a Freescale ESDHC driver already. > >> It doesn't have DMA so performance won't be great (but SD/MMC is bad s= tuff anyway lol). > >> (interesting dev note: NetBSD gets away with just some quirks in the s= dhci acpi driver: > >> SDHC_FLAG_HAVE_DVS|SDHC_FLAG_NO_PWR0|SDHC_FLAG_32BIT_ACCESS|SDHC_FLAG_= ENHANCED) > > > > No worries - once I can get a reliable install, I hope to never need to= touch those again anyways. > > I mostly am hoping to get eMMC so I can flash updated firmware, assumin= g the errata list is correct > > and my silicon rev CAN boot from firmware on eMMC and it was a layer 8 = failure. > > > >> Trying to add ACPI support to it: > >> > >> https://send.firefox.com/download/926c72b043182c40/#49y3TaeL7_hif_YEHU= FQ2g > > > > Latest dmesg.boot: https://gist.github.com/agrajag9/f4e8186e4cea7da1e5d= 8887a8d74dd7a > > "mmcsd0: 32GB at mmc0 43= .7MHz/4bit/65535-block" > is better than before, but controller timeouts are sad. Welp. > > If anyone is interested in debugging this (with the device in hand), my A= CPI attachment patch is: > https://github.com/myfreeweb/freebsd/commit/4abb60611c53b6bf109e8854f60ec= c697419cf1c > > Once again, maybe NetBSD's way of supporting this (slight quirks in the g= eneric ACPI SDHCI driver) > would be better than fsl_sdhci. Do you have a knowledge if LS2KX controller is common with the one found in LS1046? If that may help, we are going to upstream it (need some rework after rebasing from 11.x). Best regards, Marcin > > > I can't find the PCIe cables for my PSU right now, so the RX480 is out = until I have time to dig > > through The Cable Box Of Doom. But I do have a spare LSI SAS HBA that I= 'll try after lunch! > > Yeah, mpr/mps drivers are present, would be an okay thing to try. > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"