From nobody Sat Mar 04 20:13:31 2023 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 4PTbdT5gnBz3wQRl for ; Sat, 4 Mar 2023 20:13:49 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-25.consmr.mail.gq1.yahoo.com (sonic303-25.consmr.mail.gq1.yahoo.com [98.137.64.206]) (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 4PTbdT32P8z42dp for ; Sat, 4 Mar 2023 20:13:49 +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=1677960827; bh=hI0lgHcZ/p+R01iDIIq8qexnUTiYjq96QKOfJ9/wggQ=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=O9eL68O2iRhj9sLhboSu3cSsFad0I9yku3NfFVmKiozY9Cx74AcUGawK50HIUI68Zz+PVf1V8ESbZPHVVEfz2hpSPFi0tfKDhetzrMfC2EzHjfcuQnzM7to7RckyA6BQuVhdCh7vcukhRJIbKcGaBZmFPIRby7Bbhn9pcOIbPXvIotAwR1vm64wLgfCDjwQoU6QoKu8UDq9NGzgkngwuabFQYruXq7Xqiip0N6rFVWYy3j1fEOEv9ZKX4jwVvzrWv8pbqsOKUH4IHrfxhbfzkcjl7O0STWilTBPuKXyZHE0AOZBYScXqJtdz6sOmwH8TspLhXj3800HGBaTdUMgGIg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1677960827; bh=NkW2QW6dxI9eeWMboqct7vd9l55CUxRRpzO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HJ2INhRxyGt6rphwpkY13p6LTWSH8f7DjKPDPxwrO9BA3r9djlMY4vjP1wiKVBopSr.VH 7i3HyX4Rqz8A.dBJXT3bD08alzgkvvJGDZaNMkQEW88iB2VnoCY501PY4u.SSiLsNM3zXtcaMy9q oK6uD1Ti26.TyJU5OCItuowohdA_mgwbXIa_BkQ_9k1j.6cD6SdHjk9Zx1be6tETHQ.6BWD5bRRS LE.82Xts0bZVeP1IEfTWfLU0WI8WgakvKjlDsP1yI1CvwbV6z57ejCzxqwZMd6vjEwrj2OYAP4tQ Ymj2gnPcjJ0PYL0WgBZ7qNK0sDkpkYu.SEdaHgr3p16BJ5SAIqmpt6Lmpx8rfJEgH5UWbhRJ9ujf EAtE9GrkESN4hXUBDCOlSDP1mgn8ku353h8cEg2ZhWTQ7r0I3wa.Kjg4IqSYV7f9H8cngg6EmFAZ b.EBZiadNCFw_mNj5mqZLG_Tzem24t6uhmZBitWv.rCnftpfK3j6yrL9fTfQUuGlhMgDSH76rX9b k3xPsRZOjhfjZpfO9p8j_r7HcPRnxD3JS7o0idFBY1jVgyhrp5ga9W2Ah8AadvTHhPlULLj9st0A EEQ-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Sat, 4 Mar 2023 20:13:47 +0000 Received: by hermes--production-ne1-7688d778d7-kh795 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ea3d9e5d40fa85a9b5b8ae92d43fdfea; Sat, 04 Mar 2023 20:13:43 +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 \(3731.400.51.1.1\)) Subject: Re: Banana Pi BPI-M2 Berry From: Mark Millard In-Reply-To: <9e0dc5a1-84c4-20d1-c204-cd8ecb8d3de5@jarasoft.net> Date: Sat, 4 Mar 2023 12:13:31 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <3297FE79-EA67-4B14-B017-9A37B51D1C9B@yahoo.com> References: <9e0dc5a1-84c4-20d1-c204-cd8ecb8d3de5@jarasoft.net> To: mlist@jarasoft.net X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Rspamd-Queue-Id: 4PTbdT32P8z42dp X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Mar 4, 2023, at 07:45, Jack Raats wrote: > I'm looking for a FreeBSD image for the Banana Pi BPI-M2 Berry. > The generic arm 7 doesn't work. The generic image normally requires adding U-Boot to the media via dd (to a fixed place outside any file system). The likes of RPi*'s are unusual in having such material inside a msdosfs on the media instead, along with RPi* or whatever firmware. (The generic armv7 image does have some such no-extra-dd-use-required material in place already.) There is the port: /usr/ports/sysutils/u-boot-bananapim2/ (I'm guessing at the match to "Banana Pi BPI-M2 Berry".) Its pkg-descr indicates . . . # more /usr/ports/sysutils/u-boot-bananapim2/pkg-descr=20 U-Boot loader for Banana Pi M2. To install this bootloader on an sdcard just do : dd = if=3D$LOCALBASE/share/u-boot/u-boot-bananapim2/u-boot-sunxi-with-spl.bin = of=3D/path/to/sdcarddevice bs=3D1k seek=3D8 conv=3Dsync This version is patched so that: * API features are enabled. * A boot.scr (U-Boot script) that loads ubldr.bin and execute it is = included For information about running FreeBSD on Allwinner boards, see https://wiki.freebsd.org/FreeBSD/arm/Allwinner NOTE: I'm not sure if a boot.scr and ubldr.bin is really still involved or not. That may just be old text that was not removed. The installed port (or package) normally would end up with the file to use in dd being at: /usr/local/share/u-boot/u-boot-bananapim2/u-boot-sunxi-with-spl.bin There is also the possibility that the U-Boot port could be broken. I've no general clue what U-Boot ports are tested when U-Boot ports are updated vs. which are not. If u-boot-sunxi-with-spl.bin appears to be broken, report it to the list. Note: FreebBSD has many /usr/ports/sysutils/u-boot-* ports but comparatively few prebuilt snaphots or releases. So most of the ports require such steps to enable booting the matching board(s). =3D=3D=3D Mark Millard marklmi at yahoo.com