Year: 2022
PMIC ADC and Thermals
In this short post, I’ll share what I learned setting up ADC (analog-digital converter, used for measuring temp and voltage) and Thermal Monitor (notify kernel when stuff gets hot). Setup From what I can gather this applies to QCom SoCs/PMICs, so keep that in mind before you fry your non-QCom device. SoCs have a few… Continue reading PMIC ADC and Thermals
initfs Refresher
In this short post I’ll cover some material about initfs, which could be helpful during (or, more likely, not knowing it will be detrimental to) early mainlining. Background Linux boot process 1. bootloader starts linux kernel, passing along initfs 2. kernel does some bookkeeping and then enters initfs environment 3. initfs job is to prepare… Continue reading initfs Refresher