Quantcast
Viewing all articles
Browse latest Browse all 5091

Raspberry Pi OS • Re: kernel8 from 2023-12-11-raspios-bookworm-arm64-lite.img does not print to stdio under QEMU

Faced the same issue.

Solution is to disable Bluetooth - dtoverlay=disable-bt - (and make sure UART0 is enabled- dtparam=uart0=on) in the DTB.

Working with QEMU, this may not be done using the boot/firmware/config.txt ; one has to cook a new DTB with the dtparam and dtoverlay merged in, which may then be passed to QEMU (qemu-system-aarch64 -dtb qemu.dtb). This is most easily done in the (QEMU-lated) RPi itself, using the dtmerge tool (included in the stock OS image):

Code:

# Compile a customized DTBcp /boot/firmware/bcm2710-rpi-3-b-plus.dtb custom.dtb# (dtparam=uart0=on)dtmerge custom.dtb merged.dtb - uart0=onmv merged.dtb custom.dtb# (dtoverlay=disable-bt)dtmerge custom.dtb merged.dtb /boot/firmware/overlays/disable-bt.dtbomv merged.dtb custom.dtb
REF: https://github.com/raspberrypi/utils/tr ... er/dtmerge

Statistics: Posted by cdufour — Fri Mar 29, 2024 7:38 pm



Viewing all articles
Browse latest Browse all 5091

Trending Articles