Comment # 11 on bug 1215995 from Macpaul Lin
Hi Ivan and Steffen,

To enable USB HOST and Ethernet driver for mt8195-demo boards more clock
drivers are required.

Solution:
MODULES="clk-mt8195-imp_iic_wrap mt6360_charger mtk-pmic-wrap nvmem_mtk-efuse
clk-mt8195-vdec clk-mt8195-venc clk-mt8195-vdo0 clk-mt8195-vdo1 clk-mt8195-vpp0
clk-mt8195-vpp1 clk-mt8195-wpe clk-mt8195-ipe clk-mt8195-cam clk-mt8195-ccu
clk-mt8195-img"

Compared previous found solution for enabling USB HOST.
MODULES="clk-mt8195-imp_iic_wrap mt6360_charger mtk-pmic-wrap nvmem_mtk-efuse"

There are more multi media clocks drivers are required, and I just could not to
get rid any one from the following list to enable ethernet.
"clk-mt8195-vdec clk-mt8195-venc clk-mt8195-vdo0 clk-mt8195-vdo1
clk-mt8195-vpp0 clk-mt8195-vpp1 clk-mt8195-wpe clk-mt8195-ipe clk-mt8195-cam
clk-mt8195-ccu clk-mt8195-img"

After checking the code, ethernet only depends on 'topckgen' and 'apmixsys'
which should be a built-in clock driver already. Is it possible to create a
cd-image with adding softdep to ethernet drivers? I'm not sure if re-order the
probe sequence will help.

The following logs are the 'lsmod' log for used ethernet drivers.
realtek                36864  1
dwmac_mediatek         16384  0
stmmac_platform        32768  1 dwmac_mediatek
stmmac                282624  3 stmmac_platform,dwmac_mediatek
pcs_xpcs               20480  1 stmmac
phylink                69632  2 stmmac,pcs_xpcs

At last, I could use the modified
'openSUSE-Tumbleweed-DVD-aarch64-Snapshot20231010-Media.iso' with these driver
to install Suse on to the mt8195-demo right now. However there still some issue
blocking system boot after installation. I'll attach the boot log later.

But at this stage, please help to add the solution into pre-built CD/DVD image
at least we could get installer to work on mt8195-demo boards. Thanks.


You are receiving this mail because: