Skip to content

Commit 15fde35

Browse files
committed
Remove pcie_ports=native and add pm_async=off
1 parent e0e47f7 commit 15fde35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

02_create_iso.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ cp "$CHROOT_DIR/boot/vmlinuz-$T2_KERNEL" "$ISO_WORK_DIR/casper/vmlinuz"
99
cp "$CHROOT_DIR/boot/initrd.img-$T2_KERNEL" "$ISO_WORK_DIR/casper/initrd"
1010

1111
echo >&2 "===]> Info: Modify existing grub.cfg ..."
12-
sed -i 's/--- quiet splash/boot=casper quiet splash intel_iommu=on iommu=pt pcie_ports=native ---/g' "$ISO_WORK_DIR/boot/grub/grub.cfg"
12+
sed -i 's/--- quiet splash/boot=casper quiet splash intel_iommu=on iommu=pt pm_async=off ---/g' "$ISO_WORK_DIR/boot/grub/grub.cfg"
1313

1414
echo >&2 "===]> Info: Creating EFI image ... "
1515
dd if=/dev/zero of="$ISO_WORK_DIR/EFI/efiboot.img" bs=1M count=10

chroot_iso.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ echo "deb [signed-by=/etc/apt/trusted.gpg.d/t2-ubuntu-repo.gpg] https://github.c
1414
apt update
1515

1616
# Add Kernel Parameters to GRUB for Installed System
17-
sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=on iommu=pt pcie_ports=native"/' /etc/default/grub
17+
sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=on iommu=pt pm_async=off"/' /etc/default/grub
1818
update-grub
1919
apt install -y apple-t2-audio-config apple-firmware-script
2020
apt install -y linux-t2=${KERNEL_VERSION}-${PKGREL}-${CODENAME}

0 commit comments

Comments
 (0)