[Arm-dev] RPI / kernel config

Mon Aug 6 13:47:29 UTC 2018
Stephan Guilloux <stephan.guilloux at crisalid.com>

OK, thx.

     [root at RPI-C9A58C ~]# ll /proc/config.gz
     ls: cannot access /proc/config.gz: No such file or directory
     [root at RPI-C9A58C ~]# modprobe config
     modprobe: FATAL: Module config not found.
     [root at RPI-C9A58C ~]# modprobe configs
[root at RPI-C9A58C ~]# ll /proc/config.gz
     -r--r--r--. 1 root root 36621 Aug  6 15:31 /proc/config.gz
     [root at RPI-C9A58C ~]# zcat /proc/config.gz | head
     #
     # Automatically generated file; DO NOT EDIT.
     # Linux/arm 4.14.52-v7.1.el7 Kernel Configuration
     #
     CONFIG_ARM=y
     CONFIG_ARM_HAS_SG_CHAIN=y
     CONFIG_MIGHT_HAVE_PCI=y
     CONFIG_SYS_SUPPORTS_APM_EMULATION=y
     CONFIG_HAVE_PROC_CPU=y
     CONFIG_STACKTRACE_SUPPORT=y
     [root at RPI-C9A58C ~]#

Was trying "modprobe config" too, but it's "modprobe configs" ...
Grrr ;-)



Le 06/08/2018 à 15:01, Chris Smith a écrit :
> Hey Stephen,
>
> First, check in /proc for "config.gz".
>
> If you don't have it, try running "modprobe config" and then check again.
>
> You can then use the generated "config.gz" with "make oldconfig" and 
> "make menuconfig".
>
> Hth,
>
> Chris
>
> On Mon, Aug 6, 2018, 8:13 AM Stephan Guilloux 
> <stephan.guilloux at crisalid.com <mailto:stephan.guilloux at crisalid.com>> 
> wrote:
>
>     Hi all,
>
>     Is there any way to know the compilation options used to build the
>     kernel ?
>
>     At least, on a x86_64, we have something like
>     config-3.10.0-862.3.3.el7.x86_64
>     On raspberry, I did not find anything in /proc nor in /boot.
>
>     Regards,
>     Stephan.
>
>     _______________________________________________
>     Arm-dev mailing list
>     Arm-dev at centos.org <mailto:Arm-dev at centos.org>
>     https://lists.centos.org/mailman/listinfo/arm-dev
>
>
>
> _______________________________________________
> Arm-dev mailing list
> Arm-dev at centos.org
> https://lists.centos.org/mailman/listinfo/arm-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/arm-dev/attachments/20180806/c7b979a3/attachment-0006.html>