When I load the Waveshare dtoverlays and modify the config.txt and cmdline.txt *after* the first boot of a fresh RaspbianOS install, the DPI LCD is not used.

If I load the Waveshare dtoverlays onto the SD card and modify the config.txt and cmdline.txt *before* the first boot of a fresh system, everything works as expected.

Is there some intermediate step happening on first boot?

#RaspbianOS
#Ansible

Ok this is incorrect. I didn't realize that Waveshare has two different versions of their dtoverlays, one for legacy versions of RaspbianOS and one for “new" versions. Obviously, if I try to load the wrong version, the OS won't initialize the LCD properly.

#RaspbianOS
#Ansible