From 576621f1e353339fe81ece6cff7e8bcd12cbc7b8 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 22 Nov 2015 19:06:07 +0000 Subject: linux: add support of Synopsys ARC770-based boards This patch introduces support of new boards with ARC cores. [1] Synopsys SDP board This is a new-generation development board from Synopsys that consists of base-board and CPU tile-board (which might have a real ASIC or FPGA with CPU image). It sports a lot of DesignWare peripherals like GMAC, USB, SPI, I2C etc and is intended to be used for early development of ARC-based products. [2] nSIM This is a virtual board implemented in Synopsys proprietary software simulator (even though available for free for open source community). This board has only serial port as a peripheral and so it is meant to be used for runtime testing which is especially useful during bring-up of new tools and platforms. What's also important ARC cores are very configurable so there're many variations of options like cache sizes, their line lengths, additional hardware blocks like multipliers, dividers etc. And this board could be used to make sure built software still runs on different HW configurations. Cc: Felix Fietkau Cc: Jo-Philipp Wich Cc: Jonas Gorski Signed-off-by: Alexey Brodkin SVN-Revision: 47589 --- target/linux/arc770/generic/profiles/00-default.mk | 16 ++++++++++++++++ target/linux/arc770/generic/profiles/01-minimal.mk | 15 +++++++++++++++ target/linux/arc770/generic/profiles/02-axs101.mk | 16 ++++++++++++++++ target/linux/arc770/generic/profiles/03-nsim_700.mk | 15 +++++++++++++++ 4 files changed, 62 insertions(+) create mode 100644 target/linux/arc770/generic/profiles/00-default.mk create mode 100644 target/linux/arc770/generic/profiles/01-minimal.mk create mode 100644 target/linux/arc770/generic/profiles/02-axs101.mk create mode 100644 target/linux/arc770/generic/profiles/03-nsim_700.mk (limited to 'target/linux/arc770/generic/profiles') diff --git a/target/linux/arc770/generic/profiles/00-default.mk b/target/linux/arc770/generic/profiles/00-default.mk new file mode 100644 index 0000000000..b12ceb1c85 --- /dev/null +++ b/target/linux/arc770/generic/profiles/00-default.mk @@ -0,0 +1,16 @@ +# +# Copyright (C) 2015 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Default + NAME:=Default Profile (all drivers) + PACKAGES:= kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-mmc kmod-sdhci +endef + +define Profile/Default/Description + Default package set compatible with most boards. +endef +$(eval $(call Profile,Default)) diff --git a/target/linux/arc770/generic/profiles/01-minimal.mk b/target/linux/arc770/generic/profiles/01-minimal.mk new file mode 100644 index 0000000000..c8968daecd --- /dev/null +++ b/target/linux/arc770/generic/profiles/01-minimal.mk @@ -0,0 +1,15 @@ +# +# Copyright (C) 2015 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Minimal + NAME:=Minimal Profile (no drivers) +endef + +define Profile/Minimal/Description + Minimal package set compatible with most boards. +endef +$(eval $(call Profile,Minimal)) diff --git a/target/linux/arc770/generic/profiles/02-axs101.mk b/target/linux/arc770/generic/profiles/02-axs101.mk new file mode 100644 index 0000000000..60cf0fcb7f --- /dev/null +++ b/target/linux/arc770/generic/profiles/02-axs101.mk @@ -0,0 +1,16 @@ +# +# Copyright (C) 2015 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/axs101 + NAME:=Synopsys DesignWare AXS101 + PACKAGES:= kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-mmc kmod-sdhci +endef + +define Profile/axs101/Description + Package set compatible with hardware using Synopsys DesignWare AXS101 boards. +endef +$(eval $(call Profile,axs101)) diff --git a/target/linux/arc770/generic/profiles/03-nsim_700.mk b/target/linux/arc770/generic/profiles/03-nsim_700.mk new file mode 100644 index 0000000000..843a3424b5 --- /dev/null +++ b/target/linux/arc770/generic/profiles/03-nsim_700.mk @@ -0,0 +1,15 @@ +# +# Copyright (C) 2015 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/nsim_700 + NAME:=Synopsys nSIM +endef + +define Profile/nsim_700/Description + Package set compatible with hardware using Synopsys nSIM 700 boards. +endef +$(eval $(call Profile,nsim_700)) -- cgit v1.2.3