Using the daily focal image (2020-03-30) with identical raspberrypi/userland everything works "out of the box":
# uname -a Linux ubuntu 5.4.0-1006-raspi2 #6-Ubuntu SMP Mon Mar 16 13:08:46 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux # /opt/vc/bin/vcgencmd get_camera supported=1 detected=1 # /opt/vc/bin/raspistill -o test.jpg # ll /dev/vcsm-cma crw-rw-rw- 1 root root 10, 60 Mar 18 19:32 /dev/vcsm-cma Only changes to image were: - installing build-essential and cmake - enabling the camera (adding start_x=1 gpu_mem=128 to /boot/firmware/config.txt (Note: It did not work adding these to /boot/firmware/usercfg.txt)) - compiling userland -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-raspi2 in Ubuntu. https://bugs.launchpad.net/bugs/1867428 Title: /dev/vcsm-cma missing on Ubuntu 18.04.4 aarch64 Status in linux-raspi2 package in Ubuntu: New Status in linux-raspi2 source package in Bionic: New Bug description: On fully upgraded Ubuntu 18.04 aarch64 the vc_sm_cma kernel module does not expose /dev/vcsm-cma, thus application working with the Raspberry Pi Camera, e.g. raspivid, do not work properly. $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.4 LTS Release: 18.04 Codename: bionic Test with both linux-image-5.3.0-1017-raspi2 and linux- image-5.3.0-1018-raspi2 in combination with with https://github.com/raspberrypi/userland at 6e6a2c859a17a195fbb6a97c9da584dd2b9b0178 compiled using ./buildme --aarch64 on Raspberry Pi 4 and 3+. Everything works, if I use a recent Raspbian kernel on the Ubuntu image: Copy RASPBIAN/boot/kernel8.img to UBUNTU/boot/firmware/vmlinuz, RASPBIAN/boot/bcm2711-rpi-4-b.dtb to UBUNTU/boot/firmware/ and RASPBIAN/lib/modules/4.19.97-v8+ to UBUNTU/lib/modules. I cannot tell whether the problem is specific to the 5.3.0 kernel compiled for Ubuntu or a general issue with the 5.3.0 kernel as the Raspbian kernel is still based on 4.19. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1867428/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp