Hello @winslowb
Which image you used?
If you use the desktop image, you can goto System Settings-> Displays
to setup the resolution.
If you use the server image, you can follow the steps below to create a overlay to setup the resolutions.
Here is an example to setup the resoluion to 4k (3840x2160P60Hz).
- Create device tree overlay
fb.dts
with contents below:
$ khadas@Khadas:~$ cat fb.dts
/dts-v1/;
/plugin/;
/ {
fragment@3 {
target = <&drm_subsystem>;
__overlay__ {
fbdev_sizes = <3840 2160 3840 4320 32>;
};
};
};
- Compile to dtbo
$ dtc -@ -I dts fb.dts -O dtb -o fb.dtbo
- Copy dtbo to overlay directory
$ sudo cp fb.dtbo /boot/dtb/amlogic/kvim4.dtb.overlays/
- Enable fb overlay
Edit /boot/dtb/amlogic/kvim4.dtb.overlay.env
to add fb
to node fdt_overlays=
$ cat /boot/dtb/amlogic/kvim4.dtb.overlay.env
fdt_overlays=fb
- Save the file and reboot.