diff options
| author | Nathan Rossi <nathan@nathanrossi.com> | 2016-11-10 21:58:22 +1000 |
|---|---|---|
| committer | Nathan Rossi <nathan@nathanrossi.com> | 2016-11-11 01:12:54 +1000 |
| commit | ea4ca65aaf51b511499a45bfe02c8525d3288b42 (patch) | |
| tree | 97a721c1ef03ee04c93049f1d83b06de0153706c | |
| parent | abd094bcbcce404b24d724930f040eca54e9cb3d (diff) | |
| download | meta-xilinx-ea4ca65aaf51b511499a45bfe02c8525d3288b42.tar.gz | |
linux/config: For Zynq hard disable CONFIG_DEBUG_RODATA
CONFIG_DEBUG_RODATA was switched to default yes in v4.6+ kernels. Whilst
the feature works correctly it causes changes with how the kernel
.head.text and .text sections are padded which allows for memory below
0x80000 (512KB) to be non-reserved and used as memory for DMA
allocations which do not work on Zynq due to devices not being allowed
to access DDR below 0x80000. Disabling CONFIG_DEBUG_RODATA prevents the
padding between .head.text/.text.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
| -rw-r--r-- | recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynq7.cfg | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynq7.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynq7.cfg index 93584875..b6dc0dbd 100644 --- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynq7.cfg +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynq7.cfg | |||
| @@ -40,3 +40,6 @@ CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y | |||
| 40 | CONFIG_CPU_IDLE=y | 40 | CONFIG_CPU_IDLE=y |
| 41 | CONFIG_ARM_ZYNQ_CPUIDLE=y | 41 | CONFIG_ARM_ZYNQ_CPUIDLE=y |
| 42 | 42 | ||
| 43 | # DEBUG_RODATA causes issues with the lower 512KB of memory which doesn't do DMA | ||
| 44 | # CONFIG_DEBUG_RODATA is not set | ||
| 45 | |||
