[Bug 2038512] Re: [Mediatek] mt8195-demo: please help to include these MediaTek drivers in initrd.img in CD/DVD release image
Macpaul Lin
2038512 at bugs.launchpad.net
Fri Oct 6 01:26:06 UTC 2023
The setting of /etc/initramfs-tools/initramfs.conf was already set to
'MODULES=most'.
But it seems just not working for adding some of these drivers.
I was trying to configure these drivers on...
[Ubuntu Version]
Jammy
[initramfs-tools]
0.140ubuntu13.4
[Kernel version]
5.15 -> 6.2
(Generate initrd.img-6.2.0 on 5.15 kernel.)
** Description changed:
[Impact]
Peripheral probe failure for MediaTek boards 'mt8195-demo' and 'genio-1200-evk'.
+ [Ubuntu Version]
+ Jammy
+
+ [initramfs-tools]
+ 0.140ubuntu13.4
+
[Kernel version]
- 6.2
+ 5.15 -> 6.2
+ (Generate initrd.img-6.2.0 on 5.15 kernel.)
[Fix]
I've used 'dracut' to examing the driver dependencies for boards 'mt8195-demo' and 'genio-1200-evk'.
- It is able to buot into console and use USB port3.
+ It is able to buot into console and use USB port3.
Hope these drivers could help to run installer with USB disk in next daily build.
Note: It won't work with 'update-initramfs -u -k 6.2.0-34-generic' if
just simply add driver lists in '/etc/modules',
'/etc/modprobe.d/mediatek.conf' or '/etc/modules-load.d/mediatek.conf'.
I fixed this issue with 'dracut' and it seems this tool will include
more common framework drivers into initrd.img.
[MediaTek relate drivers]
file: mediatek-drivers-for-mt8195-demo-bringup.txt
(Not listed in probing sequence)
i2c-mt65xx
spi-mt65xx
reset-ti-syscon
mt6397
rtc-mt6397
mtk-pmic-wrap
mt6315-regulator
spmi-mtk-pmif
mtk_scp_ipi
mediatek-drm
mtk-vcodec-dec
mtk-vcodec-enc
mtk_jpeg
mtk-vcodec-common
mtk-jpeg-enc-hw
mtk-vpu
mtk-jpeg-dec-hw
mtk-cmdq-helper
mtk-cmdq-helper
mtk-cmdq-mailbox
mtk-mdp3
phy-mtk-mipi-dsi-drv
btmtk
leds-mt6360
tcpci_mt6360
mt6360_charger
mt6360-regulator
mt6360-core
mt6359-regulator
mt6360-adc
snd-soc-mt8195-afe
snd-soc-mtk-common
snd-soc-dmic
dwmac-mediatek
stmmac-platform
stmmac
mtk-rng
mtk_scp
mtk_rpmsg
pwm-mediatek
pwm-mtk-disp
nvmem_mtk-efuse
mtk-sd
cqhci
phy-mtk-tphy
mtu3
xhci-mtk-hcd
phy-mtk-pcie
pcie-mediatek-gen3
[lsmod log]
file: lsmod-i1200-demo-kernel-6.2-dracut-initrd.txt
[Other info]
effected kernel (6.2-latest)
ubuntu kernel for lunar, and Mantic.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2038512
Title:
[Mediatek] mt8195-demo: please help to include these MediaTek drivers
in initrd.img in CD/DVD release image
Status in initramfs-tools package in Ubuntu:
New
Bug description:
[Impact]
Peripheral probe failure for MediaTek boards 'mt8195-demo' and 'genio-1200-evk'.
[Ubuntu Version]
Jammy
[initramfs-tools]
0.140ubuntu13.4
[Kernel version]
5.15 -> 6.2
(Generate initrd.img-6.2.0 on 5.15 kernel.)
[Fix]
I've used 'dracut' to examing the driver dependencies for boards 'mt8195-demo' and 'genio-1200-evk'.
It is able to buot into console and use USB port3.
Hope these drivers could help to run installer with USB disk in next daily build.
Note: It won't work with 'update-initramfs -u -k 6.2.0-34-generic' if
just simply add driver lists in '/etc/modules',
'/etc/modprobe.d/mediatek.conf' or '/etc/modules-
load.d/mediatek.conf'. I fixed this issue with 'dracut' and it seems
this tool will include more common framework drivers into initrd.img.
[MediaTek relate drivers]
file: mediatek-drivers-for-mt8195-demo-bringup.txt
(Not listed in probing sequence)
i2c-mt65xx
spi-mt65xx
reset-ti-syscon
mt6397
rtc-mt6397
mtk-pmic-wrap
mt6315-regulator
spmi-mtk-pmif
mtk_scp_ipi
mediatek-drm
mtk-vcodec-dec
mtk-vcodec-enc
mtk_jpeg
mtk-vcodec-common
mtk-jpeg-enc-hw
mtk-vpu
mtk-jpeg-dec-hw
mtk-cmdq-helper
mtk-cmdq-helper
mtk-cmdq-mailbox
mtk-mdp3
phy-mtk-mipi-dsi-drv
btmtk
leds-mt6360
tcpci_mt6360
mt6360_charger
mt6360-regulator
mt6360-core
mt6359-regulator
mt6360-adc
snd-soc-mt8195-afe
snd-soc-mtk-common
snd-soc-dmic
dwmac-mediatek
stmmac-platform
stmmac
mtk-rng
mtk_scp
mtk_rpmsg
pwm-mediatek
pwm-mtk-disp
nvmem_mtk-efuse
mtk-sd
cqhci
phy-mtk-tphy
mtu3
xhci-mtk-hcd
phy-mtk-pcie
pcie-mediatek-gen3
[lsmod log]
file: lsmod-i1200-demo-kernel-6.2-dracut-initrd.txt
[Other info]
effected kernel (6.2-latest)
ubuntu kernel for lunar, and Mantic.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2038512/+subscriptions
More information about the foundations-bugs
mailing list