Commit Graph

121 Commits (73015c4cb3787cccadc72b53fdb84b2d45c90136)

Author SHA1 Message Date
John Crispin 73015c4cb3 linux: add support of Synopsys ARCHS38-based boards
This patch introduces support of new boards with ARC HS38 cores.

ARC HS38 is a new generation of ARC cores which utilize ARCv2 ISA.
As with ARC770 we're addind support for 2 boards for now:

 [1] Synopsys SDP board (AXS103)
     This is the same base-board as in AXS101 but with
     FPGA-based CPU-tile where ARCHs38 core is implemented.

 [2] nSIM
     Again this is the same simulation engine but configured for
     new instruction set and features of new CPU.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 48740
8 years ago
Felix Fietkau 158f5b8d7a build: add uclient-fetch to the default packages, in case opkg is not selected
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48450
8 years ago
Felix Fietkau e620f4d6f8 arc: clean-up and move CFLAGS to include/target.mk
Most of currently mentioned CFLAGS in arc770/Makefile
are not really required because:
 [1] "-Os -pipe" are set by default in include/target.mk
 [2] "-fno-caller-saves" gets enabled via menuconfig
     as an extra compiler flag for developers

So the only one that makes sense is "-matomic" and
that one is really essential. Without it many software
packges won't build complainin on unresolved atomic ops.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 48326
8 years ago
Felix Fietkau 06f79fe841 ipq806x: enable vfpv4 support and set cpu type to cortex-a9
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47468
9 years ago
Felix Fietkau 8b5d644bb3 toolchain: add support of ARC architecture
This includes binutils, gcc, gdb and uClibc-ng.

Latest release of ARC gcc (as of today it is "arc-2015.06")
is based on upstream gcc 4.8.4.

Sources are available on GitHub, see:
https://github.com/foss-for-synopsys-dwc-arc-processors/gcc

Latest release of ARC binutils (as of today it is "arc-2015.06")
is based on upstream binutils 2.23.

Sources are available on GitHub, see:
https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06

Latest release of ARC GDB (as of today this is "arc-2015.06-gdb")
is based on upstream gdb 7.9.1.

Sources are available on GitHub, see:
https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06-gdb

Note that for binutils and gdb that come from unified git repository
(which is the case for upstream binutils/gdb today) we need to disable
building of gdb in binutils and binutils in gdb hence in binutils:
------>8------
--disable-sim
--disable-gdb
------>8------

and in gdb:
------>8------
--disable-binutils
--disable-ld
--disable-gas
------>8------

Also in gdb we disable sim because if the following breakage while
building with it:
------------>8------------
/usr/bin/env bash ./../common/genmloop.sh -shell /usr/bin/env bash \
        -mono -fast -pbb -switch sem5-switch.c \
        -cpu a5f -infile ./mloop5.in \
        -outfile-suffix 5
unknown option: bash
Makefile:699: recipe for target 'stamp-5mloop' failed
make[7]: *** [stamp-5mloop] Error 1
------------>8------------

Cc: Felix Fietkau <nbd@openwrt.org>
Cc: John Crispin <blogic@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>

SVN-Revision: 47438
9 years ago
Felix Fietkau d31c1e2285 target.mk: add optimization flags for MIPS 24Kc.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 47323
9 years ago
Steven Barth baa359f8e4 target: remove nathelpers from default images (legacy)
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 47280
9 years ago
Hauke Mehrtens e914c31d4c x86: Make virtualization guests built for pentium4 with SMP
Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 46314
9 years ago
Jo-Philipp Wich 597d2060c5 include: remove lvm2 from nas package collection
Since lvm2 is only available in feeds we must not include it by default.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45801
9 years ago
John Crispin 40da7aae54 target.mk: add default packages for NAS device-type
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43387
10 years ago
Florian Fainelli dd8d7188ee aarch64: add initial support
Add initial support for the AArch64 architecture

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43353
10 years ago
Felix Fietkau 4fde9deed1 Revert "build: use ONESHELL to speed up scanning and the toplevel makefile"
This seems to cause issues on some build hosts, and it is not that
important.

SVN-Revision: 43025
10 years ago
Felix Fietkau c497990834 build: use ONESHELL to speed up scanning and the toplevel makefile
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43021
10 years ago
Felix Fietkau cc43532293 build: optimize target metadata dump
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43019
10 years ago
Steven Barth e4e5c31f87 Reorganize netfilter kernel modules and package nftables kernel support
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 42596
10 years ago
Florian Fainelli eb9730ddac include: add Cortex-A5 CPU_TYPE
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42409
10 years ago
John Crispin 3deedba42e include/target.mk: add CPU_CFLAGS_octeon
Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de>

SVN-Revision: 41250
10 years ago
Hauke Mehrtens ed7c73fbef brcm47xx: activate some compiler optimizations for 74K CPUs
With this patch the mips74k subtarget will be compiled with optimized
compiler options to generated smaller and faster code. This currently
breaks broadcom-wl, because the binary blob is only compiled with
mipsr1 support.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41050
10 years ago
Florian Fainelli e1fbee0327 buildroot: add Cortex A15 specific CFLAGS
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 40357
10 years ago
John Crispin 0dc9d8d6ff fstools: add the new fstools package
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39895
10 years ago
Felix Fietkau 6435b8bb27 build: include iwinfo by default if nas or wpad(-mini) is selected
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39850
10 years ago
Imre Kaloz 157f56c461 handle "neon" fpu type
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39579
10 years ago
Imre Kaloz 4974d4f30c fix logic error on fpu cflags selection
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39547
10 years ago
Steven Barth 32b3aa076c target: replace 6relayd with odhcpd by default
SVN-Revision: 39309
10 years ago
John Crispin 8751499973 Fix build for individual profiles with dashes in names
Config symbols can have regular dashes, e.g.

CONFIG_TARGET_ramips_rt305x_UR-336UN=y

So no substitution should be performed on the last part of the symbol.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 39242
10 years ago
Imre Kaloz f6b57149af FPU type should not interfere with the ABI selection. Also make sure we either do real soft-float or hard-float on ARM, with the right options.
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38943
11 years ago
Imre Kaloz 7429c46214 ignore the fpu if we're doing soft-float
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38941
11 years ago
Imre Kaloz 5de876bc78 there's no such thing as a soft fpu, this target should be fine without these
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38940
11 years ago
Imre Kaloz f3e2331e18 add a feature flag for device tree support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38893
11 years ago
Hauke Mehrtens a3752801df bcm53xx: this ARM SoC does not have a FPU, use soft float.
model name      : ARMv7 Processor rev 0 (v7l)
Features        : swp half thumb fastmult edsp tls

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38796
11 years ago
Luka Perkov 0edf22694e include: add more CPU flags for arm
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38649
11 years ago
Felix Fietkau 03e14c13e3 build: fix typo in arm cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38237
11 years ago
Luka Perkov 4fa3e3aae9 build: fix typo
vfp3 should be named vfpv3

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38222
11 years ago
Luka Perkov 68ebb4d0a2 include/target.mk: fix spacing
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38221
11 years ago
Felix Fietkau e0189ccef4 build: include the cpu type as part of the toolchain/target directory name
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38214
11 years ago
Felix Fietkau 0db9125157 build: unify powerpc target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38213
11 years ago
Felix Fietkau ef68210f93 build: unify x86 target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38212
11 years ago
Felix Fietkau c8609ab4f8 build: unify arm target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38211
11 years ago
Felix Fietkau a30681dff0 build: unify mips target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38210
11 years ago
Felix Fietkau 569da024f0 build: clean up default cflags handling
- reduce redundancy
- introduce a CPU_TYPE variable for cpu specific options

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38209
11 years ago
Luka Perkov ff384f04e4 include: introduce subtarget_platform CONFIG_TARGET
Sometimes it is useful to change platform's kernel config file but with loaded
subtarget's kernel config. Good example for this use case is malta.

Example:

$ make kernel_menuconfig CONFIG_TARGET=subtarget_platform

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37818
11 years ago
Felix Fietkau 73c4d73d6d build: unify target independent optimization options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37600
11 years ago
Jonas Gorski 05ff15a235 include: also check CONFIG_GPIOLIB for GPIO_SUPPORT
Recent kernels removed GENERIC_GPIO and require GPIO capable
targets to select GPIOLIB instead, so check for both symbols.

Fixed #13814.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37166
11 years ago
Felix Fietkau f89b3d42e8 build: remove hotplug2 from DEFAULT_PACKAGES
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37132
11 years ago
Jo-Philipp Wich b721c92221 firewall3: rename to firewall, move into base system menu, update to git head with compatibility fixes for AA
SVN-Revision: 36838
11 years ago
Felix Fietkau eea89fea6a build: add config symbols for different ARM arch levels
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36620
11 years ago
Steven Barth 3e4b2af125 Enable native IPv6 support by default
SVN-Revision: 36277
11 years ago
Jo-Philipp Wich 9ee69a94b7 include: make firewall3 the default
SVN-Revision: 35888
11 years ago
Felix Fietkau 41a039f464 mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
SVN-Revision: 34909
12 years ago
Felix Fietkau 03babf3641 target: add a feature flag for RTC support
SVN-Revision: 31777
12 years ago