Commit Graph

23 Commits

Author SHA1 Message Date
Hauke Mehrtens
bee045c2a0 brcm47xx: fix partition layout on SimpleShare devices.
The flash driver code should be cleaned up and the broad detection code should be placed into arch code and used here.

This fixes #9323

Thank you Will Holmes for the patch.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-25 17:46:34 +00:00
Hauke Mehrtens
e508b3c1c9 brcm47xx: do not read from CFE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 19:20:26 +00:00
Hauke Mehrtens
91e32e19b5 brcm47xx: use on common files dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 18:34:58 +00:00
Hauke Mehrtens
df0e3483ac brcm47xx: prepare brcm47xx patches for sending to mainline.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 20:25:20 +00:00
Markus Wigge
36b02072c5 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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 16:26:24 +00:00
Hauke Mehrtens
35224d128e [brcm47xx] Port to kernel 2.6.30.
There is an error in the unlzma system in the kernel.
A lzma compressed squashfs filesystem does not work for me.
This should compile and works for me on my Asus WL-500GP, please test it on more systems.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-13 21:20:53 +00:00
Felix Fietkau
af835ce516 change the way ./files* and the generic kernel files are applied. ./files now applies to *ALL* kernel versions, and is copied along with ./files-* - this gets rid of quite a bit of redundancy in the extra kernel drivers.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-18 21:43:30 +00:00
Gabor Juhos
7e38adf97f [brcm47xx] fix GENERIC_GPIO support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-02 07:24:24 +00:00
Michael Büsch
aa4d381c08 bcm47xx: Fix warning
arch/mips/bcm947xx/irq.c: In function 'pcibios_map_irq':
arch/mips/bcm947xx/irq.c:78: warning: passing argument 1 of 'pci_name' discards qualifiers from pointer target type


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-19 11:55:31 +00:00
Michael Büsch
bb53bf8d68 bcm47xx: Register a GPIODEV platform device to allow GPIO access via /dev/gpio
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-19 10:35:56 +00:00
Michael Büsch
45c39a1e6d bcm47xx: Fix GPIO data direction output bit assignment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-15 20:52:02 +00:00
Michael Büsch
1a3b1cecfc bcm47xx: Add driver for the SSB Gigabit Ethernet core.
It doesn't work, yet, but let's commit what we have.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-20 17:56:24 +00:00
Michael Büsch
b7a471795e ssb: Fix the horrible crash of innocent cardbus cards.
No Animals were harmed in the production of this patch.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-19 16:50:12 +00:00
Michael Büsch
378e11cb84 ssb: Make the GPIO API reentrancy safe.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-19 15:22:17 +00:00
Michael Büsch
2d948e3fda SSB: Update the watchdog fix to the patch version that will go upstream.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-19 11:58:20 +00:00
Michael Büsch
a5c9687c1f ssb: Update to latest upstream version of ssb.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-19 01:24:18 +00:00
Michael Büsch
ceae1c70e3 bcm47xx: We can use the ssb-invariants callback now,
as was changed to be called late enough.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-17 13:06:45 +00:00
Michael Büsch
d219e0da96 bcm47xx: Remove FIXME
We don't want to move the board time init into SSB. It's just fine as-is. Remove the FIXME.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-17 11:59:28 +00:00
Michael Büsch
91c470b382 bcm47xx: Extract all available information from NVRAM into the sprom data structure.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-16 23:35:31 +00:00
Felix Fietkau
32b8dd5541 fix i2c-gpio
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-14 05:04:23 +00:00
Felix Fietkau
939d828c8f sync ssb with upstream
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-14 02:47:36 +00:00
Felix Fietkau
0634c9c679 add patches for 2.6.23 on brcm47xx (not enabled yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-13 02:04:37 +00:00
Felix Fietkau
92558d67a4 strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 16:27:37 +00:00