Commit Graph

60 Commits

Author SHA1 Message Date
Felix Fietkau
7cc5b6f9e9 all targets: remove all =m kernel config symbols
modules build during the kernel compile phase are ignored anyway,
all modules should be built using KernelPackage in
package/kernel/linux/modules/*
selecting the appropriate config symbols there rather than in
target/linux/*/config-*

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43842
2015-01-05 13:02:44 +00:00
Felix Fietkau
c095c7c202 adm8668: remove linux 3.3 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43634
2014-12-11 20:07:31 +00:00
Felix Fietkau
9a495f6bbb kernel: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43564
2014-12-08 12:04:25 +00:00
Florian Fainelli
aba92ec05e adm8668: switch to 3.14 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43552
2014-12-07 21:59:36 +00:00
Florian Fainelli
06152c8abf adm8668: add 3.14 kernel support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43551
2014-12-07 21:59:25 +00:00
Florian Fainelli
356447e6c2 adm8668: rename files to files-3.3
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43550
2014-12-07 21:58:49 +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
Florian Fainelli
4147bca9ac adm8668: revert changeset 34554
The conversion was not 100% correct and leads to u-boot failing to
verify the CRC, revert that change for now.

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

SVN-Revision: 42170
2014-08-16 18:09:31 +00:00
John Crispin
f933a741a9 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

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

SVN-Revision: 40915
2014-06-02 12:43:22 +00:00
Hauke Mehrtens
f5e5477c81 kernel: modify mtd related patches for 3.14
The change is the same as ("kernel/generic: modify mtd related
patches"). Since these files are under files directory, not a files
directory of specific kernel version, better to also change them. So
it will avoid adding files to future specific files directory
(e.g. files-3.14) for this mtd related change.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>

SVN-Revision: 40732
2014-05-08 21:52:04 +00:00
Florian Fainelli
6a4f2922f6 targets: prepare for supporting normal and initramfs images
In order to support both normal images and initramfs, ensure that each
target sets KERNELNAME properly so that the generic kernel building code
can copy the corresponding files over $(KDIR) with the appropriate
extension. Update the various paths to the kernel and wrapper images
from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo).

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

SVN-Revision: 37049
2013-06-27 19:58:31 +00:00
John Crispin
831c7ea04f preinit: move cmdline failsafe= handling ot the generic code
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36430
2013-04-25 19:02:37 +00:00
Steven Barth
4e8f7f37ed Change default IPv6 config to enable DHCPv6-PD
SVN-Revision: 36384
2013-04-22 19:40:16 +00:00
Steven Barth
ea94d66b0f Adapt default network configuration for IPv6
SVN-Revision: 36278
2013-04-09 08:03:08 +00:00
Florian Fainelli
deeeb5f671 create Linksys WRTU54G-TM profile
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34572
2012-12-07 18:02:31 +00:00
Florian Fainelli
8236584b13 rename interrupt number constants
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34566
2012-12-06 22:41:14 +00:00
Florian Fainelli
f1e4da0389 remove the now deprecated /proc/adm8668 interface
Proper gpiolib support is hooked instead.

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

SVN-Revision: 34565
2012-12-06 22:41:09 +00:00
Florian Fainelli
849662a8ec add a gpiolib driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34564
2012-12-06 22:41:04 +00:00
Florian Fainelli
78b235cfc3 do not reset WAN and LAN blocks
This is taken care of by the tulip driver accordingly.

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

SVN-Revision: 34563
2012-12-06 22:40:58 +00:00
Florian Fainelli
b3f36553cc enable and advertise USB support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34562
2012-12-06 22:40:54 +00:00
Florian Fainelli
a5aed4ec3a add support for on-board EHCI controller
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34561
2012-12-06 22:40:49 +00:00
Florian Fainelli
88f6bf64cf remove the "old" tulip forked driver
We can now use the mainline tulip driver.

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

SVN-Revision: 34559
2012-12-06 22:40:40 +00:00
Florian Fainelli
40ab1facd2 use the tulip platform driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34558
2012-12-06 22:40:36 +00:00
Florian Fainelli
445e77fdb5 patch the tulip driver to accept a platform variant
Isolate the PCI specific parts and group them under CONFIG_TULIP_PCI
CONFIG_TULIP_PLATFORM can be enabled for a platform style Tulip driver.

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

SVN-Revision: 34557
2012-12-06 22:40:31 +00:00
Florian Fainelli
b1f1381c27 move clock frequencies into clock driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34556
2012-12-06 22:40:26 +00:00
Florian Fainelli
1232f91efb replace the custom mtd driver with a partition parser
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34554
2012-12-06 22:40:17 +00:00
Florian Fainelli
b516c8d89d cleanup PCI controller code
At some point we should make the ADM5120 PCI controller driver a real
platform driver and share that one between the two targets.

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

SVN-Revision: 34553
2012-12-06 22:40:12 +00:00
Florian Fainelli
1ed763b888 cleanup and make interrupt code more robust
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34552
2012-12-06 22:40:02 +00:00
Florian Fainelli
47ccbaaa91 remove frequency from /proc/cpuinfo
This is not the place to expose it and duplicates code reading the
system frequency.

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

SVN-Revision: 34551
2012-12-06 22:39:57 +00:00
Florian Fainelli
e37f6fb458 provide a system clock to be used by the MIPS timer
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34550
2012-12-06 22:39:52 +00:00
Florian Fainelli
79c2ce01b7 get rid of the UART defines
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34549
2012-12-06 22:39:47 +00:00
Florian Fainelli
afc2b07be1 get rid of the specific UART driver and use AMBA PL010
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34548
2012-12-06 22:39:43 +00:00
Florian Fainelli
2dee2133c5 implement early_printk without an early_console
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34547
2012-12-06 22:39:33 +00:00
Florian Fainelli
f85115efd8 simplify IRQ controller code
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34546
2012-12-06 22:39:27 +00:00
Florian Fainelli
50303d52e2 use platform_add_devices
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34545
2012-12-06 22:39:22 +00:00
Florian Fainelli
192c1e90bc move time related functions to their own file
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34544
2012-12-06 22:39:18 +00:00
Florian Fainelli
1f939889ca move setup-related functions to their own file
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34543
2012-12-06 22:39:08 +00:00
Gabor Juhos
1f516235ea remove common symbols from 3.3 configs
The removed symbols are present in the generic configuration.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34403
2012-11-29 15:21:35 +00:00
John Crispin
a4d96aae8d bump to 3.3.8
SVN-Revision: 32055
2012-06-05 06:57:51 +00:00
Gabor Juhos
2ae5581447 kernel: update linux 3.3 to 3.3.7
SVN-Revision: 31848
2012-05-23 21:05:32 +00:00
Gabor Juhos
39994008cb linux: move certain disabled symbols to the generic configs
* CONFIG_ARCH_DMA_ADDR_T_64BIT
  * CONFIG_ARCH_HAS_ILOG2_U32
  * CONFIG_ARCH_HAS_ILOG2_U64
  * CONFIG_ARCH_PHYS_ADDR_T_64BIT
  * CONFIG_ARCH_SUPPORTS_MSI
  * CONFIG_GENERIC_CPU_DEVICES
  * CONFIG_HWMON_DEBUG_CHIP
  * CONFIG_I2C_PXA_PCI
  * CONFIG_LEDS_GPIO
  * CONFIG_MINIX_FS_NATIVE_ENDIAN
  * CONFIG_MLX4_CORE
  * CONFIG_POWER_SUPPLY
  * CONFIG_POWER_SUPPLY_DEBUG
  * CONFIG_QUOTACTL
  * CONFIG_SDIO_UART
  * CONFIG_SENSORS_K10TEMP
  * CONFIG_SENSORS_SCH56XX_COMMON
  * CONFIG_SENSORS_VIA_CPUTEMP
  * CONFIG_SERIO_AMBAKMI
  * CONFIG_SERIO_I8042
  * CONFIG_SERIO_LIBPS2
  * CONFIG_SERIO_PCIPS2
  * CONFIG_SERIO_RAW
  * CONFIG_SERIO_SERPORT
  * CONFIG_SPI_BITBANG
  * CONFIG_SPI_GPIO

SVN-Revision: 31737
2012-05-15 10:58:52 +00:00
Gabor Juhos
b472e5d12e kernel: update linux 3.3 to 3.3.6
SVN-Revision: 31709
2012-05-14 09:18:32 +00:00
Gabor Juhos
34018a630f kernel: update linux 3.3 to 3.3.5
SVN-Revision: 31645
2012-05-07 20:11:43 +00:00
Gabor Juhos
cbfce53831 kernel: update linux 3.3 to 3.3.4
SVN-Revision: 31541
2012-04-30 08:38:11 +00:00
Gabor Juhos
1a0ef04231 adm8668: merge 3.3 fixes
SVN-Revision: 31497
2012-04-28 10:41:43 +00:00
Gabor Juhos
87ae19eaa3 adm8668: nuke 2.6.36 support
SVN-Revision: 31496
2012-04-28 10:39:47 +00:00
Gabor Juhos
9a7e9e76a3 adm8668: switch to 3.3
SVN-Revision: 31495
2012-04-28 10:38:53 +00:00
Gabor Juhos
d8c7ac8a8a adm8668: add support for 3.3
SVN-Revision: 31480
2012-04-25 18:53:49 +00:00
Gabor Juhos
7f09ba740a adm8668: build gzip compressed uImage for testing
SVN-Revision: 31479
2012-04-25 18:53:48 +00:00