[Letux-kernel] jz4780 and cpufreq-info - and WiFi/Bluetooth/Reboot
H. Nikolaus Schaller
hns at goldelico.com
Sun Feb 12 20:01:16 CET 2023
Well,
the subject is misleading. I have not continued to work on porting the cpufreq-info
driver to jz4780.
BR,
Nikolaus
> Am 12.02.2023 um 19:56 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
>
> Hi Paul and Riccardo,
> just a small note about CI20 progress.
>
> I have managed to have WIFI work with LetuxOS. And fixed the reboot issue.
> But Bluetooth needs a workaround to start at all and then the receiver is deaf.
>
> But I also have prepared a patch set for upstreaming and there it is reversed:
> WLAN is missing in ifconfig, but Bluetooth works.
>
> What I have found out so far is that it is a mix between different defconfig
> and DTS. All Bluetooth components must be compiled into the kernel while the
> pcf8563 must not be available.
>
> The reason is simple: the pcf8563 driver disables the 32kHz clock for a moment
> during probe - but at that point Bluetooth has already been initialized. This
> makes the BT HCI engine stall.
>
> What I have not yet found out is how to make the jz4780 clock-out request the
> pcf8563 clock-out and make both a precondition for Bluetooth and WiFi power.
> This is the DTS related part. Basically it should be simple because clock providers
> form a chain to be probed and enabled, but I do not know how to add a request
> for the clock-outs to this chain.
>
> BTW: by having the BT stack being initialized very early in the boot sequence
> makes loading the firmware patches fail, because there is no MMC and rootfs
> available to load it from. But BT works without them in the upstream variant.
>
> I don't know how fast I can work on this, but the next letux-6.2-rc kernel
> release should have WLAN and reboot working (even if not perfect).
>
> Best Regards,
> Nikolaus
>
> _______________________________________________
> https://projects.goldelico.com/p/gta04-kernel/
> Letux-kernel mailing list
> Letux-kernel at openphoenux.org
> http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel
More information about the Letux-kernel
mailing list