Commit graph

9169 commits

Author SHA1 Message Date
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
Felix Fietkau
abc03de599 kernel: add missing config symbols
SVN-Revision: 34532
2012-12-06 14:11:16 +00:00
Felix Fietkau
a3843e7ec7 kernel 3.6+: nuke obsolete patches that are messing up oprofile builds
SVN-Revision: 34506
2012-12-05 16:49:48 +00:00
Florian Fainelli
512baafc6b kernel/3.3: move OHCI and EHCI platform drivers to generic
These patches are not specific to bcm47xx and will be used on other
platforms as well.

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

SVN-Revision: 34501
2012-12-05 14:18:05 +00:00
Florian Fainelli
822ee5053e cns3xxx: fix dwc_otg driver compat with udc-core
function.  This removes those from the dwc_otg driver and removes the patch
that comments out the linkage of udc-core so that the dwc_otg driver can
co-exist happily with other USB Device Controllers.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34475
2012-12-04 16:19:18 +00:00
Florian Fainelli
fd0729f35c cns3xxx: advertise pcie usb usbgadget features
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34474
2012-12-04 16:19:12 +00:00
Florian Fainelli
d9d0814fc2 Fix Comtrend AR-5381u Power LED
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34471
2012-12-04 15:19:50 +00:00
Florian Fainelli
d3cda51994 do no longer rename amba-pl010 serial devices names
Back in the days when we could not override /etc/inittab, it made a lot
of sense to rename ttyAM to ttyS since this was the only supported
serial device(s), we can now just put in an appropriate /etc/inittab file
now.

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

SVN-Revision: 34469
2012-12-03 16:18:40 +00:00
Felix Fietkau
a7220cd9f8 kernel: disable more pci quirks to save space on platforms that don't need them
SVN-Revision: 34467
2012-12-03 10:33:47 +00:00
Felix Fietkau
ec885796c0 kernel 3.6+: switch to a crc32 implementation that is more suitable for small caches. reduces kernel image size by ~22 KiB on mips
SVN-Revision: 34461
2012-12-02 18:37:41 +00:00
Felix Fietkau
24b31c9428 kernel: fix stripping symbol exports
SVN-Revision: 34458
2012-12-02 17:42:17 +00:00
Hauke Mehrtens
2ac9ac5163 brcm47xx: read sprom vars without prefix for boardrev and boardtype if the prefixed one is not available.
SVN-Revision: 34454
2012-12-02 16:11:39 +00:00
Felix Fietkau
38d3b8d0ea kernel: patch in a working copy of elf.h instead of using relative path based hackery in #include statements
SVN-Revision: 34449
2012-12-02 15:26:19 +00:00
Gabor Juhos
e0e43655ce ramips: fix serial console for Belkin F5D8235 v1/v2
Based on a patch from #12533.

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

SVN-Revision: 34445
2012-12-02 14:16:12 +00:00
Gabor Juhos
890f83dfb3 Update linux-atm fixes to reflect the final upstream pull request
[juhosg: refresh the patches with quilt]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34443
2012-12-02 13:04:04 +00:00
Florian Fainelli
527afd0e9a remove target
This target is unused, does not support any off the shelf hardware and
has been a maintenance burden for quite some time now.

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

SVN-Revision: 34430
2012-11-30 10:53:47 +00:00
Florian Fainelli
c830644d97 remove Linux 3.3 support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34426
2012-11-29 21:43:02 +00:00
Florian Fainelli
763f780553 use a default kernel command-line to mount squashfs and jffs2
This fixes bug #9055.

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

SVN-Revision: 34424
2012-11-29 21:42:53 +00:00
Gabor Juhos
7cde0281f4 kernel: Fix 8139cp ring buffer initialisation, tx timeout recovery, add BQL
Patches queued upstream in net-next.git

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34415
2012-11-29 17:58:28 +00:00
Gabor Juhos
4f5defdc3b ar71xx: switch to 3.6.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34414
2012-11-29 17:53:42 +00:00
Gabor Juhos
ea17e36482 kernel: Update Geos to 3.6.8
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34411
2012-11-29 17:37:19 +00:00
Gabor Juhos
543c2c27d1 kernel: Add ATM fixes pending upstream merge (queue reduction, race fixes)
Patches about to go into net-next.git

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34410
2012-11-29 17:37:18 +00:00
Gabor Juhos
df6727639a kernel: Add missing CONFIG_BATTERY_DS2781 option to generic 3.6 config
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34409
2012-11-29 17:37:16 +00:00
Gabor Juhos
44131bd785 ramips: rt305x: add profile and build image for the Asus RT-N13U
Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34407
2012-11-29 17:37:14 +00:00
Gabor Juhos
d3994b7408 ramips: rt305x: add user-space support for the Asus RT-N13U
Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34406
2012-11-29 17:37:13 +00:00
Gabor Juhos
0ec59e6235 ramips: rt305x: add kernel support for the Asus RT-N13U Wireless-N300 Router
The work has been backported from openwrt-dreambox with
some modifications & code cleanup.

* updated config-3.3
* updated config-3.6
* renamed rt-n13 to rt-n13u
* fixed mach-rt-n13u.c

[juhosg: move user-space support and image generation into separate
patches]

Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34405
2012-11-29 17:37:11 +00:00
Gabor Juhos
c2f018fca2 remove common symbols from 3.6 configs
The removed symbols are present in the generic configuration.

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

SVN-Revision: 34404
2012-11-29 15:21:41 +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
Gabor Juhos
3a4d0ebd5c kernel: update linux 3.6 to 3.6.8
Also refresh the affected patches.

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

SVN-Revision: 34402
2012-11-29 07:42:19 +00:00
Florian Fainelli
ee16e144bb use physmap-flash part_probe_types
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34398
2012-11-27 18:42:49 +00:00
Florian Fainelli
0588d13a3e Fix typo in 96338GW power LED.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34396
2012-11-27 18:42:42 +00:00
Florian Fainelli
dd852e242d add AudioCodes AC495 SoC
Found in the AudioCodes Tulip AC494 ATA.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34395
2012-11-27 18:42:39 +00:00
Florian Fainelli
d59ba20030 do not call clk_put() on the timer clock
We don't support disabling the clock, but this is actually what it would do.

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

SVN-Revision: 34394
2012-11-27 18:42:36 +00:00
Florian Fainelli
5d6208f34d do not list specific board compatible strings
The general practice is to use the general SoC compatible string in both the
DTS and the board specific .c file.

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

SVN-Revision: 34393
2012-11-27 18:42:32 +00:00
Florian Fainelli
94b7be6dd7 remove unused variables from Makefile.boot
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34392
2012-11-27 18:42:28 +00:00
Hauke Mehrtens
efd00e6240 brcm47xx: fix title of Bcm4705-wl profile
SVN-Revision: 34378
2012-11-25 16:41:00 +00:00
Hauke Mehrtens
a3d976aff5 brcm47xx: add profile for bcm4705 with wl driver
SVN-Revision: 34336
2012-11-25 16:15:27 +00:00
Gabor Juhos
57b7879a4e ramips: ramips_eth: use Kconfig definition to enable debug
The Kconfig identifier to enable debugging in the driver was different from the
actually used one. Fix that.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34332
2012-11-25 14:25:54 +00:00
Gabor Juhos
21d5df8700 ramips: add DIR-615 D userspace support
Commit 7c8edac25f23c4fc14239fdc293caa1317649944 introduced new machine and
Makefile changes to build images for this target. However, without the userspace
bits a ramips machine can't use wifi as the necessary "eeprom" data is to be
extracted by a hotplug script; also, sysupgrade support and default led
configuration are missing.

An IRC user reported these changes allowed him to use wifi on his hardware.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34331
2012-11-25 14:25:27 +00:00
Hauke Mehrtens
608efcdbd0 kernel: add CONFIG_BCMA_POSSIBLE=y to generic config as it is set in most of the target configs.
SVN-Revision: 34330
2012-11-25 14:14:17 +00:00
Hauke Mehrtens
aa8e887a46 brcm47xx: whitespace cleanups
SVN-Revision: 34329
2012-11-25 14:03:51 +00:00
Hauke Mehrtens
be77f9951c brcm47xx: fix cpu clock detection on ASUS WL-520gU
The ASUS WL-520gU and some other similar Asus devices have a BCM5354
running at 200MHZ and not at 240 which is the default for this SoC.

This fixes #4083.

SVN-Revision: 34325
2012-11-24 20:28:06 +00:00