I have recently decided to update my beaglebone black from Debian 11.x to Debian 12.x. However I cannot get overlayroot to work on any Debian 12.x image I have found/made, a few examples of them being :
- am335x-debian-12.2-minimal-armhf-2023-10-07-2gb.img.xz
- bb.org-debian-bookworm-minimal-v6.1-ti-armhf-am335x.conf
- bb.org-debian-bookworm-minimal-v5.10-ti-armhf-am335x.conf
I have tried activating overlayroot both by adding “overlayroot=tmpfs” to the cmdline line in /boot/uEnv.txt and modifying /etc/overlayroot.conf with the same text.
The only error I have found is when running dmesg | grep overlayroot on images with kernel 6.1 :
[ 0.000000] Kernel command line: console=ttyS0,115200n8 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet overlayroot=tmpfs
[ 0.000000] Unknown kernel command line parameters “overlayroot=tmpfs”, will be passed to user space.
Did something change for overlayroot in Debian 12 compared to Debian 11 ? I noticed the overlayroot package moved from repo_rcnee_pkg_list to deb_include in the config files in omap-image-builder/configs at master · RobertCNelson/omap-image-builder · GitHub but I have not found any information on changes for enabling it.