Jonas Gorski
06f3165bc2
linux: generic: fix split_squashfs for 3.6
...
_read expects the retlen to be initialized to zero, which the mtd_read
helper does. So fix it by using mtd_read instead of calling _read directly.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 00:48:21 +00:00
Jonas Gorski
3590dfe2a4
bcm63xx: fix SPW303V images
...
SPW303V also needs its CRC fixed up since increasing the image size to
4MB to prevent the dual image mode of CFE.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 22:50:29 +00:00
Gabor Juhos
ed27b638cd
ar71xx: nuke ath79_set_usb_power_gpio helper
...
It is no longer used.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 13:23:28 +00:00
Gabor Juhos
63a2533400
ar71xx: use gpio_request_one instead of ath79_set_usb_power_gpio
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 13:23:27 +00:00
Gabor Juhos
d7e7749443
kernel: update linux 3.6 to 3.6.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 13:22:09 +00:00
Imre Kaloz
7cb435123c
[ixp4xx]: use the mainline machname for the compex boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 11:38:23 +00:00
Gabor Juhos
1302d425cb
ramips: enable USB power on the DIR-645
...
Closes #12422 .
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 11:04:45 +00:00
Gabor Juhos
57d2dcb6a0
linux/3.3: backport an upstream GPIO patch
...
The backported patch introduces new flags to
automatically export GPIOs when using the
convenience unctions gpio_request_one() or
gpio_request_array().
This will be used by ar71xx/ramips platforms.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 11:04:43 +00:00
Gabor Juhos
802d3dc718
ramips: add restorefactory to default package set for ALL0239-3G and ALL0256N
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 06:58:53 +00:00
Gabor Juhos
90c05775ac
ar71xx: don't use the unknown LED on the ZCN-1523-5 board
...
According to #12421 , GPIO 1 controls the power
output on the unused lines of the LAN2 port.
Remove the LED definition in order to prevent
possible permanent hardware damage.
If someone needs that, the power-out feature can
be controlled via the GPIO sysfs interface.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-04 22:08:54 +00:00
Gabor Juhos
82f7bd78ce
ar71xx: include mtd layout in the command line for ZCN-1523H-* boards
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-04 21:12:20 +00:00
Gabor Juhos
dd77aab2d5
ar71xx: add missing Makefile entry for the ZCN-1523H-{2,5} boards
...
Also add the missing ATH79_MACH_ZCN_1523H_5 symbol.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-04 20:15:18 +00:00
Felix Fietkau
68c575d5a9
linux-3.6: fix portability of some includes files in tools/ used on the host
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-04 17:01:15 +00:00
John Crispin
434f5edbf7
[lantiq] 3.6 is not the default yet
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-03 13:29:44 +00:00
John Crispin
403bf784c9
[lantiq] adds dts files and make devicetree images buildable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-02 20:07:47 +00:00
John Crispin
2b11c5869f
[lantiq] update ase target for 3.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-02 20:07:41 +00:00
John Crispin
613f20baba
[lantiq] add subtarget, as of 3.6 we dont seperate xway SoC
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-02 20:07:36 +00:00
John Crispin
3c3f1ddfbd
[lantiq] adds 3.6 files, patches and config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-02 20:07:26 +00:00
John Crispin
5a5e4b2782
[lantiq] move files/ -> files-3.3/
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-02 20:07:02 +00:00
John Crispin
bd7dc4e3ea
[lantiq] prepare Makefile for 3.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-02 20:06:51 +00:00
Gabor Juhos
ba0ed558ae
generic: make yaffs work on 3.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-01 11:07:23 +00:00
Gabor Juhos
9279cff99c
generic: rename jffs2 patches
...
Make room for the upcoming yaffs patches.
No functional changes.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-01 11:07:16 +00:00
Daniel Dickinson
78170ee893
[sdk] Fix feeds.conf.default when no SVN info present
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-01 07:15:49 +00:00
Gabor Juhos
8fda8ed025
generic: use mtd_* helpers in the yaffs code
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 21:17:30 +00:00
Imre Kaloz
8cb200c475
[cns3xxx]: move PCIe init to subsys init call
...
ARM Linux PCI/PCIe hardware intialization needs to occur before device_init
as it does not support hotplug. I have modeled the cns3xxx PCIe init after
other ARM platforms. Registering it early resolves resource issues occuring
during bus enumeration that occur when a device driver is linked static in
the kernel.
Instead of passing in a bitmask to enable the 2 available ports, link detect
is used to enable ports that have a valid link.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 20:16:53 +00:00
Gabor Juhos
5abc89f037
kernel: update linux 3.6 to 3.6.5
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 20:09:39 +00:00
Gabor Juhos
5e9e20bc4f
generic: split yaffs-3.2-fix patch
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 19:33:12 +00:00
Gabor Juhos
af243e70af
generic: replace yaffs-2.6.39 patch
...
Use backported upstream patches instead.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 15:12:45 +00:00
Gabor Juhos
2400c2b7f7
generic: replace yaffs mutex_fix patch
...
Use a backported patch instead.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 21:16:24 +00:00
Gabor Juhos
ce71eb1f6e
generic: replace yaffs symlink fix patch
...
Use a backported patch instead.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 21:16:23 +00:00
Gabor Juhos
0461aab56a
generic: rename yaffs patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 21:16:21 +00:00
Florian Fainelli
d4cfa7ddca
[realview] set earlyprintk UART to be the default Realview UART
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 16:56:10 +00:00
Gabor Juhos
e3f12313fe
generic: fold yaffs_git_2010_10_20 patch to generic/files
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 14:58:17 +00:00
Gabor Juhos
029a10f4cb
generic: fold yaffs_cvs_2009_04_24 patch to generic/files
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 14:58:13 +00:00
Gabor Juhos
d2c33eba70
ar71xx: fix link speed between AR7242 and AR8327 on the RB750GL/RB751G boards
...
The default pll_1000 value had to be changed
in order to make it working.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 17:24:30 +00:00
Gabor Juhos
e036077e9e
target: refresh all target configs with kconfig.pl
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 10:11:05 +00:00
Imre Kaloz
dc8d837bab
add missing 3.6 symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 10:00:02 +00:00
Imre Kaloz
3d12aaad33
[orion]: the uImage's filename will hardly change
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 09:55:20 +00:00
Gabor Juhos
32c84b93c1
generic: add more symbols for 3.6
...
Also refresh the config file with kconfig.pl.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 09:08:59 +00:00
Gabor Juhos
a8ec452c60
ar71xx: add initial support for 3.6
...
The nand subtarget is not working yet.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-28 19:52:02 +00:00
Gabor Juhos
b783fb21a5
kernel: update linux 3.6 to 3.6.4
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-28 18:59:39 +00:00
Gabor Juhos
1517cc75d2
ar71xx: remove NO_AUTOINCR flag from the NAND drivers
...
The flag is not present in 3.6.
Also add compatibility patches for 3.3.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-28 12:21:15 +00:00
Gabor Juhos
7a14817d2d
generic: fix crashlog patch for 3.6
...
kmsg_dump() uses an iterator to receive log buffer
content since 3.5. Change the 'crashlog_do_dump'
function in order to make it compatible with the
new version.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-28 09:50:50 +00:00
Gabor Juhos
4f3acd22a4
ar71xx: ag71xx: fix build_skb arguments for 3.6
...
Also add a compatibility patch for 3.3
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 17:11:06 +00:00
Gabor Juhos
bb2a90b763
generic: fix tcp_window_check patch for 3.6
...
Move the new entry to the end of the tcp_sysctl_table
array to fix the following error:
[ 7.670000] sysctl table check failed: net/netfilter/nf_conntrack_tcp_max_retrans No data
[ 7.680000] Call Trace:
[ 7.680000] [<80273bc4>] dump_stack+0x8/0x34
[ 7.680000] [<80128710>] __register_sysctl_table+0x374/0x3a8
[ 7.690000] [<868d5034>] nf_conntrack_l4proto_unregister+0x158/0x1a0[nf_conntrack]
[ 7.700000] [<868d50e4>] nf_conntrack_l4proto_register+0x68/0x21c[nf_conntrack]
[ 7.710000] [<868b237c>] need_ipv4_conntrack+0x35c/0xb60[nf_conntrack_ipv4]
[ 7.710000]
[ 7.720000] nf_conntrack_l4proto_tcp4 :protocol register failed
[ 7.720000] nf_conntrack_ipv4: can't register pernet ops
[ 7.780000] nf_nat: Unknown symbol nf_nat_seq_adjust_hook (err 0)
[ 7.790000] nf_nat: Unknown symbol need_ipv4_conntrack (err 0)
[ 7.800000] iptable_nat: Unknown symbol nf_nat_packet (err 0)
[ 7.810000] iptable_nat: Unknown symbol nf_nat_setup_info (err 0)
[ 7.820000] iptable_nat: Unknown symbol nf_nat_icmp_reply_translation (err 0)
[ 7.820000] iptable_nat: Unknown symbol need_ipv4_conntrack (err 0)
[ 7.840000] ipt_MASQUERADE: Unknown symbol nf_nat_setup_info (err 0)
[ 7.860000] nf_nat_ftp: Unknown symbol nf_nat_follow_master (err 0)
[ 7.870000] nf_nat_ftp: Unknown symbol __nf_nat_mangle_tcp_packet (err 0)
[ 7.890000] nf_nat_irc: Unknown symbol nf_nat_follow_master (err 0)
[ 7.900000] nf_nat_irc: Unknown symbol __nf_nat_mangle_tcp_packet (err 0)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 15:42:25 +00:00
Imre Kaloz
de2b6820de
[generic]: instead of updating the whole file, just add the additional boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 13:29:36 +00:00
Imre Kaloz
52b8424c48
[orion]: rename erase size variables
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 10:50:55 +00:00
Imre Kaloz
fdb45e8803
[orion]: add support for Netgear WN802T
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 10:48:22 +00:00
Imre Kaloz
61756f89b8
[orion]: don't enforce rootfs location
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33962 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 10:43:47 +00:00
Imre Kaloz
e57364c03e
[brcm47xx]: generate images for the D-Link DWL-3150 as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 09:42:58 +00:00