Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - X index
The Linux kernel configuration item CONFIG_XIP_KERNEL
has multiple definitions:
arch/xtensa/Kconfig
The configuration item CONFIG_XIP_KERNEL:
CONFIG_PLATFORM_HAVE_XIP
Execute-In-Place allows the kernel to run from non-volatile storage directly addressable by the CPU, such as NOR flash. This saves RAM space since the text section of the kernel is not loaded from flash to RAM. Read-write sections, such as the data section and stack, are still copied to RAM. The XIP kernel is not compressed since it has to run directly from flash, so it will take more space to store it. The flash address used to link the kernel object files, and for storing it, is configuration dependent. Therefore, if you say Y here, you must know the proper physical address where to store the kernel image depending on your own flash memory usage.
Also note that the make target becomes "make xipImage" rather than "make Image" or "make uImage". The final kernel binary to put in ROM memory will be arch/xtensa/boot/xipImage.
If unsure, say N.
arch/riscv/Kconfig
The configuration item CONFIG_XIP_KERNEL:
( CONFIG_MMU && CONFIG_SPARSEMEM && CONFIG_NONPORTABLE ) && (! CONFIG_COMPILE_TEST )
Execute-In-Place allows the kernel to run from non-volatile storage directly addressable by the CPU, such as NOR flash. This saves RAM space since the text section of the kernel is not loaded from flash to RAM. Read-write sections, such as the data section and stack, are still copied to RAM. The XIP kernel is not compressed since it has to run directly from flash, so it will take more space to store it. The flash address used to link the kernel object files, and for storing it, is configuration dependent. Therefore, if you say Y here, you must know the proper physical address where to store the kernel image depending on your own flash memory usage.
Also note that the make target becomes "make xipImage" rather than "make zImage" or "make Image". The final kernel binary to put in ROM memory will be arch/riscv/boot/xipImage.
SPARSEMEM is required because the kernel text and rodata that are flash resident are not backed by memmap, then any attempt to get a struct page on those regions will trigger a fault.
If unsure, say N.
arch/arm/Kconfig
The configuration item CONFIG_XIP_KERNEL:
(! CONFIG_ARM_LPAE && ! CONFIG_ARCH_MULTIPLATFORM ) && (! CONFIG_ARM_PATCH_IDIV && ! CONFIG_ARM_PATCH_PHYS_VIRT && ! CONFIG_SMP_ON_UP )
Execute-In-Place allows the kernel to run from non-volatile storage directly addressable by the CPU, such as NOR flash. This saves RAM space since the text section of the kernel is not loaded from flash to RAM. Read-write sections, such as the data section and stack, are still copied to RAM. The XIP kernel is not compressed since it has to run directly from flash, so it will take more space to store it. The flash address used to link the kernel object files, and for storing it, is configuration dependent. Therefore, if you say Y here, you must know the proper physical address where to store the kernel image depending on your own flash memory usage.
Also note that the make target becomes "make xipImage" rather than "make zImage" or "make Image". The final kernel binary to put in ROM memory will be arch/arm/boot/xipImage.
If unsure, say N.
arch/blackfin/Kconfig
The configuration item CONFIG_XIP_KERNEL:
CONFIG_ROMKERNEL
(none)
arch/arm26/Kconfig
The configuration item CONFIG_XIP_KERNEL:
(none)
Select this option to create a kernel that can be programmed into the OS ROMs.
Raw data from LKDDb:
(none)
This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - X index
Automatically generated (in year 2024). See also LKDDb sources on GitLab