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

Bug#762066: CONFIG_OCTEON_USB=y



On Thu, Sep 18, 2014 at 10:09:57PM +0200, Heinrich Schuchardt wrote:
> 
> 
> Am 18.09.14 um 21:41 schrieb Aurelien Jarno
> 
> > On Thu, Sep 18, 2014 at 08:48:35PM +0200, Heinrich Schuchardt wrote:
> > 
> > > 
> > 
> > > 
> > 
> > > Am 18.09.14 um 19:15 schrieb Aurelien Jarno
> > 
> > > 
> > 
> > > > On Thu, Sep 18, 2014 at 07:25:09AM +0200, Heinrich Schuchardt wrote:
> > 
> > > > 
> > 
> > > > > Package: linux-image-octeon
> > 
> > > > 
> > 
> > > > > Version: 3.16+60
> > 
> > > > 
> > 
> > > > > Severity: important
> > 
> > > > 
> > 
> > > > > 
> > 
> > > > 
> > 
> > > > > Booting from the internal USB drive of an Ubiquity EdgeRouter Lite requires
> > 
> > > > 
> > 
> > > > > CONFIG_OCTEON_USB=y
> > 
> > > > 
> > 
> > > > > 
> > 
> > > > 
> > 
> > > > > Please, add this to the kernel config file of Octeon Linux images.
> > 
> > > > 
> > 
> > > > > 
> > 
> > > > 
> > 
> > > > > At least as of Kernel 3.17-rc4 the driver works without problems.
> > 
> > > > 
> > 
> > > > 
> > 
> > > > 
> > 
> > > > Why do you need it defined as built-in? Couldn't it be defined as a
> > 
> > > > 
> > 
> > > > module instead and then loaded though by initramfs?
> > 
> > > > 
> > 
> > > 
> > 
> > > If using initramfs this would be on the same partition of the USB device as vmlinux.
> > 
> > 
> > 
> > True
> > 
> > 
> > 
> > > U-boot loads vmlinux. How can vmlinux read initramfs from USB without built in USB
> > 
> > > support? Which package will generate initramfs?
> > 
> > 
> > 
> > vmlinux doesn't load the initramfs, it's the responsibility of U-boot to
> > 
> > do so. The initramfs should be created automatically with a recent
> > 
> > Debian kernel (>= 3.14).
> > 
> > 
> > 
> > In your case we still need to activate CONFIG_OCTEON_USB. That could be
> > 
> > done easily as a module, we don't want it as built-in.
> > 
> > 
> How do we ensure that the octeon USB driver module ends up in initramfs? Is some modprobe configuration file entry needed? Will this entry be part of package linux-image-octeon?

It's something configurable in /etc/initramfs-tools/initramfs.conf, but
by default most modules will end-up in the initramfs.

Aurelien


-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: