Commit Graph

5748 Commits (42986e14fcc669dec94bd6f724e1ab7453cf04f5)

Author SHA1 Message Date
Hauke Mehrtens 3aca383c72 brcm47xx: some checkpatch fixes
SVN-Revision: 22425
2010-07-31 10:06:05 +00:00
Hauke Mehrtens 96911f6b58 brcm47xx: some fixes
* fix return codes of nvram_getenv. Now it behaves like cfe_getenv.
* also check cfe for kernel_args param.
* some style fixes

SVN-Revision: 22424
2010-07-31 10:05:29 +00:00
Alexandros C. Couloumbis 927d42ed62 generic/patches-2.6.32: finalize jffs2/lzma support on 2.6.32.x
SVN-Revision: 22423
2010-07-31 06:49:38 +00:00
Jo-Philipp Wich eea5f1c565 fix a typo in config-2.6.34 and config-2.6.35, thanks frogonwheels
SVN-Revision: 22421
2010-07-30 23:23:42 +00:00
Hauke Mehrtens da7493d8f9 mostly revert commit r22396
CFE does not boot images generated with these checksums because of
wrong checksum.

After flashing then with tftp to my Asus wl500-GPv1 the following messages
are show:
Null Rescue Flag.
Boot program checksum is invalid
Hello!! Enter Rescue Mode: (Check error)

SVN-Revision: 22418
2010-07-30 21:19:49 +00:00
Alexandros C. Couloumbis 42738aa9ad add missing bits & bytes from r22412
SVN-Revision: 22416
2010-07-30 09:59:13 +00:00
Alexandros C. Couloumbis b8d60bb9d4 target/linux: refresh kernel patches
SVN-Revision: 22413
2010-07-29 17:20:25 +00:00
Alexandros C. Couloumbis daf10573ba enable mtu & mac config options
SVN-Revision: 22412
2010-07-29 17:16:44 +00:00
Alexandros C. Couloumbis cb8ce973f7 atheros/patches-2.6.35: sync patches against 2.6.35-rc6
SVN-Revision: 22411
2010-07-29 14:13:51 +00:00
Alexandros C. Couloumbis 1e05fd6eef generic/patches-2.6.34: Make devtmpfs available on (embedded) configurations without SHMEM/TMPFS, using ramfs instead. (gone mainline in kernel 2.6.35-r3)
SVN-Revision: 22407
2010-07-28 08:34:03 +00:00
Jo-Philipp Wich e47a8a001c revert r22372 and r22405, dependency on host libtool causes problems
SVN-Revision: 22406
2010-07-28 02:18:16 +00:00
Felix Fietkau 65899cfa49 ar71xx: remove the fifo cfg overrides for the ap91 ethernet code - these values have been wrong on every single device i've tested, falling back to the atheros values seems to be the right thing to do
SVN-Revision: 22401
2010-07-27 21:04:43 +00:00
Markus Wigge 7a052dc799 fix CRC32 calculation for sysupgrade
* reduce image size for CRC calculation by fs_mark size

sysupgrade sometimes failed for me and I noticed that it was due
to incorrect CRC values in trx-header after performing it.
It seems that the fs_mark was completely included in the calculation
and that it was nevertheless modified by sysupgrade while appending
the jffs data.
This only occurs for the first boot after sysupgrade as the flashmap
driver recalculates the CRC to an even smaller area when it boots.

SVN-Revision: 22396
2010-07-27 15:37:37 +00:00
Jo-Philipp Wich 00cc52f14b reorder profiles
SVN-Revision: 22390
2010-07-26 18:58:35 +00:00
Hauke Mehrtens 763e011e70 brcm47xx: now hopfully realy commit the right things from r22385
SVN-Revision: 22388
2010-07-25 16:10:51 +00:00
Hauke Mehrtens d67c25f592 brcm47xx: add missing part from r22385
SVN-Revision: 22387
2010-07-25 16:07:40 +00:00
Jo-Philipp Wich 7831006360 fix a typo in 040-bcm963xx_flashmap.patch
SVN-Revision: 22386
2010-07-25 00:10:37 +00:00
Hauke Mehrtens 163b24d092 brcm47xx: fill the whole sprom with data
SVN-Revision: 22385
2010-07-24 23:25:06 +00:00
Alexandros C. Couloumbis 766d2494b2 generic/config-2.6.32: switch from gzip to lzma jffs2 compression
SVN-Revision: 22374
2010-07-24 08:14:22 +00:00
Alexandros C. Couloumbis 54ad2c05af ixp4xx: add kernel 2.6.34 preliminary support
SVN-Revision: 22373
2010-07-24 00:18:58 +00:00
Jo-Philipp Wich 8c1d9afc40 use host opkg for installing packages in buildroot and ImageBuilder
SVN-Revision: 22372
2010-07-23 19:49:19 +00:00
Felix Fietkau 4ee3ae96c2 ar71xx: fix sysupgrade on the ubnt nanostation m
SVN-Revision: 22370
2010-07-23 18:16:47 +00:00
Jo-Philipp Wich 878267db01 renaming of the IP175C switch driver brioke switch detection on the Dir-300 and others, fix it
SVN-Revision: 22363
2010-07-23 10:39:10 +00:00
Felix Fietkau 900aaa919b ar71xx: add support for the tp-link tl-wa901nd devices (patch by Pieter "Fate" Hollants, from #7528, without the ethernet fifo cfg values)
SVN-Revision: 22353
2010-07-22 12:37:44 +00:00
Claudio Mignanti d4d6fefdf2 general cleanup
SVN-Revision: 22352
2010-07-22 11:32:42 +00:00
Claudio Mignanti 4a82997327 Add support for u-boot
SVN-Revision: 22351
2010-07-22 11:32:38 +00:00
Felix Fietkau 91edb99017 disable crash logging for uml, it cannot possibly work there anyway
SVN-Revision: 22326
2010-07-21 15:02:53 +00:00
Felix Fietkau dff51d3f2c kernel: add some missing debugging related config symbols
SVN-Revision: 22324
2010-07-21 14:34:17 +00:00
Imre Kaloz a1cdb24a3b add support for the Gateworks Laguna family (Cavium Networks Econa CNS3xxx)
SVN-Revision: 22323
2010-07-21 11:20:53 +00:00
Hauke Mehrtens ebeaea35fd brcm47xx: fix for boardflags by xMff and checkpatch.pl fixes
SVN-Revision: 22318
2010-07-20 19:41:17 +00:00
Felix Fietkau 9f6c22b497 kernel: add the new 'crashlog' feature, which tries to store kernel oops/panic logs in a fixed location in RAM to recover them after the reboot and make them available to user space using debugfs
SVN-Revision: 22305
2010-07-20 01:54:21 +00:00
Felix Fietkau bced5d7d74 ar71xx: set default values for the fifo cfg registers on AR724x
SVN-Revision: 22303
2010-07-20 01:54:11 +00:00
Hauke Mehrtens c811398d00 brcm47xx: write boardflags correct into sprom
SVN-Revision: 22298
2010-07-19 21:45:29 +00:00
Claudio Mignanti 3f25930247 pwm: export the generic pwm api as module
SVN-Revision: 22297
2010-07-19 21:14:24 +00:00
Hauke Mehrtens 49edb3c342 brcm47xx: prepare brcm47xx patches for sending to mainline.
SVN-Revision: 22296
2010-07-19 20:25:20 +00:00
Hauke Mehrtens 0799e77a8b brcm47xx: remove kernel 2.6.33
SVN-Revision: 22295
2010-07-19 20:07:24 +00:00
Imre Kaloz d82495ee60 rename the mx2 target to imx21
SVN-Revision: 22294
2010-07-19 12:32:18 +00:00
Hamish Guthrie 5cecf83e38 Remove profile no longer required
SVN-Revision: 22293
2010-07-19 12:29:41 +00:00
Hamish Guthrie 11d3d82d82 replace dropbear with openssh
SVN-Revision: 22292
2010-07-19 12:13:47 +00:00
Imre Kaloz ca8f45b142 update kernel versions
SVN-Revision: 22289
2010-07-19 11:34:03 +00:00
Imre Kaloz 6e5921c1f3 fixup some boardnames
SVN-Revision: 22288
2010-07-19 11:30:27 +00:00
Imre Kaloz eb86bf8fe8 remove unneeded patches
SVN-Revision: 22287
2010-07-19 11:28:20 +00:00
Alexandros C. Couloumbis 34d506c321 ixp4xx: backport r21893 wrt300nv2 mac fix to 2.6.32
SVN-Revision: 22284
2010-07-18 19:24:00 +00:00
Florian Fainelli 370e1f64de add support for generic eb214a, thanks cezary (#7027)
SVN-Revision: 22275
2010-07-18 10:29:58 +00:00
Florian Fainelli 8b2e8f6674 remove 2.6.30 support
SVN-Revision: 22274
2010-07-18 10:29:51 +00:00
Florian Fainelli f6935a4bdb fix alice gate2 internet:green led (#6743)
SVN-Revision: 22273
2010-07-18 10:29:44 +00:00
Hauke Mehrtens 2d87b1c1ee brcm47xx: activate swap again and run make oldconfig
SVN-Revision: 22266
2010-07-17 20:01:46 +00:00
Florian Fainelli cb373b8d1b use bootloader baudrate settings, thanks bifferos (#7619)
SVN-Revision: 22259
2010-07-17 17:20:35 +00:00
Florian Fainelli 3184a71056 fix bifferboard flash map, thanks bifferos (#7622)
SVN-Revision: 22258
2010-07-17 17:20:29 +00:00
Florian Fainelli 5571c233e9 refresh 2.6.32 patches
SVN-Revision: 22257
2010-07-17 17:20:23 +00:00
Florian Fainelli 3ad5c63eec refresh 2.6.32 patches
SVN-Revision: 22256
2010-07-17 17:20:16 +00:00
Alexandros C. Couloumbis 2e0ff6cb7c ixp4xx: update 2.6.35 config options
SVN-Revision: 22254
2010-07-17 15:45:13 +00:00
Hauke Mehrtens c5ef57706d kernel: refresh patches
SVN-Revision: 22252
2010-07-17 14:10:39 +00:00
Alexandros C. Couloumbis 628252073e ixp4xx: use default lzma kernel compression
SVN-Revision: 22249
2010-07-17 13:26:21 +00:00
Alexandros C. Couloumbis 472585ce4a ixp4xx: sync 2.6.33 patches against 2.6.33.6
SVN-Revision: 22248
2010-07-17 13:22:32 +00:00
Alexandros C. Couloumbis 9a4ca45096 ixp4xx: fix lzma/jffs2 config options
SVN-Revision: 22247
2010-07-17 13:18:42 +00:00
Hauke Mehrtens bcec3ad0e9 kernel: fix kernel panic when traffic goes over the network.
SVN-Revision: 22246
2010-07-17 13:01:16 +00:00
Hauke Mehrtens 2e05035bb1 kernel: the interface fsync changed a little
SVN-Revision: 22244
2010-07-17 11:56:03 +00:00
Alexandros C. Couloumbis 30b022c3bd ixp4xx: update 2.6.35 patches to 2.6.35-rc5
SVN-Revision: 22239
2010-07-16 16:26:59 +00:00
Alexandros C. Couloumbis 883e39cf8f generic: update 2.6.35 patches to 2.6.35-rc5
SVN-Revision: 22238
2010-07-16 16:25:37 +00:00
Hamish Guthrie d163ae3f61 Add a profile including Jamvm for Gumstix
SVN-Revision: 22230
2010-07-16 09:20:06 +00:00
Gabor Juhos 1ca67cba7f ramips: enable ethernet driver for rt288x
SVN-Revision: 22214
2010-07-15 19:45:49 +00:00
Gabor Juhos 2e45ce264d ramips: register ethernet device on the RT-N15
SVN-Revision: 22213
2010-07-15 19:45:46 +00:00
Gabor Juhos c2ebadc504 ramips: add generic ethernet device for the RT288x
SVN-Revision: 22212
2010-07-15 19:45:43 +00:00
Gabor Juhos 0d8c036e56 ramips: add mdio_cfg configuration for the ethernet driver
SVN-Revision: 22211
2010-07-15 19:45:40 +00:00
Gabor Juhos 9445ce43a6 generic: rtl8366: add debugfs file to show PVIDs
SVN-Revision: 22206
2010-07-15 13:05:56 +00:00
Gabor Juhos 9a92e1a32c generic: rtl8366: make rtl8366_set_vlan static
SVN-Revision: 22205
2010-07-15 13:05:53 +00:00
Gabor Juhos 48934bbd88 generic: rtl8366: add common rtl8366_sw_{get,set}_vlan_ports functions
SVN-Revision: 22204
2010-07-15 13:05:50 +00:00
Gabor Juhos d4e0b75dda generic: rtl8366: add common rtl8366_sw_get_vlan_info
SVN-Revision: 22203
2010-07-15 13:05:47 +00:00
Gabor Juhos a59fa57985 generic: rtl8366: use smi->num_ports and smi->ops->get_vlan_4k
SVN-Revision: 22202
2010-07-15 13:05:43 +00:00
Gabor Juhos ce7eca2dff generic: rtl8366: add is_vlan_valid function to smi_ops
SVN-Revision: 22201
2010-07-15 13:05:39 +00:00
Gabor Juhos dffd45dc61 generic: rtl8366: add common rtl8366_sw_get_port_mib function
SVN-Revision: 22200
2010-07-15 13:05:36 +00:00
Gabor Juhos 0049e74882 generic: rtl8366: generealize rtl8366{s,rb}_sw_get_port_mib functions
SVN-Revision: 22199
2010-07-15 13:05:32 +00:00
Gabor Juhos e110321fce generic: rtl8366: make rtl8366_{g,s}et_pvid static
SVN-Revision: 22198
2010-07-15 13:05:29 +00:00
Gabor Juhos e561b18521 generic: rtl8366: add common rtl8366_sw_{get,set}_port_pvid functions
SVN-Revision: 22197
2010-07-15 13:05:25 +00:00
Gabor Juhos 534480d3fb generic: rtl8366: add setup to rtl8366_smi_ops struct
SVN-Revision: 22196
2010-07-15 13:05:21 +00:00
Gabor Juhos b093cec6cc generic: rtl8366: introduce rtl8366_smi_alloc
SVN-Revision: 22195
2010-07-15 13:05:16 +00:00
Gabor Juhos c7bc8fb46c generic: rtl8366: get rid of private rtl8366{s,rb} structs
SVN-Revision: 22194
2010-07-15 13:05:10 +00:00
Gabor Juhos 008c81b859 generic: rtl8366: move switch device to the rtl8366_smi struct
SVN-Revision: 22193
2010-07-15 13:05:06 +00:00
Gabor Juhos 5508b23aaf generic: rtl8366: get rid of private vlan_{mc,4k} structs
The usage of bitfields causes problems in Little-Endian mode. Remove
them and manipulate the bits directly in the appropriate functions. This
change also reduces the size of the binary a bit.

SVN-Revision: 22192
2010-07-15 13:05:02 +00:00
Gabor Juhos 540b3e6419 generic: rtl8366: use SWITCH_TYPE_NOVAL for reset_mib attributes
SVN-Revision: 22191
2010-07-15 13:04:57 +00:00
Gabor Juhos 4bb11f9a39 generic: move ath5k_platform.h from ar71xx to generic files
SVN-Revision: 22189
2010-07-15 07:36:58 +00:00
Gabor Juhos 95e09cccd8 ar71xx: in-flash macs and eeprom for mach-eap7660d
This adds in-flash mac-addresses and calibration data for the Senao
EAP7660D board.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>

SVN-Revision: 22187
2010-07-15 07:36:52 +00:00
Daniel Dickinson 17ba48cd90 target (base-files): Fixed failsafe mode by adding back insmod diag
SVN-Revision: 22186
2010-07-15 02:46:03 +00:00
Jo-Philipp Wich abdf25b045 add required exports for wl.ko
SVN-Revision: 22174
2010-07-13 17:03:56 +00:00
Gabor Juhos d14e9e706e ramips: Fix bridging in ramips ethernet driver
Bridging between the ramips ethernet driver and rt2800pci was somewhat
broken. Frames received by the ethernet driver which were passed to the
wifi driver for transmission were sometimes corrupted or sent out with
huge delays.

The reason for this is the missing assignment of skb->tail in the ramips
ethernet driver's rx path resulting in skb->tail pointing to skb->data.
Since skb->tail is used by mac80211 it writes into skb->data which messes
up the frames content.

Fix this by using skb_put to correctly set skb->len and skb->tail.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 22172
2010-07-13 16:52:07 +00:00
Gabor Juhos 27375c5139 ramips: protect GPIO register access with a spinlock
SVN-Revision: 22171
2010-07-13 16:52:04 +00:00
Gabor Juhos 9ee8b1f8c6 ramips: sync kernel config
SVN-Revision: 22170
2010-07-13 16:52:02 +00:00
Jo-Philipp Wich 9978dd7637 export SSB fallback SPROM - required for wl.ko
SVN-Revision: 22168
2010-07-13 16:20:29 +00:00
Claudio Mignanti 2d86ea7bf3 massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
SVN-Revision: 22145
2010-07-12 14:06:13 +00:00
Claudio Mignanti 86f3d57a00 pwm: use coherent naming to avoid conflicts
SVN-Revision: 22142
2010-07-12 13:19:57 +00:00
Hauke Mehrtens 91ce82ef77 kernel: Add missing kernel config options
SVN-Revision: 22136
2010-07-11 18:52:30 +00:00
Hauke Mehrtens d6e8db7e6a kernel: add missing dma_dev member to struct ssb_device to make b43/b43legacy compile with current mac80211 version
SVN-Revision: 22135
2010-07-11 18:50:55 +00:00
Claudio Mignanti 07ccad1f99 enable usb support by default.
SVN-Revision: 22129
2010-07-11 12:27:09 +00:00
Claudio Mignanti ba56a699a9 add defautl config for eth0
SVN-Revision: 22128
2010-07-11 12:27:05 +00:00
Claudio Mignanti 581dfd912c fix typo in Makefile tgz -> targz
SVN-Revision: 22125
2010-07-11 09:53:00 +00:00
Hauke Mehrtens 3310fdf6fa brcm47xx: use kernel 2.6.34.1 as default kernel
SVN-Revision: 22119
2010-07-10 22:40:45 +00:00
Hauke Mehrtens e2ce2feedb kernel: update to kernel 2.6.34.1
SVN-Revision: 22118
2010-07-10 22:39:52 +00:00
Felix Fietkau 9c8d55541a brcm47xx: fix a small copy&paste error in the b44 fix for 2.6.34 and 2.6.35
SVN-Revision: 22116
2010-07-10 12:17:41 +00:00
Felix Fietkau fbff44c98a Get rid of the b44 'BUG! Timeout waiting for bit 80000000 of register 428 to clear.' spam.
more and more users are getting confused by this, and consider it a regression in brcm47xx,
because brcm-2.4 was not showing this message. It's not particularly interesting for debugging,
most of the time it only happens because of an unconnected port.

SVN-Revision: 22110
2010-07-10 00:48:37 +00:00