User Tools

Site Tools


user:mrholub:kernel-crosscompiling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
user:mrholub:kernel-crosscompiling [2017/05/08 19:38] mrholubuser:mrholub:kernel-crosscompiling [2017/05/08 19:51] (current) mrholub
Line 1: Line 1:
  Script: rpi_kernel_cross_compilling.sh  Script: rpi_kernel_cross_compilling.sh
    
- Description: Prepares environment variables. +Description:  
-       Downloads and kernel sources and compile tools. +   Prepares environment variables. 
-       Compiles kernel  along with modules and installs +   Downloads and kernel sources and compile tools. 
-       these on RPI's SD card. +   Compiles kernel  along with modules and installs 
-              Actions on the following page are performed for default +   these on RPI's SD card. 
-       kernel settings : +   Actions on the following page are performed for default 
-      https://www.raspberrypi.org/documentation/linux/kernel/building.md +   kernel settings : 
-     .config file is created in case of custom settings +   https://www.raspberrypi.org/documentation/linux/kernel/building.md 
-     via menuconfig.  +   .config file is created in case of custom settings 
 +   via menuconfig.  
  
- Usage: +Usage: 
-          Mount boot partition with kernel files (fat32) in /mnt/fat32 +    Mount boot partition with kernel files (fat32) in /mnt/fat32 
-          Mount root partition with modules (ext4) in /mnt/ext4 +    Mount root partition with modules (ext4) in /mnt/ext4 
-          Paths can be changed in values BOOT_FAT32_PATH and ROOT_EXT4_PATH. +    Paths can be changed in values BOOT_FAT32_PATH and ROOT_EXT4_PATH. 
-   Select for which RPI hardware version should be kernel compiled  +    Select for which RPI hardware version should be kernel compiled  
-   by changing of value PI_VERSION. +    by changing of value PI_VERSION. 
-   Set MENUCONFIG to "1" if you wish to create custom kernel settings. +    Set MENUCONFIG to "1" if you wish to create custom kernel settings. 
-   .config file will be created in case of menuconfig. +    .config file will be created in case of menuconfig. 
-   You will be asked wehther re-write any existing .config file or not. +    You will be asked wehther re-write any existing .config file or not. 
- NOTE: +NOTE: 
-   If you will not mount SD card volumes then kernel cannot be obviously +    If you will not mount SD card volumes then kernel cannot be obviously 
-          installed. It can be fixed easily by mounting volumes and starting +    installed. It can be fixed easily by mounting volumes and starting 
-          this script again. +    this script again. 
-          Files may remain in mounting dirs if sd card not mounted.+    Files may remain in mounting dirs if sd card not mounted.
  
 {{ :user:mrholub:rpi_kernel_cross_compilling.sh.gz |}} {{ :user:mrholub:rpi_kernel_cross_compilling.sh.gz |}}
user/mrholub/kernel-crosscompiling.1494272311.txt.gz · Last modified: 2017/05/08 19:38 by mrholub