aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/image
Commit message (Collapse)AuthorAgeFilesLines
* brcm47xx: disable Netgear WNR2000 v2 by defaultJo-Philipp Wich2020-05-241-0/+1
| | | | | | | | | | Disable the Netgear WNR2000 v2 image by default as the device has insufficient flash space for release build images. Ref: https://forum.openwrt.org/t/devices-too-big-to-save-overlay/18161/72 Signed-off-by: Jo-Philipp Wich <jo@mein.io> [drop change on netgear-wnr3500l-v1-na] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* brcm47xx: disable Linksys E1000 v1 by defaultJo-Philipp Wich2019-11-301-0/+1
| | | | | | | | Disable the Linksys E1000 v1 image by default as the device has insufficient flash space for release build images. Ref: https://forum.openwrt.org/t/devices-too-big-to-save-overlay/18161/72 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* brcm47xx: image: build firmware for Asus WL-500g DeluxeRafał Miłecki2017-12-291-0/+8
| | | | | | | | It's a device based on BCM5365P (0x5365 package 0x00). This SoC has USB 1.1 controller but device has two USB 2.0 parts. They are handled by PCI-based controllers: 1106:3038 UHCI and 1106:3104 EHCI. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: remove versions from linksys-e1000 targetMoritz Warning2017-12-111-2/+2
| | | | | | | | | | The target name does not need to included a revision if all revisions are supported. This target supports all revisions (v1, v2, v2.1). Signed-off-by: Moritz Warning <moritzwarning@web.de> [Keep the version numbers in the device title, it doesn't harm] Signed-off-by: Mathias Kresin <dev@kresin.me>
* brcm47xx: use proper region code in image nameMoritz Warning2017-12-111-9/+9
| | | | | | | Replace 'north-america' by 'na' and remove 'other-regions' in image files for Netgear WGR614 v10. Signed-off-by: Moritz Warning <moritzwarning@web.de>
* brcm47xx: relocate the stack in loaderHauke Mehrtens2017-10-112-2/+4
| | | | | | | | | | | By default we are reusing the stack provided by CFE, like it is intended by CFE. On my WRT54GS it is located at 0x8043BF30, so a big kernel image could overwrite it. Relocate it to a different memory region which is still under the 8MB RAM, but in the higher area. We only need this memory region for the stack of the loader, Linux will set up this for its own. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* brcm47xx: relocate loader to higher addressHauke Mehrtens2017-10-111-1/+1
| | | | | | | | | | | | | | | | | | | | | The boot process on a WRT54GL works the following way: 1. CFE gets loaded by the boot rom from flash 2. CFE loads the loader from the flash and gzip uncompresses it 3. CFE starts the loader 4. The loader stores the FW arguments and relocates itself to BZ_TEXT_START (now 0x80600000) 5. The loader reads the Linux image from flash 6. The loader lzma decompresses the Linux image to LOADADDR (0x80001000) 7. The loader executes the uncompress Linux image at LOADADDR The BZ_TEXT_START was set to 0x80400000 before. When the kernel gets uncompressed and is bigger than BZ_TEXT_START - LOADADDR it overwrote the loader which was currently uncompressing it and made the board crash. Increase the BZ_TEXT_START my 2 MB to have more space for the kernel. Even on 16MB RAM devices the memory goes till 0x80FFFFFF so this should not be a problem. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* brcm47xx: fix USB driver choice for Asus WL-500WMirko Parthey2017-02-151-1/+1
| | | | | | | | | | | | | | | | BCM4704 SoC has only USB 1.1 core: ssb: Core 3 found: USB 1.1 Hostdev (cc 0x808, rev 0x03, vendor 0x4243) but this device actually comes with two USB 2.0 ports. It appears embedded controller isn't used but instead there are two PCI attached controllers (next to the BCM4321 wireless card): 1106:3038 VT82xx/62xx UHCI USB 1.1 Controller 1106:3104 USB 2.0 Choose a set of USB drivers which actually support this hardware. Signed-off-by: Mirko Parthey <mirko.parthey@web.de> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: generic: include Ethernet drivers in standard imageRafał Miłecki2017-01-041-0/+5
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: generic: specify DEVICE_PACKAGES for all devicesRafał Miłecki2017-01-041-0/+6
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: mips74k: specify DEVICE_PACKAGES for all devicesRafał Miłecki2017-01-041-0/+39
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: legacy: specify DEVICE_PACKAGES for all devicesRafał Miłecki2017-01-041-1/+29
| | | | | | | This allows more feature complete images. Of course it affect the size, e.g. enabling b43 bumped rootfs from 1569618 to 2029122 for me. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: specify DEVICE_PACKAGES for Netgear WGT634URafał Miłecki2016-12-301-0/+3
| | | | | | | This allows using it nicely with PER_DEVICE_ROOTFS. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Cc: Russell Senior <russell@personaltelco.net>
* brcm47xx: mips74k: fix typo in Netgear WN3000RP model nameRafał Miłecki2016-12-291-8/+8
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: fix initramfs image build errorFelix Fietkau2016-11-291-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* brcm47xx: image: use append-rootfs step for per-device rootfs supportRafał Miłecki2016-10-281-18/+18
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: image: make TRX steps work with rootfs passed as $@Rafał Miłecki2016-10-281-2/+4
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: image: make linksys-pattern-partition leave specific fileRafał Miłecki2016-10-281-2/+2
| | | | | | | Thanks to leaving .pattern file we can easily insert extra step between linksys-pattern-partition and trx-v2-with-loader, e.g. rootfs one. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: add support for per-device rootfsRafał Miłecki2016-10-271-4/+95
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: reorder older entries in image MakefileRafał Miłecki2016-10-241-64/+63
| | | | | | Keep all entries sorted and replace tabs with spaces while at it. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: build also TRX image for Linksys WRT300N V1Rafał Miłecki2016-10-241-0/+1
| | | | | | | Linksys WRT300N V1 has pretty bugged CFE bootloader (it crashes in a lot of situations) that doesn't accept .bin image. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: open code Makefile entries for all devicesRafał Miłecki2016-10-241-115/+527
| | | | | | | If we want to use some of new features like per device rootfs we will need this to specify them there. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* image: add a helper variable for getting kernel/rootfs from within image ↵Felix Fietkau2016-07-311-2/+2
| | | | | | Build/* templates Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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