Commit Graph

16 Commits

Author SHA1 Message Date
Steve McIntyre b3a8ebd202 Include the Hisilicon Hibmc drm driver in fb-modules
Closes: #951274
2020-02-13 16:24:08 +00:00
Alper Nebi Yasak cc59373e08 [arm64] udeb: fb-modules: Include rockchipdrm, panel-simple, pwm_bl, pwm-cros-ec
Some ChromeOS devices need these for the display.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
2019-06-10 18:50:46 +03:00
Alper Nebi Yasak c8cdb80b66 [arm64] udeb: mmc-modules: Include phy-rockchip-emmc
Needed for internal storage on some ChromeOS devices.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
2019-06-10 18:50:46 +03:00
Alper Nebi Yasak cb05f8d52a [arm64] udeb: usb-modules: Include phy-rockchip-typec, extcon-usbc-cros-ec
On Samsung Chromebook Plus (v1) trying to boot from a rootfs on a USB
storage device without these modules in the initramfs, it drops to an
initramfs shell with a non-working display. For the d-i netboot image,
the screen doesn't turn on, but the installer menu works.

A recent change to initramfs-tools includes extcon-usbc-cros-ec, so
include that and a relevant PHY module here as well.

Relevant:
  https://salsa.debian.org/kernel-team/initramfs-tools/commit/994d698a

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
2019-06-10 18:50:45 +03:00
Alper Nebi Yasak 3c9e2d8dee [arm64] udeb: kernel-image: Include phy-rockchip-pcie
On some ChromeOS devices, this is required to connect to a wireless
network via mwifiex_pcie.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
2019-06-10 18:50:45 +03:00
Alper Nebi Yasak b68c83d156 [arm64] udeb: kernel-image: Include cros_ec_spi and SPI drivers
The cros_ec multifunction device provides the keyboard services on some
ChromeOS devices, but requires a bus to be enabled to communicate with
it. On Samsung Chromebook Plus (v1), including spi-rockchip and
cros_ec_spi are enough. A recent change in initramfs-tools included all
SPI drivers, so include them here as well.

Relevant:
  https://salsa.debian.org/kernel-team/initramfs-tools/commit/797e5fed

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
2019-06-10 18:50:45 +03:00
Marcin Juszkiewicz e8890b92b6 [arm64] udeb: Remove redundant lines from nic-modules
All drivers listed were Ethernet ones and such are added by global
config already.
2019-03-05 21:23:02 +01:00
Marcin Juszkiewicz 3afa55a954 [arm64] udeb: Use generic ata-modules
arm64 does not have any special ata drivers so instead of listing
'libata' we can just reuse global ones.
2019-03-05 21:23:01 +01:00
Ben Hutchings f98f9b5dcf udeb: Move drivers from {hyperv,virtio}-modules to {fb,input,nic,scsi}-modules
Now that the shared dependencies of these drivers are in kernel-image,
we can safely move them into the packages for each driver class.
2019-02-13 01:23:11 +00:00
Ben Hutchings 9235dbdde8 udeb: Add fb-modules and include drm and drm_kms_helper on most architecures
The previous version failed to build on alpha:

debian/virtio-modules-4.19.0-3-alpha-generic-di lib/modules/4.19.0-3-alpha-generic/kernel/drivers/i2c/i2c-core.ko
debian/i2c-modules-4.19.0-3-alpha-generic-di lib/modules/4.19.0-3-alpha-generic/kernel/drivers/i2c/i2c-core.ko

and sparc64:

debian/virtio-modules-4.19.0-3-sparc64-di lib/modules/4.19.0-3-sparc64/kernel/drivers/i2c/i2c-core.ko
debian/nic-modules-4.19.0-3-sparc64-di lib/modules/4.19.0-3-sparc64/kernel/drivers/i2c/i2c-core.ko

sparc64 was missing a i2c-modules package, but adding that just gets
it to the same state as alpha.  On both architectures drm_kms_helper
is included in the virtio-modules package as a dependency of
virtio-gpu, and then i2c-core is included as a dependency of
drm_kms_helper.

I don't think it makes sense to make virtio-modules directly depend on
i2c-modules.  (In fact I think virtio-modules was a mistake entirely.)
Instead, for all configurations that enable both DRM and virtio:

1. Add an fb-modules package if it doesn't already exist
2. Include drm and drm_kms_helper in it
2019-02-13 01:23:11 +00:00
Ben Hutchings 07c5106918 udeb: Add scsi-nic-modules containing Chelsio and Qlogic iSCSI/FC drivers
These drivers depend on the corresponding net drivers, or at least
common modules built under drivers/net/ethernet, currently leading
to duplicate modules.

I don't want to resolve this by adding a dependency between
nic-modules and scsi-modules, as that would pull in both into
installer images that previously only needed one set of drivers.  I
also don't want to add the common modules into kernel-image as that
would bloat all installer images.  Instead, put the drivers in a new
package and we can work out which installer images should include it
later.

Build scsi-nic-modules for all architectures/flavours that build
scsi-modules using the common module list now.
2019-02-11 14:00:58 +00:00
Ben Hutchings e62943f64c [arm64,armhf,ia64,riscv64,sparc64] udeb: Add usb-serial-modules
Closes: #903824
2019-02-10 18:13:34 +00:00
Ben Hutchings d4107bf973 Revert "[arm64] Add hisilicon drivers to the nic-modules udeb."
This reverts commit 542ffe7fe2.
All drivers built under drivers/net/ethernet are included already
and should not be explicitly listed.

Move the bug closure to the previous log line.
2018-11-23 19:51:52 +00:00
Uwe Kleine-König 542ffe7fe2 [arm64] Add hisilicon drivers to the nic-modules udeb. 2018-11-23 10:48:46 +01:00
Ben Hutchings 45a436cc18 udeb: Move MTD core from nic-modules to mtd-core-modules
The sfc net driver includes an MTD driver.  Currently this causes
nic-modules to include the MTD core on most architectures!
2018-10-09 15:59:16 +01:00
Ben Hutchings cbebd8c763 udeb: Merge configuration directories and files across architectures
Merge the configuration and default-configuration directories,
using per-architecture overrides in package-list.

This requires a newer version of kernel-wedge to support
Depends_<arch> properly.

The only immediate change to debian/control is to remove the
different description for nic-modules on sparc64.
2018-09-03 18:01:21 +01:00