чт, 13 окт. 2022 г. в 21:56, Siarhei Volkau <lis8215@xxxxxxxxx>:
> Just disable the divider in ingenic_fixup_fdt() in
I'll check that.
I checked that approach: serial seems to be working as expected,
but not all the time: there's a time period when the CGU driver
started but serial console driver is still early one.
In my case UART produces garbage at that period since CGU
needs to enable clock divider back: ext is 24MHz but 12MHz
required for audio codec and USB to function properly.
So I think Arnd's approach:
the hardware should already be in a working state,
with no need to touch it during early boot.
shall resolve the problem, although I can't check it on all supported
hardware.
BR,
Siarhei