diff --git a/feeds/ipq807x/ipq807x/config-4.4 b/feeds/ipq807x/ipq807x/config-4.4 index af9953aea..4d74b0c3a 100644 --- a/feeds/ipq807x/ipq807x/config-4.4 +++ b/feeds/ipq807x/ipq807x/config-4.4 @@ -548,7 +548,7 @@ CONFIG_PROC_PAGE_MONITOR=y CONFIG_PSTORE=y CONFIG_PSTORE_RAM=y # CONFIG_PSTORE_CONSOLE is not set -# CONFIG_PSTORE_PMSG is not set +CONFIG_PSTORE_PMSG=y CONFIG_PWM=y CONFIG_PWM_IPQ4019=y # CONFIG_PWM_PCA9685 is not set diff --git a/feeds/ipq807x/ipq807x/patches/106-pstore.patch b/feeds/ipq807x/ipq807x/patches/106-pstore.patch index dc3960306..e6a08979a 100644 --- a/feeds/ipq807x/ipq807x/patches/106-pstore.patch +++ b/feeds/ipq807x/ipq807x/patches/106-pstore.patch @@ -45,7 +45,7 @@ Index: linux-4.4.60-qsdk-11f09717303ecd83c3a64e9efe23f25921dc1016/fs/pstore/ram. =================================================================== --- linux-4.4.60-qsdk-11f09717303ecd83c3a64e9efe23f25921dc1016.orig/fs/pstore/ram.c +++ linux-4.4.60-qsdk-11f09717303ecd83c3a64e9efe23f25921dc1016/fs/pstore/ram.c -@@ -466,15 +466,46 @@ static int ramoops_init_prz(struct devic +@@ -466,15 +466,47 @@ static int ramoops_init_prz(struct devic return 0; } @@ -67,6 +67,7 @@ Index: linux-4.4.60-qsdk-11f09717303ecd83c3a64e9efe23f25921dc1016/fs/pstore/ram. + pdata->mem_address = res->start; + pdata->dump_oops = true; + pdata->record_size = 0x1000; ++ pdata->pmsg_size = 0x1000; + return 0; +} + @@ -92,7 +93,7 @@ Index: linux-4.4.60-qsdk-11f09717303ecd83c3a64e9efe23f25921dc1016/fs/pstore/ram. /* Only a single ramoops area allowed at a time, so fail extra * probes. */ -@@ -603,11 +634,17 @@ static int ramoops_remove(struct platfor +@@ -603,11 +635,17 @@ static int ramoops_remove(struct platfor return 0; }