====== Headless setup ====== ===== Enable SSH at first boot ===== Create a file name "ssh" in the boot partition ===== Since April 2022 - setup user account ===== [[https://www.raspberrypi.com/news/raspberry-pi-bullseye-update-april-2022/|An update to Raspberry Pi OS Bullseye]] Create file named "userconf" in the boot partition The contents should be in the form pi:$6$o./WGPVrH4SYmDs/$88CAS1V7inbLrzAZ1CVk984zLzJYe5IKV5SGyMgjaNtHSHhuYzFQLbQY9G.XkxlZjaEi3/fnphUBmF7EBZt0I1 The password hash can be created by running a command like this echo 'raspberry' | openssl passwd -6 -stdin ====== Valgrind ====== [[https://bugs.launchpad.net/raspbian/+bug/1743293]] [[https://snapcraft.io/valgrind]] Install newer valgrind for example by using a snap package \\ Use this configuration to suppress some non-real errors cat ~/.valgrindrc --sigill-diagnostics=no --suppressions=/home/pi/.valgrind.supp cat ~/.valgrind.supp { libarmmemv7laddr8 Memcheck:Addr8 obj:/usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so } { libarmmemv7laddr4 Memcheck:Addr4 obj:/usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so } { libarmmemv7laddr2 Memcheck:Addr2 obj:/usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so } { libarmmemv7laddr1 Memcheck:Addr1 obj:/usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so }