Table of Contents

ROS2 in Debian Buster for RaspberryPi 3 with Qemu in 64bits (aarch64)

Increasing image size

qemu-img resize 20190628_raspberry-pi-3_buster_PREVIEW.img +11G
qemu-system-aarch64 -M virt -m 4096 -smp 4 -cpu cortex-a53   -kernel vmlinuz-4.19.0-5-arm64   -initrd initrd.img-4.19.0-5-arm64   -drive if=none,file=20190628_raspberry-pi-3_buster_PREVIEW.img,format=raw,id=hd  -append 'root=/dev/vda2 noresume'   -device virtio-blk-pci,drive=hd   -device virtio-net-pci,netdev=mynet -netdev user,id=mynet,hostfwd=tcp::2222-:22 -device virtio-rng-pci   -no-reboot -nographic
cfdisk
resize2fs /dev/vda2

Starting ROS2 Installation

apt-get install sudo
adduser pi
adduser pi sudo
sudo apt-get upgrade
export PATH=${HOME}/.local/bin:$PATH

https://index.ros.org/doc/ros2/Installation/Dashing/Linux-Development-Setup/