Commit graph

9019 commits

Author SHA1 Message Date
Felix Fietkau
f14b8d43f2 ixp4xx: add missing reboot handlers (fixes #11577)
SVN-Revision: 33672
2012-10-09 15:38:55 +00:00
Felix Fietkau
856fba88d9 x86: remove the reboot=bios command line parameter (#12193)
SVN-Revision: 33671
2012-10-09 15:20:11 +00:00
Jonas Gorski
fbe0af3237 bcm63xx: remove bcm_tag usage in kernel
Fixes #12292.

SVN-Revision: 33670
2012-10-09 08:08:49 +00:00
Jonas Gorski
6a000ba37a bcm63xx: fix 963281TAN image names
it's a 6328, not a 6348.

SVN-Revision: 33665
2012-10-08 13:08:40 +00:00
Jonas Gorski
997ace7e5e firmware-utils: move bcm_tag.h here
Since there is only one user of bcm_tag.h left, we can safely move it
into the firmware-utils directory, replacing the symlink.

SVN-Revision: 33655
2012-10-08 09:59:50 +00:00
Jonas Gorski
f16ea6be3f bcm63xx: fix entering failsafe through button
gpio_keys_polled needs to be loaded in preinit for buttons to work for
entering failsafe.

SVN-Revision: 33653
2012-10-08 09:59:44 +00:00
Felix Fietkau
e5bb1a1bc7 cns3xxx: add sysupgrade support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

 target/linux/cns3xxx/base-files/lib/cns3xxx.sh          |   22 ++
 target/linux/cns3xxx/base-files/lib/upgrade/platform.sh |  122 ++++++++++++++++
 target/linux/cns3xxx/image/Makefile                     |   19 +-
 3 files changed, 159 insertions(+), 4 deletions(-)

SVN-Revision: 33650
2012-10-07 23:24:02 +00:00
Felix Fietkau
68449e2e01 cns3xxx: add GW2383 board support
Add GPIO/LED support for Gateworks GW2383

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

 target/linux/cns3xxx/patches-3.3/300-laguna_support.patch |   18 +++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

SVN-Revision: 33649
2012-10-07 23:23:58 +00:00
Felix Fietkau
6b778f57aa cns3xxx: fix gpio access and add gpio IRQ support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

 target/linux/cns3xxx/patches-3.3/470-gpio_irq.patch |  536 ++++++++++++++++++++
 1 file changed, 536 insertions(+)

SVN-Revision: 33648
2012-10-07 23:23:52 +00:00
Felix Fietkau
bca070dfbe ixp4xx: update Gateworks Avila board support
Several new features for newer boards:
 - add additional UARTs present on some boards
 - add additional LEDs present on some boards
 - add HSS audio device codec present on some boards
 - add support for GSC present on some boards
 - add per model setup support for newer boards
 - set FLASH window per-model for boards with larger FLASH

Some fixes:
 - add IRQ mapping for additional PCI devices (USB Host)

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33647
2012-10-07 23:23:47 +00:00
Felix Fietkau
22b86fec7c ixp4xx: patch cleanup
roll all avila patches into a single patch (no code changes)

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33646
2012-10-07 23:23:43 +00:00
Felix Fietkau
d660734a1b ixp4xx: Add HSS audio driver for Avila product family
Add ixp4xx HSS audio driver for Avila

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33645
2012-10-07 23:23:39 +00:00
Felix Fietkau
ce692ed043 ixp4xx: update Gateworks Cambria board support
Several new features for newer boards:
 - add irq mapping for additional devices
 - add platform data for i2c bus to SFP modules
 - add additional UARTs present on some boards
 - increased R/W delay for expansion bus UARTs
 - add additional LEDs present on some boards
 - add GPIO exports and configuration
 - add ENET switch config present on some boards
 - add support for GSC present on some boards
 - added per model setup support for newer boards

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33644
2012-10-07 23:23:34 +00:00
Felix Fietkau
21d182b9e5 ixp4xx: patch cleanup
roll all cambria patches into a single patch (no code changes)

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33643
2012-10-07 23:23:29 +00:00
Felix Fietkau
d3567cc886 ixp4xx: split out new UART I/O to its own patch
This is being done for general cleanup

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33642
2012-10-07 23:23:25 +00:00
Felix Fietkau
1abbe676d1 x86: rename the iso file to openwrt-x86-generic.iso
SVN-Revision: 33641
2012-10-07 23:05:39 +00:00
Felix Fietkau
0dd7644ec7 x86: remove grub-legacy
SVN-Revision: 33640
2012-10-07 23:01:56 +00:00
Felix Fietkau
a1bcd25082 x86: add grub2 iso support
SVN-Revision: 33639
2012-10-07 23:01:52 +00:00
Felix Fietkau
53cc34e517 x86/generic: enable cdrom + iso9660 support
SVN-Revision: 33638
2012-10-07 23:01:47 +00:00
Gabor Juhos
befb648642 ar71xx: build image for the TL-WR841N/ND v8
SVN-Revision: 33623
2012-10-04 20:16:06 +00:00
Gabor Juhos
02a85dfd85 ar71xx: user-space support for TL-WR841N/ND v8
SVN-Revision: 33622
2012-10-04 20:16:05 +00:00
Gabor Juhos
196c6c5b45 ar71xx: add support for the TL-WR841N/ND v8 board
SVN-Revision: 33621
2012-10-04 20:16:03 +00:00
Hauke Mehrtens
07234dc8bd bcma: do not initialize deactivated PCIe cores
Before it was tried to initialize the deactivated PCIe core in client
mode, but this causes the SoC to hang. Just do not initialize it at all
and ignore the core it is not working and nothing is connected to it
when the specific bit is set in the boardflags.

SVN-Revision: 33620
2012-10-04 15:45:54 +00:00
Hauke Mehrtens
2819890839 use memcmp in mem size detection as suggested by blogic
SVN-Revision: 33619
2012-10-04 15:42:12 +00:00
Florian Fainelli
5e0df9582b fix typo in 05_set_ether_mac_rdc preinit script (#11166)
SVN-Revision: 33618
2012-10-04 12:36:50 +00:00
Gabor Juhos
d832cd11f8 ramips: add image for ALL0256N-8M
The new version of the ALL0256N now got 8MB SPI NOR flash instead of 4MB.
In order to expose the whole amount of flash, add another image which contains
the corresponding GENERIC_8M mtdparts.

[juhosg: change suffix from '8m' to '8M']

Patch by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33614
2012-10-04 06:34:09 +00:00
Florian Fainelli
47c5c4df1c add Default and Gumstix PXA profiles
Gumstix builds a fake flash image for usage in qemu

SVN-Revision: 33609
2012-10-03 16:15:05 +00:00
Florian Fainelli
48daf407a6 advertise jffs2 feature
SVN-Revision: 33607
2012-10-03 16:12:57 +00:00
Florian Fainelli
bb7ac8ae7d remove broken flag
SVN-Revision: 33606
2012-10-03 16:12:39 +00:00
Florian Fainelli
8f44ba1ae2 fix build with latest gpiolib changes
SVN-Revision: 33605
2012-10-03 16:12:03 +00:00
Florian Fainelli
d504b6251c more convertions to {read,write}_relaxed I/O accessors
SVN-Revision: 33604
2012-10-03 16:10:47 +00:00
Felix Fietkau
a2e1dce829 cns3xxx: add missing kernel config symbol
SVN-Revision: 33603
2012-09-30 15:31:34 +00:00
Hauke Mehrtens
9f083117d1 refresh patches
SVN-Revision: 33602
2012-09-30 11:45:53 +00:00
Hauke Mehrtens
642fe7f10a bcma: use fallback sprom if sprom on card was not valid
Sometimes the PCIe card indicates that it has a sprom somewhere and we
are able to read the memory region, but it is empty and not valid. In
these cases we should try to use the fallback sprom as a last chance.

SVN-Revision: 33601
2012-09-30 11:45:31 +00:00
Hauke Mehrtens
42952fd94f bcma: initialize sprom earlier
The chip common and the PCIe code are accessing the sprom struct which
is not filled when these cores are initialized. Fix this by adding an
early initialize and fill the sprom struct before accessing it in other
code.

SVN-Revision: 33600
2012-09-30 11:44:44 +00:00
Hauke Mehrtens
2d40590a23 run make kernel_oldconfig
SVN-Revision: 33599
2012-09-30 11:44:04 +00:00
Hauke Mehrtens
e5eefed084 ignore the last page on bcma based SoCs
SVN-Revision: 33598
2012-09-30 11:43:40 +00:00
Hauke Mehrtens
c9feffc332 Fix reading sprom from nvram without a prefix
The bcma based SoCs with a ieee80211 core on the SoC and an other
connected via PCIe or USB store the sprom for the SoC with a sb/1/
prefix. The SoC with just one wifi core do not use prefixes. The
BCM4706 do not use a prefix for the SoC part at all, because the prefix
is the path to the ieee80211 core and there is non on the BCM4706.

SVN-Revision: 33597
2012-09-30 11:43:13 +00:00
Hauke Mehrtens
4d5c75a54e improve the check for the memory size
This will hopefully fix bug #9360 and #9097 in trunk.

SVN-Revision: 33596
2012-09-30 11:42:16 +00:00
John Crispin
f3cab53f27 dont explicitly select wireless-tools. rely on the drivers that need them to have the right dependency
SVN-Revision: 33593
2012-09-28 21:54:31 +00:00
John Crispin
0afc7b9b6d add support for adm6996 phy
SVN-Revision: 33592
2012-09-28 21:38:02 +00:00
John Crispin
9dc218f88f tapi was not registeredproperly for most arcadyan boards
SVN-Revision: 33591
2012-09-28 20:57:06 +00:00
Imre Kaloz
c53936bb4b Add FIQ support for cns3xxx
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33581
2012-09-28 17:35:35 +00:00
Imre Kaloz
2f2115c436 Update board support for Gateworks Laguna Product family
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33580
2012-09-28 17:34:18 +00:00
Imre Kaloz
70729bb4a5 USB iso mode fixes
Resolves an issue where isochronouse USB would cause the driver to hang as
well as scheduling issues.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33579
2012-09-28 17:31:22 +00:00
Gabor Juhos
170cd7a19a ar71xx: avoid possible NULL pointer dereference in ath79_init_{,local}_mac
SVN-Revision: 33575
2012-09-27 20:05:42 +00:00
Gabor Juhos
a0df3fa315 generic: enable CONFIG_USB_EHCI_TT_NEWSCHED
This feature was experimental in old kernels but
that flag has been removed in 2.6.36. Additionally,
the option is enabled by default since then.

See: http://www.spinics.net/lists/linux-usb/msg31993.html

SVN-Revision: 33574
2012-09-27 20:05:39 +00:00
Gabor Juhos
e3bcbeb427 ramips: add memory detection code for RT5350
SVN-Revision: 33571
2012-09-27 10:18:15 +00:00
Gabor Juhos
80d2da9f0f ramips: allow to use custom code for memory size detection
SVN-Revision: 33570
2012-09-27 10:18:14 +00:00
Florian Fainelli
4ea68a13e3 include sys/resource.h in arch/um/os-Linux/start_up.c (#12155)
Required for recent (e)glibc systems

SVN-Revision: 33569
2012-09-27 09:21:01 +00:00
Imre Kaloz
68f8db6731 fix ncores for single-core systems.
For cns3xxx SCU_CONFIGURATION always shows multipe cores but SCU_CPU_STATUS
shows which ones are active.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33566
2012-09-27 08:07:17 +00:00
Imre Kaloz
9ace6ace8f add i2c retries
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33565
2012-09-27 08:06:13 +00:00
Imre Kaloz
7dd6b04c28 fix pcie abort handling
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33564
2012-09-27 08:05:19 +00:00
Florian Fainelli
caf900f0e4 remove kmod-spi-bitbang
This is no longer a dependency of kmod-spi-bcm63xx

SVN-Revision: 33562
2012-09-26 20:11:37 +00:00
Gabor Juhos
579e9cded8 generic: add upstream commit id to codel patches and refresh those
SVN-Revision: 33560
2012-09-26 14:17:17 +00:00
Florian Fainelli
eb97933e2a backport the upstream entropy changes (#11951)
SVN-Revision: 33559
2012-09-26 12:54:01 +00:00
Florian Fainelli
4a67ccb163 get rid of the IRQF_SAMPLE_RANDOM flag
SVN-Revision: 33558
2012-09-26 12:53:58 +00:00
Florian Fainelli
c27c0d1ff0 add wmbus-repeater to the dLAN USB Extender profile
SVN-Revision: 33556
2012-09-25 20:56:50 +00:00
Florian Fainelli
c7cf4def64 enable multicast and advanced ip routers configs
SVN-Revision: 33555
2012-09-25 20:53:34 +00:00
Florian Fainelli
d95f612340 add kmod-usb-serial-ftdi to the dLAN USB Extender profile
SVN-Revision: 33554
2012-09-25 20:50:20 +00:00
John Crispin
d8c04821c3 make uci-defaults switch detection work on rt5350
SVN-Revision: 33549
2012-09-25 14:47:18 +00:00
John Crispin
34d57ebd8b add ethernet support for rt5350
SVN-Revision: 33548
2012-09-25 14:47:08 +00:00
John Crispin
af0cd76937 make ramips ethernet use a register mapping table
SVN-Revision: 33547
2012-09-25 14:46:58 +00:00
Hauke Mehrtens
0818180715 activate failsafe on all ports of the switch and not just port 0.
Sometimes the port 0 was the WAN port or there could be some device
where the port 0 is not wired to an actual Ethernet port. Now telnet in
failsafe will listen on all ports of the switch so user do not have to
search for the correct port any more. This change will make the switch
leak traffic between the WAN and the LAN port, but you should not use
failsafe while connected to a untrusted network.

SVN-Revision: 33544
2012-09-25 14:04:59 +00:00
Gabor Juhos
ffc0ea6c5d ar71xx: create 'fat' images for the DIR-825/TEW-673GRU boards
With these images, it is possible to use the 'unused'
partition of the flash. The 'fat' images can be installed
with the sysupgrade command. When a 'fat' image is
installed from a regular one, the platform specific
sysupgrade script copies the calibration data to the
end of the flash. Likewise, when a regular image is
installed  from the 'fat' version the sysupgrade script
copies the calibration data back to the original location.

SVN-Revision: 33540
2012-09-25 12:57:41 +00:00
Gabor Juhos
e7b1949d87 ar71xx: automatically find WLAN calibration data on TEW-673GRU
SVN-Revision: 33539
2012-09-25 12:57:40 +00:00
Gabor Juhos
8ed8e51e74 ar71xx: automatically find WLAN calibration data on DIR-825-B1
SVN-Revision: 33538
2012-09-25 12:57:38 +00:00
Gabor Juhos
e2504a977a ar71xx: add missing backslash to uci-defaults/leds (closes #12240)
SVN-Revision: 33537
2012-09-25 12:49:43 +00:00
John Crispin
394a560a9a unbreak port mapping detection
SVN-Revision: 33536
2012-09-25 09:51:48 +00:00
Gabor Juhos
e70ad61e44 ar71xx: use different machtype and setup for the TL-MR3040
Should fix #12211. Compile tested only.

SVN-Revision: 33535
2012-09-24 18:45:56 +00:00
Felix Fietkau
493b7c7f3c x86: avoid using grub prepare when using grub2
SVN-Revision: 33525
2012-09-23 09:59:56 +00:00
Felix Fietkau
999252dccc x86-generic: enable a few more common kernel options/drivers
SVN-Revision: 33516
2012-09-22 23:29:20 +00:00
Felix Fietkau
b968dcd52e kernel: increase log buffer size
SVN-Revision: 33515
2012-09-22 23:10:42 +00:00
Felix Fietkau
0260262f0b x86: enable usb storage support for the generic subtarget to support booting from usb devices
SVN-Revision: 33514
2012-09-22 21:15:59 +00:00
Felix Fietkau
52e8ee0666 x86: add support for building grub2 images
SVN-Revision: 33513
2012-09-22 20:10:42 +00:00
Felix Fietkau
ce4244c8af x86: split generic image building into a separate script
SVN-Revision: 33511
2012-09-22 20:10:35 +00:00
Felix Fietkau
6c02dd2b04 x86: rename gen_image_x86.sh to gen_image_grub.sh
SVN-Revision: 33510
2012-09-22 20:10:31 +00:00
Felix Fietkau
d6ca46cd25 cns3xxx: fix ethernet driver tx completion and queue stop/start
SVN-Revision: 33504
2012-09-22 00:34:53 +00:00
Felix Fietkau
fb71465a4e cns3xxx: implement ethernet fraglist tx support for improved bridging performance with jumbo frames
SVN-Revision: 33503
2012-09-22 00:34:49 +00:00
Imre Kaloz
ed3597d927 move gpio stuff into the right file
SVN-Revision: 33502
2012-09-21 05:40:04 +00:00
Imre Kaloz
a74cf6f9a8 refresh patches
SVN-Revision: 33501
2012-09-21 05:38:16 +00:00
Felix Fietkau
15159604d9 cns3xxx: add a small optimization for rx offload
SVN-Revision: 33500
2012-09-21 00:13:12 +00:00
Felix Fietkau
a1c016fe16 cns3xxx: fix ethernet port lookup for multi-descriptor jumbo frames
SVN-Revision: 33499
2012-09-21 00:13:08 +00:00
Felix Fietkau
029aaf4514 cns3xxx: fix ethernet packet alignment issues (hw has an alignment requirement of 64), fix skb fragment chaining
SVN-Revision: 33498
2012-09-20 20:27:18 +00:00
Felix Fietkau
c4a419b445 kernel: enable perf events when enabling profiling, fixes oprofile on arm
SVN-Revision: 33497
2012-09-20 20:27:14 +00:00
Hauke Mehrtens
fd7b2b5141 deactivate mips wait instruction for MIPS 74K on Broadcom SoCs
When not removing support for the wait instruction, when ruining on the
BCM4706 SoC the system stops after msleep() without an exception. I
haven't seen this problem on the other Broadcom SoCs with a 74K CPU,
but in the Broadcom SDK it is deactivated for all CPUs of this type.

SVN-Revision: 33496
2012-09-20 14:51:57 +00:00
Felix Fietkau
1067ccf9f7 cns3xxx: remove the broken flag
SVN-Revision: 33493
2012-09-19 23:50:25 +00:00
Felix Fietkau
2db9e9f624 cns3xxx: fix kernel config
SVN-Revision: 33492
2012-09-19 23:50:22 +00:00
Felix Fietkau
34d30654ae cns3xxx: fix ethernet jumbo-frame support, use single-page rx buffers and skb fragment lists
SVN-Revision: 33491
2012-09-19 23:50:18 +00:00
Felix Fietkau
eff9405752 cns3xxx: fix ethernet tx checksum offload
SVN-Revision: 33490
2012-09-19 23:50:15 +00:00
Felix Fietkau
dd1fb8289f cns3xxx: merge ethernet driver changes from gateworks
SVN-Revision: 33489
2012-09-19 23:50:12 +00:00
Felix Fietkau
190b4344a3 cns3xxx: build images for the old boot loader and the new one (default to the new one)
SVN-Revision: 33488
2012-09-19 23:50:09 +00:00
Felix Fietkau
59b1d018b1 cns3xxx: fix the ethernet driver makefile
SVN-Revision: 33487
2012-09-19 23:50:06 +00:00
Felix Fietkau
c9139c150c cns3xxx: reorganize patches, fix pcie io space init order
SVN-Revision: 33486
2012-09-19 23:50:02 +00:00
Felix Fietkau
7cd4968d0e cns3xxx: move virtual io addresses to vmalloc space to fix kernel BUG() calls
SVN-Revision: 33485
2012-09-19 23:49:58 +00:00
Felix Fietkau
2f39fa872a cns3xxx: add missing callbacks for the laguna machine support
SVN-Revision: 33484
2012-09-19 23:49:50 +00:00
Florian Fainelli
57bd95734d brcm47xx/profiles/PS-1208MFG: remove reference to non-existing package
The package block-hotplug doesn't exist, refer to block-mount instead.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33474
2012-09-19 15:13:33 +00:00
Florian Fainelli
136eb6815c omap24xx/profiles/n810: remove reference to non-existing package
The package block-hotplug doesn't exist, removing reference to it.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33473
2012-09-19 15:13:30 +00:00
Hauke Mehrtens
db18fa388d update fix-boot patch.
Do not change the code any more but use the kconfig options

SVN-Revision: 33463
2012-09-19 10:18:36 +00:00
Hauke Mehrtens
eeb3ad1860 update gpio patches
SVN-Revision: 33462
2012-09-19 10:17:51 +00:00