From owner-freebsd-arm@freebsd.org Mon May 18 17:23:28 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 3B4B32D836B for ; Mon, 18 May 2020 17:23:28 +0000 (UTC) (envelope-from mw@semihalf.com) Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) (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 49Qm7g2TQTz43vd for ; Mon, 18 May 2020 17:23:27 +0000 (UTC) (envelope-from mw@semihalf.com) Received: by mail-qt1-x82c.google.com with SMTP id z18so8774984qto.2 for ; Mon, 18 May 2020 10:23:27 -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=0nvk/1F+v/rUhE+AhaBa4K4eZEHQRo1+IZSGv3/y/4k=; b=KtMz9WB/VegMbHyYUoo1vT4HoMQXJzCCGEKRuLxvZC89XybqMSBkilF5o2myaO90pe u6Lucc3pb+seiDzmN5u77l3btR3fQY+zKPjDhd1PmLEFTvX9G93DWipDu6S1GjBrdbu3 CAuaAYclUxIZE0Fo+GWLjZCyA1otcLX1YzIWs0QqqVVApHMcet5b++2e6f9lsVGSEHTN buoQWxRRPIXZaKg4ai8tyEZIGyEEze7dFBylpsDrgNY+GH2ysEOzDGzBpc5dIHoMTEvW SJPht/WVdXg3mSEiCEusfLHikQ6UlmdN1Ji96qWdNgpDTYtE2BwaH9tr8CzYlERZSuHA Z6lA== 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=0nvk/1F+v/rUhE+AhaBa4K4eZEHQRo1+IZSGv3/y/4k=; b=R27EGNHwM/Xf3kvNCOlyCNFc9tMJDrrO7jeUn9u+Woh6vUXGMvAikHVnvnmG51D7cJ hxpqAFTjm6wahR2BSAV3rgJ++GMy85xLdP3aegmH49FbHPgYjfJCt9Ujri72tVxRnw9q 4n5gmlPxZXK0OQyrawuPC+E8mb6FXfN1HZi9aFlwGYW+2X8nS+KaW1KXwzUJffGaWPTv s8vW5rmuRj8f0Gtzm2zfdtXdmC9R8eOD9upXhrAThqQ1hoi8hgjfCMdJZXC14Jqp8UrX JFcMfntuzlNgEjXJVleAdjXC0kZ1ZH/5pzrc4tdJ0dF6mpCFhI4AXhsd5Yg8RMkBrl11 m+tw== X-Gm-Message-State: AOAM531jxtEVchtq0uMxhTKUZVSKAt1N97x5zVQ6niW8m6stjBEmfikz M95EFTPX2A+PW3W8BMVZtPBvVN8dAt9iSSmx+NZBPqvT X-Google-Smtp-Source: ABdhPJxF4wNeJlDiXdDMOfcARBlRXegJdDfYAzWaRwtXhRo/UvEPTWCdl3xscH75rm93xo8UMnCcedzQ+ytbsYRum60= X-Received: by 2002:aed:3949:: with SMTP id l67mr16927060qte.313.1589822605956; Mon, 18 May 2020 10:23:25 -0700 (PDT) MIME-Version: 1.0 References: <72D47662-240E-4851-844A-A4F92F18B3F2@unrelenting.technology> <20200516051207.GT4213@funkthat.com> <3nsQUg1Gm4VFYfpHVELk6PWaHyYNb3CoyoKnLV55_3VR48tr90bhaseG3sJg007L8czZ4mXUmR_YMQvYVdMbUs1bsoqGtZp5d17FqYT6b-o=@a9development.com> <7AFDA7E0-82EC-4CD2-BB03-B7E33D019EDA@unrelenting.technology> <_lvahpuNQE69s4KpHud6ANL6yzL3RCVI-MTyB0_J_ULyW-3UWsqAXnm5gfoFcOyvfRQRabZk4Z4bQgyp15a001kA-WcvsvnWcjqgMBkgGTY=@a9development.com> <7F9D7164-2C04-4E27-85F9-A495EAC8FC84@unrelenting.technology> <9UQiT9Df6hGA9k3-pzwpHifFsu7BVL2zFGOqDsnGva556e8nyvrKPp5XnKWxksvEKx1bpD-dnuYw8VCGiP9Z_kHc6tDFJcmRXzeJqLbo-yo=@a9development.com> In-Reply-To: <9UQiT9Df6hGA9k3-pzwpHifFsu7BVL2zFGOqDsnGva556e8nyvrKPp5XnKWxksvEKx1bpD-dnuYw8VCGiP9Z_kHc6tDFJcmRXzeJqLbo-yo=@a9development.com> From: Marcin Wojtas Date: Mon, 18 May 2020 19:23:14 +0200 Message-ID: Subject: Re: FreeBSD on Layerscape/QorIQ LX2160X To: Dan Kotowski Cc: myfreeweb , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 49Qm7g2TQTz43vd X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=KtMz9WB/; dmarc=none; spf=none (mx1.freebsd.org: domain of mw@semihalf.com has no SPF policy when checking 2607:f8b0:4864:20::82c) smtp.mailfrom=mw@semihalf.com X-Spamd-Result: default: False [0.16 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[semihalf-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.46)[0.462]; 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)[]; DKIM_TRACE(0.00)[semihalf-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82c: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: Mon, 18 May 2020 17:23:28 -0000 Hi Dan, pon., 18 maj 2020 o 18:12 Dan Kotowski napisa=C5=82(a): > > > > > > > > The 12.1 aarch64 memstick installer iamge fails out trying to= mount the UFS partition and drops into the mountroot> shell with error 19.= Listing GEOM managed disk devices returned an empty list. > > > > > > > > > > > > What devices does the boot log show? No xhci I guess, how about= pci, sdhci? > > > > > > > > > > Does this answer your question? https://gist.github.com/agrajag9/= ce1107a1962283b64205bc8f35123a5c > > > > > If not, I'll happily run what's needed to get you something bette= r. > > > > > > > > No, the interesting part is the kernel boot log (dmesg) =E2=80=93 t= he one where you saw the mountroot prompt! > > > > > > Better? https://gist.github.com/agrajag9/9a69b5baff70c8c1040fabeebd03= 7214 > > > > Oh, well that explains the lack of devices: > > > > > Using DTB provided by EFI > > > > Try choosing ACPI in the UEFI setup menu if that's available. > > And/or setting kern.cfg.order=3Dacpi in the FreeBSD loader menu / /boot= /loader.conf > > I couldn't find any options regarding ACPI in the UEFI menus, so I tried = using `set kern.cfg.order=3Dacpi` but that still failed in the same way. > > https://gist.github.com/agrajag9/2fa73fc21bff10c9bee9eba810ea283d > > I also included the output from running some of the diagnostic UEFI shell= commands in case that helps. And I have the compiled DTB on hand if that h= elps as well. > Did you try to change the relevant variable (responsible for switching between ACPI and DT) via BootManager menu? Device Manager -> O/S Hardware Description Selection -> (F10 to save and then reset, so that it's taken into account when loading the ACPI modules modules)? It should work this way if it's done in a generic way, I haven't studied SolidRun's edk2-platforms code much yet. Please let me know if it helped. Best regards, Marcin