1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-25 07:39:43 +02:00
Commit Graph

42 Commits

Author SHA1 Message Date
cshore
636113691a [brcm63xx] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 18:59:58 +00:00
cshore
6e4ddb80d8 [brcm63xx] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-07 15:15:54 +00:00
cshore
191062a0ed [brcm63xx] image Makefile: Corrected router imagename length limiting. Thanks KanjiMonster for reminding me.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:13:00 +00:00
cshore
f7a2edf410 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:44 +00:00
cshore
9dd6c43103 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:40 +00:00
cshore
d26482830e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:36 +00:00
cshore
0760ba4d65 [brcm63xx] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 11:06:13 +00:00
cshore
97de625a9b [brcm63xx] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-23 20:17:08 +00:00
cshore
01a2513287 [brcm63xx] Initial support for Telsey CPVA642 boards (no vlans, no DSL, GPIO led/buttons not known).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-19 13:41:54 +00:00
cshore
33d20e9dce [tools/firmware-utils] 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).



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-16 06:46:53 +00:00
nico
bca3f225e9 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 23:15:56 +00:00
florian
58dcac852c [brcm63xx] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-01 21:20:43 +00:00
florian
07f3454986 [brcm63xx] build images for RG100A (bcm6358-based boards) (#6755)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-28 11:09:39 +00:00
florian
eb47209914 [brcm63xx] do not generate trx images, this is useless
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-29 13:39:29 +00:00
florian
95d6d72228 [brcm63xx] add support for the Pirelli AG226G board (#5337)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-09 10:19:47 +00:00
florian
a74ac1e304 [brcm63xx] generate images for RTA1025W_16-based routers (#5594)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-31 10:47:00 +00:00
florian
86f48601fe [brcm63xx] generate images for the bcm6338w
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-26 10:27:37 +00:00
florian
302118701d [brcm63xx] add imagetag support for BT Voyager 2500V, patch from Daniel Dickinson (#5364)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-18 15:00:32 +00:00
florian
53634c2d05 [brcm63xx] generate experimental images for bcm6338 boards, thanks to Daniel Dickinson
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-17 13:16:59 +00:00
florian
ff31d59270 [brcm63xx] use build system REVISION variable (#5317)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-10 13:43:48 +00:00
florian
3d975fbf42 The attached patch adds building of firmware
images for more routers based on the brcm63xx chipset.

Signed-Off By: Daniel Dickinson <crazycshore@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-10 08:24:13 +00:00
florian
b1dfb3f7eb [brcm63xx] rework imagetag firmware generator and MTD partition parser to accomodate with all known
imagetag versions from Broadcom and vendors, patch from Daniel Dickinson (fixes #4987).


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-09 08:04:52 +00:00
florian
c4a76c3879 [brcm63xx] make images that can be flashed using the stock firmware web interface, thanks to Anselmo Luginbuhl and Daniel Dickinson (#4909, #4943)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-19 13:18:48 +00:00
nbd
796a9d1091 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
florian
3072265237 [brcm63x] imagetag's -k argument is expected to be hexadecimal instead of decimal (#4885)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-07 13:22:32 +00:00
florian
1c5b430f75 [brcm63xx] add the CFE offset command line option to the imagetag utility, closes (#4366)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-16 12:29:11 +00:00
florian
de1e7c94c8 [brcm63xx] add support for AGPF-S0 (Pirelli Alice Gate VoIP 2 Plus Wi-Fi) #4366
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-12 08:54:04 +00:00
florian
68a5bde10c [brcm63xx] add support for user9102 boards (#4537)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-31 16:01:20 +00:00
florian
0ecc586d63 [brcm63xx] generate images for old CFE based boards like the Davolink DV201
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-29 14:56:45 +00:00
florian
6473465573 Build images for Inventel Livebox
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-12 15:16:57 +00:00
florian
ecf915ebc8 Fix typo, we are not building for the DG834G (ar7) but the DG834GT (brcm6348)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-10 23:57:23 +00:00
florian
43af26b163 Add support for Sagem F@ST2404 (#4332)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-10 16:13:41 +00:00
florian
6489001dd8 Add support for bcm96348gw10 (Netgear DG834GT) (#4319)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-07 20:34:48 +00:00
florian
e2da4e9b55 Generate valid images for the bcm96348gw board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-20 21:22:45 +00:00
florian
1d55b67ff9 This patch is for broadcom 96348GW-11 boards, to get USB and Ethernet working. Also it patches mtd map driver for bcm96xx boards to be sure that CFE1CFE1 code is detected when booting from CFE. (#4201)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-15 11:30:22 +00:00
florian
33ffd60e66 Add definitions for bcm96350vw, add back bcm63xx mtd driver, be careful when testing with 8MB devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-20 12:55:28 +00:00
nbd
8a5477f586 bcm963xx: image generation using image tagger
This adds CFE tagged image generation in the BCM963xx target image Makefile.
It has to generate its own LZMA compressed kernel because CFE is a LZMA nazi.
It also seems that the Broadcom image tagger as well as CFE use AdvanceCOMP,
which is based on a slightly older LZMA SDK. Anyways, some of the code is
GPL, some of it is LGPL, so it might be that Broadcom owes some sources.
Also, LZMA has a bug which causes it to generate different output when you
are using stdin / stdout compared to plain files. I've just worked around
the issue by using plain files.

Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:30:04 +00:00
nbd
bd6f055e6a bcm963xx: fix load address / kernel entry
Current kernels have the same kernel entry as load address, so just set them
like this. Also, the BCM963xx uses 0x80010000 as its load address, so use this
too.

Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:29:39 +00:00
nico
ab01217894 enable proper PCI & USB support detection at config-time by disabling CONFIG_PCI & CONFIG_USB entries in generic/config and enabling them on targets where appropriate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-09 17:08:51 +00:00
florian
4e758fef01 brcm63xx image generation cleanups (#3169)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-01 21:10:47 +00:00
nbd
f56b55940b make the image filenames a bit shorter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-10 23:08:11 +00:00
nbd
17c7b6c3fd 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