Skip to content

Commit

Permalink
[debug] try to keep the sata up
Browse files Browse the repository at this point in the history
  • Loading branch information
schneid-l committed Aug 12, 2024
1 parent c84d962 commit 85f4362
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
2 changes: 2 additions & 0 deletions installer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ var (
"swapaccount=1",
"irqchip.gicv3_pseudo_nmi=0",
"coherent_pool=2M",
"pcie_aspm=off",
"libata.force=noncq",
}

edk2DTBDest = "/boot/EFI/dtb/base"
Expand Down
5 changes: 5 additions & 0 deletions kernel/config
Original file line number Diff line number Diff line change
Expand Up @@ -2421,6 +2421,9 @@ CONFIG_SCSI_COMMON=y
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
CONFIG_SCSI_PROC_FS=y
CONFIG_SCSI_SATA=y
CONFIG_SCSI_SATA_AHCI=y
CONFIG_SCSI_TIMEOUT=60

#
# SCSI support type (disk, tape, CD-ROM)
Expand Down Expand Up @@ -2512,11 +2515,13 @@ CONFIG_SCSI_VIRTIO=y
CONFIG_ATA=y
CONFIG_SATA_HOST=y
CONFIG_PATA_TIMINGS=y
CONFIG_ATA_DEBUG=y
CONFIG_ATA_VERBOSE_ERROR=y
CONFIG_ATA_FORCE=y
CONFIG_ATA_ACPI=y
# CONFIG_SATA_ZPODD is not set
CONFIG_SATA_PMP=y
CONFIG_ATA_NONCQ=y

#
# Controllers with non-SFF native interface
Expand Down
12 changes: 10 additions & 2 deletions kernel/config.orangepi5
Original file line number Diff line number Diff line change
Expand Up @@ -921,5 +921,13 @@ CONFIG_FUNCTION_TRACER=y
CONFIG_BLK_DEV_IO_TRACE=y
CONFIG_LKDTM=y
CONFIG_STRICT_DEVMEM=y
CONFIG_SATA_MOBILE_LPM_POLICY=1
CONFIG_ACPI_PROCESSOR_IDLE=n
CONFIG_SATA_MOBILE_LPM_POLICY=0
CONFIG_ACPI_PROCESSOR_IDLE=n
CONFIG_SCSI_SATA=y
CONFIG_SCSI_SATA_AHCI=y
CONFIG_ATA_FORCE=y
CONFIG_ATA_NONCQ=y
CONFIG_SCSI_TIMEOUT=60
CONFIG_PM_RUNTIME=n
CONFIG_ATA_DEBUG=y
CONFIG_ATA_VERBOSE_ERROR=y

0 comments on commit 85f4362

Please sign in to comment.