pkg download command and patches
This commit is contained in:
@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user