Commit graph

221 commits

Author SHA1 Message Date
Felix Fietkau
9ce5127a49 orion: remove linux 4.4 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2018-04-19 14:38:57 +02:00
Florian Fainelli
9a6e2d7d09 orion: Switch to 4.9 kernel
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-10-24 18:39:17 -07:00
Florian Fainelli
124cf53c87 orion: Add support for 4.9 kernel
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-10-24 18:39:17 -07:00
Mathias Kresin
e4e984f2a0 treewide: use only board_name function to get name
Do not parse /tmp/sysinfo/board_name, /proc/cpuinfo or the device tree
compatible string directly. Always use the board_name function to get
the board name.

The admswconfig package still reads /proc/cpuinfo directly. The code
looks somehow broken and the whole adm5120 which uses this package
looks unmaintained. Leave it as it is for now.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2017-07-15 23:13:34 +02:00
Mathias Kresin
78cf5eed6e treewide: do board detection during preinit
Do the board detection during preinit to unify it across all targets.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2017-07-15 23:13:34 +02:00
Stijn Tintel
880f73c327 kernel: cleanup CONFIG_SCHED_HRTICK
Remove CONFIG_SCHED_HRTICK from target configs, as it was added to the
generic config in b47fd76563.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-06-29 04:46:59 +02:00
Felix Fietkau
7d985f0925 kernel: split up 980-arm_openwrt_machtypes.patch and move to target folders
This is only required for non-DT platforms

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-01-27 11:18:27 +01:00
Felix Fietkau
c2fc52ae22 kernel: remove DEVMEM/DEVKMEM platform overrides
Those options are handled via top-level menuconfig instead

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-01-10 13:48:53 +01:00
Felix Fietkau
a18488a0aa orion: remove linux 3.18 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-12-24 09:40:46 +01:00
Felix Fietkau
0d5ba94088 orion: enable SoC drivers in the kernel config
Clean up packaged modules

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-12-24 09:40:46 +01:00
Felix Fietkau
1a63b81965 orion: make image size errors non-fatal
Fixes build errors on the generic subtarget

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-12-04 11:41:53 +01:00
Florian Fainelli
0917999396 orion: Enable CONFIG_MV_XOR
This is helpful for Orion-based NAS boxes that have the XOR engine enabled
since it provides faster software RAID.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2016-12-04 11:41:53 +01:00
Florian Fainelli
2cb90461c8 orion: Add uboot-envtools in the default package list
Makes sense since most, if not all orion platforms use this bootloader.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2016-12-04 11:41:53 +01:00
Florian Fainelli
0d5097036e orion: Set appropriate DEVICE_TYPE for harddisk target
The harddisk target is for NAS boxes, so set the DEVICE_TYPE accordingly so we
get a sensible default package selection.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2016-12-04 11:41:52 +01:00
Florian Fainelli
3043a4f520 orion: Switch to kernel 4.4
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2016-12-04 11:41:52 +01:00
Florian Fainelli
01bda7f05f orion: Advertise support for RTC
Otherwise, we can't select RTC_SUPPORT and the corresponding kmod-rtc-*
packages.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2016-12-04 11:41:52 +01:00
Florian Fainelli
3ca46aa257 orion: Make sub-targets augment FEATURES, not re-define it
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2016-12-04 11:41:52 +01:00
Florian Fainelli
a909a5d676 orion: Build images for Buffalo Terastation Pro II/Live
Enable support for this machine in the kernel and also produce valid image
files with the correct machine id.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2016-12-04 11:41:51 +01:00
Florian Fainelli
da5155b1a5 orion: Add support for 4.4 kernel
Patches and configuration apply just fine on the Marvell Orion target.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2016-12-04 11:41:51 +01:00
Florian Fainelli
cec7e661e7 orion: Fold DT2 setup files into patch
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2016-12-04 11:41:51 +01:00
Jo-Philipp Wich
1c09849f6c treewide: remove bad local shell variable declarations
Local variable declarations outside of functions are illegal since the Busybox
update to v1.25.0, therfore remove them from the appropriate places.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-09-24 14:38:20 +02:00
Stijn Tintel
3994f5c6fa orion: rename config-default to config-3.18
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2016-08-24 01:47:48 +03:00
Stijn Tintel
74aecc2d45 orion: rename patches directory to patches-3.18
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2016-08-15 15:32:37 +02:00
Jo-Philipp Wich
67e1c87012 all: drop old uci-defaults.sh
Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one
and update all users accordingly.

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

SVN-Revision: 47867
2015-12-11 15:26:06 +00:00
Jo-Philipp Wich
2f042b452e orion: convert initial network configuration to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47759
2015-12-04 14:39:14 +00:00
Felix Fietkau
e29efa2fb7 kernel: remove packaging of kmod-crypto-core and kmod-crypto-arc4
Everything except for blkcipher was already built-in, so make blkcipher
built-in as well.

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

SVN-Revision: 46820
2015-09-08 12:31:04 +00:00
John Crispin
8411858194 orion: remove IRQF_DISABLED
no-op since 2.6.35
    removed in Kernel 4.1
    see https://lwn.net/Articles/380931/

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 46672
2015-08-17 11:26:14 +00:00
Jonas Gorski
954004eccc kernel: disable INET_LRO by default
INET_LRO deprecated and there are exactly two drivers using it, neither
being included in any of the targets enabling INET_LRO. At the same time
both drivers needing it select it.

So just disable it for everyone.

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

SVN-Revision: 45584
2015-04-28 13:31:08 +00:00
Imre Kaloz
e55532b7af orion: upgrade to 3.18 (compile tested only)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45405
2015-04-12 20:45:55 +00:00
Rafał Miłecki
a4d7571367 mark 3.10 targets as broken
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44968
2015-03-24 10:38:50 +00:00
John Crispin
f04a268a04 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED
Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since
only one platfrom (omap) needs them.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44614
2015-03-06 07:56:34 +00:00
John Crispin
fa097e5ae5 kernel: disbale HAMRADIO in generic config
HAMRADIO enabled in all generic configs, but no one platform directly
use related drivers/protocols. This symbol is only used for kmod-ax25
package modules. Furthermore, half of platforms explicitly disables
this symbol, what silently disables build of modules for kmod-ax25
package.

So disable HAMRADIO by-default in generic config, add it to kmod-ax25
package and remove it from platform specific configs.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44613
2015-03-06 07:56:21 +00:00
Felix Fietkau
c288d2d6d9 kernel: makefiles: make use of new var KERNEL_PATCHVER
replace all occurences of LINUX_VERSION with the cleaner
approach. future kernel upgrades must mostly touch only
one file. the only platform left is netlogic, because it
uses a intermediate kernel 3.14.16

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 43047
2014-10-24 19:34:02 +00:00
Steven Barth
c118e5edf4 network: Unbind DHCPv6 from underlying interfaces
This allows IPv6 to set up without IPv4 being up thus
IPv6-only or IPv6+DS-Lite working with the default config.

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 42848
2014-10-08 13:08:05 +00:00
Felix Fietkau
f35da063bc targets: remove useless quotes around KERNELNAME
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42780
2014-10-05 20:17:19 +00:00
Felix Fietkau
6944689e96 orion: fix 3.10 kernel minor version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41916
2014-07-31 23:40:44 +00:00
Hauke Mehrtens
e23f27b72d orion: Update kernel to 3.10.44
Update the kernel of the orion target to version 3.10.44.
Refresh orion config and patches to match the changes in the kernel

Tested on WRT350N-v2 device.

Signed-off-by: Maarten Bezemer <maarten.bezemer@gmail.com>
[run make kernel_oldconfig, fold a01-dt2-fixes-for-3.3.patch into dt2-setup.c,
 make dt2-setup.c compile, fix harddisk subprofile]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41765
2014-07-20 09:42:14 +00:00
Florian Fainelli
c18cc9aa49 orion: create a macro for zImage with machine id
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 40360
2014-04-01 22:21:11 +00:00
Florian Fainelli
3d0ec6bd08 orion: fix KERNELNAME
uImage cannot be built in parallel properly until zImage is ready

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

SVN-Revision: 40359
2014-04-01 22:21:00 +00:00
Florian Fainelli
5b6d0b1818 orion: fix initramfs uImage generation
We would fail to copy an non-existent uImage-initramfs to $(BIN_DIR)

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

SVN-Revision: 40358
2014-04-01 22:20:49 +00:00
Felix Fietkau
c8609ab4f8 build: unify arm target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38211
2013-09-26 17:53:20 +00:00
Felix Fietkau
73c4d73d6d build: unify target independent optimization options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37600
2013-07-29 09:38:29 +00:00
Florian Fainelli
8ea5e19823 targets: fix remaining targets for initramfs builds
Fix some bugs that slipped through while making initramfs non exclusive.

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

SVN-Revision: 37079
2013-06-28 22:56:34 +00:00
Felix Fietkau
900f78e3be orion: disable normal router support for the harddisk subtarget
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37069
2013-06-28 11:27:06 +00:00
Felix Fietkau
059003fa90 orion: disable CONFIG_VM_EVENT_COUNTERS by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37068
2013-06-28 11:27:02 +00:00
Felix Fietkau
84ad1782f9 orion: dynamically generate /etc/config/network, the LaCie 2big Network does not use DSA
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37061
2013-06-28 11:26:37 +00:00
Felix Fietkau
6d6296e214 orion: add support for the lacie 2big network device
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37059
2013-06-28 11:26:29 +00:00
Imre Kaloz
799bdc990a there's no reason to have these generic files in the bin dir either
SVN-Revision: 36852
2013-06-05 06:46:41 +00:00
Imre Kaloz
28e8b8dc05 only copy uImages to the bin dir on ramdisk builds
SVN-Revision: 36851
2013-06-05 06:17:12 +00:00
Imre Kaloz
e161581d45 don't copy the zImages to the bin dir, factory u-boots can't use them
SVN-Revision: 36850
2013-06-05 06:04:48 +00:00