Bug 1110912 - pxeboot initrd image missing modules required for Jetson TK1
Summary: pxeboot initrd image missing modules required for Jetson TK1
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1110909
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-18 18:39 UTC by Stephen Warren
Modified: 2014-07-23 17:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-30 17:43:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Stephen Warren 2014-06-18 18:39:38 UTC
The pxeboot initrd at:

http://mirror.pnl.gov/fedora/linux/development/rawhide/armhfp/os/images/pxeboot/initrd.img

... is missing various modules required for full HW support of the NVIDIA Tegra Jetson TK1 board:

# Required to communicate with AS3722 PMIC:
drivers/i2c/busses/i2c-tegra.ko

# Required to power on various HW, such as HDMI ports, (and USB VBUS?):
drivers/regulator/gpio-regulator.ko
drivers/regulator/as3722-regulator.ko

# Required for USB, which is useful e.g. when using USB networking to download the
# stage2(?) installer image from the initrd:
drivers/usb/phy/phy-tegra-usb.ko
drivers/usb/host/ehci-tegra.ko

Comment 1 Stephen Warren 2014-06-18 22:54:02 UTC
The initrd that's generated during the install process (and presumably whenever a new kernel is installed once the system is booted) is additionally missing the following module:

drivers/mmc/host/sdhci-tegra.ko

Should I file a separate bug for that issue, or is this one good?

(although note that I ran the installer under a kernel I built myself rather than the zImage from the pxeboot URL I mentioned above, so it's possible that confused it)

Comment 2 Stephen Warren 2014-06-19 15:50:09 UTC
Thinking about it, the issue mentioned in comment 1 is likely simple a dup of bug 1110963; since the LPAE kernel (which was installed) has no Tegra support, there are no Tegra modules built for the kernel the initrd was built for.

The initial bug description here is still valid though.

Comment 3 Peter Robinson 2014-06-30 17:43:42 UTC
Fixed in dracut-38

Comment 4 Stephen Warren 2014-07-23 17:46:50 UTC
Just to close the loop here and provide some "QA":

I grabbed a copy of today's rawhide, and booted the pxeboot image on Jetson TK1 using a serial port. It works well enough to:

* Display kernel (and later, user-space) messages during boot.

* Download the "second stage"(?) filesystem using an ASIX USB Ethernet dongle.

* Start the installer

So, I can confirm this bug is fixed.

FWIW, my extlinux.conf extract for U-Boot was as follows:

LABEL fedora-installer-fk
        MENU LABEL Fedora installer w/ Fedora kernel
        LINUX fedora-installer/vmlinuz
        INITRD fedora-installer/initrd.img.orig
        FDTDIR fedora-installer/dtb
        APPEND console=ttyS0,115200n8 loglevel=8 ip=dhcp inst.repo=http://10.20.204.51/mirrors/fedora/linux/development/rawhide/armhfp/os/ rd.shell

HDMI video doesn't seem to work yet while booting the installer kernel at least, and I haven't actually tested doing an install.


Note You need to log in before you can comment on or make changes to this bug.