Commit Graph

76 Commits (de7c615cfe0a262d8c8d9c30da92f0d11771bf15)

Author SHA1 Message Date
Jonas Gorski 6df83c3f89 bcm63xx: enable all SoCs for both subtargets
Now that SMP kernels also work on older SoCs, also enable them for SMP.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37100
11 years ago
Florian Fainelli 6a4f2922f6 targets: prepare for supporting normal and initramfs images
In order to support both normal images and initramfs, ensure that each
target sets KERNELNAME properly so that the generic kernel building code
can copy the corresponding files over $(KDIR) with the appropriate
extension. Update the various paths to the kernel and wrapper images
from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37049
11 years ago
Florian Fainelli 8ae2b1155d brcm63xx: create initramfs HCS images
Cable Modem devices cannot load an ELF file directly so we need to
provide them with a HCS image even when targetting initramfs.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36954
11 years ago
Florian Fainelli 0ce75bc440 brcm63xx: simplify HCS image creation
$(KDIR)/vmlinux is already a binary image, there is no need to create
another one.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36949
11 years ago
Florian Fainelli 42e69f45c7 brcm63xx: add kernel space and image support for the Netgear CVG834G
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36876
11 years ago
Jonas Gorski 24636fcabf bcm63xx: split into two subtargets, generic and SMP
Make SMP a subtarget, since it only supports BCM6362 and BCM6368.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36527
11 years ago
Jonas Gorski e952eaa112 bcm63xx: Add Huawei HG556a support
Add Huawei EchoLife HG556a support.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo@openwrt.org: added some code style fixes]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35011
12 years ago
Jonas Gorski 0cc4bed41c add support for Comtrend AR5381u.
Router: Comtrend AR5381u.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix subject, indentation in patch]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

SVN-Revision: 33895
12 years ago
Jonas Gorski d73871fb18 add support for Comtrend AR5387un.
Router: Comtrend AR5387un.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix subject, indentation in patch]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

SVN-Revision: 33894
12 years ago
Jonas Gorski e93725a743 add support for HomeStation ADB P.DG A4001N.
Router: HomeStation ADB P.DG A4001N.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix subject, indentation in patch]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

SVN-Revision: 33893
12 years ago
Jonas Gorski e6171dfb2c Add F@ST2604 board support.
Add Sagem F@ST2604 board support.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 33886
12 years ago
Jonas Gorski 6a000ba37a bcm63xx: fix 963281TAN image names
it's a 6328, not a 6348.

SVN-Revision: 33665
12 years ago
Jonas Gorski 07c4524d33 bcm63xx: Add nb6 support (BCM6362 SoC base boards)
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
[jonas.gorski@gmail.com: add network config for nb6, make switch fix a
platform patch]

SVN-Revision: 32924
12 years ago
Florian Fainelli a4d699ccf0 fix DVA-G3810BN image generation
Attached patch fixes a typo in the image Makefile, and overrides the
board name for DVA-G3810BN to set the correct board properties

Signed-Off-By: Jeroen van Bemmel <jbemmel@zonnet.nl>

SVN-Revision: 32894
12 years ago
Florian Fainelli 18206793b2 Add CT6376-1 board support
Added CT6373 devices instead of using NB4's devices, as Florian suggested.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 32892
12 years ago
Jonas Gorski fad888a85c bcm63xx: 96348A-122 improvements (Comtrend 5365)
1) Improve WLAN button.
2) Add 96348A-122 image.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 32593
12 years ago
Jonas Gorski 3fc76fb781 bcm63xx: build images for 6328 reference boards with various flash sizes
Build images for 96328avng and 963281TAN (untested) for three different
flash sizes: 4MB, 8MB, and 16MB.

Known issues:
 * Button setup unknown, thus no fail-safe available.
 * All other BCM6328 and BCM63XX issues

SVN-Revision: 32004
12 years ago
Jonas Gorski ec7786c2ec bcm63xx: build images for DSL-274XB revision F1
Build images for D-Link DSL-274XB revision F1. Flashing
through original web UI as well as CFE works.

Known issues:
  * wifi led inverted (on when wifi is off and vice cersa)
  * same issues as generic bcm6328 support

SVN-Revision: 31885
12 years ago
Jonas Gorski b0ffeb0021 bcm63xx: pad Speedport W303 V images to 4 MiB
Prevents CFE from flashing to the second image offset. Fix up the rootfs
length on first boot else CFE will complain.

SVN-Revision: 31876
12 years ago
Jonas Gorski 8a38c62c07 bcm63xx: drop linux 3.2 support
SVN-Revision: 31464
12 years ago
Jonas Gorski f7df1eafc4 bcm63xx: enable bcm6368 for linux 3.3 and build images
Only build bcm6368 images when building for linux 3.3.

SVN-Revision: 31133
12 years ago
Florian Fainelli 75b5f4a6b4 rename 96348GW-1{0,1}-gen to 96348GW-1{0,1}-generic
SVN-Revision: 30822
13 years ago
Florian Fainelli c327915156 generate generic images for BCM96358VW and BCM96358VW2 (#10666)
SVN-Revision: 30821
13 years ago
Florian Fainelli 882eddbf92 build 96348R images
SVN-Revision: 29960
13 years ago
Jo-Philipp Wich b5739aabd9 fix D-Link DSL-2650U image generation
SVN-Revision: 29266
13 years ago
Florian Fainelli ae90aa4efd build images for D-Link DSL-2650U (#9003)
SVN-Revision: 29238
13 years ago
Florian Fainelli 7f787707de build images for Pirelli A226M (#10409)
SVN-Revision: 29045
13 years ago
Florian Fainelli 6c8387fe15 add support for DSL-2640B rev B2
Signed-off-by: Adrian Feliks <mexit@o2.pl>

SVN-Revision: 26958
13 years ago
Florian Fainelli 3e83f60a66 add support for D-Link DVA-G3810BN/TL
This patch adds support for D-Link's DVA-G3810BN/TL product.

Signed-off-by: Roman Dumycz <roman@secureas.com>

SVN-Revision: 26956
13 years ago
Florian Fainelli 9c8a2d5961 bcm63xx: Add support for the T-Home Speedport W 303V
Add the required board definition, default config and image generation for
the T-Home Speedport W 303V Typ B.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26878
13 years ago
Florian Fainelli 7d3b735854 bcm63xx: Update support for the DSL-274xB revision C
Rename the DSL-274xB rev C2's board ID to "AW4139" to match the one used
for the rev C3 (same hardware) and add a fixup for C2. Also generate
images for C3.

While we are at it, rename the LEDs to conform to the Linux LED naming
conventions.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26876
13 years ago
Florian Fainelli c6af9c23b7 bcm63xx: Decouple Board ID and image name for fixup
Make the fixup board ID independent from the image name to allow using
the same board ID for similar devices.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26874
13 years ago
Daniel Dickinson 0d722113b9 Generate images for RTA1320_16M-based routers
SVN-Revision: 26681
13 years ago
Florian Fainelli 8cc16aa14e add support for HW553 bcm6358-based boards (#8844)
SVN-Revision: 25590
14 years ago
Daniel Dickinson 44e22cbd49 Fixed Comtrend CT536_CT5621 board settings. These boards are 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.
SVN-Revision: 24442
14 years ago
Daniel Dickinson 8f9b14dafe boards: Added GW6x00 fixups and GPIOs. The GW6200 GPIOs are 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.
SVN-Revision: 24305
14 years ago
Daniel Dickinson 9677b65cb6 image Makefile: Corrected router imagename length limiting. Thanks KanjiMonster for reminding me.
SVN-Revision: 24191
14 years ago
Daniel Dickinson 314bce63e6 bcm63xx: Add support for the T-Com Speedport W 500V.
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>

SVN-Revision: 24190
14 years ago
Daniel Dickinson 3a49f669f2 bcm63xx: Add board id override fixup.
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>

SVN-Revision: 24189
14 years ago
Daniel Dickinson c51d772e62 bcm63xx: Finalize support for DSL-274xB, rev C2.
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>

SVN-Revision: 24188
14 years ago
Daniel Dickinson 195d1d7446 image Makefile: Removed extraneous tab from Image/LimitName16 macro definition. The solves the strange whitespace in front of the image name in the info1 section
SVN-Revision: 24127
14 years ago
Daniel Dickinson 0c0c1f017f image: Limited image name put into the info1 field to 16 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.
SVN-Revision: 24118
14 years ago
Daniel Dickinson 049e59a27b Initial support for Telsey CPVA642 boards (no vlans, no DSL, GPIO led/buttons not known).
SVN-Revision: 24040
14 years ago
Daniel Dickinson eadb5c84fa imagetag: Significantly updated brcm63xx imagetag 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).
SVN-Revision: 24011
14 years ago
Nicolas Thill e2b57ecf5f define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
SVN-Revision: 20834
14 years ago
Florian Fainelli 2a4fb82289 flashmap and image generation: reduced union bcm_tag to a single struct combining the elements so that it is no longer necessary to create an openwrt-only tagid and tagcrc, and elimate the tagid detection and switch statements which made dealing with imagetags overly complicated, especially since the logic would need analogs in all code that touched the imagetag. Patch from cshore.
SVN-Revision: 20652
14 years ago
Florian Fainelli ada5848ba6 build images for RG100A (bcm6358-based boards) (#6755)
SVN-Revision: 19894
15 years ago
Florian Fainelli 411d1ba1bb do not generate trx images, this is useless
SVN-Revision: 18204
15 years ago
Florian Fainelli 85698765da add support for the Pirelli AG226G board (#5337)
SVN-Revision: 17190
15 years ago
Florian Fainelli dd622864e1 generate images for RTA1025W_16-based routers (#5594)
SVN-Revision: 17058
15 years ago