Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

Compute Module • quick way to enable pSLC without using CM4 provisioner

$
0
0
Hi, I wanted to update a previous post I made asking this question, however the old thread is locked.

I have found the quickest way to enable pSLC mode, without using CM-provisioner, and without installing an OS/image first, is to boot the CM4 with RPi-boot, then open a serial console and run the commands from the script (sourced from cm-provisioner):

Code:

MAXSIZEKB=`mmc extcsd read /dev/mmcblk0 | grep MAX_ENH_SIZE_MULT -A 1 | grep -o '[0-9]\+ '`mmc enh_area set -y 0 $MAXSIZEKB /dev/mmcblk0
Simple copy paste into a serial terminal.
I only just noticed the message in RPi-boot:
For debug, you can login to the device using the USB serial gadget - see COM ports in Device Manager.
I continue to be surprised at the awesomeness of these things (CM4/5, RPiboot, the whole ecosystem etc.)

Statistics: Posted by carl0s — Tue Jul 22, 2025 8:32 am



Viewing all articles
Browse latest Browse all 8041

Trending Articles