aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/image
Commit message (Collapse)AuthorAgeFilesLines
* brcm47xx: add Netgear WN2500RP supportRafał Miłecki2015-12-021-0/+1
| | | | | | | | We generate V1 image only for now. We lack buttons support for V2. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: increase max image sizeHauke Mehrtens2015-09-111-0/+7
| | | | | | | | | | | | | | | | the trx utile uses a maximum image size of 7.2MB. There are brcm47xx devices even with serial flash with bigger flash chips, but OpenWrt was not able to create images for these devices. This patch provides an additional parameter which increases this limit to 32 MB. There is a warning in the trx utile code which suggests that bigger images could overwrite the nvram partition on some devices, but normally the program writing the image should make sure that it is safe to write it to the flash. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46872 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: break long lines in image MakefileHauke Mehrtens2015-09-111-7/+18
| | | | | | | | | | This patch changes nothing on the behaviour, it just breaks long lines with bin/trx to make it easier to add additional parameters. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46871 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix Linksys E1200 V2 image filenameRafał Miłecki2015-08-291-1/+1
| | | | | | | | Drop unwanted suffix (copy & paste mistake). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46742 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image.mk: replace all Build/netgear-chk with a generic implementationJonas Gorski2015-08-141-9/+0
| | | | | | | | | Instead of letting each target define it themselves, create on in include/image.mk and let the targets use it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46596 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: prefix netgear specific device variables with NETGEAR_Jonas Gorski2015-08-141-5/+5
| | | | | | | | Rename BOARD_ID to NETGEAR_BOARD_ID and REGION to NETGEAR_REGION. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46594 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: fix typo in Asus WL-500gP v2 fw file nameRafał Miłecki2015-05-281-1/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45811 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: build images for Asus devicesRafał Miłecki2015-05-271-1/+27
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45789 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: use common image prefixJo-Philipp Wich2015-05-271-16/+16
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45779 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: build image for Asus RT-N66URafał Miłecki2015-05-271-0/+20
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45774 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: use "-" separator for device versionRafał Miłecki2015-04-091-6/+6
| | | | | | | | This makes legacy subtarget follow two other. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45319 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: use new (& fixed) FILESYSTEM variable for trx commandRafał Miłecki2015-04-081-1/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: convert legacy Linksys & Netgear devicesRafał Miłecki2015-03-311-12/+31
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45184 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: convert generic subtarget to the new images systemRafał Miłecki2015-03-311-18/+11
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45183 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: convert all mips74k images to the new building systemRafał Miłecki2015-03-311-47/+28
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45181 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: add helpers for defining devicesRafał Miłecki2015-03-311-15/+20
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45180 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: use standard KERNEL_IMAGE to avoid warningsRafał Miłecki2015-03-311-1/+2
| | | | | | | | | | | | | | | | KERNEL_IMAGE is used as target rule so reusing the same name causes: Makefile:326: warning: overriding recipe for target `bin/brcm47xx/vmlinux.lzma' Makefile:326: warning: ignoring old recipe for target `bin/brcm47xx/vmlinux.lzma' Makefile:326: warning: overriding recipe for target `build_dir/target-mipsel_74kc+dsp2_uClibc-0.9.33.2/linux-brcm47xx_mips74k/vmlinux.lzma' Makefile:326: warning: ignoring old recipe for target `build_dir/target-mipsel_74kc+dsp2_uClibc-0.9.33.2/linux-brcm47xx_mips74k/vmlinux.lzma' Unfortunately this will cause copying vmlinux.lzma over and over like: cp vmlinux.lzma FOO-kernel.bin which is redundant on brcm47xx where we never modify kernel image. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45178 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: update Linksys firmwares (add new E2500 versions)Rafał Miłecki2015-03-311-2/+5
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45173 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: convert Netgear WNDR3700 V3 to the new image building systemRafał Miłecki2015-03-291-3/+25
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45144 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: convert Linksys E1200 V2 to the new image building systemRafał Miłecki2015-03-291-1/+46
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45143 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add early support for WNDR3400 V3Rafał Miłecki2014-12-071-0/+1
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43532 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add support for Netgear WGR614 V10Rafał Miłecki2014-11-201-0/+2
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43336 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: create initramfs TRX nodictionary imagesRafał Miłecki2014-10-131-0/+2
| | | | | | | | Signed-off-by: Stephen Parry <sgparry@mainscreen.com> Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42889 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: build alternative TRX using less optimized LZMAHauke Mehrtens2014-08-181-0/+8
| | | | | | | | | | | | | | | | | | There is a group of devices that lzma-loader doesn't work with. They simply hang at "Starting program at 0x80001000" which is really hard to debug and we didn't find any solution for this for years. Broadcom doesn't use lzma-loader on these devices anyway. They decided to drop lzma-loader and use less optimal LZMA compression that can be handled by CFE itself (it doesn't use dictionary). So support these devices we will need kernel compressed with different parameters and trx without a loader. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42205 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: update list of Netgear WNR* firmwaresHauke Mehrtens2014-08-141-2/+6
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: remove unneeded images from generic targetHauke Mehrtens2014-07-071-15/+0
| | | | | | | | | | broadcom-wl now builds in the mips74k profile, so remove these chips from the generic profile. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41546 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: legacy: take over old devices imagesHauke Mehrtens2014-07-061-25/+52
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41530 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: mips74k: take over some device imagesHauke Mehrtens2014-07-061-20/+38
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41529 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: prepare for using mips74k subtargetHauke Mehrtens2014-07-061-0/+20
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41528 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: move current target to "generic" subtargetHauke Mehrtens2014-06-051-6/+14
| | | | | | | | | | This allows creating more subtargets and optimize builds per family. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41024 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: respect device flash block sizeHauke Mehrtens2014-05-141-22/+22
| | | | | | | | | | We should be more careful and don't generate 128K JFFS2 images for devices with flashes using 64K blocks (nor the other way). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40762 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: document some defines argumentsHauke Mehrtens2014-05-141-0/+14
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40761 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: Add support for Huawei E970Hauke Mehrtens2013-09-161-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for Huawei E970 wireless gateway devices. It has been tested on an E970 labelled as T-Mobile web'n'walk Box IV. E960/B970 should work too, from what I know it's basically the same hardware. The device has a Broadcom BCM5354 SoC and a built-in 3G USB modem. It uses a hardware watchdog which needs GPIO-7 to be toggled at least every 1-2 seconds. This patch uses gpio_wdt module (see my previous patch today) to take care of this. Tested and works: 3G wan, wlan+LED, VLAN config, failsafe using reset button, image to be used for upgrade from OEM firmware's web interface Link to the wiki page I've created: <http://wiki.openwrt.org/toh/huawei/e970> Issue: * lzma-loader crashes, so gzipped kernel is used. Presumably due to watchdog reset during kernel decompress. Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38011 3c298f89-4303-0410-b956-a3cf2f4a3e73
* targets: prepare for supporting normal and initramfs imagesFlorian Fainelli2013-06-271-1/+7
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37049 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-diag: support for the WNDR3700v3Hauke Mehrtens2013-04-281-0/+1
| | | | | | | | | | | | | | | I recently picked up a WNDR3700 to put OpenWRT on, and only after tearing into the box did I find it was one of the v3 boards, with poor OpenWRT support. This patch should add the board detection and LED/button control to the broadcom-diag module, and should generate a netgear .chk image that the bootloader and stock firmware will accept. The changes to the broadcom-diag module are more than a few lines because the WNDR3700v3 is driving its LEDs through an HC164 8-bit shift register. Signed-off-by: Owen Kirby <osk@exegin.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36482 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: generate images for Linksys E.... modelsHauke Mehrtens2013-03-271-0/+9
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36139 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: activate image generation for some Netgear devices which are on ↵Hauke Mehrtens2013-03-271-7/+7
| | | | | | the market and should be supported. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36137 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: generate images for more WRT...N modelsHauke Mehrtens2013-03-271-0/+5
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36136 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: generate images for some more devicesHauke Mehrtens2013-03-201-3/+3
| | | | | | | These devices should be supported by trunk now. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36099 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: board detection WNDR3400v2Hauke Mehrtens2013-02-251-0/+1
| | | | | | | | | | | | | | | | | WNDR3400v2 is based on BCM53xx . Image that is created breaks the router somehow therefore "#". CFE and NVRAM contain different vars - example: CFE line original: Device eth0: hwaddr 74-44-01-37-C6-69, ipaddr 192.168.1.1, mask 255.255.255.0 CFE after openwrt: Device eth0: hwaddr 00-FF-FF-FF-FF-FF, ipaddr 192.168.1.1, mask 255.255.255.0 Logs were posted earlier on this mailing list: https://lists.openwrt.org/pipermail/openwrt-devel/2012-July/016174.html Different logs with factory firmware are in the wiki: http://wiki.openwrt.org/toh/netgear/wndr3400#wndr3400v2 (and on wikidevi for example) Signed off by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35790 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: create image for Netgear WNDR3400 V1Hauke Mehrtens2013-01-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35323 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: Additional BCM4716 supportHauke Mehrtens2012-12-131-0/+2
| | | | | | | | | Additional BCM4716 support. Still needs working ethernet driver. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34672 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm47xx]: generate images for the D-Link DWL-3150 as wellImre Kaloz2012-10-271-2/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33961 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm47xx] generate image for Linksys e3200Hauke Mehrtens2012-08-051-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: generate image for Linksys WRT610N V1Hauke Mehrtens2012-05-131-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31696 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add code to generate images for some netgear devicesHauke Mehrtens2012-02-181-2/+11
| | | | | | | This is commented out until we get report of working devices. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30639 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix padding of trx images, padjffs2 does not work properly on ↵Felix Fietkau2011-08-291-1/+1
| | | | | | empty files by default git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28125 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: deactivate wndr3400 for now as this device will not bootHauke Mehrtens2011-06-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27316 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: generate image to flash on Netgear WNDR3400.Hauke Mehrtens2011-06-281-0/+1
| | | | | | | The image will not boot because serial flash support is missing this is only for experts. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27302 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm47xx: Remove kernel checks from image MakefileHauke Mehrtens2011-06-151-6/+2
| | | | | | | | | | 2.4 isn't present anymore, so it will always be 2.6 (or newer). Since the 2.6 check will break with 3.0, remove it alltogether. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27185 3c298f89-4303-0410-b956-a3cf2f4a3e73