aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/image
Commit message (Collapse)AuthorAgeFilesLines
* brcm47xx: lzma-loader: fix cache invalidationGabor Juhos2016-03-211-4/+4
| | | | | | | | | | | | | | | The current code only partially invalidates both caches because the cache size and cache-line size values are incorrectly passed to the C code. Fix the assembly code to pass the arguments in the correct order. Compile tested only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 49060
* brcm47xx: lzma-loader: remove trailing whitespaces from head.SGabor Juhos2016-03-211-9/+9
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 49059
* brcm47xx: image: create standard TRX images using new building systemRafał Miłecki2016-03-111-15/+20
| | | | | | | | | | | | | | | | | | | | | | | | Apart from using our new building system there are 2 more changes: 1) Limit amount of images So far we were generating all standard images (optimized one and two with no loader) for every SUBTARGET. This is not needed, as e.g. the only device requiring gzipped kernel is legacy Huawei E970. 2) Change output names The new image building system requires specifying device name. This forced picking some and resulted in: openwrt-brcm47xx-$(SUBTARGET)-squashfs.trx openwrt-brcm47xx-$(SUBTARGET)-squashfs-gz.trx openwrt-brcm47xx-$(SUBTARGET)-squashfs-noloader-nodictionary.trx becoming: openwrt-brcm47xx-$(SUBTARGET)-standard-squashfs.trx openwrt-brcm47xx-$(SUBTARGET)-standard-noloader-gz-squashfs.trx openwrt-brcm47xx-$(SUBTARGET)-standard-noloader-nodictionarylzma-squashfs.trx Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49006
* brcm47xx: image: move disabled devices to the new building systemRafał Miłecki2016-03-091-13/+3
| | | | | | | | | This only drops WGR614 V9 which has 2 MiB flash and it's unlikely to get any interest. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48975
* brcm47xx: image: switch Linksys WRT54G3GV2-VF to the new building systemRafał Miłecki2016-03-091-45/+28
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48974
* brcm47xx: image: switch Netgear WGT634U to the new building systemRafał Miłecki2016-03-081-6/+13
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48973
* brcm47xx: image: switch rest of 64k block devices to the new building systemRafał Miłecki2016-03-081-28/+45
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48972
* brcm47xx: image: switch Motorola devices to the new building systemRafał Miłecki2016-03-081-7/+22
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48971
* brcm47xx: image: switch D-Link DWL-3150 to the new building systemRafał Miłecki2016-03-081-7/+13
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48970
* 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> SVN-Revision: 47682
* 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> SVN-Revision: 46872
* 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> SVN-Revision: 46871
* 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> SVN-Revision: 46742
* 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> SVN-Revision: 46596
* 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> SVN-Revision: 46594
* 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> SVN-Revision: 45811
* brcm47xx: build images for Asus devicesRafał Miłecki2015-05-271-1/+27
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45789
* brcm47xx: use common image prefixJo-Philipp Wich2015-05-271-16/+16
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 45779
* brcm47xx: build image for Asus RT-N66URafał Miłecki2015-05-271-0/+20
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45774
* 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> SVN-Revision: 45319
* 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> SVN-Revision: 45313
* brcm47xx: image: convert legacy Linksys & Netgear devicesRafał Miłecki2015-03-311-12/+31
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45184
* 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> SVN-Revision: 45183
* 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> SVN-Revision: 45181
* brcm47xx: image: add helpers for defining devicesRafał Miłecki2015-03-311-15/+20
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45180
* 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> SVN-Revision: 45178
* brcm47xx: update Linksys firmwares (add new E2500 versions)Rafał Miłecki2015-03-311-2/+5
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45173
* 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> SVN-Revision: 45144
* 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> SVN-Revision: 45143
* brcm47xx: add early support for WNDR3400 V3Rafał Miłecki2014-12-071-0/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43532
* brcm47xx: add support for Netgear WGR614 V10Rafał Miłecki2014-11-201-0/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43336
* 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> SVN-Revision: 42889
* 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> SVN-Revision: 42205
* brcm47xx: image: update list of Netgear WNR* firmwaresHauke Mehrtens2014-08-141-2/+6
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42165
* 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> SVN-Revision: 41546
* brcm47xx: image: legacy: take over old devices imagesHauke Mehrtens2014-07-061-25/+52
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 41530
* 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> SVN-Revision: 41529
* brcm47xx: image: prepare for using mips74k subtargetHauke Mehrtens2014-07-061-0/+20
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 41528
* 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> SVN-Revision: 41024
* 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> SVN-Revision: 40762
* brcm47xx: image: document some defines argumentsHauke Mehrtens2014-05-141-0/+14
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 40761
* 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> SVN-Revision: 38011
* 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> SVN-Revision: 37049
* 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> SVN-Revision: 36482
* brcm47xx: generate images for Linksys E.... modelsHauke Mehrtens2013-03-271-0/+9
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 36139
* brcm47xx: activate image generation for some Netgear devices which are on ↵Hauke Mehrtens2013-03-271-7/+7
| | | | | | the market and should be supported. SVN-Revision: 36137
* brcm47xx: generate images for more WRT...N modelsHauke Mehrtens2013-03-271-0/+5
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 36136
* brcm47xx: generate images for some more devicesHauke Mehrtens2013-03-201-3/+3
| | | | | | These devices should be supported by trunk now. SVN-Revision: 36099
* 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> SVN-Revision: 35790
* brcm47xx: create image for Netgear WNDR3400 V1Hauke Mehrtens2013-01-261-1/+1
| | | | SVN-Revision: 35323