开云体育


Re: Rpi5

 

This warning was for the non- adventurous types. Sometimes testing band new OS and equipment becomes "more fun than a sharp stick in the eye". Working with the new all in one small computers with Ryzen 7 that can run off 13.8v battery power. The $99 gateway laptop screen is too small and is limited in ports. Working on the Wo-We and separate 15.6" mobile screen. Both run off battery power. Further testing with full mobile shack ops and power drain.


On Tue, Oct 24, 2023, 10:39 Walter Holmes K5WH <walterh@...> wrote:

Wow, that’s a pretty GRIM way to look at things. ?

?

I thought we were hams that enjoyed experimenting with NEW technology all the time. That’s what separates us from the average appliance operator.

?

Certainly there is a possibility of finding a bug here and there, just like we do EVERY single week when Microsoft pushes out a slew of Windows updates.

?

But the sooner we find a bug and REPORT it, the sooner it can be fixed and make it better for everyone.

?

No doubt, that type of perspetive may not be for everyone, and of course, one person’s experience can be far different from others, but lets hammer out the issues now and move on. ?

?

Just my 2 cents, for what little it may be worth. ?

All the best,

Walter/K5WH

?

From: [email protected] <[email protected]> On Behalf Of Kevin McCrory
Sent: Tuesday, October 24, 2023 12:40 AM
To: [email protected]
Subject: Re: [RaspberryPi-4-HamRadio] Rpi5

?

My advice for hams, unless you are expert in Linux and want to test the new software, wait. Wait. Wait until all the peoblems have been worked out by others.?

?

73

On Mon, Oct 23, 2023, 17:55 N5XMT <dacooley@...> wrote:

So far, the only Pi5's in the wild are with beta hardware testers, and those that got priority with the Mag-Pi magazine advance order codes.? The biggest issue will be the new BookWorm PiOS.? The windowing system is now Wayland, VNC is Wayfire and networking is now NetworkManager instead of DHCPD.

For a VNC viewer you need to use TigerVNC as realVNC viewer doesn't support the security methods used by Wayfire, and RealVNC server doesn't work with the Wayland windowing system.? Bookworm does run on all the older Pi's so you can give it a run on what you have.? Pi3 and older it automatically reverts back to XWindows due to the slower video processor.? Pi4 and up runs Wayland

Get

On Oct 23, 2023, at 06:56, Jay Lijoi <lijoi@...> wrote:

Has anyone tried the PI5?
Are there any issues with amateur radio software?


Re: Raspbian Bookworm.

 

I have cqrlog v 2.5.2 running on bookworm. used 73linux to install deb package.
Ken WA8OMR


Re: Rpi5

 

Has anyone received an 8gb Pi-5 yet that did not subscribe to one of the magazines that entitle early shipment?? If yes, where and when did you place your order?


Re: Raspbian Bookworm.

 

I have everything running I need except a logging program. I really need a logging program that will follow the radio and create ADI files. But I'm not finding a logger that will run under bookworm that will do this...

73 Jeff kb2m


Raspbian Bookworm.

 

Based on several questions I have received since my post about Raspbian Bookworm, I'm not sure folks have read about how the Raspbian OS has changed.
You can read about it here --?
Or here --?
The Desktop is different from prior versions.
The Network manager is different from prior versions and requires a different remote access client.
Python module installation is different from prior versions.
The most telling comment I have read is that it would be unwise to attempt to upgrade a prior OS version (Bullseye or earlier) to OS Bookworm - it will most likely fail. Instead you need to create a new image using Bookworm and then build you applications onto that image.
Read about the new OS and have fun experimenting! If it breaks just reload the image.
By the way, I am NOT a linux or raspbian expert - I have learned all I know by trial and fail and searching on the internet for answers to fix each error I encounter.
Edd - KD5M


Re: HAMRS RPI 64 bookworm

 

Jeff look at grid tracker software. I think it has a logging capability.

On Wed, Oct 25, 2023 at 5:44 PM Jeff Griffin <kb2mjeff@...> wrote:
Anyone have HAMRS running on a RPI 400, RPI4 with 4gig of memory? running 64 bit bookworm OS? I'm trying to put together an RPI portable station with my G90 and a Magloop antenna. Got WSJT, FLRIG, all is working well except for a logging program I can feel comfortable with. I have CQRLOG installed but it's not working with FLRIG or WSJTX under bookworm. I'm lstill ooking for logging software.Thanks...

73 Jeff kb2m


HAMRS RPI 64 bookworm

 

Anyone have HAMRS running on a RPI 400, RPI4 with 4gig of memory? running 64 bit bookworm OS? I'm trying to put together an RPI portable station with my G90 and a Magloop antenna. Got WSJT, FLRIG, all is working well except for a logging program I can feel comfortable with. I have CQRLOG installed but it's not working with FLRIG or WSJTX under bookworm. I'm lstill ooking for logging software.Thanks...

73 Jeff kb2m


Re: RASPBERRY-PI SC1166: RPi5 M.2 HAT

 

It's orderable.

Inline image

I also ordered some storage:

Inline image

Best regards,
Larry
WB6BBB
On Wednesday, October 25, 2023 at 08:56:06 AM PDT, Larry Dighera <ldighera@...> wrote:


If you'd like to add an M.2 NVMe SSD to your RPi5, you can order one here:

? ? RASPBERRY-PI SC1166 RPI 5 M.2 HAT
? ?
? ? 0 In stock
? ? Non-Cancelable / Non Returnable
? ? Price for each: $37.63

-----

Sneak Peek at Booting Raspberry Pi 5 From an NVMe SSD
By Ash Hill published 2 days ago
Place your bets for the Pi bootup race.

Raspberry Pi
(Image credit: Jeff Geerling)
One spec on the Raspberry Pi 5 that the community is eagerly buzzing about
is the new PCIe port. This enables compatibility with a variety of devices,
most notably SSD support. Today, we’re taking a look at maker Jeff Geerling
and his experience with booting the Pi 5 using an NVMe SSD. Geerling was
given access to a PCIe breakout board by the Raspberry Pi engineering team,
but there will be an M.2 HAT addon coming in 2024. The addon will bring an
M.2 connection for a 2242 NVMe SSD.

There are multiple benefits to using an SSD with the Pi 5. One of the most
obvious benefits is the performance boost you get using an SSD over a
microSD card. Being able to access data quickly is a game changer if you’re
using your Pi to access media on the regular. But if you want to take things
further, booting the Pi off an SSD allows the entire operating system to
perform with the speed of an SSD rather than just the SD card.

Setting up the Pi to boot off an NVMe SSD is simple and Jeff provides lots
of details explaining how to make it work. The only way you can use the SSD
to specifically boot is to enable the function first. This can be done by
adjusting the boot order configuration file on the Pi. Once it’s set to
point to the SSD, the Pi will check it first when booting and run the OS if
it’s installed.

Raspberry Pi

(Image credit: Jeff Geerling)
The external PCIe port also needs to be manually enabled. With it enabled
and the boot device order set properly, it’s possible to boot from the SSD.
You will need a valid partition, though, and the Raspberry Pi Imager is only
set up to flash microSD cards.

To set up the SSD with Raspberry Pi OS, you will need to flash the OS onto a
microSD card. At this point, you can clone the boot volume off microSD card
and copy the data over to the SSD. As long as the SSD is connected directly
to the PCIe port, it will boot. That said, Geerling was unable to boot the
Pi from an SSD if it was connected behind a bridge or switch.

It's also worth keeping in mind that you won't get the full potential speed
of most SSDs when connecting to the Pi 5, as there is just a single PCIe 2.0
lane available. In theory, that gives you about 500MBps of PCIe bandwidth.
So you're going to top out at roughly the performance of a fast SATA SSD.

To get a closer look at this Raspberry Pi project in action, check out the
full post shared by Jeff to his blog. If this project is up your alley, you
should be sure to follow Jeff Geerling for more cool Pi projects as well as
any future creations.

------

NVMe SSD boot with the Raspberry Pi 5
October 21, 2023
Pi 5 PCIe NVMe Kioxia XG8 SSD

In my video about the brand new Raspberry Pi 5, I mentioned the new external
PCIe port makes it possible to boot the standard Pi 5 model B directly off
NVMe storage—an option which is much faster and more reliable than standard
microSD storage (even with industrial-rated cards!).

Enabling NVMe boot is pretty easy, you add a line to /boot/config.txt,
modify the BOOT_ORDER in the bootloader configuration, and reboot!

Of course, you'll also need to get Pi OS onto the NVMe, and there are a few
ways to do that—I'll walk you through my favorite method below.

Note: Raspberry Pi announced they are developing an official Raspberry Pi
M.2 HAT, but there is no word on a launch date for it yet. I am also
tracking other PCIe HATs for Raspberry Pi 5 here.

Enable the external PCI Express port
First, enable the external PCIe port on the Raspberry Pi 5. Edit
/boot/config.txt and add the following at the bottom:

# Add to bottom of /boot/config.txt
dtparam=pciex1

# Note: You could also just add the following (it is an alias to the above
line)
# dtparam=nvme

# Optionally, you can control the PCIe lane speed using this parameter
# dtparam=pciex1_gen=3
I have the pciex1_gen=3 part commented out above because Raspberry Pi allows
you to tweak the bus speed (you can choose Gen 1 for 2.5 GS/s, Gen 2 for 5
GS/s, and Gen 3 for 8 GS/s), but the port is only rated for up to PCIe Gen 2
speeds.

In practice, I have been able to run multiple NVMe SSDs at Gen 3.0 speed
(getting up to 900 MB/sec) on my alpha Pi 5, but YMMV—PCIe can be very
fickle, depending on the quality of the FFC cable and connections on your
own setup.

Set NVMe early in the boot order
The PCIe connection should work after a reboot, but your Pi won't try
booting off an NVMe SSD yet. For that, you need to change the BOOT_ORDER in
the Raspberry Pi's bootloader configuration:

# Edit the EEPROM on the Raspberry Pi 5.
sudo rpi-eeprom-config --edit pieeprom.bin

# Change the BOOT_ORDER line to the following:
BOOT_ORDER=0xf416

# Press Ctrl-O, then enter, to write the change to the file.
# Press Ctrl-X to exit nano (the editor).
Read Raspberry Pi's documentation on BOOT_ORDER for all the details. For
now, the pertinent bit is the 6 at the end: that is what tells the Pi to
attempt NVMe boot first!

Reboot your Raspberry Pi 5 to make the change take effect.

NVMe boot won't work unless you have the external PCI Express port enabled,
and there's a working NVMe drive with a valid boot partition! If you don't
have that (e.g. you used Raspberry Pi Imager with an external USB NVMe
adapter to flash Pi OS to an NVMe drive from another computer), then follow
the steps in the next section to clone your existing Pi OS install to an
NVMe SSD.

Clone your microSD boot volume to an NVMe SSD
Assuming you already have Raspberry Pi OS on a microSD card that is booting
your Raspberry Pi 5 internally, and the NVMe SSD is connected and visible
(check if you see a device /dev/nvme0n1 after running lsblk), you can use
rpi-clone to clone the internal microSD boot volumes to your NVMe SSD:

# Install rpi-clone.
git clone -b 123-nvme
cd rpi-clone
sudo cp rpi-clone rpi-clone-setup /usr/local/sbin

# Clone to the NVMe drive (usually nvme0n1, but check with `lsblk`).
sudo rpi-clone nvme0n1
Note: I'm using my fork of rpi-clone, because the official version has not
merged NVMe support yet.

NVMe behind a PCIe bridge / switch
Currently the Raspberry Pi 5 only exposes one PCIe lane externally—though
there are four more lanes taken up by the RP1 chip. Typical PC motherboards
have a number of lanes to play with, so you often find two, three, or even
four M.2 NVMe slots on high-end motherboards.

Even there, some motherboards have PCI Express switches (or 'bridges') which
allow multiple PCIe devices to share the same lane or lanes, in a similar
way an Ethernet switch can allow multiple computers to share a single
network connection.

NVMe boot behind PCIe switch on Raspberry Pi

On the Compute Module 4, bootloader space constraints prevented NVMe boot if
you used a switch, but I wonder if that restriction is lifted on the
Raspberry Pi 5—and if so, is it already implemented?

As of now, no. I can see and use an NVMe SSD through a PCIe switch, but I am
not able to boot the Raspberry Pi 5 from it, unless it is directly connected
(as the lone PCIe device on the bus).

I've opened an issue to ask about this feature in the Raspberry Pi firmware
repo: Can't boot Pi 5 via NVMe behind PCIe switch / bridge.

Further reading
The Raspberry Pi can boot off NVMe SSDs now
Testing PCIe on the Raspberry Pi 5
Forcing PCI Express Gen 3.0 speeds on the Pi 5
raspberry pi pi 5 nvme sbc boot eeprom performance
Add new comment
Comments
Steve – 3 days ago

Well done Jeff, I don't know where you find the time! Hopefully we will see
some decent Pi5 nvme NAS hardware if PCIe switching is reliable.

My Pi5 4GB arrived yesterday, so retail has started shipping - at least in
the UK.

I am seeing some spurious nvme boot disk issues (the same nvme to USB
adapter and SSD from my Pi4). I'm investigating root cause and will open an
issue if I can't fix it.

reply
Andy W – 2 days ago

In reply to Well done Jeff, I don't know… by Steve
Nice to hear your Pi5 has turned up. My 8GB is still sitting at “waiting to
be picked” at Pimoroni. I was hoping it would at least ship on the 23rd.

reply
Karl Miller – 2 days ago

I wonder if it is possible to bridge two raspberry pi 5s together via their
pcie buses?
The purpose would be to have one running Android TV and the other running
Hyperbian? That might avoid having to connect an external video
decoder/encoder for ambient style lighting for the LED strip around the rim
of the TV.

reply
anon – 2 days ago

nice work bro

reply
Massimiliano – 2 days ago

Hi Jeff,
can you suggest me, please, what I have to buy to attach an SSD NVMe to the
Raspberry Pi (and boot the OS from the NVMe)? What kind of device are using
you?
Regards
Massimiliano

reply
Anonymous – 20 hours ago

Nice one!

I'm currently using an SSK M.2 NVME SATA Adapter plugged into the USB 3.0
port with a WD Blue SA510 2TB M.2 SATA SSD (Prime day sale purchase). It was
not happy at first, but after a little trial and error it is working
perfectly. The USB speeds are amazing, copying files of my Pi 4 takes hours
to a USB memory stick, then literally seconds or minutes to copy from the
drive to my Pi 5.

I can't wait for an official PCIe M.2 adapter, hopefully they are wallet
friendly. Currently transferring some of my old Docker containers from the
Pi 4 to the Pi 5 (mainly for the extra storage and speed for Jellyfin and
NextCloud, my Pi 4 has a 500GB M.2 SSD in the Argon ONE M.2).

reply






Re: RASPBERRY-PI SC1166: RPi5 M.2 HAT

 

Newark has that as a placeholder for the M.2 hat that raspberry pi foundation is working on.? Pi foundation has no estimated time on when it will be ready, or what the price will be... Notice Newark has it listed as the same price as the vaporware Pi5 POE hat

Get
On Oct 25, 2023, at 08:56, Larry Dighera <ldighera@...> wrote:

If you'd like to add an M.2 NVMe SSD to your RPi5, you can order one here:

RASPBERRY-PI SC1166 RPI 5 M.2 HAT

0 In stock
Non-Cancelable / Non Returnable
Price for each: $37.63

-----

Sneak Peek at Booting Raspberry Pi 5 From an NVMe SSD
By Ash Hill published 2 days ago
Place your bets for the Pi bootup race.

Raspberry Pi
(Image credit: Jeff Geerling)
One spec on the Raspberry Pi 5 that the community is eagerly buzzing about
is the new PCIe port. This enables compatibility with a variety of devices,
most notably SSD support. Today, we?re taking a look at maker Jeff Geerling
and his experience with booting the Pi 5 using an NVMe SSD. Geerling was
given access to a PCIe breakout board by the Raspberry Pi engineering team,
but there will be an M.2 HAT addon coming in 2024. The addon will bring an
M.2 connection for a 2242 NVMe SSD.

There are multiple benefits to using an SSD with the Pi 5. One of the most
obvious benefits is the performance boost you get using an SSD over a
microSD card. Being able to access data quickly is a game changer if you?re
using your Pi to access media on the regular. But if you want to take things
further, booting the Pi off an SSD allows the entire operating system to
perform with the speed of an SSD rather than just the SD card.

Setting up the Pi to boot off an NVMe SSD is simple and Jeff provides lots
of details explaining how to make it work. The only way you can use the SSD
to specifically boot is to enable the function first. This can be done by
adjusting the boot order configuration file on the Pi. Once it?s set to
point to the SSD, the Pi will check it first when booting and run the OS if
it?s installed.

Raspberry Pi

(Image credit: Jeff Geerling)
The external PCIe port also needs to be manually enabled. With it enabled
and the boot device order set properly, it?s possible to boot from the SSD.
You will need a valid partition, though, and the Raspberry Pi Imager is only
set up to flash microSD cards.

To set up the SSD with Raspberry Pi OS, you will need to flash the OS onto a
microSD card. At this point, you can clone the boot volume off microSD card
and copy the data over to the SSD. As long as the SSD is connected directly
to the PCIe port, it will boot. That said, Geerling was unable to boot the
Pi from an SSD if it was connected behind a bridge or switch.

It's also worth keeping in mind that you won't get the full potential speed
of most SSDs when connecting to the Pi 5, as there is just a single PCIe 2.0
lane available. In theory, that gives you about 500MBps of PCIe bandwidth.
So you're going to top out at roughly the performance of a fast SATA SSD.

To get a closer look at this Raspberry Pi project in action, check out the
full post shared by Jeff to his blog. If this project is up your alley, you
should be sure to follow Jeff Geerling for more cool Pi projects as well as
any future creations.

------

NVMe SSD boot with the Raspberry Pi 5
October 21, 2023
Pi 5 PCIe NVMe Kioxia XG8 SSD

In my video about the brand new Raspberry Pi 5, I mentioned the new external
PCIe port makes it possible to boot the standard Pi 5 model B directly off
NVMe storage?an option which is much faster and more reliable than standard
microSD storage (even with industrial-rated cards!).

Enabling NVMe boot is pretty easy, you add a line to /boot/config.txt,
modify the BOOT_ORDER in the bootloader configuration, and reboot!

Of course, you'll also need to get Pi OS onto the NVMe, and there are a few
ways to do that?I'll walk you through my favorite method below.

Note: Raspberry Pi announced they are developing an official Raspberry Pi
M.2 HAT, but there is no word on a launch date for it yet. I am also
tracking other PCIe HATs for Raspberry Pi 5 here.

Enable the external PCI Express port
First, enable the external PCIe port on the Raspberry Pi 5. Edit
/boot/config.txt and add the following at the bottom:

# Add to bottom of /boot/config.txt
dtparam=pciex1

# Note: You could also just add the following (it is an alias to the above
line)
# dtparam=nvme

# Optionally, you can control the PCIe lane speed using this parameter
# dtparam=pciex1_gen=3
I have the pciex1_gen=3 part commented out above because Raspberry Pi allows
you to tweak the bus speed (you can choose Gen 1 for 2.5 GS/s, Gen 2 for 5
GS/s, and Gen 3 for 8 GS/s), but the port is only rated for up to PCIe Gen 2
speeds.

In practice, I have been able to run multiple NVMe SSDs at Gen 3.0 speed
(getting up to 900 MB/sec) on my alpha Pi 5, but YMMV?PCIe can be very
fickle, depending on the quality of the FFC cable and connections on your
own setup.

Set NVMe early in the boot order
The PCIe connection should work after a reboot, but your Pi won't try
booting off an NVMe SSD yet. For that, you need to change the BOOT_ORDER in
the Raspberry Pi's bootloader configuration:

# Edit the EEPROM on the Raspberry Pi 5.
sudo rpi-eeprom-config --edit pieeprom.bin

# Change the BOOT_ORDER line to the following:
BOOT_ORDER=0xf416

# Press Ctrl-O, then enter, to write the change to the file.
# Press Ctrl-X to exit nano (the editor).
Read Raspberry Pi's documentation on BOOT_ORDER for all the details. For
now, the pertinent bit is the 6 at the end: that is what tells the Pi to
attempt NVMe boot first!

Reboot your Raspberry Pi 5 to make the change take effect.

NVMe boot won't work unless you have the external PCI Express port enabled,
and there's a working NVMe drive with a valid boot partition! If you don't
have that (e.g. you used Raspberry Pi Imager with an external USB NVMe
adapter to flash Pi OS to an NVMe drive from another computer), then follow
the steps in the next section to clone your existing Pi OS install to an
NVMe SSD.

Clone your microSD boot volume to an NVMe SSD
Assuming you already have Raspberry Pi OS on a microSD card that is booting
your Raspberry Pi 5 internally, and the NVMe SSD is connected and visible
(check if you see a device /dev/nvme0n1 after running lsblk), you can use
rpi-clone to clone the internal microSD boot volumes to your NVMe SSD:

# Install rpi-clone.
git clone -b 123-nvme
cd rpi-clone
sudo cp rpi-clone rpi-clone-setup /usr/local/sbin

# Clone to the NVMe drive (usually nvme0n1, but check with `lsblk`).
sudo rpi-clone nvme0n1
Note: I'm using my fork of rpi-clone, because the official version has not
merged NVMe support yet.

NVMe behind a PCIe bridge / switch
Currently the Raspberry Pi 5 only exposes one PCIe lane externally?though
there are four more lanes taken up by the RP1 chip. Typical PC motherboards
have a number of lanes to play with, so you often find two, three, or even
four M.2 NVMe slots on high-end motherboards.

Even there, some motherboards have PCI Express switches (or 'bridges') which
allow multiple PCIe devices to share the same lane or lanes, in a similar
way an Ethernet switch can allow multiple computers to share a single
network connection.

NVMe boot behind PCIe switch on Raspberry Pi

On the Compute Module 4, bootloader space constraints prevented NVMe boot if
you used a switch, but I wonder if that restriction is lifted on the
Raspberry Pi 5?and if so, is it already implemented?

As of now, no. I can see and use an NVMe SSD through a PCIe switch, but I am
not able to boot the Raspberry Pi 5 from it, unless it is directly connected
(as the lone PCIe device on the bus).

I've opened an issue to ask about this feature in the Raspberry Pi firmware
repo: Can't boot Pi 5 via NVMe behind PCIe switch / bridge.

Further reading
The Raspberry Pi can boot off NVMe SSDs now
Testing PCIe on the Raspberry Pi 5
Forcing PCI Express Gen 3.0 speeds on the Pi 5
raspberry pi pi 5 nvme sbc boot eeprom performance
Add new comment
Comments
Steve ? 3 days ago

Well done Jeff, I don't know where you find the time! Hopefully we will see
some decent Pi5 nvme NAS hardware if PCIe switching is reliable.

My Pi5 4GB arrived yesterday, so retail has started shipping - at least in
the UK.

I am seeing some spurious nvme boot disk issues (the same nvme to USB
adapter and SSD from my Pi4). I'm investigating root cause and will open an
issue if I can't fix it.

reply
Andy W ? 2 days ago

In reply to Well done Jeff, I don't know? by Steve
Nice to hear your Pi5 has turned up. My 8GB is still sitting at ?waiting to
be picked? at Pimoroni. I was hoping it would at least ship on the 23rd.

reply
Karl Miller ? 2 days ago

I wonder if it is possible to bridge two raspberry pi 5s together via their
pcie buses?
The purpose would be to have one running Android TV and the other running
Hyperbian? That might avoid having to connect an external video
decoder/encoder for ambient style lighting for the LED strip around the rim
of the TV.

reply
anon ? 2 days ago

nice work bro

reply
Massimiliano ? 2 days ago

Hi Jeff,
can you suggest me, please, what I have to buy to attach an SSD NVMe to the
Raspberry Pi (and boot the OS from the NVMe)? What kind of device are using
you?
Regards
Massimiliano

reply
Anonymous ? 20 hours ago

Nice one!

I'm currently using an SSK M.2 NVME SATA Adapter plugged into the USB 3.0
port with a WD Blue SA510 2TB M.2 SATA SSD (Prime day sale purchase). It was
not happy at first, but after a little trial and error it is working
perfectly. The USB speeds are amazing, copying files of my Pi 4 takes hours
to a USB memory stick, then literally seconds or minutes to copy from the
drive to my Pi 5.

I can't wait for an official PCIe M.2 adapter, hopefully they are wallet
friendly. Currently transferring some of my old Docker containers from the
Pi 4 to the Pi 5 (mainly for the extra storage and speed for Jellyfin and
NextCloud, my Pi 4 has a 500GB M.2 SSD in the Argon ONE M.2).

reply






RASPBERRY-PI SC1166: RPi5 M.2 HAT

 

If you'd like to add an M.2 NVMe SSD to your RPi5, you can order one here:

RASPBERRY-PI SC1166 RPI 5 M.2 HAT

0 In stock
Non-Cancelable / Non Returnable
Price for each: $37.63

-----

Sneak Peek at Booting Raspberry Pi 5 From an NVMe SSD
By Ash Hill published 2 days ago
Place your bets for the Pi bootup race.

Raspberry Pi
(Image credit: Jeff Geerling)
One spec on the Raspberry Pi 5 that the community is eagerly buzzing about
is the new PCIe port. This enables compatibility with a variety of devices,
most notably SSD support. Today, we’re taking a look at maker Jeff Geerling
and his experience with booting the Pi 5 using an NVMe SSD. Geerling was
given access to a PCIe breakout board by the Raspberry Pi engineering team,
but there will be an M.2 HAT addon coming in 2024. The addon will bring an
M.2 connection for a 2242 NVMe SSD.

There are multiple benefits to using an SSD with the Pi 5. One of the most
obvious benefits is the performance boost you get using an SSD over a
microSD card. Being able to access data quickly is a game changer if you’re
using your Pi to access media on the regular. But if you want to take things
further, booting the Pi off an SSD allows the entire operating system to
perform with the speed of an SSD rather than just the SD card.

Setting up the Pi to boot off an NVMe SSD is simple and Jeff provides lots
of details explaining how to make it work. The only way you can use the SSD
to specifically boot is to enable the function first. This can be done by
adjusting the boot order configuration file on the Pi. Once it’s set to
point to the SSD, the Pi will check it first when booting and run the OS if
it’s installed.

Raspberry Pi

(Image credit: Jeff Geerling)
The external PCIe port also needs to be manually enabled. With it enabled
and the boot device order set properly, it’s possible to boot from the SSD.
You will need a valid partition, though, and the Raspberry Pi Imager is only
set up to flash microSD cards.

To set up the SSD with Raspberry Pi OS, you will need to flash the OS onto a
microSD card. At this point, you can clone the boot volume off microSD card
and copy the data over to the SSD. As long as the SSD is connected directly
to the PCIe port, it will boot. That said, Geerling was unable to boot the
Pi from an SSD if it was connected behind a bridge or switch.

It's also worth keeping in mind that you won't get the full potential speed
of most SSDs when connecting to the Pi 5, as there is just a single PCIe 2.0
lane available. In theory, that gives you about 500MBps of PCIe bandwidth.
So you're going to top out at roughly the performance of a fast SATA SSD.

To get a closer look at this Raspberry Pi project in action, check out the
full post shared by Jeff to his blog. If this project is up your alley, you
should be sure to follow Jeff Geerling for more cool Pi projects as well as
any future creations.

------

NVMe SSD boot with the Raspberry Pi 5
October 21, 2023
Pi 5 PCIe NVMe Kioxia XG8 SSD

In my video about the brand new Raspberry Pi 5, I mentioned the new external
PCIe port makes it possible to boot the standard Pi 5 model B directly off
NVMe storage—an option which is much faster and more reliable than standard
microSD storage (even with industrial-rated cards!).

Enabling NVMe boot is pretty easy, you add a line to /boot/config.txt,
modify the BOOT_ORDER in the bootloader configuration, and reboot!

Of course, you'll also need to get Pi OS onto the NVMe, and there are a few
ways to do that—I'll walk you through my favorite method below.

Note: Raspberry Pi announced they are developing an official Raspberry Pi
M.2 HAT, but there is no word on a launch date for it yet. I am also
tracking other PCIe HATs for Raspberry Pi 5 here.

Enable the external PCI Express port
First, enable the external PCIe port on the Raspberry Pi 5. Edit
/boot/config.txt and add the following at the bottom:

# Add to bottom of /boot/config.txt
dtparam=pciex1

# Note: You could also just add the following (it is an alias to the above
line)
# dtparam=nvme

# Optionally, you can control the PCIe lane speed using this parameter
# dtparam=pciex1_gen=3
I have the pciex1_gen=3 part commented out above because Raspberry Pi allows
you to tweak the bus speed (you can choose Gen 1 for 2.5 GS/s, Gen 2 for 5
GS/s, and Gen 3 for 8 GS/s), but the port is only rated for up to PCIe Gen 2
speeds.

In practice, I have been able to run multiple NVMe SSDs at Gen 3.0 speed
(getting up to 900 MB/sec) on my alpha Pi 5, but YMMV—PCIe can be very
fickle, depending on the quality of the FFC cable and connections on your
own setup.

Set NVMe early in the boot order
The PCIe connection should work after a reboot, but your Pi won't try
booting off an NVMe SSD yet. For that, you need to change the BOOT_ORDER in
the Raspberry Pi's bootloader configuration:

# Edit the EEPROM on the Raspberry Pi 5.
sudo rpi-eeprom-config --edit pieeprom.bin

# Change the BOOT_ORDER line to the following:
BOOT_ORDER=0xf416

# Press Ctrl-O, then enter, to write the change to the file.
# Press Ctrl-X to exit nano (the editor).
Read Raspberry Pi's documentation on BOOT_ORDER for all the details. For
now, the pertinent bit is the 6 at the end: that is what tells the Pi to
attempt NVMe boot first!

Reboot your Raspberry Pi 5 to make the change take effect.

NVMe boot won't work unless you have the external PCI Express port enabled,
and there's a working NVMe drive with a valid boot partition! If you don't
have that (e.g. you used Raspberry Pi Imager with an external USB NVMe
adapter to flash Pi OS to an NVMe drive from another computer), then follow
the steps in the next section to clone your existing Pi OS install to an
NVMe SSD.

Clone your microSD boot volume to an NVMe SSD
Assuming you already have Raspberry Pi OS on a microSD card that is booting
your Raspberry Pi 5 internally, and the NVMe SSD is connected and visible
(check if you see a device /dev/nvme0n1 after running lsblk), you can use
rpi-clone to clone the internal microSD boot volumes to your NVMe SSD:

# Install rpi-clone.
git clone -b 123-nvme
cd rpi-clone
sudo cp rpi-clone rpi-clone-setup /usr/local/sbin

# Clone to the NVMe drive (usually nvme0n1, but check with `lsblk`).
sudo rpi-clone nvme0n1
Note: I'm using my fork of rpi-clone, because the official version has not
merged NVMe support yet.

NVMe behind a PCIe bridge / switch
Currently the Raspberry Pi 5 only exposes one PCIe lane externally—though
there are four more lanes taken up by the RP1 chip. Typical PC motherboards
have a number of lanes to play with, so you often find two, three, or even
four M.2 NVMe slots on high-end motherboards.

Even there, some motherboards have PCI Express switches (or 'bridges') which
allow multiple PCIe devices to share the same lane or lanes, in a similar
way an Ethernet switch can allow multiple computers to share a single
network connection.

NVMe boot behind PCIe switch on Raspberry Pi

On the Compute Module 4, bootloader space constraints prevented NVMe boot if
you used a switch, but I wonder if that restriction is lifted on the
Raspberry Pi 5—and if so, is it already implemented?

As of now, no. I can see and use an NVMe SSD through a PCIe switch, but I am
not able to boot the Raspberry Pi 5 from it, unless it is directly connected
(as the lone PCIe device on the bus).

I've opened an issue to ask about this feature in the Raspberry Pi firmware
repo: Can't boot Pi 5 via NVMe behind PCIe switch / bridge.

Further reading
The Raspberry Pi can boot off NVMe SSDs now
Testing PCIe on the Raspberry Pi 5
Forcing PCI Express Gen 3.0 speeds on the Pi 5
raspberry pi pi 5 nvme sbc boot eeprom performance
Add new comment
Comments
Steve – 3 days ago

Well done Jeff, I don't know where you find the time! Hopefully we will see
some decent Pi5 nvme NAS hardware if PCIe switching is reliable.

My Pi5 4GB arrived yesterday, so retail has started shipping - at least in
the UK.

I am seeing some spurious nvme boot disk issues (the same nvme to USB
adapter and SSD from my Pi4). I'm investigating root cause and will open an
issue if I can't fix it.

reply
Andy W – 2 days ago

In reply to Well done Jeff, I don't know… by Steve
Nice to hear your Pi5 has turned up. My 8GB is still sitting at “waiting to
be picked” at Pimoroni. I was hoping it would at least ship on the 23rd.

reply
Karl Miller – 2 days ago

I wonder if it is possible to bridge two raspberry pi 5s together via their
pcie buses?
The purpose would be to have one running Android TV and the other running
Hyperbian? That might avoid having to connect an external video
decoder/encoder for ambient style lighting for the LED strip around the rim
of the TV.

reply
anon – 2 days ago

nice work bro

reply
Massimiliano – 2 days ago

Hi Jeff,
can you suggest me, please, what I have to buy to attach an SSD NVMe to the
Raspberry Pi (and boot the OS from the NVMe)? What kind of device are using
you?
Regards
Massimiliano

reply
Anonymous – 20 hours ago

Nice one!

I'm currently using an SSK M.2 NVME SATA Adapter plugged into the USB 3.0
port with a WD Blue SA510 2TB M.2 SATA SSD (Prime day sale purchase). It was
not happy at first, but after a little trial and error it is working
perfectly. The USB speeds are amazing, copying files of my Pi 4 takes hours
to a USB memory stick, then literally seconds or minutes to copy from the
drive to my Pi 5.

I can't wait for an official PCIe M.2 adapter, hopefully they are wallet
friendly. Currently transferring some of my old Docker containers from the
Pi 4 to the Pi 5 (mainly for the extra storage and speed for Jellyfin and
NextCloud, my Pi 4 has a 500GB M.2 SSD in the Argon ONE M.2).

reply


Re: Rpi5

 

Here is the official update on RPi5 availability.



Raspberry Pi 5: available now!

23rd Oct 2023
Eben Upton

56 comments

Three weeks ago, we unveiled the latest generation of our flagship product:
Raspberry Pi 5. Since then, we’ve shared insights into the overall
architecture of the platform, the RP1 I/O controller, the software stack,
the image signal processor, and some of our official accessories, including
the case, and the forthcoming updated PoE+ HAT.

Raspberry Pi 5 on a black background with orange, yellow, green , pink and
turqouise swirls, circles, patterns exploding from behind it
Behind the scenes, we’ve been working hard with our friends at the Sony UK
Technology Centre in Wales (where your Pi is baked) to ramp up the
manufacturing and production test processes. Things have gone a little
faster than expected, and we’re happy to announce that the first
mass-production units will ship to customers this week. As promised, we’ll
be starting with subscribers to The MagPi and HackSpace magazines, who have
taken advantage of the Priority Boarding promotion.


By the end of next week, all existing Priority Boarding orders will have
shipped, and every Approved Reseller in a country where our compliance
paperwork has been signed off by the authorities will have received initial
stock of both 4GB and 8GB variants, so those of you who have pre-ordered
will start to see parcels arriving in your mailboxes. We are continuing to
increase our production rate, with the aim of fulfilling all backorders, and
getting Raspberry Pi in stock at all our Approved Resellers, by the end of
the year – by then we expect you to be able to just buy one straight off the
shelf.

Close up of RP1 silicon on a Raspberry Pi 5 board
We’ve been excited to see the response of early users to Raspberry Pi 5, and
can’t wait to see what you do once you get your hands on it. Let us know
when you start tinkering with yours!

On Mon, 23 Oct 2023 09:55:10 -0700, "N5XMT" <dacooley@...> wrote:

So far, the only Pi5's in the wild are with beta hardware testers, and those that got priority with the Mag-Pi magazine advance order codes.? The biggest issue will be the new BookWorm PiOS.? The windowing system is now Wayland, VNC is Wayfire and networking is now NetworkManager instead of DHCPD.
For a VNC viewer you need to use TigerVNC as realVNC viewer doesn't support the security methods used by Wayfire, and RealVNC server doesn't work with the Wayland windowing system.? Bookworm does run on all the older Pi's so you can give it a run on what you have.? Pi3 and older it automatically reverts back to XWindows due to the slower video processor.? Pi4 and up runs Wayland

On Oct 23, 2023, 06:56, at 06:56, Jay Lijoi <lijoi@...> wrote:
Has anyone tried the PI5?
Are there any issues with amateur radio software?
--
Jay
WB2QQJ


Re: Rpi5

 

I have created a Bookworm 32GB SD card (fully updated) and booted a RPI4 4GB module from it without problems.
I downloaded and installed (apt get install ...) wsjtx and jtdx. Both will load but with the Wayland desktop the main GUI cannot be moved / repositioned (as previously stated).
By changing the desktop to X11 and rebooting, both wsjtx and jtdx load and appear to work as they should.?
You must also enable VNC from the X11 desktop to be able to remote in. TigerVNC remotes into the Wayland desktop and also the VNC desktop (with a security warning).
PiHut has shipped RPI5s starting today.
I hope this helps those who will try Bookworm OS for ham applications - others will also need to report issues with other ham apps.
Ham Radio is all about experimenting and learning!
Edd - KD5M


Re: 64bit Debian Bookworm and Web Browser Issues #software #cpu #pi #raspberrypi

 

True. Should be good

Get
On Oct 24, 2023, at 15:10, Keith Kaiser <wa0tjt@...> wrote:

I have a 32G SD card, seems unlikely I'm out of space, nothing else is there right now.


Re: 64bit Debian Bookworm and Web Browser Issues #software #cpu #pi #raspberrypi

 

I have a 32G SD card, seems unlikely I'm out of space, nothing else is there right now.


Re: Rpi5

 

Also installing Python apps is different. You have to make the virtual environment to install and run them in, or you have to add "--break-system-packages" at the end of the command line. Used to just give a warning, now python stops you.? It's version 3.11

Get
On Oct 24, 2023, at 08:12, David Ranch <rpi4hamradio-groupsio@...> wrote:


Usually, these Raspberry Pi OS upgrades are pretty benign and it's pretty safe to do so but not this one.? In addition to all the Wayland disruption, I think I've observed a Unix permissions issue for any symlinks placed in /tmp and it also seems the cool checkinstall utility is also broken.? I'm still testing this for AX.25 packet but the usual refresh work just for a bunch of documentation is far more work than expected.? I bet it's going to be a lot of work for all the other HAM developers out there to bring their programs up to speed too.? Oh well.. that's the price of relentless march of technology I guess.

--David
KI6ZHD


On 10/23/2023 10:39 PM, Kevin McCrory wrote:
My advice for hams, unless you are expert in Linux and want to test the new software, wait. Wait. Wait until all the peoblems have been worked out by others.?

73

On Mon, Oct 23, 2023, 17:55 N5XMT <dacooley@...> wrote:
So far, the only Pi5's in the wild are with beta hardware testers, and those that got priority with the Mag-Pi magazine advance order codes.? The biggest issue will be the new BookWorm PiOS.? The windowing system is now Wayland, VNC is Wayfire and networking is now NetworkManager instead of DHCPD.
For a VNC viewer you need to use TigerVNC as realVNC viewer doesn't support the security methods used by Wayfire, and RealVNC server doesn't work with the Wayland windowing system.? Bookworm does run on all the older Pi's so you can give it a run on what you have.? Pi3 and older it automatically reverts back to XWindows due to the slower video processor.? Pi4 and up runs Wayland

Get
On Oct 23, 2023, at 06:56, Jay Lijoi <lijoi@...> wrote:
Has anyone tried the PI5?
Are there any issues with amateur radio software?


Re: 64bit Debian Bookworm and Web Browser Issues #software #cpu #pi #raspberrypi

 

I've been running it on Pi4 4g and 8g versions. Chrome is still slow as ever, but Firefox has been fairly snappy.? What size SD card are you running, could it be run ing out of space?

Get
On Oct 24, 2023, at 07:59, Keith Kaiser <wa0tjt@...> wrote:

I recently decided to update the OS in a Raspberry Pi 4, and the newer versions of YAAC, Direwolf and others. I used the Raspberry Pi Imager app to load the newest 64bit Debian Bookworm and the Pi Desktop. After loading I did all the usual things changing settings for the U.S. and so on. Then I brought up the Chromium Web Browser, after about a minute it froze and would do nothing more. I rebooted the Pi and tried again and again and again it happened every time, and then I tried using Firefox ... same result.

I never got around to loading anything on the Pi, so nothing could be causing the issue from another application. Has anyone else experienced this and if so what did you do to fix it?


Re: 64bit Debian Bookworm and Web Browser Issues #software #cpu #pi #raspberrypi

 

开云体育


Hello Keith,

First thing you should do is make sure the OS and firmware is fully patched.? Next, open up a terminal window and start either Firefox or Chromium from the command line.? If the program emits any errors, crash details, etc... it should print all that to the terminal window.? Send us that text and the people on the list might be able to give you some ideas.? Beyond that, all I can say is since you're using a Raspberry Pi 4 with Bookworm, you're using the new Wayland display server by default (this only applies to the new Rpi5 and Rpi4 / Rpi400 / CM4).? If you run out of patience, you can switch back to the legacy Xorg Xwindows display server using the raspi-config utility and a reboot.? Hopefully that will solve your issue and I don't think there will be much of any penalty (if any at all) for the lifetime of Debian Bookworm).

--David
KI6ZHD


On 10/24/2023 07:59 AM, Keith Kaiser wrote:

I recently decided to update the OS in a Raspberry Pi 4, and the newer versions of YAAC, Direwolf and others. I used the Raspberry Pi Imager app to load the newest 64bit Debian Bookworm and the Pi Desktop. After loading I did all the usual things changing settings for the U.S. and so on. Then I brought up the Chromium Web Browser, after about a minute it froze and would do nothing more. I rebooted the Pi and tried again and again and again it happened every time, and then I tried using Firefox ... same result.

I never got around to loading anything on the Pi, so nothing could be causing the issue from another application. Has anyone else experienced this and if so what did you do to fix it?


Re: Rpi5

 

开云体育


Usually, these Raspberry Pi OS upgrades are pretty benign and it's pretty safe to do so but not this one.? In addition to all the Wayland disruption, I think I've observed a Unix permissions issue for any symlinks placed in /tmp and it also seems the cool checkinstall utility is also broken.? I'm still testing this for AX.25 packet but the usual refresh work just for a bunch of documentation is far more work than expected.? I bet it's going to be a lot of work for all the other HAM developers out there to bring their programs up to speed too.? Oh well.. that's the price of relentless march of technology I guess.

--David
KI6ZHD


On 10/23/2023 10:39 PM, Kevin McCrory wrote:

My advice for hams, unless you are expert in Linux and want to test the new software, wait. Wait. Wait until all the peoblems have been worked out by others.?

73

On Mon, Oct 23, 2023, 17:55 N5XMT <dacooley@...> wrote:
So far, the only Pi5's in the wild are with beta hardware testers, and those that got priority with the Mag-Pi magazine advance order codes.? The biggest issue will be the new BookWorm PiOS.? The windowing system is now Wayland, VNC is Wayfire and networking is now NetworkManager instead of DHCPD.
For a VNC viewer you need to use TigerVNC as realVNC viewer doesn't support the security methods used by Wayfire, and RealVNC server doesn't work with the Wayland windowing system.? Bookworm does run on all the older Pi's so you can give it a run on what you have.? Pi3 and older it automatically reverts back to XWindows due to the slower video processor.? Pi4 and up runs Wayland

Get
On Oct 23, 2023, at 06:56, Jay Lijoi <lijoi@...> wrote:
Has anyone tried the PI5?
Are there any issues with amateur radio software?


64bit Debian Bookworm and Web Browser Issues #software #cpu #pi #raspberrypi

 

I recently decided to update the OS in a Raspberry Pi 4, and the newer versions of YAAC, Direwolf and others. I used the Raspberry Pi Imager app to load the newest 64bit Debian Bookworm and the Pi Desktop. After loading I did all the usual things changing settings for the U.S. and so on. Then I brought up the Chromium Web Browser, after about a minute it froze and would do nothing more. I rebooted the Pi and tried again and again and again it happened every time, and then I tried using Firefox ... same result.

I never got around to loading anything on the Pi, so nothing could be causing the issue from another application. Has anyone else experienced this and if so what did you do to fix it?


Re: Rpi5

 

开云体育

Wow, that’s a pretty GRIM way to look at things. ?

?

I thought we were hams that enjoyed experimenting with NEW technology all the time. That’s what separates us from the average appliance operator.

?

Certainly there is a possibility of finding a bug here and there, just like we do EVERY single week when Microsoft pushes out a slew of Windows updates.

?

But the sooner we find a bug and REPORT it, the sooner it can be fixed and make it better for everyone.

?

No doubt, that type of perspetive may not be for everyone, and of course, one person’s experience can be far different from others, but lets hammer out the issues now and move on. ?

?

Just my 2 cents, for what little it may be worth. ?

All the best,

Walter/K5WH

?

From: [email protected] <[email protected]> On Behalf Of Kevin McCrory
Sent: Tuesday, October 24, 2023 12:40 AM
To: [email protected]
Subject: Re: [RaspberryPi-4-HamRadio] Rpi5

?

My advice for hams, unless you are expert in Linux and want to test the new software, wait. Wait. Wait until all the peoblems have been worked out by others.?

?

73

On Mon, Oct 23, 2023, 17:55 N5XMT <dacooley@...> wrote:

So far, the only Pi5's in the wild are with beta hardware testers, and those that got priority with the Mag-Pi magazine advance order codes.? The biggest issue will be the new BookWorm PiOS.? The windowing system is now Wayland, VNC is Wayfire and networking is now NetworkManager instead of DHCPD.

For a VNC viewer you need to use TigerVNC as realVNC viewer doesn't support the security methods used by Wayfire, and RealVNC server doesn't work with the Wayland windowing system.? Bookworm does run on all the older Pi's so you can give it a run on what you have.? Pi3 and older it automatically reverts back to XWindows due to the slower video processor.? Pi4 and up runs Wayland

Get

On Oct 23, 2023, at 06:56, Jay Lijoi <lijoi@...> wrote:

Has anyone tried the PI5?
Are there any issues with amateur radio software?