summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx
Commit message (Collapse)AuthorAgeFilesLines
* [brcm63xx] fix T-Com Speedport W 500V default configflorian2011-02-091-0/+0
| | | | | | | | The device is called SPW500V, not SP500W. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25431 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] fix build of brcm-wlflorian2011-02-081-0/+20
| | | | | | | | | The fallback needs to be exported for bcm63xx, too. Runtime tested with a BCM4322 on a BCM6358. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25420 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] give some credits to Tanguy Bouzeloc in the spi driverflorian2011-01-271-2/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25133 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] multiple SPI driver fixesflorian2010-12-291-36/+29
| | | | | | | | | | | - fix platform device registration - fix chipselect, command register defines, add missing clock - make slave select proper - fix multibytes transferts Signed-off-by: Tanguy Bouzéloc <tanguy.bouzeloc@efixo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24849 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] patches-2.6.35: mtd flashmap: Really fixed sparelen and ↵cshore2010-12-281-17/+5
| | | | | | rootfslen. The real rootfslen for OpenWRT images comes from a bigendian uint32_t in reserved1 of the bcm_tag, which is now used to correctly calculate the rootfslen (and thus the sparelen). git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24843 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] patches-2.6.36: Fix flashmap spare length calculation from ↵cshore2010-12-281-2/+2
| | | | | | previous commit (for rootfs and rootfs_data mtd partitions). Apparently the interruption in working on it resulted in an incorrect memory of getting it working. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24842 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] spi driver: remove bcm_rset usageflorian2010-12-281-62/+74
| | | | | | | | | | Since bcm636x platform embeds two spi master device, the attached patch removes static bcm_rset usage, replaced by "bs->regs" field for all I/O operation. Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24840 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Added OpenWRT-specific field to imagetag so that we can record the real root ↵cshore2010-12-262-30/+5
| | | | | | | | length, so that when the CRC fixup is applied and the root length is recorded as zero we can still calculate the rootfs mtd partition size. Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24838 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: Added uci-defaults script to run mtd fixtrx on firstboot for ↵cshore2010-12-261-0/+20
| | | | | | | | devices that need it. Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24836 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd flashmap: Switched to calculating the rootfs size rather than depending ↵cshore2010-12-261-5/+52
| | | | | | | | on being given the size in the imagetag. This is because solving the problem of second boot CRC errors requires changeing the rootfs size in the image to zero. Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24834 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] Fixed Comtrend CT536_CT5621 board settings. These boards are ↵cshore2010-12-104-1/+82
| | | | | | based on the 96348GW-11 reference design but have different GPIOs therefore we use the board fixups now availabed (thanks the patches by Jonas Gorski) to create a separate board entry for these boards and leave the reference design with reference GPIOs. Also these boards only have enet1 (no enet0) so we set that in the board definition, and use a defconfig for a single interface network. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24442 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] Profiles: GW6X00: Replace ext2 module with ext4 as ext2 and 3 are ↵cshore2010-12-081-2/+2
| | | | | | going away. Remove kmod-loop as the need for it has been superseded by block-extroot, and remove kmod-fs-vfat as it takes space and is rarely needed. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24316 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] Profiles: Make buttons and led modules included by default so ↵cshore2010-12-082-4/+3
| | | | | | that failsafe will work in the case of builds for releases. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24315 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] Profiles: Move wpad-mini to the profiles that use it, rather than ↵cshore2010-12-085-5/+5
| | | | | | default for all profiles (because -wpad-mini means it's not selectable, which isn't what we always want for the No WiFi profile git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] patches: Renamed 150-led_count to 141-led_count so it comes ↵cshore2010-12-071-0/+0
| | | | | | before the 15-alice_gate2_leds.patch as which led count was mistakenly given the same number. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24310 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "[brcm63xx] patches-2.6.35: Added flash chip definition for Macronix ↵cshore2010-12-071-30/+0
| | | | | | | | | | MX29LV640T." This reverts commit 43511418ae2771a6662a83a254f06e37f4ac19e5. It belongs in generic not brcm63xx. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24308 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] patches-2.6.35: Added flash chip definition for Macronix MX29LV640T.cshore2010-12-071-0/+30
| | | | | | Thanks blunoise git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24307 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] boards: Added GW6x00 fixups and GPIOs. The GW6200 GPIOs are ↵cshore2010-12-073-2/+141
| | | | | | different than the reference design 96348GW so we use fixup to allow us to define the correct ones, also the GW6000 has no GPIO-controlled leds. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] patches: Refreshed patches after led_countcshore2010-12-074-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24304 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] board definitions: Added patch for calculating led count, which ↵cshore2010-12-071-0/+23
| | | | | | was part of the patch removed in the previous commit git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24303 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] Remove patch 140-new_bcm96348gw_leds because it is really the ↵cshore2010-12-0716-107/+24
| | | | | | GW6200 leds, not the generic 96348GW. Another commit will add the GW6200 specific boardid and leds. This removal reverts the 96348GW leds to the reference design GPIOs. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24302 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] base-files: Added the preinit information for reset button and ↵cshore2010-12-061-0/+5
| | | | | | preinit indication led, and preinit interface git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24276 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] board definition: Fixed CPVA642 LED definitionscshore2010-12-064-13/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24275 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] board definitions: Added CPVA642 GPIO leds and buttons and ↵cshore2010-12-064-7/+84
| | | | | | refreshed patches later in series due to fuzz git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24274 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [bcm63xx] base-files: Added network defconfig because board only has one ↵cshore2010-12-061-0/+14
| | | | | | ethernet (4-port switch) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24273 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] image Makefile: Corrected router imagename length limiting. ↵cshore2010-11-281-1/+1
| | | | | | Thanks KanjiMonster for reminding me. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24191 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: Add support for the T-Com Speedport W 500V.cshore2010-11-284-1/+95
| | | | | | | | | | Add support for the T-Com Speedport W 500V using a special tagged image as it identifies itself as a 96348GW, but has some gpios wired differently, and also has only one ethernet port without a switch attached to it. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24190 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: Add board id override fixup.cshore2010-11-282-3/+75
| | | | | | | | | | | | Add a fixup for the kernel to check the bcm tag of the image for a boardid in the information1 field, and use that instead of the supplied one by cfe. This is triggered by a + at the start of the information1 field. Also modify the image generation to generate apropriately tagged images. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24189 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: Finalize support for DSL-274xB, rev C2.cshore2010-11-284-2/+91
| | | | | | | | | | | | The DSL-2740B/DSL-2741B rev C2 support was missing the board definition, resulting in a kernel panic on boot. This patch adds it, and also renames the generated image name to properly reflect that it is for the revision C2, and for both the DSL-2740B and DSL-2741B. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24188 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: Allow 'colored' power leds.cshore2010-11-281-1/+1
| | | | | | | | | | | Since some devices have more than one power led, they might be separated by their color in the name. To also allow them to be on after leaving preinit, set any status led starting with 'power' to on instead of only those with the exact name of 'power'. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24187 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: Don't hardcode the switch ethernet interface in preinit.cshore2010-11-282-10/+10
| | | | | | | | | | Currently eth1 is hardcoded as the expected interface switches in diagmode. This patch replaces the eth1 with the ifname, and also directly tests if the interface specified by ifname has a switch attached. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24186 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: Add defconfigs.cshore2010-11-283-1/+23
| | | | | | | | | | | Port the mechanism for different default configurations from ar71xx and use the old configuration as the default configuration. This should have no functional differences to before. While we are at it, remove the obsolete nat option. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24185 3c298f89-4303-0410-b956-a3cf2f4a3e73
* update to the latest stable kernelskaloz2010-11-241-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24136 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] image Makefile: Removed extraneous tab from Image/LimitName16 ↵cshore2010-11-241-1/+1
| | | | | | macro definition. The solves the strange whitespace in front of the image name in the info1 section git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24127 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] image: Limited image name put into the info1 field to 16 ↵cshore2010-11-231-4/+8
| | | | | | characters and eliminted the OpenWRT revision. This makes using the image (router) name as the board name possible, so that boards with same real boardid but different GPIOs can be detected and the correct GPIOs used. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24118 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] Initial support for Telsey CPVA642 boards (no vlans, no DSL, GPIO ↵cshore2010-11-192-0/+40
| | | | | | led/buttons not known). git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24040 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools/firmware-utils] imagetag: Significantly updated brcm63xx imagetag ↵cshore2010-11-161-23/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | writing tool. * Rewrote commandline parsing code using gengetopt - We now get long options - We have more options including use of the info section for board information (e.g. to add the same boardid but different GPIOs on different routers) * Added back the ability to write stock images (this is useful, for example, when copying the firmware from the in-memory flash, and then being able to create an image that will let you revert to/test stock firmware * Fixed copying of CRCs to use memcpy instead of strncpy (strncpy stops at 0) * Added ability to use all sections of the imagetag, including custom magic signatures (e.g. for the Telsey router I'm adding soon), info sections, and reserved sections * Added putting the router type (as defined in the image generating Makefile) into the info1 section and the filesystem type in the info2 section. This will be used by mtd (when I add the code) to return the name of image used to flash this router. (As requested by Jo, as well as being useful for same boardid different board scenario described above). git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24011 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] Add wps button on alice gateclaudio2010-11-061-3/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23903 3c298f89-4303-0410-b956-a3cf2f4a3e73
* update kernels to 2.6.32.25 and 2.6.35.8kaloz2010-11-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] register uart driver on livebox (#8013)florian2010-10-271-1/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23653 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] refresh 2.6.35 patchesflorian2010-10-272-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] Fix nxp_74hc164 driver compile error (builbot)claudio2010-10-241-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23623 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] fix platform_devices registrationflorian2010-10-181-6/+6
| | | | | | Signed-off-by: Tanguy Bouzéloc <tanguy.bouzeloc@efixo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23517 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] add bcm96338W2 e7t board (D-Link 2640U/BRU/C, #7558)florian2010-10-171-0/+49
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23508 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] remove 2.6.32 supportflorian2010-10-1730-4479/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23505 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] fix SPI driver, move register out of driver codeflorian2010-10-171-274/+312
| | | | | | Signed-off-by: Tanguy Bouzéloc <tanguy.bouzeloc@efixo.com git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] restore kernel oldconfigflorian2010-10-171-0/+5
| | | | | | Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] refresh patchesflorian2010-10-173-7/+7
| | | | | | Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23502 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] refresh nb4 support. Register 74x164 deviceflorian2010-10-171-58/+91
| | | | | | Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23501 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] add spi devices board info int bcm63xx_boardsflorian2010-10-171-0/+25
| | | | | | Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23500 3c298f89-4303-0410-b956-a3cf2f4a3e73