[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#762634: initramfs-tools: [armhf] mounting rootfs on USB disk fails / some USB host controller drivers missing in initramfs



On Tue, 2014-09-30 at 08:19 +0100, Ian Campbell wrote:
> On Fri, 2014-09-26 at 00:08 +0100, Ben Hutchings wrote:
> > However, at the moment initramfs-tools won't include PHY drivers even in
> > that configuration.
> 
> I spent some time last week hunting for a sysfs link between a device
> and the phys which it is using, without success. Do you have any ideas?

I suspect they're not visible there yet.

I think you could include all PHY drivers (drivers/phy and
drivers/usb/phy) when MODULES=most, and only the currently loaded
drivers if MODULES=dep.

USB non-generic PHY drivers don't appear in the device model at all
(ugh!) so in the MODULES=dep case you may have to bodge it by checking
for modules with names beginning with "phy-" (check both /sys/module
and /lib/modules/$(uname -r)/modules.builtin).

Ben.

-- 
Ben Hutchings
The two most common things in the universe are hydrogen and stupidity.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: