John Crispin
c52abebd95
sunxi: don't enable ARMTHUMB XZ BCJ filter in kernel
...
Having CONFIG_XZ_DEC_ARMTHUMB enabled breaks squashfs when ARM BCJ
filter was used to create the filesystem (and that's what we do on
all ARM targets). Thus unset CONFIG_XZ_DEC_ARMTHUMB to fix
squashfs on sunxi.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 08:29:26 +00:00
John Crispin
b34d1f6b43
sunxi: drop 3.14 support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:41:24 +00:00
John Crispin
63a4e80380
kernel: move KERNFS to generic config
...
KERNFS symbol is selected by SYSFS, so place it in generic config.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:47 +00:00
John Crispin
a585342d28
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:34 +00:00
John Crispin
916b239f7e
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:21 +00:00
John Crispin
a739348da2
kernel: move MTD_SPLIT_SUPPORT to generic config
...
CONFIG_MTD_SPLIT_SUPPORT symbol default value is 'y' and many platform
specific configs explicitly enables it, while no one platform disables
this symbol. So place it in generic config and remove from platform
specific configs.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:08 +00:00
John Crispin
7b4702d275
kernel: remove GENERIC_NET_UTILS from platform configs
...
CONFIG_GENERIC_NET_UTILS is selected by CONFIG_NET and already enabled
in generic config, so we don't need this symbol in platform specific
configurations.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:55:57 +00:00
Nicolas Thill
d6aea3e300
sunxi: A20-OLinuXino-Lime profile rename leftover
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-12 17:30:09 +00:00
Nicolas Thill
2348f5b7ec
linux/sunxi: rename A20-OLinuXino-Lime profile
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-08 15:34:13 +00:00
Zoltan HERPAI
d8091bdb4b
sunxi: disable MMC debugging in kernel config
...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 00:19:18 +00:00
Zoltan HERPAI
38b7a18d3c
sunxi: workaround switch being uninitialized on netifd startup
...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 00:18:21 +00:00
Zoltan HERPAI
dab2d03d87
sunxi: add support for Lamobo R1
...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 00:17:16 +00:00
Zoltan HERPAI
aa2d8b3cbb
sunxi: use sunxi_board_name when generating default network settings
...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 00:14:17 +00:00
Zoltan HERPAI
f75f6ead64
sunxi: introduce sunxi_board_name() in /lib/sunxi.sh
...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 00:12:29 +00:00
Zoltan HERPAI
523564cf44
sunxi: implement board_detect for device-tree kernels
...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 00:11:30 +00:00
Zoltan HERPAI
eeca65e5d7
sunxi: update Olimex A13 SOM profile
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 16:58:35 +00:00
Zoltan HERPAI
7041d9d2ba
sunxi: change bananapro DTS to use the already published patch, clean up 3.18 config of generic symbols
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-10 19:56:30 +00:00
Zoltan HERPAI
2710b93ef1
sunxi: bump kernel to 3.18
...
- refresh patches
- add bananapro, cubietruck, mele_m9 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-09 19:35:14 +00:00
Zoltan HERPAI
bbfa2b4ee9
sunxi: fix led on bananapi
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-12 16:11:17 +00:00
Luka Perkov
b90ab98dcd
kernel: drop CONFIG_PROC_DEVICETREE in 3.18
...
This option was removed in upstream commit 8357041.
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-10 18:55:53 +00:00
Felix Fietkau
6e4472e69e
kernel: refresh patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-08 12:04:25 +00:00
Zoltan HERPAI
c16f7bc8f5
sunxi: add config for 3.18
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-21 18:49:56 +00:00
Zoltan HERPAI
d9d14f267c
sunxi: add initial 3.18 support
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-21 18:42:43 +00:00
Nicolas Thill
b8668cb1aa
sunxi: fix network config on A20-OLinuXino-LIME
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-06 02:23:12 +00:00
Nicolas Thill
ad7bc1004c
sunxi: add support for Olimex A20-OLinuXino-LIME
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-06 00:05:23 +00:00
Zoltan HERPAI
94709fb9af
sunxi: move cubietruck dts into patches [3.14]
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-04 23:14:11 +00:00
Zoltan HERPAI
cd639e4ffe
sunxi: move IR patch for bananapi
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-04 21:06:04 +00:00
Zoltan HERPAI
95e415088b
sunxi: move bananapi dts into patches [3.14]
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-04 20:33:56 +00:00
Zoltan HERPAI
3fdc7ad003
sunxi: move pcduino3 dts into patches [3.14]
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-04 20:20:38 +00:00
Zoltan HERPAI
d470b39ad9
sunxi: update devtree name in network setup for pcduino3 as preparing for 3.18
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-02 10:11:36 +00:00
Felix Fietkau
31b1aae3d8
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-24 19:34:02 +00:00
John Crispin
81d9f2d585
scripts: fix wrong usage of '==' operator
...
[base-files] shell-scripting: fix wrong usage of '==' operator
normally the '==' is used for invoking a regex parser and is a bashism.
all of the fixes just want to compare a string. the used busybox-ash
will silently "ignore" this mistake, but make it portable/clean at least.
this patch does not change the behavior/logic of the scripts.
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 12:21:11 +00:00
Felix Fietkau
0a602b2b72
targets: remove useless quotes around KERNELNAME
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 20:17:19 +00:00
Zoltan HERPAI
9c2be8be39
sunxi: re-add rootfs build when no profile is set, fixes #17980 , thanks.
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 17:32:36 +00:00
Zoltan HERPAI
6d117a2c19
sunxi: add profile for Olimex A13 SOM
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-28 23:21:59 +00:00
Zoltan HERPAI
84f61f28e7
sunxi: enable GPIO_SYSFS
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-22 06:15:45 +00:00
Zoltan HERPAI
cc5d855f30
sunxi: add AXP209 to pcDuino3
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 20:31:18 +00:00
Zoltan HERPAI
10354ca6e7
sunxi: enable AXP209 on BananaPi as well
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 17:46:50 +00:00
Zoltan HERPAI
95302a2e8e
sunxi: enable AXP209 regulator
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 17:45:20 +00:00
Zoltan HERPAI
a28b6e0d96
sunxi: add sunxi-ir module
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 16:28:06 +00:00
Zoltan HERPAI
101af46ba0
sunxi: add support for infra receiver on A20, along with IR-related backports from 3.15
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 16:25:45 +00:00
Zoltan HERPAI
dcbfc72a88
sunxi: remove 3.13 support
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 15:42:36 +00:00
Zoltan HERPAI
94f0028725
sunxi: update gmac with adding correct regulators on bananapi
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 00:13:49 +00:00
Zoltan HERPAI
914948ebaa
sunxi: backport late clock fixes from 3.15
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 00:12:53 +00:00
Zoltan HERPAI
665f30a1df
sunxi: update dts for pcduino3 and bananapi with regulators
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 23:45:08 +00:00
Zoltan HERPAI
04a55c31d2
sunxi: add usb ohci support
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 23:34:10 +00:00
Zoltan HERPAI
45cafa800f
sunxi: add default interface for bananaPi
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 23:15:30 +00:00
Zoltan HERPAI
a98d24e6e8
sunxi: add missing symbol for arch timer
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 23:12:50 +00:00
Zoltan HERPAI
06cbf4e0a3
sunxi: add arm arch timer support
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 10:15:05 +00:00
Zoltan HERPAI
e2520eb771
sunxi: add new watchdog compats to reboot code in 3.14
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 21:05:00 +00:00