diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-22 19:06:07 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-22 19:06:07 +0000 |
commit | 576621f1e353339fe81ece6cff7e8bcd12cbc7b8 (patch) | |
tree | d6f0c3870842c1abf95b0cfbf411169d24694f1c /target/linux/arc770/generic | |
parent | 3a0266b4716aa12fe1756d7e52a0e5bec760d48d (diff) | |
download | mtk-20170518-576621f1e353339fe81ece6cff7e8bcd12cbc7b8.zip mtk-20170518-576621f1e353339fe81ece6cff7e8bcd12cbc7b8.tar.gz mtk-20170518-576621f1e353339fe81ece6cff7e8bcd12cbc7b8.tar.bz2 |
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 <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
SVN-Revision: 47589
Diffstat (limited to 'target/linux/arc770/generic')
-rw-r--r-- | target/linux/arc770/generic/profiles/00-default.mk | 16 | ||||
-rw-r--r-- | target/linux/arc770/generic/profiles/01-minimal.mk | 15 | ||||
-rw-r--r-- | target/linux/arc770/generic/profiles/02-axs101.mk | 16 | ||||
-rw-r--r-- | target/linux/arc770/generic/profiles/03-nsim_700.mk | 15 | ||||
-rw-r--r-- | target/linux/arc770/generic/target.mk | 8 |
5 files changed, 70 insertions, 0 deletions
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 0000000..b12ceb1 --- /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 0000000..c8968da --- /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 0000000..60cf0fc --- /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 0000000..843a342 --- /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)) diff --git a/target/linux/arc770/generic/target.mk b/target/linux/arc770/generic/target.mk new file mode 100644 index 0000000..eba5c3c --- /dev/null +++ b/target/linux/arc770/generic/target.mk @@ -0,0 +1,8 @@ +BOARDNAME:=Generic +FEATURES += ramdisk usb + +define Target/Description + Build firmware images for generic ARC 770D based boards. +endef + + |