From nobody Sat Aug 03 06:08:36 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WbXMV5ZSmz5S4g7 for ; Sat, 03 Aug 2024 06:08:54 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-20.consmr.mail.gq1.yahoo.com (sonic310-20.consmr.mail.gq1.yahoo.com [98.137.69.146]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WbXMV2PQhz4Ydb for ; Sat, 3 Aug 2024 06:08:54 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1722665331; bh=IhE4YWRZq2gAB5E7oIy3uId7LLA74ayBxYDAM7NVIP0=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=bA8e0qTeWXfag+PGMTelG+EGtMkxyXAEoa15ndpXAg23bOyWmFVFQgLeMlY3DdLJg+dxX+wmXpObj5InThkMOgdEw1Rd+sAGp6dN43W5hge1omt1N+17rbhAXLK1W4vvlpo0DEcGRer6JfmCFTIFEXeGxkGx1sFh4EN95RpKlwwsRd8s6yXX0Gy9o4Vijc2OtnU5f+5yfWmbNMcmlDeXbfFeuzWXJI9ZdCnd3e6BXHAifTnMTDKxwczBc0YvN9yj0GfK+k4xQq2O/KzRSUueGw7Y0kgcST+ZJLMhCPwYKee7QaXE+dhS7QUpcHqetdWC5kAYzGb5H/fBcNyGoHPaQQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1722665331; bh=iJZohB39oSCxRP5WzPkTRr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dp9S5qSvf67KC_NXLrvIwWr15yx7cpd2l_JsRutd.ALBVySWuIAPpIEjXuRmoYbfiDe Ot4m7_2DIO4FEZY7IdmC4gS_dS5peDUx5JCtTi2WgM9mgi8FxuK5x.5SnmDHGNkxxg8ZlTABhcmC ZUfm4wxjPookb8SSTzgxmnujeL5kvoD80yshX6QKqfBH5Ze_XLrAfekApkNAorduD1X7BIsm1tp2 rwQLngIMbE7etmiyy3Hp_nycN5Ch3pe4rPInnqk24GXtye6xqOsE4o1koDFldYtq9Y.FjGNmSLEs NPzvDGVUA5QLwr2jPqVO4_qdHoQUIBZUZ.ZgghZr6Vm5Nc08Qsq.ISgW.UzEf6WtzdGfr0t5Av_a k0mwhw3riES0lgpD2j0czpw0RI41BLNUWjx0dxcwjffiguqe7GxWaqNL3snqfD117UpCIH3HlO4L wNOdwsz8j5YsasDZKOOGNWYqIrgLBopA6e2JnC8.MWBNh5AM2bWDYCJpRgNE0phmmn5aXB0XGFUt oilhqRpuE4Shy8I2AFUQ_GRRbrOrHZXLOEOoOoQeGfO753oj41s8gyTaRrtlErZVkSmyUYv69CQ- - X-Sonic-MF: X-Sonic-ID: edb06d02-9950-4709-a015-ee6dfc6050c4 Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Sat, 3 Aug 2024 06:08:51 +0000 Received: by hermes--production-gq1-5d95dc458-rx7kt (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e36451881df5f74abce276b9774b58d9; Sat, 03 Aug 2024 06:08:47 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: Re: BOOT LOADER IS TOO OLD. PLEASE UPGRADE. From: Mark Millard In-Reply-To: Date: Fri, 2 Aug 2024 23:08:36 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: To: bob prohaska X-Mailer: Apple Mail (2.3774.600.62) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Queue-Id: 4WbXMV2PQhz4Ydb On Aug 2, 2024, at 21:59, bob prohaska wrote: > On Fri, Aug 02, 2024 at 09:02:46PM -0700, Mark Millard wrote: >> On Aug 2, 2024, at 19:19, bob prohaska wrote: >> >>> After a build/install of -current on a Raspberry Pi 2 (so, armv7) the >>> console output reported: >>> >>> ********************************************************************** >>> ********************************************************************** >>> ***** ***** >>> ***** BOOT LOADER IS TOO OLD. PLEASE UPGRADE. ***** >>> ***** ***** >>> ********************************************************************** >>> ********************************************************************** >>> >>> The statement is likely true, but it's a bit hard to guess exactly >>> what needs upgrading. The boot process succeeded. Is it wiser to >>> heed the command, or leave well enough alone? AFAIK there's no >>> firmware to upgrade on the Pi2. >> >> The message is about the likes of: >> >> RPi2 v1.1 (armv7)? /boot/efi/EFI/BOOT/bootarm.efi >> RPi2 v1.2 (aarch64)? /boot/efi/EFI/BOOT/bootaa64.efi >> >> Those are not RPi* firmware, nor armstub* , nor are they U-Boot. >> >> They are code from FreeBSD: FreeBSD UEFI loader code. So, yes, >> there is new code to update to. >> > Where can I find the newer version? Following buildworld/kernel > find / -name bootarm.efi > locates only > /boot/msdos/EFI/BOOT/bootarm.efi > which I imagine is the obsolete version. > > Apologies if this is naive, something suggests it might be.... Presuming a self-hosted build was done and was installed to update that system, the updates could be done via: On armv7 (RPi2 v1.1 --or RPi2 v1.2 used with an armv7 kernel/world): # cp /boot/loader.efi /boot/efi/EFI/BOOT/bootarm.efi On aarch64 (RPi2 v1.2 used with aarch64 kernel/world): # cp /boot/loader.efi /boot/efi/EFI/BOOT/bootaa64.efi In other words, they are copies of the FreeBSD boot loader but under other path and naming conventions on the msdosfs that is involved. === Mark Millard marklmi at yahoo.com