From nobody Fri Apr 12 13:41:28 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 4VGHlw3lLrz5HQQD for ; Fri, 12 Apr 2024 13:41:32 +0000 (UTC) (envelope-from julf@Julf.com) Received: from outbound8.mail.transip.nl (outbound8.mail.transip.nl [136.144.136.8]) (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 4VGHlw1KZCz4YPd for ; Fri, 12 Apr 2024 13:41:31 +0000 (UTC) (envelope-from julf@Julf.com) Authentication-Results: mx1.freebsd.org; none Received: from submission8.mail.transip.nl (unknown [10.103.8.159]) by outbound8.mail.transip.nl (Postfix) with ESMTP id 4VGHls6GB5zY768X; Fri, 12 Apr 2024 15:41:29 +0200 (CEST) Received: from [172.24.42.151] (julf.connected.by.freedominter.net [45.138.231.4]) by submission8.mail.transip.nl (Postfix) with ESMTPA id 4VGHls0XqKz2ZNfl; Fri, 12 Apr 2024 15:41:28 +0200 (CEST) Message-ID: <8ebacbcb-1b49-437d-bfe0-5f829ef2ee6f@Julf.com> Date: Fri, 12 Apr 2024 15:41:28 +0200 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Raspberry Pi 4 and M.2 SATA SSD recognized but not booting or available for install - unsupported interface To: Mark Millard Cc: freebsd-arm@freebsd.org References: <3AA7F3FA-5CCC-401C-A638-DC5A65D707E4@yahoo.com> <0E07E7CD-FFA7-411E-AF92-E79B7007E4C1@yahoo.com> Content-Language: en-GB, sv-FI, nl-NL From: Johan Helsingius In-Reply-To: <0E07E7CD-FFA7-411E-AF92-E79B7007E4C1@yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: ClueGetter at submission8.mail.transip.nl DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=transip-a; d=julf.com; t=1712929289; h=from:subject:to:cc: references:in-reply-to:date:mime-version:content-type; bh=neWCeWeMJl8hEOo+TSRYk9p1YGz+BAFuk0rIXGe9NLg=; b=OIScr9RGqv54ZMj2EHK4huRivb8YhvemIorbLx+2tKqWA3Ec0PEtI/hizbFhu07EP1/kc8 qAtoa6204oDwSzZoZT2r35OCfK8Yu9CjRqQOgSc+fC+VYEI/Q69+huOlXCOx+jbvztw9NJ TMjr4/KXGdc85/2mrN4TdqT/8kWVwac7qGJ2exlWW+vauNU9B+ex5MqakMcRgsiEaGPE9W CS2gQefMf5Fh6Y2uT283a0epYSGGIPPZzNCAB2WSbnJLmtV18iGkla+t6EiP1PG7ljqpGG MQ85nZvBkugrfQAqHOmKBBiBfr1jr2BowBTBmBLt2imqYGGTEX58ur4yOvTeeA== X-Report-Abuse-To: abuse@transip.nl 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:20857, ipnet:136.144.128.0/17, country:NL] X-Rspamd-Queue-Id: 4VGHlw1KZCz4YPd On 11/04/2024 19:57, Mark Millard wrote: > As far as I know, the absence of sufficient material in > da1p1 (efiboot0) could be your only problem. OK, I have some progress (but not quite sure how). The system now boots from the USB stick, but with the ZFS file system from the SSD as it should - but without the USB stick it doesn't boot, complaining "Firmware not found". Here is the current partitioning, da0 is the USB stick, da1 the SSD: $ gpart show => 63 31301568 da0 MBR (15G) 63 1985 - free - (993K) 2048 102400 1 fat32lba [active] (50M) 104448 10381312 2 freebsd (5.0G) 10485760 20815871 - free - (9.9G) => 0 10381312 da0s2 BSD (5.0G) 0 128 - free - (64K) 128 10381184 1 freebsd-ufs (4.9G) => 40 937703008 da1 GPT (447G) 40 532480 1 efi (260M) 532520 2008 - free - (1.0M) 534528 4194304 2 freebsd-swap (2.0G) 4728832 932972544 3 freebsd-zfs (445G) 937701376 1672 - free - (836K) $ gpart show -pl => 63 31301568 da0 MBR (15G) 63 1985 - free - (993K) 2048 102400 da0s1 (null) [active] (50M) 104448 10381312 da0s2 (null) (5.0G) 10485760 20815871 - free - (9.9G) => 0 10381312 da0s2 BSD (5.0G) 0 128 - free - (64K) 128 10381184 da0s2a (null) (4.9G) => 40 937703008 da1 GPT (447G) 40 532480 da1p1 efiboot0 (260M) 532520 2008 - free - (1.0M) 534528 4194304 da1p2 swap0 (2.0G) 4728832 932972544 da1p3 zfs0 (445G) 937701376 1672 - free - (836K) da0s1 and da1p1 (that I assume are the EFI boot partitions) have totally different contents: SSD / da1p1: $ find /boot/efi /boot/efi /boot/efi/efi /boot/efi/efi/freebsd /boot/efi/efi/freebsd/loader.efi /boot/efi/efi/boot /boot/efi/efi/boot/bootaa64.efi /boot/efi/ubootefi.var USB stick / da0s1: $ find /mnt/da0s1 /mnt /mnt/EFI /mnt/EFI/BOOT /mnt/EFI/BOOT/bootaa64.efi /mnt/dtb /mnt/dtb/allwinner /mnt/dtb/allwinner/sun50i-a64-nanopi-a64.dtb /mnt/dtb/allwinner/sun50i-a64-olinuxino.dtb /mnt/dtb/allwinner/sun50i-a64-pine64-lts.dtb /mnt/dtb/allwinner/sun50i-a64-pine64-plus.dtb /mnt/dtb/allwinner/sun50i-a64-pine64.dtb /mnt/dtb/allwinner/sun50i-a64-pinebook.dtb /mnt/dtb/allwinner/sun50i-a64-sopine-baseboard.dtb /mnt/dtb/allwinner/sun50i-h5-orangepi-pc2.dtb /mnt/dtb/allwinner/sun50i-h5-nanopi-neo2.dtb /mnt/dtb/allwinner/sun50i-h6-pine-h64.dtb /mnt/dtb/allwinner/sun50i-h6-pine-h64-model-b.dtb /mnt/dtb/overlays /mnt/dtb/overlays/sun50i-a64-mmc0-disable.dtbo /mnt/dtb/overlays/sun50i-a64-mmc1-disable.dtbo /mnt/dtb/overlays/sun50i-a64-mmc2-disable.dtbo /mnt/dtb/overlays/sun50i-a64-pwm.dtbo /mnt/dtb/overlays/sun50i-a64-rpwm.dtbo /mnt/dtb/overlays/sun50i-a64-spi0-spigen.dtbo /mnt/dtb/overlays/sun50i-a64-timer.dtbo /mnt/dtb/overlays/sun50i-h5-opp.dtbo /mnt/dtb/overlays/sun50i-h5-nanopi-neo2-opp.dtbo /mnt/dtb/overlays/rk3328-analog-sound.dtbo /mnt/dtb/overlays/rk3328-i2c0.dtbo /mnt/dtb/overlays/rk3328-uart1.dtbo /mnt/dtb/overlays/rk3399-mmc0-disable.dtbo /mnt/dtb/overlays/rk3399-mmc1-disable.dtbo /mnt/dtb/overlays/rk3399-sdhci-disable.dtbo /mnt/dtb/overlays/spigen-rpi3.dtbo /mnt/dtb/overlays/spigen-rpi4.dtbo /mnt/dtb/rockchip /mnt/dtb/rockchip/rk3399-khadas-edge-captain.dtb /mnt/dtb/rockchip/rk3399-khadas-edge.dtb /mnt/dtb/rockchip/rk3399-khadas-edge-v.dtb /mnt/dtb/rockchip/rk3399-nanopc-t4.dtb /mnt/dtb/rockchip/rk3328-nanopi-r2s.dtb /mnt/dtb/rockchip/rk3399-nanopi-r4s.dtb /mnt/dtb/rockchip/rk3399-rock-pi-4.dtb /mnt/dtb/rockchip/rk3328-rock-pi-e.dtb /mnt/dtb/rockchip/rk3328-rock64.dtb /mnt/dtb/rockchip/rk3399-firefly.dtb /mnt/dtb/rockchip/rk3399-rockpro64.dtb /mnt/dtb/freescale /mnt/dtb/freescale/fsl-ls1028a-rdb.dtb /mnt/dtb/freescale/fsl-lx2160a-clearfog-cx.dtb /mnt/dtb/freescale/fsl-lx2160a-honeycomb.dtb /mnt/dtb/freescale/fsl-lx2160a-qds.dtb /mnt/dtb/freescale/fsl-lx2160a-rdb.dtb /mnt/dtb/freescale/imx8mq-evk.dtb /mnt/dtb/freescale/imx8mq-nitrogen.dtb /mnt/dtb/marvell /mnt/dtb/marvell/armada-3720-espressobin.dtb /mnt/dtb/marvell/armada-8040-clearfog-gt-8k.dtb /mnt/dtb/marvell/armada-8040-db.dtb /mnt/dtb/marvell/armada-8040-mcbin.dtb /mnt/dtb/marvell/armada-8040-mcbin-singleshot.dtb /mnt/dtb/nvidia /mnt/dtb/nvidia/tegra210-p2371-2180.dtb /mnt/dtb/nvidia/tegra210-p3450-0000.dtb /mnt/README /mnt/u-boot.bin /mnt/armstub8.bin /mnt/armstub8-gic.bin /mnt/bootcode.bin /mnt/fixup_cd.dat /mnt/fixup_db.dat /mnt/fixup_x.dat /mnt/fixup.dat /mnt/LICENCE.broadcom /mnt/start_cd.elf /mnt/start_db.elf /mnt/start_x.elf /mnt/start.elf /mnt/fixup4.dat /mnt/fixup4cd.dat /mnt/fixup4db.dat /mnt/fixup4x.dat /mnt/start4.elf /mnt/start4cd.elf /mnt/start4db.elf /mnt/start4x.elf /mnt/bcm2710-rpi-2-b.dtb /mnt/bcm2710-rpi-3-b.dtb /mnt/bcm2710-rpi-3-b-plus.dtb /mnt/bcm2710-rpi-cm3.dtb /mnt/bcm2711-rpi-4-b.dtb /mnt/config.txt /mnt/overlays /mnt/overlays/mmc.dtbo /mnt/overlays/pwm.dtbo /mnt/overlays/disable-bt.dtbo Julf