From 298011bfb978a087d9c32c1eccea01239d1e0e14 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 30 May 2024 10:08:16 +0200 Subject: xtensa: fix de212 kernel configuration --- target/linux/config/Config.in.xtensa | 9 ++++++--- target/xtensa/kernel/qemu-xtensa | 1 - 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'target') diff --git a/target/linux/config/Config.in.xtensa b/target/linux/config/Config.in.xtensa index 570900e0b..5fc9847c6 100644 --- a/target/linux/config/Config.in.xtensa +++ b/target/linux/config/Config.in.xtensa @@ -31,15 +31,18 @@ config ADK_LINUX_KERNEL_USER_ABI_CALL0_ONLY config ADK_LINUX_KERNEL_MEMMAP_CACHEATTR hex - default "0x2cccccc7" + default "0x2cccccc7" if ADK_TARGET_CPU_XTENSA_DC233C + default "0x22222222" if ADK_TARGET_CPU_XTENSA_DE212 depends on !ADK_TARGET_WITH_MMU config ADK_LINUX_KERNEL_KERNEL_LOAD_ADDRESS hex - default "0x00003000" + default "0x00003000" if ADK_TARGET_CPU_XTENSA_DC233C + default "0x60003000" if ADK_TARGET_CPU_XTENSA_DE212 depends on !ADK_TARGET_WITH_MMU config ADK_LINUX_KERNEL_DEFAULT_MEM_START hex - default "0x00000000" + default "0x00000000" if ADK_TARGET_CPU_XTENSA_DC233C + default "0x60000000" if ADK_TARGET_CPU_XTENSA_DE212 depends on !ADK_TARGET_WITH_MMU diff --git a/target/xtensa/kernel/qemu-xtensa b/target/xtensa/kernel/qemu-xtensa index 9f4c49f45..16ab302b4 100644 --- a/target/xtensa/kernel/qemu-xtensa +++ b/target/xtensa/kernel/qemu-xtensa @@ -2,5 +2,4 @@ CONFIG_XTENSA=y CONFIG_XTENSA_UNALIGNED_USER=y CONFIG_XTENSA_PLATFORM_XTFPGA=y CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE="earlycon=uart8250,mmio32,0xfd050020,115200n8 console=ttyS0,115200n8 memmap=0x08000000@0" CONFIG_SECTION_MISMATCH_WARN_ONLY=y -- cgit v1.2.3