My workflow is:
source ../pmbootstrap/envkernel.sh
make <soc>_defconfig# Only oncemake -j<procNum>pmbootrap build --envkernel linux-postmarketos-<soc>pmbootstrap sideload linux-postmarketos-<soc># You will need --install-key at the first- reboot
You can build only a dtb with:
make qcom/msm8937-xiaomi-land.dtb
You can copy your devicetree to the boot partition /boot and reboot.
Check your extlinux config.
Or a driver
make drivers/gpu/drm/panel/panel-boe-himax8279d.o
For the driver i would recommend make a full kernel build first install it and after you can overwrite the module or unload/load it with rmmod and insmod.
If you port a device you can use:
cat .output/arch/arm64/boot/Image.gz .output/arch/arm64/boot/dts/<soc>/<your dt> > Image.gz-dtbfastboot boot Image.gz-dtb
If you get an initfs from existing pmos chroot you can boot the full system
fastboot boot Image.gz-dtb initfs#--cmdlineparamter useful for set necessary kernel or lk2nd related params