From owner-freebsd-arm@freebsd.org Sun Jan 17 14:25:52 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 E8EFE4EB048 for ; Sun, 17 Jan 2021 14:25:52 +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 4DJcf760rQz3GTk for ; Sun, 17 Jan 2021 14:25:51 +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 1955C42A18 for ; Sun, 17 Jan 2021 15:25:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=webmail.no; s=mailcore; t=1610893549; bh=6sq8KYVqc0puQ6czBl9ZyhlsJhkD+v6HY8weqB1j44E=; h=Date:From:To:Subject:In-Reply-To:References:From; b=Vs30H+52qfOiVlvKBIg6x83tiI7MapvGJdbbK+bC4LrNNPUIgFmRTXyjk4bN2mxl8 edvdQDgE6M0S1uV4ihV75cbMgXVzlcFk9Tg/I5QKvRbu2VwsiO2AAjVdyA04pBsdYi LdFbxZSkaZCA+CZByYrjv5SsWrwMPvDDk82EUhH0LtE3XNGbkKXT5ctQITZpKDnakt 3QtKyA8ZRb3RYZXD+V0WSmXmYO9Ary8oH5sBScS2APMmaG3E4T5aoKDJMh8tcoo7a1 PfsiDq3d547XmpWiT75TtKKDajrbg0yHWFefrd+cYVqnVyl17OCEX4dstb0ZHeoDJj Vff/AGAck4RlQ== Received: from kg-core2.kg4.no (unknown [178.74.2.42]) by SMTP.DKA.mailcore.net (Postfix) with ESMTPSA id 066A6400F1 for ; Sun, 17 Jan 2021 15:25:49 +0100 (CET) Date: Sun, 17 Jan 2021 15:25:48 +0100 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: Re: Getting RPi4b (8GB) to boot from a microSD card? Message-Id: <20210117152548.30ab864e92385bd4ced120f7@getmail.no> In-Reply-To: <2868BA35-B046-4EC4-B0B7-A6B0717E1EE4@googlemail.com> References: <20210116223141.49336596dcac9970e3c0442b@getmail.no> <20210116232736.2002f4dd4a18faa6beed0289@getmail.no> <2868BA35-B046-4EC4-B0B7-A6B0717E1EE4@googlemail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd11.4) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4DJcf760rQz3GTk X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none (invalid DKIM record) header.d=webmail.no header.s=mailcore header.b=Vs30H+52; 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.80 / 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(-1.00)[-1.000]; 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: Sun, 17 Jan 2021 14:25:53 -0000 On Sun, 17 Jan 2021 04:25:51 +0100 Klaus K=FCchemann wrote: >=20 >=20 > > Am 16.01.2021 um 23:27 schrieb Torfinn Ingolfsen : > >=20 > > ... > > ok, with updated firmware (same way as the other images) this image now= boots. Unfortunately, usb doesn't work, so no local keyboard. ssh works fi= ne? >=20 >=20 > You may have to do an eeprom update: > https://www.raspberrypi.org/documentation/hardware/raspberrypi/booteeprom= .md >=20 According to rpi-eeprom-update under RaspiOS, my Pi4 has the latest product= ion (=3D "critical") firmware: tingo@silent-pi4:~ $ sudo rpi-eeprom-update BCM2711 detected VL805 firmware in bootloader EEPROM BOOTLOADER: up-to-date CURRENT: Thu 03 Sep 2020 12:11:43 PM UTC (1599135103) LATEST: Thu 03 Sep 2020 12:11:43 PM UTC (1599135103) FW DIR: /lib/firmware/raspberrypi/bootloader/default VL805: up-to-date CURRENT: 000138a1 LATEST: 000138a1 Do I need something newer than that (from STABLE or BETA)? Looking at the r= elease notes, they talk about USB MSD, not anything about usb devices like = keyboards and mice. > If nothing has changed in the meantime in bcm2711-rpi-4-b.dts/dtb, you ca= n use the following if you want to boot from USB via u-boot: > https://reviews.freebsd.org/D26853 >=20 Will that give me a working local (ie. usb) keyboard? --=20 Torfinn Ingolfsen