Commit Graph

32742 Commits (12b577613996f768c00918f762d387f3cb2a8cee)

Author SHA1 Message Date
Rafał Miłecki 12b5776139 kernel: bcm47xxpart: support boart_data partition on Xiaomi
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-27 22:13:18 +00:00
Rafał Miłecki 211d5e20b7 kernel: backport queued bcm47xxpart changes
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-27 22:08:14 +00:00
Jo-Philipp Wich d7b5619b97 ep93xx: fix broken kmods after r44112 (#18833)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-27 20:46:53 +00:00
Felix Fietkau e45e66d4ae kernel: fix regression in building kmod-serial-8250 on linux 3.8 (#18821)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-27 00:06:42 +00:00
Imre Kaloz 972635a5d3 mvebu: temporary el cheapo' fan control script
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-26 20:41:43 +00:00
Jo-Philipp Wich 795328ec8e kernel: add missing symbol to generic 3.18 config
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 23:36:09 +00:00
Jo-Philipp Wich a5fe570c02 fix subject in generated certificates
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 23:33:49 +00:00
Jo-Philipp Wich b512010360 mvebu: add missing config symbol
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 22:17:43 +00:00
Jo-Philipp Wich 58236ae358 linux: disable kmod-bcma on ppc40x, it does not build
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 21:55:36 +00:00
Jo-Philipp Wich ceb0522dfe linux: disable kmod-zram on ep93xx, it does not export unmap_kernel_range
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 21:02:12 +00:00
Jo-Philipp Wich 29d0143fd6 ipq806x: declare missing config symbols
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 20:52:50 +00:00
Jo-Philipp Wich fe829c5a75 uhttpd: fix another remaining relro issue in the Lua plugin
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 20:43:17 +00:00
Jo-Philipp Wich ccdb918a4e linux: fix broken kmod-i2c-mux-pca9541 after r44113
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 20:03:26 +00:00
Imre Kaloz 9d106c8c8e generic/3.19: fixup the value of IFF_NO_IP_ALIGN
Reported-by: Stephen Walker <stephendwalker+openwrt@gmail.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 18:14:18 +00:00
Jo-Philipp Wich dfa9a409c9 uhttpd: fix time_t type mismatch on 32bit systems
The previous update introducing LFS support unconditionally changed the
sprintf() pattern used to print the file modification time to use PRIx64.

Explicitely convert the st_mtime member of the stat struct to uint64_t in
order to avoid type mismatch errors when building for non-64bit targets.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 17:59:08 +00:00
Luka Perkov 60fade7125 kernel: update 3.14 to 3.14.29
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 17:29:41 +00:00
Jo-Philipp Wich 8d3b3ee55c cns21xx: remove stray CONFIG_WAN from kernel config
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 17:29:04 +00:00
Jo-Philipp Wich cfc5c0c8b4 uhttpd: fix crash with enabled relro, memory leak in dirlists and lfs
* Fix the ubus plugin to not make its uhttpd_plugin entry symbol
   constant as uhttpd needs to modify its list_head member
 * Make sure that uhttpd supports large files by using 64bit ints
   where appropriate and by passing _FILE_OFFSET_BITS=64 to the build
 * Plug a possible memleak in the directory listing code

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 17:23:26 +00:00
Jo-Philipp Wich 59dbb6ac93 procd: make build of upgraded optional
Update to latest git head in order to support disabling the build
of upgraded which causes linker errors on avr32.

This also adds some fixes to the ubus system.info and system.board
methods.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 16:12:52 +00:00
Jo-Philipp Wich de356f8300 xburst: fix kernel build
Changeset r43049 removed the "062-mips_decompressor_build_fix.patch" which is
still required to properly build the xburst kernel.

Fix the syntax error in the preprocessed code by explicitely undefining the
"memcpy" and "memset" macros prior to declaring the replacements functions.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 15:55:03 +00:00
Jo-Philipp Wich 644087a08b uhttpd: fix exit code of mod-ubus postinstall script
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 15:54:43 +00:00
Imre Kaloz a91f2f1272 mvebu: use pwmfan in the profile
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 15:52:28 +00:00
Imre Kaloz 037060d1dd mvebu: preliminary 3.19 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 15:37:31 +00:00
Imre Kaloz 7652dc8164 mvebu: gpio based pwm support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 15:36:47 +00:00
Imre Kaloz e52f6cb655 mvebu: update mamba dts
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 15:26:33 +00:00
Imre Kaloz 5b7c88153c mvebu: backport some upstream changes
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 15:25:14 +00:00
Imre Kaloz eac842c52b generic: add preliminary 3.19 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 15:20:39 +00:00
Luka Perkov 10c00d2843 kirkwood: add wpad-mini to guruplug profile
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 13:39:24 +00:00
Luka Perkov d451944c8c kirkwood: enable swconfig by default on EA3500
Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 13:11:07 +00:00
Luka Perkov 9e395e5059 kirkwood: fix EA3500 ubi options
Previous options resulted in a nonfunctional image.

Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 13:11:04 +00:00
Luka Perkov 4d0ec38ac4 kirkwood: drop port-based VLAN setup
Using port-based VLANs depends on a non-standard
swconfig parameter, which compilcates things like
LuCI that don't know about it. This patch changes
the default to use 802.1q VLANs internally in the
switch, but without tagging packets since we have
two Ethernet ports.

iperf3 tests indicate no difference in performance
versus port-based VLANs when the CPU port is not
using tags.

Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 13:11:02 +00:00
Imre Kaloz ac618a1b0e generic/3.18: update to 3.18.3
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 11:39:30 +00:00
Felix Fietkau 3d9743e703 kernel: fix typo in hwmon.mk (#18813)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 11:21:48 +00:00
Luka Perkov 84bd19eb70 include: drop kernel 3.3.x leftovers
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 23:08:17 +00:00
Felix Fietkau 2921fef744 ralink: fix ethernet feature TSO not work
* fix TSO features verify on mt7621 firewrt board
* improve tx clean up. no need to access uncached
  memory. also use TX_DTX register instead of
  read tx ring DONE bit
* mt7621 need napi weight 64 to get more performance
* remove netif_receive_skb, after kernel version
  3.7 tcp4_gro_receive can handle tcp checksum.
  on rt2880 use iperf tcp LAN to WAN throughput test.
  with gro 135 Mbits/sec. without gro 80.4Mbits/sec.

Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 22:45:28 +00:00
Felix Fietkau 1ff6e9aef8 ralink: init tx/rx vlan offload register for mt7621
on mt7621 don't have tx vlan vid registers.
so set FE_REG_FE_DMA_VID_BASE to 0.
set rx vlan offload register to disable.

Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 22:45:23 +00:00
Felix Fietkau 2bc783064d ralink: use fe_max_buf_size to get rx buffer size
the rx_buf_size now is 1534 when mtu is 1500.
the ethernet frame with vlan tag and FCS is 1522.
so the buffer is enough.

Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 22:45:16 +00:00
Felix Fietkau ff3864e8a4 ramips: fix ethernet vlan tx offload support check
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 22:45:10 +00:00
Felix Fietkau 61bb03d2eb kernel: eliminate a few kernel_patchver_*/CompareKernelPatchVer calls
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 22:13:31 +00:00
Felix Fietkau ac28fb42d4 kernel: drop obsolete kernel version checks
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 22:13:22 +00:00
Felix Fietkau 4fc7ff5ff7 ep93xx: remove obsolete kernel version check
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 22:13:17 +00:00
Felix Fietkau f606c115e5 x86: remove linux 3.3 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 20:02:23 +00:00
Felix Fietkau ae62798e99 build: drop obsolete kernel version dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 20:02:09 +00:00
Felix Fietkau cac0cf6daa kernel: remove linux 3.3 patches and config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 20:02:02 +00:00
Felix Fietkau 67ad5ff273 pxa: mark as broken
It still uses the long obsolete 3.3 kernel version

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 20:01:45 +00:00
Felix Fietkau 3afaff3cd8 x86: mark the ep80579 subtarget as broken
It still uses the long obsolete 3.3 kernel version

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 20:01:40 +00:00
Felix Fietkau cdad29a7c1 mcs814x: remove linux 3.3 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 20:01:33 +00:00
Felix Fietkau 7c9617f664 ar8216: prefix mii_xxx functions to avoid kernel namespace pollution
Prefix the exported mii_xxx32 functions with ar8xxx_
to avoid kernel namespace pollution.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 19:42:12 +00:00
Felix Fietkau 4bfb00d02d ar8216: add swconfig attribute to display ARL table on AR8327/AR8337
Add global read-only swconfig attribute "arl_table" to display the
address resolution table.
So far the chip-specific part is implemented for AR8327/AR8337 only
as I don't have the datasheets for the other AR8XXX chips.

Successfully tested on TL-WDR4300 (AR8327rev2)
and TL-WDR4900 (AR8327rev4).

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 19:42:06 +00:00
Felix Fietkau 95e0b242c2 ar8216: decrease page switch wait time
Until a few years ago the page switch wait time was set to msleep(1)
what was changed to usleep_range(1000, 2000) later.

I can not imagine that a low-level operation like switching page
on register level takes so much time.
Most likely the value of 1ms was initially set to check whether
it fixes an issue and then remained w/o further checking whether
also a smaller value would be sufficient.

Now the wait time is set to 5us and I successfully tested this on
AR8327. IMHO 5us should be plenty of time for all supported chips.
However I couldn't test this due to missing hardware.

If other chips should need a longer wait time we can add the
wait time as a parameter to the ar8xxx_chip struct.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 19:42:01 +00:00