summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in.kernel1
-rw-r--r--target/config/Config.in.tools4
-rw-r--r--target/xtensa/Makefile8
-rw-r--r--target/xtensa/kernel/xilinx-kintex75
-rw-r--r--target/xtensa/systems/xilinx-kintex79
5 files changed, 27 insertions, 0 deletions
diff --git a/target/config/Config.in.kernel b/target/config/Config.in.kernel
index b51f094d6..effd374b3 100644
--- a/target/config/Config.in.kernel
+++ b/target/config/Config.in.kernel
@@ -76,3 +76,4 @@ config ADK_TARGET_KERNEL_MINICONFIG
default "apple-macmini" if ADK_TARGET_SYSTEM_APPLE_MACMINI
default "sun-voyager" if ADK_TARGET_SYSTEM_SUN_VOYAGER
default "banana-pro" if ADK_TARGET_SYSTEM_BANANA_PRO
+ default "xilinx-kintex7" if ADK_TARGET_SYSTEM_XILINX_KINTEX7
diff --git a/target/config/Config.in.tools b/target/config/Config.in.tools
index 5dc6877c8..3045d79c6 100644
--- a/target/config/Config.in.tools
+++ b/target/config/Config.in.tools
@@ -77,6 +77,10 @@ config ADK_HOST_BUILD_U_BOOT
bool
default n
+config ADK_HOST_BUILD_U_BOOT_GIT
+ bool
+ default n
+
config ADK_HOST_BUILD_PATCH
bool
default n
diff --git a/target/xtensa/Makefile b/target/xtensa/Makefile
index 19f0a28f0..756bb020f 100644
--- a/target/xtensa/Makefile
+++ b/target/xtensa/Makefile
@@ -52,6 +52,11 @@ ifeq ($(ADK_TARGET_QEMU),y)
@echo 'qemu-system-${ADK_TARGET_CPU_ARCH} ${QEMU_ARGS} -kernel $(FW_DIR)/$(TARGET_KERNEL)'
endif
endif
+ifeq ($(ADK_TARGET_FS),nfsroot)
+targethelp:
+ @echo 'The kernel file is: $(FW_DIR)/${TARGET_KERNEL}'
+ @echo "The RootFS tarball is: $(FW_DIR)/$(ROOTFSUSERTARBALL)"
+endif
kernel-install:
@cp $(KERNEL) $(FW_DIR)/${TARGET_KERNEL}
@@ -69,3 +74,6 @@ endif
ifeq ($(ADK_TARGET_FS),initramfspiggyback)
imageinstall: createinitramfs targethelp
endif
+ifeq ($(ADK_TARGET_FS),nfsroot)
+imageinstall: kernel-install $(FW_DIR)/$(ROOTFSUSERTARBALL) targethelp
+endif
diff --git a/target/xtensa/kernel/xilinx-kintex7 b/target/xtensa/kernel/xilinx-kintex7
new file mode 100644
index 000000000..c7a401380
--- /dev/null
+++ b/target/xtensa/kernel/xilinx-kintex7
@@ -0,0 +1,5 @@
+CONFIG_XTENSA=y
+CONFIG_XTENSA_PLATFORM_XTFPGA=y
+CONFIG_SERIAL_CONSOLE=y
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
diff --git a/target/xtensa/systems/xilinx-kintex7 b/target/xtensa/systems/xilinx-kintex7
new file mode 100644
index 000000000..af044e458
--- /dev/null
+++ b/target/xtensa/systems/xilinx-kintex7
@@ -0,0 +1,9 @@
+config ADK_TARGET_SYSTEM_XILINX_KINTEX7
+ bool "Xilinx Kintex 7"
+ select ADK_CPU_XTENSA
+ select ADK_TARGET_KERNEL_ZIMAGE
+ select ADK_HOST_BUILD_U_BOOT_GIT
+ help
+ Support for Xilinx Kintex 7 with Cadence daughterboard.
+
+