[Replicant] kernel_samsung_smdk4412: enable /proc/last_kmsg

Wolfgang Wiedmeyer wreg at wiedmeyer.de
Thu Aug 31 17:32:09 UTC 2017


Hi,

Joonas Kylmälä writes:

> It would be beneficial to have /proc/last_kmsg enabled for the kernel
> kernel_samsung_smdk4412. Users could then easily send their kernel logs
> for developers to look at. I included a patch to do this. Tested on i9305.

Thanks for the patch! It's nice to see you getting involved in
Replicant's development :)

However, I already have such a patch on my qmi branch[1] for
QMI-RIL[2]. I could push your patch if you send a v2 that mentions in
the commit title that it only enables it for i9305.

This is also a patch that would be worthwhile to upstream to
LineageOS to keep our diff small.

Cheers,
Wolfgang

> Joonas
> From 859a3b0ef5cfb592bd42c735e89fdaed31898921 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Joonas=20Kylm=C3=A4l=C3=A4?= <joonas.kylmala at iki.fi>
> Date: Tue, 29 Aug 2017 19:17:27 +0300
> Subject: [PATCH] Enable /proc/last_kmsg.
>
> ---
>  arch/arm/configs/lineageos_i9305_defconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/configs/lineageos_i9305_defconfig b/arch/arm/configs/lineageos_i9305_defconfig
> index c3accbe8d92..14ac7ab073c 100644
> --- a/arch/arm/configs/lineageos_i9305_defconfig
> +++ b/arch/arm/configs/lineageos_i9305_defconfig
> @@ -530,7 +530,7 @@ CONFIG_SEC_WATCHDOG_RESET=y
>  CONFIG_SEC_WATCHDOG_PET_TIME=0
>  CONFIG_SEC_LOG=y
>  CONFIG_SEC_LOG_NONCACHED=y
> -# CONFIG_SEC_LOG_LAST_KMSG is not set
> +CONFIG_SEC_LOG_LAST_KMSG=y
>  # CONFIG_EHCI_IRQ_DISTRIBUTION is not set
>  
>  #



[1]  https://code.fossencdi.org/kernel_samsung_smdk4412.git/commit/?h=qmi&id=f7fe80a616b9e7df54845df9f5e9a340bd527eb9

[2]  https://redmine.replicant.us/projects/replicant/wiki/QMI-RIL

-- 
Website: https://fossencdi.org
OpenPGP: 0F30 D1A0 2F73 F70A 6FEE  048E 5816 A24C 1075 7FC4
Key download: https://wiedmeyer.de/keys/ww.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/replicant/attachments/20170831/1f914961/attachment.asc>


More information about the Replicant mailing list