From nobody Wed Aug 16 13:45:25 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 4RQqCZ3htqz4qhVf for ; Wed, 16 Aug 2023 13:45:46 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-24.consmr.mail.gq1.yahoo.com (sonic303-24.consmr.mail.gq1.yahoo.com [98.137.64.205]) (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 4RQqCY6xVjz4ZVT for ; Wed, 16 Aug 2023 13:45:45 +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=1692193542; bh=iLgJ+SrZqwed3b4y3BltSIwglqi1Q+os7hV+IZ+GCNs=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=ZpULIxwEj09bydEtdVCVOdD0AtHtYmFu+qbh+01xYxZfJkkeKYiQSbS6KGiZgAAT/hfrquSpcuck4y3t5XPCv11byG6LF6cscwREWCAUzkESVDri6Sb1TVgOaQBIUZRoQukbMIEZ6ev93qM7fPnp4YEJ9qsUDwZ6KfTCW8qXwqe/g9AL2e33yvi4my4Lo6YCEEX78qsStt9ACI1nx7lYbcEVOJ3LDMi/B5JHkwJ3azeVEd1vvdv3/qt2c0ESU0Qhl6seX4Y/S2/OhPm07sw3Qy72rTMCm04xCLgUGxOnsJWaafaJ5GClwj5Q4iIiChx2kRwvPa2GCaU5zjwbbH6TXQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1692193542; bh=V6tMqaXEiUJrjXcVi94W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cJTThRe9Ugulycg_A4UIUdQBY1v1Hbb7letpgspVcvsFdOrY zaU2kYPZO3F4KA8vqaRPKOIWW1620GuCuwgKqPv7PCA6QHGUQZNEH.UBkDMpi0C446xs4yAL_Cgc UUBm_r6g1bIqH8dgFOlc1e.TBx_QuLI8B2.asJUNzquvLYV_vrKLsKWQvjGEMCt0jrKBzRKSTOmF ym16I2Hzaz5ZkdfzdesgxtoeULLMJhzqbOLgjhfKAaGBrj5XL2J8i9S_HC5zCXmhz0Ad5mqt5YdU GUCxn9tCaVYZL08rcmi.5Yxe7CoJxsmzTwEMpM9ul93Kz31laDQIzHumjuM7rnFmeKKqp36klBLj iJDtAQSrxXoBixIQX0pB_RpamyOYLJDm7DRq_oXsPOBVGYrho8dQ78l8IHM8SNdUy77McT32DKcn QU2xoyrp98Ku1oMH1QBpIr0IPM5h_Hgfhow40cdnI1U1KQpsBzxnzLP3Tu4M3qyflRqAa4JmW3YA VzLrN4Bgb30TuBKWX_AFNW1EHrypbMrH4g7J2B29qUuv_KolvY77zqIwXTVSrcKPaQujRHRMwmbI - X-Sonic-MF: X-Sonic-ID: 552d5ce8-e4dd-42d7-a36e-9f04e8dc7d45 Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Wed, 16 Aug 2023 13:45:42 +0000 Received: by hermes--production-gq1-6b7c87dcf5-j6k2s (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 6a158dda014c00ae275f21fe296d64e5; Wed, 16 Aug 2023 13:45:36 +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.700.6\)) Subject: Re: Unable to boot Pi 3b+ From: Mark Millard In-Reply-To: Date: Wed, 16 Aug 2023 06:45:25 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <1DF8A97C-2CA3-4223-9194-F16C5AEB49D8@yahoo.com> References: <6baa4f78-6648-45a2-a4c6-96bfcaeecdea@box559.com> To: Peter G X-Mailer: Apple Mail (2.3731.700.6) X-Rspamd-Queue-Id: 4RQqCY6xVjz4ZVT 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] On Aug 16, 2023, at 01:49, Peter G wrote: > Mark Millard wrote on 2023-08-15 20:25: >> On Aug 15, 2023, at 19:17, Peter G = wrote: >>> I am unable to get FreeBSD-13.2-RELEASE-arm64-aarch64 to boot on = either of two brand new Raspberry Pi 3B+ boards. (Just as a diagnostic, = I checked that both work perfectly well with Raspberry Pi OS.) I have = tried several different brands and sizes of SD card (which all boot fine = with Raspberry Pi OS). I have redone the image downloads multiple times = and verified the checksums. I burn images to the SD card on another = machine using dd with bs=3D1M. If I mount the prepared SD cards on that = other machine, I can confirm the files are readable. >>>=20 >>> I have tried both >>> = /ftp/releases/arm64/aarch64/ISO-IMAGES/13.2/FreeBSD-13.2-RELEASE-arm64-aar= ch64-RPI.img >> It may not be likely to be the issue, but you did not mention >> it explicitly, so . . . >> I instead see: >> = http://ftp3.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/13.2/FreeBSD-13.2-= RELEASE-arm64-aarch64-RPI.img.xz >=20 > Yes, this is what I used. Sorry to not have been more explicit; I used = unxz -k to extract the .img file before dd'ing it to the SD card. >=20 >> Note the *.xz naming. I do not see a: = FreeBSD-13.2-RELEASE-arm64-aarch64-RPI.img >> to download >> After downloading FreeBSD-13.2-RELEASE-arm64-aarch64-RPI.img.xz , >> using: >> # unxz FreeBSD-13.2-RELEASE-arm64-aarch64-RPI.img.xz >> would produce a: >> FreeBSD-13.2-RELEASE-arm64-aarch64-RPI.img >> That, in turn, would be dd'd to the microsd card. >>> and >>> = /ftp/releases/arm64/aarch64/ISO-IMAGES/13.2/FreeBSD-13.2-RELEASE-arm64-aar= ch64-disc1.iso. >> Definitely the wrong media: no RPi* firmware, no U-Boot for the >> aarch64 RPi* , and so on. >=20 > Lack of a boot loader would explain why I get no green LED at all with = the disc1.iso >=20 > The other image, the RPI.img one, at least tries to boot, as evidenced = by the 4 long and 7 short blinks of the green LED. As a further = diagnostic, I took that same SD card that blinks the LED and fails to = boot in the 3B+ and put it in a Pi 4, where it boots fine. >=20 > So the RPI.img, the one you suggested above, is booting and working = well in the Pi 4 but the exact same SD card fails to boot in the Pi 3B+. = Since my two Pi 3B+s both work fine with other (non-FreeBSD) images, it = seems that there must be a problem with that FreeBSD image on the PI = 3B+. Are there any known issues with the boot loader on the Pi 3B+? >=20 > Again, perhaps I'm missing something, but I don't know what else to = try. Suggestions most welcome. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259438 comment #4 = indicates 13.2 booting an example (older) RPi3B+ for someone that has one. (I do not have = access to any vintage of RPi3B+ .) This, with your finding that your media does boot a RPi4B, suggests that = modern RPi*3B+'s have some sort of technical change that requires newer RPi* firmware = than releng/13.2 contains. (I do not expect that U-Boot would do the blinking activity, = for example.) You could try a microsd card made from a modern snapshot. If that works, = you could replace appropriate msdosfs material on the releng/13.2 media with materials from the modern snapshot and then see if that boots. I've used: = http://ftp3.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/14.0/FreeBSD-14.0= -ALPHA1-arm64-aarch64-RPI-20230811-136fc495615f-264678.img.xz and know it has the modern RPi* firmware. Likely the following would as = well, but I've done nothing that would confirm or deny that: = http://ftp3.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/13.2/FreeBSD-13.2= -STABLE-arm64-aarch64-RPI-20230810-5abba9619cbb-256019.img.xz Do you have a serial console environment for the RPi3B+'s? It is hard to = get evidence from early problems without such. Capturing and reporting the = serial console output (if any) would be relevant evidence. For example, it = would likely be obvious if it reached the U-Boot stage or not. >>> Neither boots. >>> The first image gives green LED blinks: slow four and then fast = seven. The second never blinks. >>>=20 >>> Any advice on what I'm missing would be appreciated. >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com