user:mrholub:kernel-crosscompiling
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user:mrholub:kernel-crosscompiling [2017/05/08 19:50] – mrholub | user:mrholub:kernel-crosscompiling [2017/05/08 19:51] (current) – mrholub | ||
---|---|---|---|
Line 2: | Line 2: | ||
Description: | Description: | ||
- | Prepares environment variables. | + | Prepares environment variables. |
- | | + | |
- | | + | |
- | these on RPI's SD card. | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | via menuconfig. | + | |
Usage: | Usage: | ||
- | Mount boot partition with kernel files (fat32) in / | + | |
- | 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 |
- | by changing of value PI_VERSION. | + | by changing of value PI_VERSION. |
- | Set MENUCONFIG to " | + | Set MENUCONFIG to " |
- | | + | .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 | + | |
- | | + | 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/kernel-crosscompiling.1494273034.txt.gz · Last modified: 2017/05/08 19:50 by mrholub