actually, looking at that script.. it reboots the CM4 if errorlevel is 0. It might then run a second time, giving the 'already partitioned' output. So that could mean it's has worked. I wonder if the CM4s need a power cycle? Could it be that the base-board I am using on them doesn't reset emmc on reboot like the provisioner is expecting?
Code:
===Running pre-installation script 'Format eMMC as pSLC (one time settable only)'===#!/bin/shset +eMAXSIZEKB=`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 Device is already partitionedif [ $? -eq 0 ]; then reboot -ffi
Statistics: Posted by carl0s — Thu Dec 05, 2024 3:50 pm