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