CM5 lite trixie nvme boot

Hello,

i cant get the my uconsole boot from the m.2

ClockworkPi-Trixie-6.12.87

i tried 3 different m.2 disks (samsung 980 included)

gen 3 gen 4 in the config file

kernel is on the latest,

triple checked cable and m.2 connections

i got the latest hackergadgets batterie + nvme board , cm4/5 adapter board, lan usb c extender

i tried to boot with sd card first and then add m.2 drive, and the other way round

balenaetcher, raspberry pi imager

i am at the end of my ideas.

thanks christian

have you updated eeprom config? EEPROM config and the CM5 lite

1 Like

i booted from sd card
and edited eeprom from:

[all]

BOOT_UART=1

POWER_OFF_ON_HALT=1

BOOT_ORDER=0xf146

PCIE_PROBE=1

SD_QUIRKS=1

NET_INSTALL_AT_POWER_ON=1

TO:

[all]
BOOT_UART=1
POWER_OFF_ON_HALT=1
BOOT_ORDER=0xf461
PCIE_PROBE=1
SD_BOOT_MAX_RETRIES=2
SD_QUIRKS=1
NET_INSTALL_AT_POWER_ON=1

then i took out the sd card, and the boot worked with the m.2

as soon is i reboot or shutdown and start again… i cant boot

is there anything else i have to configure after the m.2 boot?

now again the m.2 boot stuck at systemd-user-session.service :frowning:

so it boots, so hardware works and it something wrong with os?

1 Like

it boots one time with the sd card + nvme.

as soon as i take out the sd card i cannot get it working again.

nvme + sd card will not boot from nvme again… only if i burn on sd card and fresh burn on nvme and do the same process again… only one boot on nvme is possible

[pi5]
#dtoverlay=clockworkpi-devterm-cm5
dtoverlay=clockworkpi-uconsole-cm5
dtoverlay=vc4-kms-v3d-pi5,cma-384
dtparam=uart0
dtparam=pciex1
dtparam=pciex1_gen=3
kernel=kernel8.img

image: /usr/lib/firmware/raspberrypi/bootloader-2712/default/pieeprom-2026-05-11.bin
config_src: blconfig device
config: /tmp/tmpg4rkotsy/boot.conf
################################################################################

[all]
BOOT_UART=1
POWER_OFF_ON_HALT=1
BOOT_ORDER=0xf461
PCIE_PROBE=1
SD_BOOT_MAX_RETRIES=2
SD_QUIRKS=1
NET_INSTALL_AT_POWER_ON=1

################################################################################
*** CREATED UPDATE /tmp/tmpg4rkotsy/pieeprom.upd ***

CURRENT: Mon May 11 11:20:02 AM UTC 2026 (1778498402)
UPDATE: Mon May 11 11:20:02 AM UTC 2026 (1778498402)
BOOTFS: /boot/firmware
ā€˜/tmp/tmp.wbCKp65UKu’ → ā€˜/boot/firmware/pieeprom.upd’

UPDATING bootloader. This could take up to a minute. Please wait

*** Do not disconnect the power until the update is complete ***

If a problem occurs then the Raspberry Pi Imager may be used to create
a bootloader rescue SD card image which restores the default bootloader image.

flashrom -p linux_spi:dev=/dev/spidev10.0,spispeed=16000 -w /boot/firmware/pieeprom.upd
Verifying update
VERIFY: SUCCESS
UPDATE SUCCESSFUL

this is the status now with the sd card ClockworkPi-Trixie-6.12.87.img

I would do other way.
First, boot system from SDcard (without NVME), set it up and have a proper booting device.
Then, connect NVMe, use SD Card Copier (https://forums.raspberrypi.com/viewtopic.php?t=234411) and copy from SD to NVMe. Shutdown, remove sdcard and boot.

For config, try:
dtparam=pciex1
dtparam=pciex1_gen=2

I had some issues with stability on gen3 - long wire paths were not great for such speeds.
Above approach worked for me (and still works). With bootable SD cards allows me to boot Kali (SD) and Trixie (NVMe).

2 Likes

Michal,

THANKS … sd card copier it worked. :folded_hands: :folded_hands: :folded_hands: :folded_hands: :folded_hands: :folded_hands: :folded_hands: :folded_hands:

shutdown and reboot works from nvme (with out sd card) . finally, my 3 days of trying, mounting, dismounting and flashing sd cards and m.2 drives ended.

right now i am on:

dtparam=pciex1
dtparam=pciex1_gen=3

but reboot and shotdown needs a little longer as with sd card

That’s correct - I think it flushes and syncs some kind of cache on NVMe - I’ve tried to debug it on gen3 and found out, that on gen2 it’s faster in my case.
Still have no idea what’s keep it powered on - however, system speed, boot, loading times, and size is more welcome than speed of shutdown/reboot. I can live with it :slight_smile:

2 Likes

thanks, what a trixie ride to me.

Maybe wrong but you were trying to boot from NVME with no OS on there !?..

Yes I did the same, booted from Trixie on a fast micro sd card while blank NVME installed, changed boot options, used the sd card copier built into Trixie, switch off and remove the micro sd, reboot, voila.

I then reformatted the sd card to exfat (difficult as Linux format notoriously difficult to fully remove) and use it to hold my documents, movies, music etc (hence boots faster from NVME too as doesnt get stuck trying to boot from a ā€˜missing’ sd card). Now and then I also use sd card copier to backup my 256Gb nvme to a 256Gb micro sd card inserted into an adaptor in the AIOv2 usb-c socket, doesn’t take long with a fast card…

i dont get people spending what honestly is for me painful amounts to get a fast nvme, only to downgrade it to gen 1 or 2 for uconsole.

too happy too early

after it worked with the nvme, i build the uconsole together and than i couldnt boot anymore.

I tried then gen 2, but got a white screen desktop trixie background.

Getting insane here with nvme :frowning:

can someone confirm that the uconsole with cm5 lite and nvme works solid? with gen 3 gen 2 on trixie ???

I think i ll go with sd card. there are no suggestions for some m.2 brands that will work with CM4 oder CM 5 with Gen 2, Gen 3 or Gen 4 …

CM5 16Gb lite here with 256Gb WD SN740 at Gen2 (471Mb/s read). ZERO issues for a few months now.

1 Like

Running for quite some time - no issues there.
But you say that it was working before - you assembled it back and doesn’t boot?
Maybe ribbons are not connected as they should - or battery are insufficient?

Could you post some photos, please?
I’m running at Gen2 with cheap Kioxia KEG60ZNS512G (512GB).

Regarding running Gen3 than Gen2 - no significant impact on that.
As per documentation of CM5:
One-lane PCIe Gen 2 (5 Gb/s) host interface for high-speed peripherals.

EDIT:
Actually, I had issues with it - once when I’ve did not connect it fully with ribbon, once when I was trying CM4-Adapter (Waveshare ā€œraiserā€ card) and once when dealing with GPS always on on AIOv2 - I’ve did not inserted adapter board fully. Photo of open uconsole would be helpful to investigate it thoroughly.

1 Like

my setup:

the disk here is a KIOXIA 256GB Drive.

going with gen 2. and i closed the console right now. well see if its stable

works well, for now i think the whole problem was, gen4 gen3,… and it just works with gen2…

Seems fine - just the ribbon on the HG HUB seems little crocked for this point of view.
You are running with flatpack battery? Any luck on that?
I’ve been trying with 10Ah flatpack - but the voltage sag was so excessive that I’ve gave up on that idea for now.
Next step is to try powering it with dual 10Ah in 2S configuration with step-down DC-DC :smiley:

Glad to hear that it works now. I’m not sure if path to NVMe isn’t too long for it to operate at such speeds. Like I’ve previously said, I had mixed results with Gen3.

the ribbon is fine, just a reflexion in the picture.

10Ah pack is on the way, voltage sag, damn,..you already gave up,… double damn…

is it possible to solder the 18500 battery holder on my current board? ^^

Yeah, dropped quite a lot, but that’s not end of my story yet. I have an idea to do 2S cell, or more.

You can solder 18650 - I’ve got on mine original one, but I have removed and restored it like 6 times already. I’ve got myself 4Ah Nitecore batteries and they quite good. 3h of runtime with sdr.

1 Like