Commit Graph

20 Commits

Author SHA1 Message Date
4c0108140f
follow-up for 7e8c51f527 (c9e684a79a) 2023-12-03 07:57:14 +05:30
2cb80fc826
bump kernel-stable from 6.6.1-004 to 6.6.1-005 2023-12-02 20:07:04 +05:30
7e8c51f527
follow-up for 4dc6c81267 (c9e684a79a) 2023-12-02 20:06:36 +05:30
d4a65ac545
bump kernel-stable from 6.6.1-003 to 6.6.1-004 2023-12-01 21:03:04 +05:30
4dc6c81267
follow-up for c9e684a79a 2023-12-01 21:02:41 +05:30
3739265fe6
bump kernel-stable from 6.6.3-002 to 6.6.3-003 2023-12-01 19:00:40 +05:30
c9e684a79a
build Rockchip (DreamWare) MMC drivers ("extensions") as built-in 2023-12-01 19:00:07 +05:30
88ed14bd37
use uname -m instead of uname -r 2023-12-01 07:54:25 +05:30
d5e479a85f
bump kernel-stable from 6.6.3-001 to 6.6.3-002 2023-12-01 06:53:10 +05:30
ea0c4797e8
switch from overriding rhel config to using fedora config 2023-12-01 06:45:29 +05:30
75e8c29774
bump kernel-stable from 6.6.1-003 to 6.6.3-001 2023-11-29 08:03:00 +05:30
0097070fdf
bump kernel-stable from 6.6.1-002 to 6.6.1-003 2023-11-21 22:03:09 +05:30
cc915e4393
config-aarch64: I have now entered my final form! 2023-11-21 22:02:21 +05:30
b6bc0f627e
reduce RHEL's overrides over platform's defconfig
(also bump kernel-stable from 6.6.1-001 to 6.6.1-002)

Out of all overrides that scripts/kconfig/merge_config.sh has mentioned
(and captured in rhel/log.merge_config), some have been kept for the sake of
keeping the kernel behaviour "mostly" RHEL-like. Except for the following
overrides, all other overrides have been removed:

CONFIG_SERIO_SERPORT=m

CONFIG_VFAT_FS=m
CONFIG_SQUASHFS=m
CONFIG_NFS_FS=m
CONFIG_NFS_V4=m

CONFIG_CRYPTO_ANSI_CPRNG=m
CONFIG_CRYPTO_USER_API_RNG=y
CONFIG_CRYPTO_CHACHA20_NEON=y
CONFIG_CRYPTO_GHASH_ARM64_CE=m
CONFIG_CRYPTO_SHA1_ARM64_CE=m
CONFIG_CRYPTO_SHA2_ARM64_CE=m

CONFIG_CMA_SIZE_MBYTES=0
2023-11-20 13:59:02 +05:30
d1070076a9
add .gitignore 2023-11-20 13:32:40 +05:30
8059a4b285
bump stable from 6.6.1-0 to 6.6.1-001 2023-11-19 11:20:33 +05:30
30d3add7d3
do a "defconfig + elconfig" to get a .config
- Copy rhel/diff.config to config-aarch64.
- Enable building the kernel config in such a way that the defconfig's
  options are _used_ but certain RHEL-specific options are overridden.
- The build salt got carried over from the RHEL diff.config, remove that.
- Unset CONFIG_DEBUG_INFO_REDUCED so that CONFIG_DEBUG_INFO_BTF can be
  enabled. Otherwise the build fails at the step where the bpftool
  package gets built.
2023-11-19 09:13:36 +05:30
ff349cb793
(**ARM64 ONLY**) create temporary "defconfig"
Following was done for the stock RHEL9 kernel configuration with the
source tarball **always** originating from kernel.org as the upstream:
```
cp ~/kernels/rhel/config-5.14.0-284.30.1.el9_2.aarch64 .config

make savedefconfig 2>&1 | tee ~/kernels/rhel/log.savedefconfig
cp defconfig ~/kernels/rhel/rhel.defconfig

grep --line-regexp --fixed-strings --invert-match --file arch/arm64/configs/defconfig ~/kernels/rhel/rhel.defconfig > ~/kernels/rhel/diff.config

cp ~/kernels/rhel/diff.config arch/arm64/configs/rhel.config
./scripts/kconfig/merge_config.sh arch/arm64/configs/defconfig arch/arm64/configs/rhel.config 2>&1 | tee ~/kernels/rhel/log.merge_config

cp .config ~/kernels/rhel/.config
```

TODO1:
find overrides by grepping for
`Value of CONFIG_* is redefined by fragment arch/arm64/configs/rhel.config:`
and remove them from config-aarch64

TODO2:
find missing configs by grepping for
`Value requested for CONFIG_* not in final .config`
and fix them
2023-11-18 13:38:24 +05:30
5d13ad5dc4
make the SPEC file more generic
- Removed versions from file names.
- Add spec files that specify items that vary between kernel versions.
- Move the kernel-ml SPEC file as the file that gets included.
- Make the include file more "generic" such that a kernel can be built
  with only version, package name and source0 specified.
- Do not `exit 1` on finding new options.
- Remove the '-s' that gets passed to the make macro to get "normally
  verbose" build output.
2023-11-18 10:43:17 +05:30
439b8e03af
initial commit
files populated by extracting the "nosrc" SRPM from
https://elrepo.org/linux/kernel/el9/SRPMS/kernel-ml-6.6.1-1.el9.elrepo.nosrc.rpm
2023-11-18 10:08:53 +05:30