From owner-freebsd-arm@freebsd.org Thu Dec 19 11:54:28 2019 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 1BB481DDF1B for ; Thu, 19 Dec 2019 11:54:28 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47dqzk6FcMz4bDL for ; Thu, 19 Dec 2019 11:54:26 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id a3df357c; Thu, 19 Dec 2019 12:54:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=roqPZyQuboMa6SQ7zxDYWsthFMI=; b=m3yeSJHOaOeTe0T4igsRpb6joI8C 2nwaYQqNdigsESSmNoPRmt2+aJ55X2htwdVKi4H6VVJvfEcgNA4KQ+5LDiAh1PeF CjBpk25M2WYV6mEOKaECHp9C1ZVyFVCB482ELeFonwQyoW6gZ9WZ6RkE382EaJR8 WA7vIvUDRWfXNxo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=e8YHxv7WQ6eiNbuNPhnye/2D4pc2jdtrslW+Om+1G+ZZtoE2smVZYFCo wu/D/X7FHVaR8WyYrPu0SrHxhWIctJVQrLiM/nKgyIG/Z1HidMel+ooe+Sc/c51R hfZCQ2H+AvDnboACF7wQU7iS7dgUBXq+suSuGt/TfokUZJ91u1Y= Received: from sonic.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 0889f8e0 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 19 Dec 2019 12:54:19 +0100 (CET) Date: Thu, 19 Dec 2019 12:54:19 +0100 From: Emmanuel Vadot To: Greg V Cc: ykla , freebsd-arm@freebsd.org Subject: Re: How to boot freebsd on rpi4b? Message-Id: <20191219125419.bbb524b3363df02753e70681@bidouilliste.com> In-Reply-To: References: <3435d140-d1cb-4bb0-85c6-d83d1c695f09@localhost> <20191218113348.b85815b7ebbb450aaaaf3536@bidouilliste.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47dqzk6FcMz4bDL X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=m3yeSJHO; dmarc=none; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [0.06 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.91)[-0.906,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.51)[-0.509,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; IP_SCORE(0.37)[ip: (-0.56), ipnet: 212.83.160.0/19(2.40), asn: 12876(0.02), country: FR(-0.00)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; FREEMAIL_CC(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 11:54:28 -0000 On Wed, 18 Dec 2019 13:48:54 +0000 (UTC) Greg V wrote: > > > Dec 18, 2019 1:33:53 PM Emmanuel Vadot : > > > On Wed, 18 Dec 2019 10:11:27 +0000 (UTC) > > Greg V wrote: > > > > > > > > > > > > > Dec 17, 2019 4:51:00 AM ykla : > > > > > > > > > > Hi, I download latest version 12.12 current 13 img and write in TF card. > > > > Then I download rpi-firmware(2019-12-05 16:15:16) and extract and copy it > > > > in BOOT partition. And look at my screen shows me that stop boot on lo0 > > > > state. I know it can't support USB/PCI/ethernet and I just want to install > > > > it. Thanks. > > > > > > > > > > USB should be relatively easy to add by the way. No need for actual PCIe support, we can directly use it as a memory mapped generic XHCI: > > > > > > https://github.com/pftf/edk2-platforms/commit/5779a50fd5a001f496fe5d9744a06e75762ba58c > > > > > > > That would mean booting in ACPI mode on RPI4 which nobody tested and > > also adding ACPI support to all RPI related driver which will take some > > time to do. > > You can also add the same address as a generic-xhci fdt node, right? assuming uboot does power on the controller.. or fdt mode can be set in edk2 I guess Doesn't the pci controller needs some setup to have access to the usb controller ? I don't know if u-boot supports PCI yet but booting EDK2 in fdt mode might work. -- Emmanuel Vadot