From nobody Tue Jan 14 10:47:08 2025 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 4YXQmw4MTnz5kW8K for ; Tue, 14 Jan 2025 10:47:12 +0000 (UTC) (envelope-from SRS0=R04J=UG=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (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 4YXQmv0vzYz3JGV for ; Tue, 14 Jan 2025 10:47:11 +0000 (UTC) (envelope-from SRS0=R04J=UG=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=wN3ubnER; spf=pass (mx1.freebsd.org: domain of "SRS0=R04J=UG=klop.ws=ronald-lists@realworks.nl" designates 194.109.157.24 as permitted sender) smtp.mailfrom="SRS0=R04J=UG=klop.ws=ronald-lists@realworks.nl"; dmarc=pass (policy=quarantine) header.from=klop.ws Date: Tue, 14 Jan 2025 11:47:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1736851628; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fZjJAMg1jVuvLnvwVK3czruVpbCVnGKHkJPM5SaHlTM=; b=wN3ubnERHKHpmzHnoA83GB9qHlLzLeMlNHmaTEgb9PL09LsW8iyAx8lvkrodeoxxmY/o0n vK7I3qPGoFtez0Wj69LjU82IfBShvWg34gOzFY/dmF3KCqygvAG0HCrU0SobIkkFB80mFQ ulYj4WnnGaWsqAlfDCDS6iKvr9npzSbJF+R/bofq6KlK/nLgCIkUxgP0SnJI7InrzTKYrw Cdxxg0vE1Jv8iF8olSc0jSgx7wGbBzbYF+6+NXgsJ+WVhTKGWqujJA89Y1OBIrscgzue1A /UjxxTcQnPxpIooIvbFRjQXRIrN6Dxc5YkUVBlAg8vYmrC1hDbqOtqgsJkFBwg== From: Ronald Klop To: Mark Millard Cc: Paul Floyd , freebsd-arm@freebsd.org Message-ID: <206209000.4223.1736851628339@localhost> In-Reply-To: References: <668r286o-584q-616o-5nq3-0233r3259qsr@yvfgf.mnoonqbm.arg> <7sp0np90-0rnn-n327-qps0-358493p411rs@yvfgf.mnoonqbm.arg> <68B36F4A-76AD-4CEC-ACBA-3EEF6863BB04@yahoo.com> <1284671542.924.1736419337261@localhost> <51c72f9e-19fc-4cf6-8bb8-dacb97b9b793@wanadoo.fr> <881635894.2479.1736499825338@localhost> Subject: RPI5 serial console? - Re: Raspbery Pi support (release notes/wiki page) update? (RPI5) 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 Content-Type: multipart/alternative; boundary="----=_Part_4222_41934948.1736851628330" X-Mailer: Realworks (733.113) Importance: Normal X-Priority: 3 (Normal) X-Spamd-Result: default: False [-3.10 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RBL_SENDERSCORE_REPUT_9(-1.00)[194.109.157.24:from]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,quarantine]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[ronald-lists@klop.ws,SRS0=R04J=UG=klop.ws=ronald-lists@realworks.nl]; R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; HAS_X_PRIO_THREE(0.00)[3]; RCPT_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[klop.ws:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[ronald-lists@klop.ws,SRS0=R04J=UG=klop.ws=ronald-lists@realworks.nl]; FREEMAIL_CC(0.00)[wanadoo.fr,freebsd.org]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; RCVD_COUNT_ZERO(0.00)[0]; RCVD_IN_DNSWL_NONE(0.00)[194.109.157.24:from]; SUBJECT_HAS_QUESTION(0.00)[] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4YXQmv0vzYz3JGV ------=_Part_4222_41934948.1736851628330 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, Thanks for all this info. I received my RPI5 and noticed that the default serial/UART is not on GPIO anymore, but via a dedicated 3-pin JST HS (?) connector. Do you use some cable on this? What do you use? I found this: https://www.raspberrypi.com/products/debug-probe/ Does somebody know about a simpler JST-USB connector for serial console on RPI5? Regards, Ronald. Van: Mark Millard Datum: vrijdag, 10 januari 2025 18:52 Aan: Ronald Klop CC: Paul Floyd , freebsd-arm@freebsd.org Onderwerp: Re: Raspbery Pi support (release notes/wiki page) update? (RPI5) > > Hello Ronald, > > (Working from memory and old Email content.) > > I'll note that I have partitions for the FreeBSD EFI loader > (msdosfs), FreeBSD-in-UFS, and SWAP-space on USB3 media but > the rpi5-uefi content on a microsd card in a msdosfs . I > copy the FreeBSD loader.efi to the USB3's msdosfs with > appropriate path and file naming. (Note: My context is > normally main [so: 15 at this point].) > > From an old Email (/boot/efi is a mount point for USB3 > media's msdsofs): > > # find /boot/efi/EFI/ -print > /boot/efi/EFI/ > /boot/efi/EFI/FREEBSD > /boot/efi/EFI/FREEBSD/loader.efi > /boot/efi/EFI/BOOT > /boot/efi/EFI/BOOT/bootaa64.efi > > I doubt that the FREEBSD path is needed but I've always > blindly made both copies of the /boot/loader.efi that is in > FreeBSD's file system for aarch64. > > Note: I force the capitalization of EFI to make the name > distinct. /boot/efi/efi/ is normal as I remember. EFI is in > the msdosfs . > > In this organization, the microsd card is the starting point. The > rpi5-uefi then finds the USB3's msdosfs's BOOT/bootaa64.efi . > That in turn finds the USB3's FreeBSD kernel in UFS and loads and > starts it. That in turn does the mount of the root file system > (from the same UFS file system as the kernel in my context) and > starts the world code. > > I've also done examples with ZFS (bectl use) instead of UFS in > the past but normally only use ZFS on the largest/fastest FreeBSD > configuration that I (usually) have access to. (I've never used > ZFS for redundancy or striping or such: just for bectl use.) > > Mark > > > On Jan 10, 2025, at 01:03, Ronald Klop wrote: > > > Van: Paul Floyd > Datum: donderdag, 9 januari 2025 20:31 > Aan: freebsd-arm@freebsd.org > Onderwerp: Re: Raspbery Pi support (release notes/wiki page) update? > > > On 09-01-25 11:42, Ronald Klop wrote: > > Hi Mark, > > > > I just noticed an RPI5 with 16GB RAM became available [1]. Which > triggers my interest in an upgrade of my current RPI4/8GB used to build > aarch64 ports. > > > > I see that you have quite some experience in setting up the RPI5 with > knowledge expressed in several emails. > > Would you mind to setup a https://wiki.freebsd.org/arm/RPI5 wiki.freebsd.org/arm/RPI5> page and collect your knowledge/experience there? > > > I just made a start: > https://wiki.freebsd.org/arm/Raspberry%20Pi%205 > > A+ > Paul > > > > Thank you very much! > Just ordered a RPI5. > > Regards, > Ronald. > > === > Mark Millard > marklmi at yahoo.com > > > > ------=_Part_4222_41934948.1736851628330 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi,

Thanks for all this info.
I received my RPI5 and noticed that the default serial/UART is not on GPIO anymore, but via a dedicated 3-pin JST HS (?) connector.

Do you use some cable on this? What do you use?

I found this: https://www.raspberrypi.com/products/debug-probe/
Does somebody know about a simpler JST-USB connector for serial console on RPI5?

Regards,
Ronald.

 

Van: Mark Millard <marklmi@yahoo.com>
Datum: vrijdag, 10 januari 2025 18:52
Aan: Ronald Klop <ronald-lists@klop.ws>
CC: Paul Floyd <pjfloyd@wanadoo.fr>, freebsd-arm@freebsd.org
Onderwerp: Re: Raspbery Pi support (release notes/wiki page) update? (RPI5)

Hello Ronald,

(Working from memory and old Email content.)

I'll note that I have partitions for the FreeBSD EFI loader
(msdosfs), FreeBSD-in-UFS, and SWAP-space on USB3 media but
the rpi5-uefi content on a microsd card in a msdosfs . I
copy the FreeBSD loader.efi to the USB3's msdosfs with
appropriate path and file naming. (Note: My context is
normally main [so: 15 at this point].)

From an old Email (/boot/efi is a mount point for USB3
media's msdsofs):

# find /boot/efi/EFI/ -print
/boot/efi/EFI/
/boot/efi/EFI/FREEBSD
/boot/efi/EFI/FREEBSD/loader.efi
/boot/efi/EFI/BOOT
/boot/efi/EFI/BOOT/bootaa64.efi

I doubt that the FREEBSD path is needed but I've always
blindly made both copies of the /boot/loader.efi that is in
FreeBSD's file system for aarch64.

Note: I force the capitalization of EFI to make the name
distinct. /boot/efi/efi/ is normal as I remember. EFI is in
the msdosfs .

In this organization, the microsd card is the starting point. The
rpi5-uefi then finds the USB3's msdosfs's BOOT/bootaa64.efi .
That in turn finds the USB3's FreeBSD kernel in UFS and loads and
starts it. That in turn does the mount of the root file system
(from the same UFS file system as the kernel in my context) and
starts the world code.

I've also done examples with ZFS (bectl use) instead of UFS in
the past but normally only use ZFS on the largest/fastest FreeBSD
configuration that I (usually) have access to. (I've never used
ZFS for redundancy or striping or such: just for bectl use.)

Mark


On Jan 10, 2025, at 01:03, Ronald Klop <ronald-lists@klop.ws> wrote:


Van: Paul Floyd <pjfloyd@wanadoo.fr>
Datum: donderdag, 9 januari 2025 20:31
Aan: freebsd-arm@freebsd.org
Onderwerp: Re: Raspbery Pi support (release notes/wiki page) update?


On 09-01-25 11:42, Ronald Klop wrote:
> Hi Mark,
>
> I just noticed an RPI5 with 16GB RAM became available [1]. Which > triggers my interest in an upgrade of my current RPI4/8GB used to build > aarch64 ports.
>
> I see that you have quite some experience in setting up the RPI5 with > knowledge expressed in several emails.
> Would you mind to setup a https://wiki.freebsd.org/arm/RPI5 <https:// > wiki.freebsd.org/arm/RPI5> page and collect your knowledge/experience there?


I just made a start:
https://wiki.freebsd.org/arm/Raspberry%20Pi%205

A+
Paul

  

Thank you very much!
Just ordered a RPI5.

Regards,
Ronald.
 
===
Mark Millard
marklmi at yahoo.com
 


  ------=_Part_4222_41934948.1736851628330--