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

Bug#815476: linux: [armhf] udeb: Add modules needed on Firefly-RK3288.



On Mon, 2016-02-22 at 00:08 -0800, Vagrant Cascadian wrote:
> On 2016-02-21, Ben Hutchings wrote:
> > On Sun, 2016-02-21 at 16:11 -0800, Vagrant Cascadian wrote:
> > > On 2016-02-21, Ben Hutchings wrote:
> > > > > --- a/debian/installer/armhf/modules/armhf-armmp/mmc-modules
> > > > > +++ b/debian/installer/armhf/modules/armhf-armmp/mmc-modules
> > > > > @@ -5,4 +5,5 @@ mmci
> > > > >  omap_hsmmc
> > > > >  sunxi-mmc
> > > > >  dw_mmc-exynos
> > > > > +dw_mmc-rockchip
> > > > >  sdhci-bcm2835
> > > > 
> > > > Would it make sense to replace this list with a wildcard in the default
> > > > mmc-modules file:
> > > > 
> > > >     drivers/mmc/host/**
> > > 
> > > Overall, I like the idea of using wildcards to include enabled drivers
> > > by default, so that drivers for new platforms get automatically
> > > included.
> ...
> > Please can you test whether that change would do the right thing for armhf.
> 
> First attempt resulted in:
> 
>         kernel-wedge find-dups 4.4.0-1-armmp
> some modules are in more than one package
> debian/usb-modules-4.4.0-1-armmp-di
> lib/modules/4.4.0-1-armmp/kernel/drivers/usb/common/usb-common.ko
> debian/mmc-modules-4.4.0-1-armmp-di
> lib/modules/4.4.0-1-armmp/kernel/drivers/usb/common/usb-common.ko
> debian/usb-modules-4.4.0-1-armmp-di
> lib/modules/4.4.0-1-armmp/kernel/drivers/usb/core/usbcore.ko
> debian/mmc-modules-4.4.0-1-armmp-di
> lib/modules/4.4.0-1-armmp/kernel/drivers/usb/core/usbcore.ko
> command exited with status 1
> make[2]: *** [install-udeb_armhf] Error 2
> debian/rules.real:449: recipe for target 'install-udeb_armhf' failed
[...]

We need to either exclude the USB-attached MMC host controllers from
mmc-modules:

ushc -
vub300 -

or make mmc-modules depend on usb-modules.

Ben.

-- 
Ben Hutchings
The generation of random numbers is too important to be left to chance.
                                                            - Robert Coveyou

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


Reply to: