[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 13 08:44:19 UTC 2023
Update:
I've tested latest release image [1].
The ethernet is working. However due to the network environment in
MediaTek, I could get IP address but just cannot get the correct DNS
server. Hence I could not set $URL for packages during installation.
The USB hosts aren't working.
However, according to the debugging result on Suse.
I think these drivers [2][3] are still need for enabling USB hosts.
I've extract initrd from ubuntu-23.10-live-server-arm64.iso and trying to build a customized CD-image via this method [4]. But I've failed at the very last several steps to make a new CD-image with customized initrd.
[1] https://cdimage.ubuntu.com/ubuntu/releases/23.10/release/ubuntu-23.10-live-server-arm64.iso
[2] mt6360_charger, mtk-pmic-wrap, nvmem_mtk-efuse
[3] https://bugzilla.suse.com/show_bug.cgi?id=1215995
[4] https://help.ubuntu.com/community/LiveCDCustomization
Please help to include more drivers [2] in the next daily build release.
Thanks.
** Bug watch added: bugzilla.suse.com/ #1215995
https://bugzilla.suse.com/show_bug.cgi?id=1215995
--
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