Commit graph

287 commits

Author SHA1 Message Date
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
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
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
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
Hauke Mehrtens
163b24d092 brcm47xx: fill the whole sprom with data
SVN-Revision: 22385
2010-07-24 23:25:06 +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
Hauke Mehrtens
c811398d00 brcm47xx: write boardflags correct into sprom
SVN-Revision: 22298
2010-07-19 21:45:29 +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
Hauke Mehrtens
2d87b1c1ee brcm47xx: activate swap again and run make oldconfig
SVN-Revision: 22266
2010-07-17 20:01:46 +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
Hauke Mehrtens
3310fdf6fa brcm47xx: use kernel 2.6.34.1 as default kernel
SVN-Revision: 22119
2010-07-10 22:40:45 +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
Markus Wigge
25602743d1 brcm47xx: added dual image support to flashmap driver
some CFE versions (i.e. WRT54G3Gv2-VF) expect two separate firmware
images which each consume half of the available flash space.
these changes check for the TRX header version and set the partition
size correctly.
Tested on G3Gv2-VF and Asus WL-500GP

SVN-Revision: 22019
2010-07-01 16:26:24 +00:00
Markus Wigge
114ce0bd4c renamed wrt54g3gv2-vf images
'factory' and 'sysupgrade' did not make much sense. A discussion
with jow convinced me that .trx results in a helpdesk disaster.
So I decided to use '.bin' for normal bin-headers and '.noheader.bin'
for the trx-v2 image.
I fixed the wiki accordingly.

SVN-Revision: 22013
2010-07-01 10:48:13 +00:00
Alexandros C. Couloumbis
0409c64e34 fix commit r21993
SVN-Revision: 21994
2010-06-30 19:35:12 +00:00
Felix Fietkau
812f026323 add back the base-files/image code from brcm-2.4 to brcm47xx
SVN-Revision: 21945
2010-06-26 20:41:49 +00:00
Felix Fietkau
519b6a2f4c remove brcm47xx symlinks to brcm-2.4 (unfortunately svn does not allow a proper type changing commit)
SVN-Revision: 21944
2010-06-26 20:41:40 +00:00
Jo-Philipp Wich
5181a82334 change a typo in ath5k profile
SVN-Revision: 21853
2010-06-20 13:46:24 +00:00
Jo-Philipp Wich
af1eb7ec46 deselect wpad-mini in wl profile instead of adding it to all other profiles, slightly change titles
SVN-Revision: 21852
2010-06-20 13:44:19 +00:00
Jo-Philipp Wich
da6e39e592 add a profile using proprietary wl instead of b43
SVN-Revision: 21851
2010-06-20 13:32:40 +00:00
Felix Fietkau
efa4f94436 brcm47xx: add some exports to be used by the new wl driver
SVN-Revision: 21793
2010-06-14 10:03:05 +00:00
Gabor Juhos
9bc1e548a1 generic: move more common options to generic configuration
* CONFIG_ABX500_CORE
 * CONFIG_ATOMIC64_SELFTEST
 * CONFIG_BRIDGE_IGMP_SNOOPING
 * CONFIG_CAIF
 * CONFIG_CEPH_FS
 * CONFIG_CRYSTALHD
 * CONFIG_DEFAULT_SECURITY_SELINUX
 * CONFIG_DEFAULT_SECURITY_SMACK
 * CONFIG_DEFAULT_SECURITY_TOMOYO
 * CONFIG_DT3155
 * CONFIG_IP_MROUTE_MULTIPLE_TABLES
 * CONFIG_L2TP
 * CONFIG_LOGFS
 * CONFIG_LPC_SCH
 * CONFIG_MFD_JANZ_CMODIO
 * CONFIG_MFD_RDC321X
 * CONFIG_N_GSM
 * CONFIG_RAMOOPS
 * CONFIG_SERIAL_ALTERA_JTAGUART
 * CONFIG_SERIAL_ALTERA_UART
 * CONFIG_SERIAL_TIMBERDALE
 * CONFIG_SM_FTL
 * CONFIG_SQUASHFS_XATTRS

SVN-Revision: 21750
2010-06-10 10:45:51 +00:00
Gabor Juhos
4128c72275 generic: don't override CONFIG_DEBUG_FS
SVN-Revision: 21749
2010-06-10 10:45:42 +00:00
Gabor Juhos
2f328ce488 generic: move some common symbols to generic configuration
* CONFIG_MUTEX_SPIN_ON_OWNER
 * CONFIG_DEFAULT_HYDLA
 * CONFIG_DEFAULT_VENO

SVN-Revision: 21748
2010-06-10 08:58:14 +00:00
Gabor Juhos
57c5fe2e7f generic: remove trailing whitespaces from kernel configs
SVN-Revision: 21747
2010-06-10 08:58:09 +00:00
Gabor Juhos
5cad9d5c73 generic: standardize CONFIG_INLINE_* symbols usage
SVN-Revision: 21746
2010-06-10 08:09:41 +00:00
Alexandros C. Couloumbis
cfa9a1f6d6 brcm47xx: add kernel 2.6.35 preliminary support
SVN-Revision: 21707
2010-06-08 16:58:06 +00:00
Nicolas Thill
e74e289fa8 update linux kernel to 2.6.32.14
SVN-Revision: 21583
2010-05-27 18:09:09 +00:00
Hauke Mehrtens
7800ac4e58 brcm47xx: refresh patches
SVN-Revision: 21543
2010-05-23 13:17:56 +00:00
Hauke Mehrtens
b18a1d217b kernel: update kernel to version 2.6.32.13 and 2.6.33.4
SVN-Revision: 21540
2010-05-23 13:16:51 +00:00
Lars-Peter Clausen
37a8f3522f Move CONFIG_LZMA_{DE,}COMPRESS to generic config
It is selected by CONFIG_JFFS2_LZMA which is set in the generic config.

SVN-Revision: 21437
2010-05-12 23:04:18 +00:00
Hauke Mehrtens
c96049615c brcm47xx: use tab instead of space
SVN-Revision: 21430
2010-05-12 20:28:39 +00:00
Hauke Mehrtens
bb8d84ce4e brcm47xx: ehci-ssb: some updates: * update pointers in struct hc_driver * make ssb_ehci_detach more look like the pci version * remove resume and suspend as they are never activated and not compiling * replace ssb_ehci_start with ehci_run as it only calls this method
SVN-Revision: 21427
2010-05-12 18:28:41 +00:00
Felix Fietkau
0f7864456a brcm47xx: adjust the brcm4710 cache workaround code so that it does not break bcm4716 (patch by Bernhard Loos)
SVN-Revision: 21395
2010-05-07 11:48:15 +00:00
Felix Fietkau
3ea657a3e9 kernel: bring ssb in sync with upstream (as of current wireless-testing)
SVN-Revision: 21269
2010-04-30 15:53:08 +00:00
Alexandros C. Couloumbis
09a1db3eea brcm47xx: update config-2.6.33 options
SVN-Revision: 21266
2010-04-30 11:10:04 +00:00
Alexandros C. Couloumbis
6a40947c31 brcm47xx: refresh 2.6.33 kernel patches
SVN-Revision: 21265
2010-04-30 11:05:40 +00:00
Alexandros C. Couloumbis
fdac9ae836 sync to kernel 2.6.32.12
SVN-Revision: 21195
2010-04-27 14:30:08 +00:00
Alexandros C. Couloumbis
b7e21c6517 brcm47xx: add missing bits & bytes on r21119
SVN-Revision: 21145
2010-04-24 19:23:54 +00:00
Alexandros C. Couloumbis
d0883b82a4 brcm47xx: add sysfs attributes to ssb devices & new defines for registers and device ids (credits: Bernhard Loos)
SVN-Revision: 21119
2010-04-24 06:54:17 +00:00
Alexandros C. Couloumbis
819114e3f2 brcm47xx: fix phy isolation bit on Toshiba WRC-1000, Siemens SE505 v1, Askey RT-210W, RT-220W and alike boards (closes #6789)
SVN-Revision: 21108
2010-04-23 11:49:27 +00:00
Gabor Juhos
4be3c3e48c kernel: refresh patches for 2.6.34-rc5 and update md5sum
SVN-Revision: 21082
2010-04-22 07:13:21 +00:00
Alexandros C. Couloumbis
bf12a75a87 brcm47xx: fix r21042, nuke (boardnum == 42 section)
SVN-Revision: 21047
2010-04-20 16:23:47 +00:00
Alexandros C. Couloumbis
bd97e88167 brcm47xx: fix ethernet link state (closes #7056)
SVN-Revision: 21042
2010-04-20 15:03:22 +00:00
Hauke Mehrtens
fa432efa8e brcm47xx: allow isdn on brcm47xx
SVN-Revision: 21001
2010-04-18 19:32:18 +00:00
Hauke Mehrtens
79075b8d13 brcm47xx: refresh patches
SVN-Revision: 20996
2010-04-18 18:22:50 +00:00
Hauke Mehrtens
03fd014069 brcm47xx: fix build of tg3 for kernel 2.6.34
SVN-Revision: 20994
2010-04-18 17:19:39 +00:00
Alexandros C. Couloumbis
e712ef386e brcm47xx: fix ide drive assignment (closes #7061)
SVN-Revision: 20924
2010-04-16 15:05:32 +00:00
Alexandros C. Couloumbis
598e0656c5 brcm47xx: add preliminary 2.6.34 support
SVN-Revision: 20888
2010-04-15 20:50:50 +00:00
Hauke Mehrtens
0490c57e31 brcm47xx: remove support for older for kernel
SVN-Revision: 20492
2010-03-26 19:53:30 +00:00
Gabor Juhos
e66a368bd1 kernel: update to 2.6.32.10
SVN-Revision: 20444
2010-03-26 10:45:25 +00:00
Markus Wigge
47f29ede08 added feature "pcmcia"
SVN-Revision: 20268
2010-03-18 12:20:36 +00:00
Markus Wigge
a5ebd1656a fix yenta_socket driver
Disable some calls the WRT54G3G implementation does not like
and enable interrupts to allow hotplugging.

SVN-Revision: 20240
2010-03-16 10:41:26 +00:00
Markus Wigge
8bfc53f675 fix PCI resouce allocation for SSB PCI host bridge
The defined offset is wrong and the fixup-code overrides it
later on so that it never gets used for most PCI devices.
Unfortunately the yenta-socket allocates its own resources
and crashes because of the wrong mem_offset.

It seems that the offset and fixup code came from 2.4 where
resource allocation was handled differently.

This patch removes the unneeded parts and thus enables
the yenta_socket on the WRT54G3G platform.

It was tested on Asus WL500G-Premium (v1 and v2), Linksys
WRT54G3G, Netgear WGT634U

Signed-off-by: Michael Buesch <mb@bu3sch.de>

SVN-Revision: 20239
2010-03-16 10:39:37 +00:00
Nicolas Thill
e1863691d9 do *not* enable CONFIG_PCI in generic config, but on targets where it makes sense instead (partially revert [18370])
SVN-Revision: 20136
2010-03-11 09:50:11 +00:00
Hauke Mehrtens
3f0dc5c30f brcm47xx: fix commit r18413 "128MB ram problem"
The patch commited in r18413 was wrong.
This patch prevents prom_init_mem from scanning over 128MB ram.
This is from #6765 and #3177

Refresh all patches

SVN-Revision: 20072
2010-03-08 22:03:00 +00:00
Hauke Mehrtens
d29c671202 brcm47xx: add CONFIG_CMDLINE again
Fix for r19955
this patch was suggested by tripolar

SVN-Revision: 19967
2010-03-03 20:32:41 +00:00
Hauke Mehrtens
141d53ad07 brcm47xx: add support for kernel 2.6.33
Thanks to acoul and tripolar

SVN-Revision: 19955
2010-03-02 21:16:18 +00:00
Florian Fainelli
23b5d2b743 explicitely enable shared interrupt 2 for any core that did not a dedicated IRQ
Explicitely enable shared interrupt 2 for any core that didn't get a dedicated IRQ
anymore (fallthrough case) and for EXTIF cores to make gpio interrupts work.
Also remove a bogus comment.

Signed-off-by: Jochen Friedrich <jochen@scram.de>

SVN-Revision: 19895
2010-02-28 11:09:44 +00:00
Hauke Mehrtens
d503a25c83 remove unneeded patch
SVN-Revision: 19891
2010-02-28 10:21:04 +00:00
Hauke Mehrtens
0c7b285613 kernel: update to kernel 2.6.32.9
SVN-Revision: 19890
2010-02-28 10:16:47 +00:00
Hauke Mehrtens
7524480b82 Fix build warnings
SVN-Revision: 19782
2010-02-20 19:31:34 +00:00
Hauke Mehrtens
046c32e6bf refresh patches
SVN-Revision: 19781
2010-02-20 19:31:13 +00:00
Travis Kemen
9afc4a1109 fix mistake, thanks xMff
SVN-Revision: 19620
2010-02-13 01:05:31 +00:00
Travis Kemen
2dc489505e sync kernel config, closes #6675
SVN-Revision: 19619
2010-02-13 00:53:21 +00:00
Travis Kemen
f05d9d2e8e update brcm47xx to .32, thanks tripolar
SVN-Revision: 19592
2010-02-12 01:14:56 +00:00
Imre Kaloz
825b37cc56 clean up handling of some kernel symbols
SVN-Revision: 19581
2010-02-11 09:33:16 +00:00
Imre Kaloz
0a52bc58f8 re-sort all target and subtarget config files
SVN-Revision: 19580
2010-02-11 08:55:15 +00:00
Felix Fietkau
863e3c739a replace the hostapd-mini preselection in profiles with wpad-mini
SVN-Revision: 19503
2010-02-03 03:45:38 +00:00
Felix Fietkau
2aa0d20756 replace the hostapd preselection with a wpad preselection to enable proper client mode support in the default images
SVN-Revision: 19293
2010-01-23 17:21:18 +00:00
Michael Büsch
c97341b761 bcm47xx: Add basic 2.6.32 support.
SVN-Revision: 19062
2010-01-07 16:06:05 +00:00
Imre Kaloz
1fe38ff73b switch ixp4xx and ubicom32 to 2.6.30, get rid of 2.6.28 files
SVN-Revision: 18952
2009-12-27 21:28:02 +00:00
Florian Fainelli
a47b8566a1 update to 2.6.30, refresh patches
SVN-Revision: 18635
2009-12-04 14:52:45 +00:00
Felix Fietkau
fa0396c530 kernel: move CONFIG_MIPS_FPU_EMU to generic kernel config
SVN-Revision: 18603
2009-11-29 14:31:55 +00:00
Hauke Mehrtens
6384a68295 Remove patches already applied in generic and refresh patches.
This fixes #6200

SVN-Revision: 18597
2009-11-29 12:09:42 +00:00
Jo-Philipp Wich
318140c209 add missing CONFIG_MIPS_FPU_EMU to kernel config
SVN-Revision: 18477
2009-11-22 14:54:26 +00:00
Hauke Mehrtens
30f859403a fix problem with 128MB ram.
This patch is out of broadcoms official source code

SVN-Revision: 18413
2009-11-13 20:32:47 +00:00
Imre Kaloz
6b280112f2 some more Kconfig symbol move..
SVN-Revision: 18371
2009-11-11 11:52:41 +00:00
Imre Kaloz
1d62d9a95c another round of kernel config cleanups
SVN-Revision: 18370
2009-11-11 11:42:24 +00:00
Imre Kaloz
ef42fb4c13 sort all target config files
SVN-Revision: 18367
2009-11-11 09:27:13 +00:00
Travis Kemen
72c103416c fix my typo
SVN-Revision: 18219
2009-10-30 01:08:11 +00:00
Travis Kemen
a1021e8e64 add WRT350Nv1 target, thanks sn9
SVN-Revision: 18218
2009-10-30 01:05:37 +00:00
Florian Fainelli
d4b251bdb8 update to 2.6.30.9
SVN-Revision: 18126
2009-10-23 12:10:25 +00:00
Andy Boyett
c85a89348f move IMAGE_CMDLINE_HACK default to generic from targets
SVN-Revision: 17905
2009-10-05 17:05:34 +00:00
Gabor Juhos
054c54512f kernel: upgrade to 2.6.30.8 and refresh patches
SVN-Revision: 17804
2009-10-01 10:07:32 +00:00
Hauke Mehrtens
48d6cee53b remove deprecated warning
SVN-Revision: 17761
2009-09-27 13:52:14 +00:00
Hauke Mehrtens
99c3549ea3 Remove patches already included in mainline kernel.
SVN-Revision: 17735
2009-09-26 11:51:26 +00:00
Hauke Mehrtens
8673372e20 add patches for kernel 2.6.31
This is completly untested. Only a compile tests with the default config was done!

SVN-Revision: 17734
2009-09-26 11:48:48 +00:00
Hauke Mehrtens
6247141e78 refresh patches
SVN-Revision: 17733
2009-09-26 11:42:43 +00:00
Felix Fietkau
7a74903bba brcm47xx: switch to 2.6.30.7
SVN-Revision: 17732
2009-09-26 09:33:44 +00:00
Felix Fietkau
71595d7ce8 brcm47xx - add cache workarounds to 2.6.28 (merged from 2.6.30), fixes #4293, should fix #2374
SVN-Revision: 17710
2009-09-24 21:20:44 +00:00
Gabor Juhos
47c0d7419f kernel: get rid of the simple_prom_emulator, it is not really useful
SVN-Revision: 17567
2009-09-10 18:30:20 +00:00
Gabor Juhos
d59f5b3a98 kernel: add generic image_cmdline hack to MIPS targets
SVN-Revision: 17563
2009-09-10 18:30:01 +00:00
Michael Büsch
2b71a6167f bcm47xx: Fix EHCI/OHCI dependencies
SVN-Revision: 17536
2009-09-06 21:15:12 +00:00
Michael Büsch
daa3c84109 bcm47xx: Fix EHCI/OHCI dependencies
SVN-Revision: 17535
2009-09-06 20:55:01 +00:00
Michael Büsch
caa8d2f9dc Fix merge error
SVN-Revision: 17534
2009-09-06 20:43:44 +00:00
Michael Büsch
1941a86b15 bcm47xx: Port usb fixes to .30
SVN-Revision: 17533
2009-09-06 20:25:11 +00:00