Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1964218

Summary: NXP i.MX8MM EVK: not able to install from USB Disk
Product: [Fedora] Fedora Reporter: Peng Fan <peng.fan>
Component: dracutAssignee: Peter Robinson <pbrobinson>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 34CC: acaringi, adscvr, airlied, alciregi, awilliam, bskeggs, dracut-maint-list, hdegoede, jarodwilson, jeremy, jglisse, jonathan, josef, kernel-maint, lgoncalv, linville, masami256, mchehab, pbrobinson, peng.fan, ptalbert, steved, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: aarch64   
OS: Linux   
Whiteboard: AcceptedFreezeException
Fixed In Version: dracut-055-4.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-08 18:27:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 245418, 1891956    

Description Peng Fan 2021-05-25 02:53:37 UTC
ci_hdrc_imx.ko
typec.ko
tcpci.ko

modules under drivers/usb are missed.

Comment 1 Peng Fan 2021-05-25 03:11:32 UTC
Please add the extra three modules for i.MX8MM EVK board.

insmod kernel/drivers/usb/typec/typec.ko.xz
insmod kernel/drivers/usb/typec/tcpm/tcpm.ko.xz
insmod kernel/drivers/usb/typec/tcpm/tcpci.ko.xz

Thanks,
Peng.

Comment 2 Peter Robinson 2021-05-25 08:14:06 UTC
(In reply to Peng Fan from comment #1)
> Please add the extra three modules for i.MX8MM EVK board.

Add them to where? We already build them in the kernel.

Comment 3 Peng Fan 2021-05-25 08:45:48 UTC
The modules are needed when installing fedora 34 from usb disk, otherwise usb disk is not able to be detected. So I think should be added to initrd. i.MX8MM-EVK usb use typec interface, that's why we need these modules.

Comment 4 Peter Robinson 2021-05-25 08:56:34 UTC
OK, dracut generates the initrd. Will take a look.

Comment 5 Peng Fan 2021-05-25 09:24:04 UTC
In best case, when I could get a new build? Will it be back ported to Fedora 34?

Comment 6 Peng Fan 2021-06-02 10:35:01 UTC
Is there any update?

Comment 7 Peter Robinson 2021-06-02 10:47:25 UTC
(In reply to Peng Fan from comment #6)
> Is there any update?

It's on my backlog, when I know more it will be updated, if there's no update....

Comment 8 Peng Fan 2021-08-06 08:16:52 UTC
Hi Peter Robinson,

Please add the following three modules into Fedora initrd for i.MX8MM-EVK. I test with Fedora-IoT-IoT-ostree-aarch64-34-20210423.0.iso

insmod /mnt/5.11.12-300.fc34.aarch64/kernel/drivers/usb/typec/typec.ko.xz
insmod /mnt/5.11.12-300.fc34.aarch64/kernel/drivers/usb/typec/tcpm/tcpm.ko.xz
insmod /mnt/5.11.12-300.fc34.aarch64/kernel/drivers/usb/typec/tcpm/tcpci.ko.xz

With the upper three command, I could see usb disk.

Thanks,
Peng.

Comment 9 Peng Fan 2021-08-09 08:27:24 UTC
insmod /mnt/5.11.12-300.fc34.aarch64/kernel/drivers/usb/typec/typec.ko.xz
insmod /mnt/5.11.12-300.fc34.aarch64/kernel/drivers/usb/typec/tcpm/tcpm.ko.xz
insmod /mnt/5.11.12-300.fc34.aarch64/kernel/drivers/usb/typec/tcpm/tcpci.ko.xz

The upper three are needed both for i.MX8MM-EVK i.MX8MN-EVK in initrd.

Please help integrate.

Thanks,
Peng.

Comment 10 Peng Fan 2021-09-02 07:24:03 UTC
We are going to release our firmware and send to ARM for System-Ready IR certification.

So is it possible to get this done and we use the new ISO file?

Comment 11 Peter Robinson 2021-10-06 09:59:55 UTC
Patch sent upstream

Comment 12 Fedora Update System 2021-10-06 11:54:30 UTC
FEDORA-2021-03c5e0f32f has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-03c5e0f32f

Comment 13 Fedora Blocker Bugs Application 2021-10-06 11:56:23 UTC
Proposed as a Freeze Exception for 35-final by Fedora user pbrobinson using the blocker tracking app because:

 Affects SystemReady IR based platforms which are an IoT Edition supported platform.

Comment 14 Fedora Update System 2021-10-07 15:53:56 UTC
FEDORA-2021-03c5e0f32f has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-03c5e0f32f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-03c5e0f32f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Adam Williamson 2021-10-07 19:40:58 UTC
+3 in https://pagure.io/fedora-qa/blocker-review/issue/514 , marking accepted.

Comment 16 Fedora Update System 2021-10-08 18:27:32 UTC
FEDORA-2021-03c5e0f32f has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.