From nobody Sat Nov 04 16:50:59 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 4SN3Xm1K5Kz4yqpy for ; Sat, 4 Nov 2023 16:51:20 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (vogon.madpilot.net [IPv6:2a01:4f8:1c1c:11e5::1]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SN3Xk4KNdz3MSw for ; Sat, 4 Nov 2023 16:51:18 +0000 (UTC) (envelope-from mad@madpilot.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=madpilot.net header.s=bjowvop61wgh header.b=MzvKpZjr; spf=pass (mx1.freebsd.org: domain of mad@madpilot.net designates 2a01:4f8:1c1c:11e5::1 as permitted sender) smtp.mailfrom=mad@madpilot.net; dmarc=pass (policy=quarantine) header.from=madpilot.net Received: from mail (mail [IPv6:fd5c:5351:d272::3]) by mail.madpilot.net (Postfix) with ESMTP id 4SN3XX4BDNz6dtS for ; Sat, 4 Nov 2023 17:51:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:subject :subject:from:from:content-language:date:date:message-id :received; s=bjowvop61wgh; t=1699116665; x=1700931066; bh=Rx14Eo lBeW0O4Pj7MGZRgKGmn7/JvGgRpg35AY8atC0=; b=MzvKpZjrtCm7RbFETk6DD1 NsHev/2m5jFTOG8Bau2LsDST67n6UzxWxKJuuiJw5o9CLjdMx6mtT1Wtukn96wAr oL516CeduqD/aCPW+QhHJLpsD38HIQd2S3Y2S21B5/2jZRSldJmY9BMv8HNCiM7N /qj1u0u7h5fUmP0FGOpd+vOTpIjtifGJ8vWChuGL9GpUv4NRXfKrD5050JC/zIdu 9Z2N58sWUkxWR2aqM3AQIStCNcsLmqsmAMFEIxViEaZQQE1AIhfATrmJexYaRPL/ f3yiZwI9dEqrsBCuQdhhWmWRZURLWyshwl95D5QCrokNDBSZD3KGcs56rgmNPpJg == Received: from mail.madpilot.net ([IPv6:fd5c:5351:d272::3]) by mail (mail.madpilot.net [IPv6:fd5c:5351:d272::3]) (amavisd-new, port 10026) with ESMTP id RN49NY13E22Z for ; Sat, 4 Nov 2023 17:51:05 +0100 (CET) Message-ID: Date: Sat, 4 Nov 2023 17:50:59 +0100 To: freebsd-arm Content-Language: en-US, it From: Guido Falsi Subject: NanoBSD on Raspberry Pi3 Autocrypt: addr=mad@madpilot.net; keydata= xsBNBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX fptkmEo3Rsw816WUrek8dxoUAYdHd+EcpBcnnDzfDH5LW/TZ4gbrFezrHPdRp7wdxi23GN80 qPwHEwXuF0X4Wy5V0OO8B6VT/nA0ADYnBDhXS52HGIJ/GCUjgqJn+phDTdCFLvrSFdmgx4Wl c0W5Z1p5cmDF9l8L/hc959AeyNf7I9dXnjekGM9gVv7UDUYzCifR3U8T0fnfdMmS8NeI9NC+ wuREpRO4lKOkTnj9TtQJRiptlhcHQiAlG1cFqs7EQo57Tqq6cxD1FycZJLuC32bGbgalABEB AAHNHkd1aWRvIEZhbHNpIDxtYWRAbWFkcGlsb3QubmV0PsLAeAQTAQIAIgUCT4b6XQIbAwYL CQgHAwIGFQgCCQoLBBYCAwECHgECF4AACgkQGuaGDlbL0pOWigf/YVTVf3+ZRnzeGP7CjGV1 Wrrxzjc8h8W64NZasV0XLHGFjl5MYwtm9jJ9gbL8Ubtqstey7lYpjOk2fG6YDhY5eptWCpR6 1QqYrioukhCfKbodSk6PnIZcx719nJVK2P7ihdFEN78TavpBwqIf9hGEcKkMpbRFQv1mYvXD hKVwQGY+8bkH/a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cfxn670JaPTFSRPECVn/uL qBhJSkbYlY212YT9fxVUTJe6wIvDLQrQEjrQD/h1FMhfcLhAqsndltRd6DPvTKeMd/6VAxn0 hkoBKhEy5LkWjM9CHppu+bBkQ91/kj2uJQSXO8euonwHHS3c+6N2i2H7I0emcHGu07wuRB2t Dnw/RLBxohffdPZT2kbxuG7lhVHzwVDw5DRwSw8GkOdy Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-1.99 / 15.00]; MISSING_MIME_VERSION(2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.990]; DMARC_POLICY_ALLOW(-0.50)[madpilot.net,quarantine]; R_DKIM_ALLOW(-0.20)[madpilot.net:s=bjowvop61wgh]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[madpilot.net:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4SN3Xk4KNdz3MSw X-Spamd-Bar: - 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 Hi all! I am trying to build a NanoBSD image for a spare RPi3. I started from an existing configuration I am using for a PCEngine APU2 board, I use as an internal DNS and DHCP server. I'd like to replace it. I'd also like to be able to upgrade using the altroot partition and then switching the default one, but am not sure how to do that, maybe I can play with efi variables, anyway I'm going to investigate this once I get at least FreeBSD booting. Unluckily I am unable to make my image properly boot. I have reworked my scripts to replicate how the official release images are made in structure. (copying a lot from src/release) I got t the point where loader_lua.efi (renamed as the standard `/EFI/BOOT/bootaa64.efi` in the fat partition) loads, looks like it is scanning disks but then says: ERROR: cannot open /boot/lua/loader.lua: no such file or directory. It gives me a prompt, but even if I do have a working USB keyboard plugged in I am unable to interact (maybe this is normal at this stage?) I guess it is failing to find the root filesystem but I don't know why. There is a valid root partition. Do I need to put some boot code in it to make loader recognize it? Where could I find some more detailed information about u-boot and UEFI boot? Maybe I can help by creating some configuration file in the UEFI partition? Thanks in advance for any indication. Output of `gpart show` (fromthe image mounted as md): => 63 8617921 md1 MBR (4.1G) 63 961 - free - (481K) 1024 65536 1 fat32lba [active] (32M) 66560 131072 2 freebsd (64M) 197632 4194304 3 freebsd (2.0G) 4391936 4194304 4 freebsd (2.0G) 8586240 31744 - free - (16M) => 0 4194304 md1s3 BSD (2.0G) 0 128 - free - (64K) 128 4194176 1 freebsd-ufs (2.0G) (it looks quite similar to the official image one, as far as I can see) Not sure what other information I can share, but I will send anything that can help shed some light. -- Guido Falsi