Skip to content

Commit

Permalink
- Updated to kernel 4.19.53
Browse files Browse the repository at this point in the history
- Added patches for two ARM errata that cause hangs in specific cpu states

- Disabled some power management features:
  - Disabled suspend at the kernel level since it is broken/unsupported in the mainline kernel
  - Disabled APM emulation

- Disabled some USB features:
  - Disabled USB default persist
  - Disabled USB dynamic minors

- Disabled USB monitoring for debug, shouldn't be enabled by default
- Disabled USB 3.0 support, shouldn't be enabled as the c201 has no 3.0 ports

- removed two patches that have made it into 4.19
- removed the debug options from the cmdline
- made the kernel build script announce what patch is being applied
- removed light-locker, as it does not function properly
  • Loading branch information
SolidHal committed Jun 22, 2019
1 parent 5999c43 commit 1c0e6ab
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 326 deletions.
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# You should have received a copy of the GNU General Public License
# along with PrawnOS. If not, see <https://www.gnu.org/licenses/>.

KVER=4.19.49
KVER=4.19.53
ifeq ($(PRAWNOS_SUITE),)
PRAWNOS_SUITE=buster
endif
Expand Down
2 changes: 1 addition & 1 deletion resources/BuildResources/cmdline
Original file line number Diff line number Diff line change
@@ -1 +1 @@
console=tty1 init=/sbin/init root=PARTUUID=%U/PARTNROFF=1 rootfstype=ext4 rootwait ro net.ifnames=0 console=ttyS2,115200n8 earlyprintk=ttyS2,115200n8 loglevel=4
console=tty1 init=/sbin/init root=PARTUUID=%U/PARTNROFF=1 rootfstype=ext4 rootwait ro net.ifnames=0
42 changes: 14 additions & 28 deletions resources/BuildResources/config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 4.19.49-gnu Kernel Configuration
# Linux/arm 4.19.53-gnu Kernel Configuration
#

#
Expand Down Expand Up @@ -360,8 +360,12 @@ CONFIG_ARM_ERRATA_773022=y
CONFIG_ARM_ERRATA_818325_852422=y
CONFIG_ARM_ERRATA_821420=y
CONFIG_ARM_ERRATA_825619=y
CONFIG_ARM_ERRATA_857271=y
CONFIG_ARM_ERRATA_CR711784_A12=y
# CONFIG_ARM_ERRATA_852421 is not set
CONFIG_ARM_ERRATA_852423=y
# CONFIG_ARM_ERRATA_852423 is not set
# CONFIG_ARM_ERRATA_857272 is not set
# CONFIG_ARM_ERRATA_CR711784_A17 is not set

#
# Bus support
Expand Down Expand Up @@ -483,7 +487,6 @@ CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_ARM_APPENDED_DTB=y
# CONFIG_ARM_ATAG_DTB_COMPAT is not set
CONFIG_CMDLINE=""
# CONFIG_KEXEC is not set
# CONFIG_CRASH_DUMP is not set
CONFIG_AUTO_ZRELADDR=y
# CONFIG_EFI is not set
Expand Down Expand Up @@ -550,24 +553,14 @@ CONFIG_KERNEL_MODE_NEON=y
#
# Power management options
#
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
# CONFIG_SUSPEND_SKIP_SYNC is not set
# CONFIG_SUSPEND is not set
# CONFIG_HIBERNATION is not set
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
# CONFIG_PM_AUTOSLEEP is not set
# CONFIG_PM_WAKELOCKS is not set
CONFIG_PM=y
CONFIG_PM_DEBUG=y
CONFIG_PM_ADVANCED_DEBUG=y
# CONFIG_PM_TEST_SUSPEND is not set
CONFIG_PM_SLEEP_DEBUG=y
CONFIG_APM_EMULATION=y
# CONFIG_PM_DEBUG is not set
# CONFIG_APM_EMULATION is not set
CONFIG_PM_CLK=y
CONFIG_PM_GENERIC_DOMAINS=y
# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
CONFIG_PM_GENERIC_DOMAINS_SLEEP=y
CONFIG_PM_GENERIC_DOMAINS_OF=y
CONFIG_CPU_PM=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
Expand Down Expand Up @@ -1590,7 +1583,6 @@ CONFIG_INPUT_MATRIXKMAP=y
# CONFIG_INPUT_JOYDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set
# CONFIG_INPUT_APMPOWER is not set

#
# Input Device Drivers
Expand Down Expand Up @@ -1658,7 +1650,6 @@ CONFIG_TTY=y
CONFIG_VT=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
CONFIG_VT_CONSOLE_SLEEP=y
CONFIG_HW_CONSOLE=y
CONFIG_VT_HW_CONSOLE_BINDING=y
CONFIG_UNIX98_PTYS=y
Expand Down Expand Up @@ -1982,7 +1973,6 @@ CONFIG_SYSCON_REBOOT_MODE=y
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_APM_POWER is not set
# CONFIG_GENERIC_ADC_BATTERY is not set
# CONFIG_TEST_POWER is not set
# CONFIG_CHARGER_ADP5061 is not set
Expand Down Expand Up @@ -2836,24 +2826,20 @@ CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
#
# Miscellaneous USB options
#
CONFIG_USB_DEFAULT_PERSIST=y
CONFIG_USB_DYNAMIC_MINORS=y
CONFIG_USB_OTG=y
# CONFIG_USB_DEFAULT_PERSIST is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_OTG is not set
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_OTG_BLACKLIST_HUB is not set
# CONFIG_USB_OTG_FSM is not set
# CONFIG_USB_LEDS_TRIGGER_USBPORT is not set
CONFIG_USB_MON=y
# CONFIG_USB_MON is not set
# CONFIG_USB_WUSB_CBAF is not set

#
# USB Host Controller Drivers
#
# CONFIG_USB_C67X00_HCD is not set
CONFIG_USB_XHCI_HCD=y
# CONFIG_USB_XHCI_DBGCAP is not set
CONFIG_USB_XHCI_PCI=y
CONFIG_USB_XHCI_PLATFORM=y
# CONFIG_USB_XHCI_HCD is not set
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
Expand Down

This file was deleted.

Loading

1 comment on commit 1c0e6ab

@SolidHal
Copy link
Owner Author

@SolidHal SolidHal commented on 1c0e6ab Jun 24, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The arm errata patches actually landed in commit 8a7fa39

Please sign in to comment.