User Tools

Site Tools


general:raspberry_pi

Headless setup

Enable SSH at first boot

Create a file name “ssh” in the boot partition

Since April 2022 - setup user account

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
}
general/raspberry_pi.txt · Last modified: 2022/05/09 14:59 by sunkan

Donate Powered by PHP Valid HTML5 Valid CSS Run on Debian Driven by DokuWiki