]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
configs/qemu: update xtensa linux to 4.9
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 14 Mar 2017 18:58:56 +0000 (11:58 -0700)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 14 Mar 2017 20:55:04 +0000 (21:55 +0100)
Linux configs are missing memmap= option that is required for xtfpga
boards configured w/o device tree starting with linux-4.9. Add it.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
board/qemu/xtensa-lx60/linux-4.9-nommu.config [moved from board/qemu/xtensa-lx60/linux-4.8-nommu.config with 92% similarity]
board/qemu/xtensa-lx60/linux-4.9.config [moved from board/qemu/xtensa-lx60/linux-4.8.config with 94% similarity]
configs/qemu_xtensa_lx60_defconfig
configs/qemu_xtensa_lx60_nommu_defconfig

similarity index 92%
rename from board/qemu/xtensa-lx60/linux-4.8-nommu.config
rename to board/qemu/xtensa-lx60/linux-4.9-nommu.config
index 29f6fa4cb9aec800290eb196115507a83227a621..10f7ee125cd30611b157f731fbcf30c4e820c1c3 100644 (file)
@@ -6,10 +6,11 @@ CONFIG_XTENSA_VARIANT_CUSTOM_NAME="dc233c"
 # CONFIG_XTENSA_VARIANT_MMU is not set
 CONFIG_XTENSA_UNALIGNED_USER=y
 CONFIG_PREEMPT=y
+CONFIG_KERNEL_LOAD_ADDRESS=0x00003000
 # CONFIG_PCI is not set
 CONFIG_XTENSA_PLATFORM_XTFPGA=y
 CONFIG_CMDLINE_BOOL=y
-CONFIG_CMDLINE="earlycon=uart8250,mmio32,0xfd050020,115200n8 console=ttyS0,115200n8"
+CONFIG_CMDLINE="earlycon=uart8250,mmio32,0xfd050020,115200n8 console=ttyS0,115200n8 memmap=0x04000000@0"
 CONFIG_DEFAULT_MEM_START=0x00000000
 CONFIG_BINFMT_FLAT=y
 CONFIG_NET=y
similarity index 94%
rename from board/qemu/xtensa-lx60/linux-4.8.config
rename to board/qemu/xtensa-lx60/linux-4.9.config
index 2d8e58d782b378ca340c701c87491cc563d13a9d..625b86049f64889dbf8547cba4ffad61a6ff7d7e 100644 (file)
@@ -5,7 +5,7 @@ CONFIG_XTENSA_VARIANT_DC233C=y
 CONFIG_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX=y
 CONFIG_XTENSA_PLATFORM_XTFPGA=y
 CONFIG_CMDLINE_BOOL=y
-CONFIG_CMDLINE="console=ttyS0,38400"
+CONFIG_CMDLINE="console=ttyS0,38400 memmap=0x04000000@0"
 # CONFIG_COMPACTION is not set
 # CONFIG_BOUNCE is not set
 # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
index 54d844d76532c8ac079dabd78cdb25e9d54ff8d5..db06e90bc740389b1c8326bd1d164e2691774106 100644 (file)
@@ -16,15 +16,15 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_TARGET_ROOTFS_INITRAMFS=y
 
-# Linux headers same as kernel, a 4.8 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y
+# Linux headers same as kernel, a 4.9 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
 
 # Kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.8.17"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.9.6"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/xtensa-lx60/linux-4.8.config"
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/xtensa-lx60/linux-4.9.config"
 BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y
 BR2_LINUX_KERNEL_IMAGE_NAME="Image.elf"
 BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="zImage"
index 256cbeee87f5b082a1ffa5cd660964a126ee5c5b..55714a1c3c4bf925b414d28c3219af30fd97b72d 100644 (file)
@@ -20,15 +20,15 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_TARGET_ROOTFS_INITRAMFS=y
 
-# Linux headers same as kernel, a 4.8 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y
+# Linux headers same as kernel, a 4.9 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
 
 # Kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.8.17"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.9.6"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/xtensa-lx60/linux-4.8-nommu.config"
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/xtensa-lx60/linux-4.9-nommu.config"
 BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y
 BR2_LINUX_KERNEL_IMAGE_NAME="Image.elf"
 BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="zImage"