From owner-freebsd-arm@freebsd.org Sat Jan 16 21:31:55 2021 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 25FE34EB7BB for ; Sat, 16 Jan 2021 21:31:55 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from SMTPOUT05.DKA.mailcore.net (smtpout05.dka.mailcore.net [81.7.169.178]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtpout05.dka.mailcore.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DJB8B0wPnz4qXh for ; Sat, 16 Jan 2021 21:31:50 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from SMTP.DKA.mailcore.net (unknown [10.1.0.52]) by SMTPGW.DKA.mailcore.net (Postfix) with ESMTP id B8ED7429EA for ; Sat, 16 Jan 2021 22:31:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=webmail.no; s=mailcore; t=1610832702; bh=taR5k7AXEU2G0ANdGwf1pbCgk8uKPbt5LIPAucR/F08=; h=Date:From:To:Subject:From; b=VXOSobCd7lssQZoBkVvMapmdFKEHhaJKJ2Q34MUqv42n7W3pNYbZO1kMVJpySF3n0 Wqhd3pAtOIVQSXz0jleeRervMwDjWyv3t7t3M+/cKfdfeTlPV2Z1ce+DuOuicNQwkq Rn6z/9ZHehQPjHqwETJ+wivebnxnk1YaaOe/Y4J+bKeCjQLbRzJU15EerVz3uEBpS2 WsOcH2SoH6SSmmfaSFq63XtIFwPhUPr3vWKltWiyRerzGxi8qRErUGhgvNv8HbWqhe zz6JS7yPc8CWrQsk0kP2SKX4MSK10mLPTew+XhEJr15EGWYJE7js3iv+EI3jYRMv4f QcHDzj5H/w5WQ== Received: from kg-core2.kg4.no (unknown [178.74.2.42]) by SMTP.DKA.mailcore.net (Postfix) with ESMTPSA id 9D9C1400F4 for ; Sat, 16 Jan 2021 22:31:42 +0100 (CET) Date: Sat, 16 Jan 2021 22:31:41 +0100 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: Getting RPi4b (8GB) to boot from a microSD card? Message-Id: <20210116223141.49336596dcac9970e3c0442b@getmail.no> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd11.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DJB8B0wPnz4qXh X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none (invalid DKIM record) header.d=webmail.no header.s=mailcore header.b=VXOSobCd; dmarc=none; spf=pass (mx1.freebsd.org: domain of torfinn.ingolfsen@getmail.no designates 81.7.169.178 as permitted sender) smtp.mailfrom=torfinn.ingolfsen@getmail.no X-Spamd-Result: default: False [-1.23 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:81.7.169.128/25]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[webmail.no:~]; NEURAL_HAM_SHORT(-0.43)[-0.427]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[81.7.169.178:from]; ASN(0.00)[asn:16095, ipnet:81.7.128.0/18, country:DK]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[getmail.no]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[81.7.169.178:from:127.0.2.255]; R_DKIM_PERMFAIL(0.00)[webmail.no:s=mailcore]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2021 21:31:55 -0000 Is there a trick to getting a Pi4B (8 GB) to boot FreeBSD from a microSD card? So far I have tried FreeBSD-13.0-ALPHA1-arm64-aarch64-RPI-20210114-7ae27c2d6c4-255938.img.xz - prints some text on the screen, then starts over, endless cycle FreeBSD-12.2-STABLE-arm64-aarch64-RPI3-20210114-r369008.img.xz - with updated firmware from https://github.com/raspberrypi/firmware/raw/master/boot/ - boots, loads kernel, then stops with "gpioregulator0: cannot get pin 0" as the last line before kernel fault FreeBSD-12.2-RELEASE-arm64-aarch64-RPI3.img.xz - with updated firmware from https://github.com/raspberrypi/firmware/raw/master/boot/ - boots, loads kernel, then stops with "gpioregulator0: cannot get pin 0" as the last line before kernel fault Or is it just a case of cherrypicking a working image? -- Torfinn Ingolfsen