[Letux-kernel] LX20 prototype is booting
H. Nikolaus Schaller
hns at goldelico.com
Tue May 13 16:35:01 CEST 2025
> Am 12.05.2025 um 01:00 schrieb Paul Boddie <paul at boddie.org.uk>:
>
> On Tuesday, 6 May 2025 22:38:52 CEST H. Nikolaus Schaller wrote:
>>
>> Last remaining bug with U-Boot seems to be why it needs so much time to load
>> the 5MB uImage (takes 5 seconds). Or is the clock initialized for 2.4 MHz
>> instead of 24.
>>
>> Maybe something broken in jz_set_mmc_clk() or clk_set_rate()
>
> I can't really comment about U-Boot, but reviewing the manual, I see that the
> dividers for the MSC devices are defined as...
>
> (MSCnCDR + 1) * 4
>
> For the X1600 and JZ4780, the multiplier in the above is 2, not 4.
>
> I see that the Linux CGU driver code in x2000-cgu.c seems to use 2 instead of
> 4, so maybe this needs fixing.
Yes, that is a good hint to be checked (as soon as I find time).
BR,
Nikolaus
More information about the Letux-kernel
mailing list