As reported on forum https://esp32.com/viewtopic.php?f=13&t=11173&p=45470
Older bootloaders don't set RTC_XTAL_FREQ_REG or call rtc_clk_init(), app needs to pick this up. Reported at https://esp32.com/viewtopic.php?f=2&t=3939&p=17836