pkg download command and patches
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
linux/headers 7.1.4
|
||||
linux/headers 7.2.3
|
||||
=
|
||||
https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-7.1.4.tar.xz
|
||||
https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-7.2.3.tar.xz
|
||||
|
||||
``` sh *** build ***
|
||||
make ARCH=x86 INSTALL_HDR_PATH=/pkg/gnu/linux/headers headers_install
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
linux/kernel-usb 7.0.12
|
||||
linux/kernel-usb 7.2.3
|
||||
=
|
||||
https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-7.0.12.tar.xz
|
||||
https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-7.2.3.tar.xz
|
||||
|
||||
``` sh *** patch ***
|
||||
mkdir -p certs
|
||||
@ -66,6 +66,10 @@ CONFIG_USB_HID=y
|
||||
CONFIG_HID=y
|
||||
CONFIG_HID_GENERIC=y
|
||||
|
||||
# AI
|
||||
CONFIG_HSA_AMD=y
|
||||
CONFIG_DRM_AMDGPU_USERPTR=y
|
||||
CONFIG_DRM_AMDGPU=y
|
||||
|
||||
# AeroLinux conf
|
||||
CONFIG_F2FS_FS=y
|
||||
@ -98,5 +102,9 @@ cp {certs/signing_key.pem,certs/signing_key.x509} /pkg/gnu/linux/kernel-usb/var/
|
||||
```
|
||||
|
||||
``` sh *** set ***
|
||||
modprobe vfat
|
||||
modprobe nls_cp437
|
||||
modprobe nls_iso8859-1
|
||||
mountpoint -q /boot/efi || mount /dev/nvme0n1p1 /boot/efi
|
||||
cp -r /pkg/gnu/linux/kernel-usb/var/BOOTX64.EFI /boot/efi/EFI/aerolinux/LinuxStub.efi
|
||||
```
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
linux/kernel 7.1.4
|
||||
linux/kernel 7.2.3
|
||||
=
|
||||
https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-7.1.4.tar.xz
|
||||
https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-7.2.3.tar.xz
|
||||
|
||||
``` sh *** patch ***
|
||||
mkdir -p certs
|
||||
@ -53,9 +53,13 @@ CONFIG_NVME_CORE=y
|
||||
CONFIG_NVME_HWMON=y
|
||||
CONFIG_F2FS_FS=y
|
||||
|
||||
# AI
|
||||
CONFIG_HSA_AMD=y
|
||||
CONFIG_DRM_AMDGPU_USERPTR=y
|
||||
|
||||
# AeroLinux conf
|
||||
CONFIG_CMDLINE_BOOL=y
|
||||
CONFIG_CMDLINE="root=PARTLABEL=aerolinux init=/pkg/gnu/s6/bin/s6-init rootwait rw console=tty0 earlycon=efifb loglevel=8 debug"
|
||||
CONFIG_CMDLINE="root=PARTLABEL=aerolinux init=/pkg/gnu/s6/bin/s6-init rootwait rw console=tty0 earlycon=efifb loglevel=8 debug amdgpu.gttsize=49152"
|
||||
CONFIG_MODPROBE_PATH="/pkg/gnu/bin/modprobe"
|
||||
ENDCONFIG
|
||||
|
||||
@ -87,5 +91,9 @@ pkg run set linux/kernel
|
||||
```
|
||||
|
||||
``` sh *** set ***
|
||||
modprobe vfat
|
||||
modprobe nls_cp437
|
||||
modprobe nls_iso8859-1
|
||||
mountpoint -q /boot/efi || mount /dev/nvme0n1p1 /boot/efi
|
||||
cp -r /pkg/gnu/linux/kernel/var/BOOTX64.EFI /boot/efi/EFI/aerolinux/LinuxStub.efi
|
||||
```
|
||||
|
||||
19
assets/var/gnu/linux/kernel/firmware/wireless-regdb.md
Normal file
19
assets/var/gnu/linux/kernel/firmware/wireless-regdb.md
Normal file
@ -0,0 +1,19 @@
|
||||
linux/kernel/firmware/wireless-regdb
|
||||
=
|
||||
https://git.kernel.org/pub/scm/linux/kernel/git/wens/wireless-regdb.git/snapshot/wireless-regdb-master-2026-09-03.tar.gz
|
||||
|
||||
``` sh *** build ***
|
||||
mkdir -p ../lib
|
||||
cp -Pl regulatory.db regulatory.db.p7s ../lib
|
||||
```
|
||||
|
||||
``` sh *** config ***
|
||||
pkg run set linux/kernel/firmware/wireless-regdb
|
||||
```
|
||||
|
||||
``` sh *** set ***
|
||||
cp -rPl lib ../
|
||||
```
|
||||
|
||||
# wireless regulatory db
|
||||
https://git.kernel.org/pub/scm/linux/kernel/git/wens/wireless-regdb.git/
|
||||
@ -1,9 +1,10 @@
|
||||
linux/kernel/modules 7.1.4
|
||||
linux/kernel/modules 7.2.3
|
||||
=
|
||||
https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-7.1.4.tar.xz
|
||||
https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-7.2.3.tar.xz
|
||||
|
||||
``` env *** env ***
|
||||
disable=true
|
||||
kernel_version=7.2.3
|
||||
```
|
||||
|
||||
``` sh *** patch ***
|
||||
@ -57,6 +58,10 @@ CONFIG_NVME_CORE=y
|
||||
CONFIG_NVME_HWMON=y
|
||||
CONFIG_F2FS_FS=y
|
||||
|
||||
# AI
|
||||
CONFIG_HSA_AMD=y
|
||||
CONFIG_DRM_AMDGPU_USERPTR=y
|
||||
|
||||
# AeroLinux conf
|
||||
CONFIG_CMDLINE_BOOL=y
|
||||
CONFIG_CMDLINE="root=PARTLABEL=aerolinux init=/pkg/gnu/s6/bin/s6-init rootwait rw console=tty0 earlycon=efifb loglevel=8 debug"
|
||||
@ -80,14 +85,9 @@ make olddefconfig
|
||||
./scripts/kconfig/merge_config.sh -m .config .config.base
|
||||
make olddefconfig
|
||||
make -j$(nproc) vmlinux modules
|
||||
make INSTALL_MOD_PATH=/pkg/gnu/linux/kernel/modules modules_install
|
||||
make MODLIB=/pkg/gnu/linux/kernel/modules/lib/$kernel_version modules_install
|
||||
mkdir -p /pkg/gnu/linux/kernel/var/certs
|
||||
cp System.map /pkg/gnu/linux/kernel/var/System.map
|
||||
cp .config /pkg/gnu/linux/kernel/var/config
|
||||
cp {certs/signing_key.pem,certs/signing_key.x509} /pkg/gnu/linux/kernel/var/certs || true
|
||||
```
|
||||
|
||||
``` sh *** config ***
|
||||
mv lib/modules/* lib
|
||||
rm -r lib/modules
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user