Commit Graph

73 Commits

Author SHA1 Message Date
Anton Midyukov
75dc91e721 kernel: add all drivers hid to initrd
In order to support all possible keyboards in initrd.
2024-08-16 17:49:05 +03:00
Anton Midyukov
e42252d859 kernel: set default KFLAVOUR for armh to mp
This kernel is best supported for armh.
2024-03-14 16:50:53 +07:00
Anton Midyukov
a90e78bd95 kernel: add make-initrd to base packages in use/kernel/initrd-setup
At the moment this target is focused exclusively on make-initrd,
but some weird kernels don't have a dependency on mkinitrd.
It's loongarch64 again.
2023-07-24 09:59:42 +07:00
Anton Midyukov
a7d2e27cde Initial loongarch64 support 2023-07-14 21:33:02 +07:00
Anton Midyukov
db845f5495 kernel: add crc32_generic kernel module to initrd (needed for f2fs) 2023-07-03 14:50:13 +07:00
Anton Midyukov
363ba22a2e Include README of features to documentation; fix syntax & links in them 2023-03-18 21:57:39 +07:00
Anton Midyukov
5559ae3ca8 kernel: add kernel modules for drivers/spi to initrd (armh, aarch64,ricv64)
Needed for Sifive Unmatched (riscv64), but may be useful for other SBCs
as well.
Reported by iv@
2023-01-20 18:08:43 +07:00
Anton Midyukov
6279ec89d6 kernel: add the same modules to initrd for riscv64 as for aarch64
To support single board computers on riscv64.
2022-06-15 22:05:30 +07:00
Anton Midyukov
e245447c06 kernel: drop std-pae kernel flavour
kernel-image-std-pae removed from Sisyphus and p10.
2022-04-05 14:12:14 +07:00
9050777353 kernel: exclude bcmwl kernel module, see bug#41620 2022-03-02 11:04:46 +07:00
Anton Midyukov
16cf9510b5 kernel, server: drop kernel-modules-igb, kernel-modules-e1000e
kernel-modules-igb not available for branch >= p7
kernel module e1000e in p10 is packed according to the blacklist
scheme, this blacklist is applied to all the kernels and the
internal e1000e from un-def-5.15 does not work as a result.
Reported by boyarsh@
2021-12-29 23:04:30 +07:00
Anton Midyukov
a64ceaaa82 kernel: add tegra-drm.ko to initrd (armh, aarch64) 2021-12-20 23:19:55 +07:00
Anton Midyukov
323fe9fd0c kernel: add framebuffer support in initrd for Sunxi, Rockchip SBC 2021-12-20 23:19:02 +07:00
Anton Midyukov
e009976d9e kernel: add fbdev kernel modules to initrd 2021-12-20 23:11:42 +07:00
Dmitriy Terekhin
f69132f575 kernel: add drivers/nvme to initrd 2021-10-26 19:16:22 +07:00
Anton Midyukov
d24c7524b6 kernel: add drivers/mfd drivers/clk to initrd for aarch64, armh
Needed for i2c support on singleboard. Needed for bootloading with
micro-SD on Rockchip rk3399.
2021-10-02 18:30:42 +07:00
Anton Midyukov
63030b67e0 kernel: add use/kernel/disable-usb-autosuspend
Now, when CONFIG_USB=y, to disable usb autosuspend, must pass this
parameter when bootloading the kernel.
Package disable-usb-autosuspend has become useless.
2021-10-01 00:21:59 +07:00
e1bbca0de6 kernel/stage1: prevent to include nvidia to init kernel modules for livecd 2021-09-28 22:16:45 +07:00
93ecd545be kernel: add rtw89 wifi kernel module for support Realtek RTL8852AE 2021-09-28 22:16:45 +07:00
Anton Midyukov
11cfd52dbb kernel: add drivers/soc to VM_INITRDMODULES 2021-08-31 00:45:31 +07:00
Mikhail Gordeev
822820c3ea kernel: Fix typo in virtio_scsi module 2021-08-13 21:52:53 +07:00
Anton Midyukov
d498289596 dev, kernel: not set BIGRAM to std-def
It does not need to be set to std-def, if it is available, then it
is already by default.
2021-06-18 18:06:29 +07:00
Anton Midyukov
c8bbabcd2a kernel: add missing virtio kernel modules to VM_INITRDMODULES
fix commit e00c4243d8 regression.
2021-06-06 19:55:23 +07:00
Anton Midyukov
f1df1961d3 kernel: exclude drivers/rtc from VM_INITRDMODULES
rtc not needed in initrd.
2021-05-14 12:48:26 +07:00
Anton Midyukov
e00c4243d8 kernel: optimization use/kernel/initrd-setup
make-initrd supports adding module directories.
2021-05-12 03:02:10 +07:00
Anton Midyukov
27e167b25c initrd-propagator, stage1: Replace 80-make-initrd to initrd-propagator
This will allow in the future to use a different initrd option when
building images, for example dracut.
Also drop old make-inird support.
2021-04-12 23:13:57 +07:00
Anton Midyukov
d08d14025a kernel/lib/10-kernel.mk: sort modules, removing duplicates
Another workaround for https://bugzilla.altlinux.org/show_bug.cgi?id=39663
2021-04-04 15:48:04 +07:00
Anton Midyukov
d2d94796d6 kernel, wireless: Replace kernel modules to use/kernel/wireless 2021-04-04 15:43:38 +07:00
Ivan A. Melnikov
8e9fa2bd63 kernel: Add initrd features usb, qemu for mipsel
Available for mipsel too.
2021-02-18 02:52:24 +07:00
Anton Midyukov
63fc0919db kernel: Removed kernel modules that haven't been built for a long time 2021-02-15 19:14:23 +07:00
Anton Midyukov
d86bb07f4a kernel: Add initrd feature usb for more architectures
In make-initrd >= 2.5.0-alt1 feature usb requires kernel modules optional.
2021-02-14 23:22:56 +07:00
Anton Midyukov
58e83cea49 build-vm, kernel: Not add specified initrd features into initrd.mk
This features not needed for auto-detect.
We also add features not only to initrd.mk, but also specify them
explicitly in the command.
2021-02-01 18:04:40 +07:00
Anton Midyukov
fb1ad2cae0 kernel: Added initrd moule reset_raspberrypi for Raspberry Pi 4 8 GB support 2021-01-26 12:02:29 +07:00
Anton Midyukov
9995046215 kernel: Add module for Realtek R8125 into use/kernel/net 2020-11-06 19:20:01 +07:00
Anton Midyukov
f33644ed3b kernel: Set default kernel to std-def for armh 2020-10-26 16:54:20 +07:00
Mikhail Gordeev
a25b75e578 kernel: add virtio-gpu module for vms 2020-09-18 12:45:09 +07:00
Michael Shigorin
04a6489df0 kernel: introduce use/kernel/latest
Kernel flavours differ on secondary arches (and there's a bunch
of platform-specific kernels for ARM systems), so let's provide
some more flexible scheme than hardwiring un-def into images.

This might be further enhanced to e.g. set KFLAVOURS to
$$(KFLAVOURS_LATEST)) with it being preset to un-def
where available so rpi images could set it to rpi-un,
and still get reasonable starterkits for free.

The corresponding commit in RELENG-e2k-p9-starterkits
private branch just tore un-def apart => unmergeable.
2020-09-07 20:25:38 +03:00
Anton Midyukov
cd88c10e95 kernel: Do not use initrd feature qemu for riscv64 2020-07-02 01:02:37 +07:00
Anton Midyukov
eb16754afb kernel: initrd module sdhci-pltfm for all arches 2020-05-22 13:34:37 +07:00
Anton Midyukov
2c761b78d7 kernel, stage2: add bcm2835-dma in initrd for Raspberry Pi 3 (kernel >= 5.6) 2020-05-22 13:34:37 +07:00
ce4fb154a4 kernel: Added use/kernel/drm 2020-05-22 13:34:37 +07:00
Anton Midyukov
a6051acf94 kernel, stage2: make initrd and initfs for all kernels 2020-05-22 13:34:35 +07:00
Anton Midyukov
f0a02f043d kernel: Added INITRD_MODULES more for aarch64, armh, cleanup 2020-05-01 23:49:57 +07:00
Anton Midyukov
a5d46a88ca kernel: add Rockchip SoC support 2020-05-01 23:49:57 +07:00
Anton Midyukov
9040722f11 kernel: added initrd modules for support USB boot on Raspberry Pi
xhci-plat-hcd needed for USB boot on Raspberry Pi 4B
dwc2 needed for USB boot on Raspberry Pi 3B, 3B+
2020-05-01 23:49:57 +07:00
Anton Midyukov
2398b75a10 kernel: initrd-setup refactoring
VM_INITRDFEATURES qemu not allowed for e2k only. This feature
added modules optionaly.
VM_INITRDFEATURES usb allowed for all arches, but the presence of all
modules is required. Therefore, for all arches all usb modules are
optionally added.
2020-04-07 22:35:52 +07:00
Anton Midyukov
8c68a3c5d5 build-vm, kernel, uboot: setup /etc/fstab for build-vm
The entry in /etc/fstab about the mount parameters of the root
partition needs to be done not only for builds with u-boot.
But, if the record already exists, then it will not be added.
The file system type is set by the variable VM_FSTYPE.
2020-04-07 22:35:52 +07:00
Anton Midyukov
801e99b087 build-vm, kernel, uboot: return possibility of changing boot sequence of kernels
Since packet sorting is enabled by default, then
the order in KFLAVORS has ceased to matter.
Kernels are always installed in alphabetical order.
Therefore, it makes no sense to sort by buildtime.
See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=30806

Also fixed my typo. When creating a symlink, the variable
$kver was used, i.e. the entire list of kernels, not the
last value $KVER of the list.
2020-04-07 22:35:52 +07:00
Michael Shigorin
a524a6800a kernel: disable make-initrd debug script
This one has filled up the entire 8 Mb tmpfs
while running inside installer stage1 on a
124-drive system (configured as JBOD).

Reported-by: http://norsi-trans.ru
2020-01-17 17:03:24 +03:00
Anton Midyukov
d571fb794b kernel: add initrd module ahci_platform for aarch64, armh
ahci_platform needed for Baikal M.

Suggested-by: Sergey Bolshakov <sbolshakov@altlinux.org>
2019-11-08 16:07:52 +03:00