From nobody Thu Sep 21 08:11:22 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 4Rrp5S58ycz4tl9Z for ; Thu, 21 Sep 2023 08:11:40 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-23.consmr.mail.gq1.yahoo.com (sonic303-23.consmr.mail.gq1.yahoo.com [98.137.64.204]) (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 4Rrp5S2scMz4L3d for ; Thu, 21 Sep 2023 08:11:40 +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=1695283897; bh=wd3138AJymO6zbgoON0cMHA9Z0k5lq75hqYskzyYoDY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=TaDgz41yFweTDvSDJ+WBlDq4dA1aZnitTjVMdQsu2vrfGfUfl2p/uucIeWOH1EgxcySesdKj3BJmaWJ5PRord2+pveth9t5jjThp3oBaWYUEBPPJsw0rjYQhjPMqnUlfEQnZJHHtoXPa/li0AK/LmN2IqaPqynJUFuCiyId0nEhzPJ8vzCQb184o7aYfdqpd+dDEhH2LlohCvV4GS8M8IjvYyzEc/vUhSTAP0CgT6vOgoeP8Mejpseu/uPFN1AxwDYna3hSfL7u9qeU7IZK25tSixwPwyPnqt387UkHj4Xowomf92koFlBNUtMMhisMjzcYQYh3D5q8EL/HgJavJ4g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695283897; bh=d/B3Af2cYra/Su8Nfv1Nt46kY7U4l3bZkHwh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4EXS4ZddaRADssdZo9bP21SnyYQzzTG27jEeu5er52dlzY_wwKO6aypY_YC QnqY7QVhW0hCk.nVdQOcPEM3h1YKaAKJhNG7HpLZHKeHs3o3d9oenCeRLYLftDaHLTILKX.526uD b9vBvmx1tNq5PiEtV_5v5Dpc7R7xiZXdyAS_xOc8I8hqidoo4Maj.NLVMSs1M1aJPmIiOvYNkJRG zbSt4vSGFoPwaS4lMTyXB.StPqYo.c8Xh_UiBGh6.6i3FkPQVOC0fFC_qjakfJI6obSxkR7IAT.J YrJKiqigXbGtnt24KDICssuG.WOyT3w1fl9NcPZambDl5xA4CeeL6WswVOyqS85wBdow8RSOkS7r WBKHtnQras7kKqXO8kzAZNklpPyG2LJYRpBkD7saxBROw2UHZ3x6FdnlBnp4fwaU8._4O7cPNdjS XIfLZVFrfz4zxQ.rj0DMqTm6j7pL2jmkWpQFNde7b0NZ92G1qiAQM6mVu5T8PYGF_VZQJ2jpawkP h7qhZuf8c0zgp32z.LpDJd1ZPUwG0v6VzDLXM4SlAZV3qHZnOrrFH3vCmnPAcMj8xBnABuX3sWYU - X-Sonic-MF: X-Sonic-ID: 5144ff54-f280-471d-ad38-45640c65c374 Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Thu, 21 Sep 2023 08:11:37 +0000 Received: by hermes--production-ne1-6cbd549489-2lmpf (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2480e9b50da79f936470ac6ab609a14a; Thu, 21 Sep 2023 08:11:34 +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: How to Boot FreeBSD Using pftf/RPi4 UEFI From: Mark Millard In-Reply-To: Date: Thu, 21 Sep 2023 01:11:22 -0700 Cc: FreeBSD ARM List Content-Transfer-Encoding: quoted-printable Message-Id: References: To: ykla X-Mailer: Apple Mail (2.3731.700.6) 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: 4Rrp5S2scMz4L3d On Sep 20, 2023, at 22:45, ykla wrote: > HI, Hello. > How to Boot FreeBSD Using pftf/RPi4 UEFI? >=20 > I downloaded FreeBSD-14.0-BETA2-arm64-aarch64-disc1.iso and Raspberry = Pi 4 UEFI Firmware v1.35 and wrote them to my device. However, when I = enable ACPI, my Raspberry Pi 4 automatically restarts after loading. If = I disable ACPI and use the device tree, the screen goes black after = loading for a while, and nothing is displayed. In both of these cases, = there is no output on the serial port. Does anyone know how to configure = the serial port for UEFI Firmware? I've used the serial port before with = the regular installation method and it worked for output, but with UEFI = Firmware, there is no output on the serial port. As I remember, pftf/RPi4 defaults to graphical, not serial. There is a place in the EDK2 UI to switch it to graphical. This status can be saved, which actually updates a data area inside its RPI_EFI.fd file so that future boots automatically are serial based for the adjusted RPI_EFI.fd . I've not tried pftf/RPi4 in some time. It was v1.34 back then. I've never tried running the installer ( *-disc1.iso ). I've used older variants of what is now (MBR): = http://ftp3.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/15.0/FreeBSD-15.0= -CURRENT-arm64-aarch64-RPI-20230921-febba4622b60-265435.img.xz or (GPT, again: older variant last I tried): = http://ftp3.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/15.0/FreeBSD-15.0= -CURRENT-arm64-aarch64-ROCK64-20230921-febba4622b60-265435.img.xz and substituted or added the pftf/RPi4 materials inside the msdosfs involved for the USB3 media that I used, leaving the FreeBSD UEFI loader materials in place. Use of the ROCK64 image means there is no RPi* firmware, armstub8* , or boot.bin materials to replace: I just added the pftf/RPi4 materials. (So: Simpler.) May be I could experiment with more modern materials this weekend. =3D=3D=3D Mark Millard marklmi at yahoo.com