Commit Graph

32 Commits (de509c49d7430d0f220cceed80d1b8f19715d159)

Author SHA1 Message Date
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
Florian Fainelli 45c25ff988 generate images for the bcm6338w
SVN-Revision: 16566
15 years ago
Florian Fainelli 1795111337 add imagetag support for BT Voyager 2500V, patch from Daniel Dickinson (#5364)
SVN-Revision: 16506
15 years ago
Florian Fainelli 606193fc1f generate experimental images for bcm6338 boards, thanks to Daniel Dickinson
SVN-Revision: 16490
15 years ago
Florian Fainelli cc12508ee3 use build system REVISION variable (#5317)
SVN-Revision: 16400
15 years ago
Florian Fainelli ca16accfbb The attached patch adds building of firmware images for more routers based on the brcm63xx chipset.
Signed-Off By: Daniel Dickinson <crazycshore@gmail.com>

SVN-Revision: 16396
15 years ago
Florian Fainelli 01118457e8 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).
SVN-Revision: 16393
15 years ago
Florian Fainelli 1f334e3caa make images that can be flashed using the stock firmware web interface, thanks to Anselmo Luginbuhl and Daniel Dickinson (#4909, #4943)
SVN-Revision: 15253
15 years ago
Florian Fainelli 5d5c8300b1 imagetag's -k argument is expected to be hexadecimal instead of decimal (#4885)
SVN-Revision: 15133
15 years ago
Florian Fainelli b865f9b722 add the CFE offset command line option to the imagetag utility, closes (#4366)
SVN-Revision: 14896
16 years ago
Florian Fainelli 6495fa36ea add support for AGPF-S0 (Pirelli Alice Gate VoIP 2 Plus Wi-Fi) #4366
SVN-Revision: 14850
16 years ago
Florian Fainelli 730346e2d5 add support for user9102 boards (#4537)
SVN-Revision: 14305
16 years ago
Florian Fainelli c2c0d74f67 generate images for old CFE based boards like the Davolink DV201
SVN-Revision: 14264
16 years ago
Florian Fainelli 562ff99c2c Build images for Inventel Livebox
SVN-Revision: 13616
16 years ago
Florian Fainelli 4025c12a2d Fix typo, we are not building for the DG834G (ar7) but the DG834GT (brcm6348)
SVN-Revision: 13588
16 years ago
Florian Fainelli 4dc65aed63 Add support for Sagem F@ST2404 (#4332)
SVN-Revision: 13583
16 years ago
Florian Fainelli f3be50a031 Add support for bcm96348gw10 (Netgear DG834GT) (#4319)
SVN-Revision: 13540
16 years ago
Florian Fainelli 107aa04e06 Generate valid images for the bcm96348gw board
SVN-Revision: 13298
16 years ago
Florian Fainelli 0d4286b0b3 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)
SVN-Revision: 13213
16 years ago
Florian Fainelli 691e187381 Add definitions for bcm96350vw, add back bcm63xx mtd driver, be careful when testing with 8MB devices
SVN-Revision: 13015
16 years ago
Felix Fietkau 2dfabe3991 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>

SVN-Revision: 11171
16 years ago
Felix Fietkau 46b4413fbb 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>

SVN-Revision: 11169
16 years ago
Nicolas Thill e3a42b23c6 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
SVN-Revision: 11097
16 years ago
Florian Fainelli 62240465c4 brcm63xx image generation cleanups (#3169)
SVN-Revision: 10703
16 years ago
Felix Fietkau 1bca0cc517 make the image filenames a bit shorter
SVN-Revision: 9533
17 years ago
Felix Fietkau 56231056ea 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.
SVN-Revision: 8653
17 years ago