summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* image: add KERNEL_SIZE to the default device varsMathias Kresin2016-09-131-1/+1
| | | | | This reverts commit ec37a565878fd79d4127cbb843c17ce3b8dc97c0 and fixes the underlying issue.
* ramips: remove old build code seama recipeMathias Kresin2016-09-031-32/+0
| | | | | | | Now that all seama images are using the new build code this seama recipe used with the old build code can be dropped. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: move seama build recipe to MakefileMathias Kresin2016-09-031-0/+9
| | | | | | | The identical build step is defined twice. Move it to the parent Makefile to use only one version. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: add build recipe for senao headerMathias Kresin2016-08-171-0/+5
| | | | | | | Add it to the Makefile to allow a board which will be supported soon to use the recipe as well. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: fix legacy initramfs imagesFelix Fietkau2016-09-031-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: move umedia build step to MakefileMathias Kresin2016-08-201-0/+4
| | | | | | Some rt3883 based boards need this one as well. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: fix legacy image buildFelix Fietkau2016-08-111-4/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: updated remaining profiles to the new image building codeJohn Crispin2016-08-031-0/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* 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>
* ramips: fix build error in ubnt-erx initramfs factory imageFelix Fietkau2016-07-061-1/+1
| | | | | | | Build initramfs kernel image, but skip factory image if initramfs size is too big. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: fix DTB generationJohn Crispin2016-05-101-1/+1
| | | | | | using preprocessor style includes when calling dtc directly. Signed-off-by: John Crispin <john@phrozen.org>
* ramips: remove accidentally comitted codeJohn Crispin2016-04-091-95/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 49161
* ramips: Adjust image size limit for the D-Link DIR-860L B1John Crispin2016-04-091-0/+95
| | | | | | | | | | Currently the maximum image size defaults to 8Mbyte even though this model has 16Mbyte of flash memory. Tested and works on my device. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> SVN-Revision: 49129
* ramips: enable device profiling by dtsJohn Crispin2016-04-091-0/+1
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 49125
* ramips: move different subtarget image generation to separate makefiles to ↵John Crispin2016-04-011-935/+14
| | | | | | | | | | | | | | improve maintainability - all subtarget specific defines are in their own files - common defines left in main Makefile - each subtarget makefile idefed with SUBTARGET - all subtargets compile tested - few seems to be broken/unneeded things marked with FIXME Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 49104
* ramips: MiWifi-Nano - change gpios to leds, add to default build groupJohn Crispin2016-03-201-0/+1
| | | | | | | | | | | | 1) Use leds to indicate: Red - Power Amber - Radio On Blue - Wifi associated 2) Add profile to default build group for MT7628 subtarget Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com> SVN-Revision: 49045
* ramips: Add support for Xiaomi MiWiFi NanoJohn Crispin2016-03-161-0/+4
| | | | | | | | | | | | | | | Xiaomi MiWiFi Nano is based on Mediatek MT7628 with 64MB ram 16MB flash Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com> v3 includes changes suggested by L. D. Pinney & Karl Palsson- Eliminate en25q64 (4MB) flash chip Alphabetization Remove hyphen in model Rename profile from miwifinano.mk to xiaomi.mk Add gpios that are attached to leds SVN-Revision: 49024
* ramips: Add support for GL-MT750John Crispin2016-03-101-0/+2
| | | | | | | | This patch adds support for GL-MT750. GL-MT750 is powered by MT7620A and MT7610e, dual band 802.11ac, 2.4G 300Mbps and 5G 450Mbps. It has 5 LANs, MMC interface, USB, a lot of IOs and PoE support. SVN-Revision: 48994
* ramips: Add support for GL-MT300NJohn Crispin2016-03-101-0/+2
| | | | | | | | This patch adds support for GL-MT300N. GL-MT300N is powered by MT7620N with 16MB flash, 64MB RAM, 2 LANs, USB, UART, GPIO and PoE support. SVN-Revision: 48993
* ramips: Add support for GL-MT300AJohn Crispin2016-03-101-0/+2
| | | | | | | | This patches adds support for GL-MT300A. GL-MT300A is powered by MT7620A. It has 16MB flash, 128MB RAM, Two LANs, USB, UART and MMC daughter board. SVN-Revision: 48992
* ramips: add support for Planex MZK-WDPR.John Crispin2016-03-081-0/+3
| | | | | | | | | | | add support for Planex MZK-WDPR. MZK-WDPR(MZK-WDPR-R01) is internet radio tuner. This patch is "network board" in MZK-WDPR. LCD board is non OpenWrt Platform. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 48968
* ramips: mt7621: fix WF-2881 for ubi splitJohn Crispin2016-03-041-2/+3
| | | | | | | | This patch fix firmware split for WF-2881 which was previously manually partitioned. Signed-off-by: YounJae Rho <luxflow@live.com> SVN-Revision: 48908
* ramips: Add profiles for JCG routersJohn Crispin2016-03-041-0/+17
| | | | | | | | | | This patch adds profiles and support for building factory and sysupgrade images for JHR-N805R, JHR-N825R and JHR-N926R. Signed-off-by: Reinhard Max <reinhard@m4x.de> Reviewed-by: Torsten Duwe <duwe@lst.de> SVN-Revision: 48906
* ramips: Added support for ZBT-826 / ZBT-1026John Crispin2016-03-011-0/+2
| | | | | | | | | Support for these MT7620-based routers: https://wiki.openwrt.org/toh/zbt/we-826 Based on Oskari’s patches found here: https://dev.openwrt.org/ticket/19996 Signed-off-by: Jamie Stuart <jamie@onebillion.org> SVN-Revision: 48865
* ramips: build factory images for Netgear EX2700John Crispin2016-02-251-1/+27
| | | | | | | | | | | | | | | | This patch adds support for building factory and sysupgrade images for the Netgear EX2700 that don't require modification of u-boot environment variables. The bootloader on this device expects the kernel partition to end on a 64k block boundary. The last 64 byte of the kernel partition must contain a valid uImage header - in the stock firmware, this is the uImage header of the root filesystem. For this patch, we're using the uImage header of a 0 byte partition (ex2700-fakeroot.uImage). Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com> SVN-Revision: 48771
* ramips: Add support for Phicomm PSG1208John Crispin2016-02-151-0/+2
| | | | | | | | | | This patch adds support for Phicomm PSG1208.This is a router with MT7620A SoC with 8M flash and 64M ram. The WPS led is uesd as status_led because the power light can't be controlled with GPIO. It seems that the 5g wifi led is connected to MT7612E and it can't be controlled with GPIO too. Signed-off-by: Chuanhong Guo <gch981213@gmail.com> SVN-Revision: 48721
* ramips: Add support for Netgear EX2700John Crispin2016-02-121-0/+2
| | | | | | | | | | | | | | | | This patch adds support for the Netgear EX2700 and builds an approriate sysupgrade image. What's missing is the option to build a factory image flashable via the router's stock web interface, but this approach is hindered by the fact that u-boot operforms an additional integrity check, which expects a uImage header in the last 64 bytes of the "kernel" partition, which the bootloader expects to be 960k, a size exceeded by the standard OpenWrt kernel. Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com> SVN-Revision: 48698
* ramips: fix build error on oversized images by putting the dir-860l-b1 size ↵Felix Fietkau2016-02-081-2/+2
| | | | | | | | check at the end of the chain Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48681
* ramips: add IMAGE_SIZE to DEVICE_VARS, it is used by build templatesFelix Fietkau2016-02-011-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48611
* ramips: make tp-link firmware size errors non-fatalFelix Fietkau2016-01-281-6/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48526
* ramips: fix image size checks for Buffalo WSR-1166 and WSR-600Felix Fietkau2016-01-261-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48508
* ramips: HiLink HLK-RM04 image name typo (RM02 -> RM04)John Crispin2016-01-191-1/+1
| | | | | | | | The image name for the HiLink HLK-RM04 module has a typo and should read "RM04" rather than "RM02" Signed-off-by: John Clark <inindev@gmail.com> SVN-Revision: 48355
* ramips: do not rely on $(BIN_DIR) installed files during image build (for ↵Felix Fietkau2016-01-061-3/+3
| | | | | | | | ubnt-erx) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48147
* targets: add kernel image dependencies on device tree filesFelix Fietkau2016-01-061-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48146
* ramips: do not attempt to build ubnt-erx initramfs image if initramfs ↵Felix Fietkau2016-01-061-1/+1
| | | | | | | | support is disabled Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48144
* ralink: add WRTnode2 platform and led supportJohn Crispin2016-01-011-0/+4
| | | | | | Signed-off-by: xzmu <xzmu@wrtnode.com> SVN-Revision: 48049
* ramips: mt7621: fix error message when initramfs is too largeJohn Crispin2015-12-171-1/+1
| | | | | | Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> SVN-Revision: 47908
* ralink: drop dummy profile from mt7688John Crispin2015-12-171-2/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47901
* ramips: add support for Ubiquiti EdgeRouter X (UBNT-ERX)John Crispin2015-12-121-1/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This router is based on MT7621 SoC, no wifi, no usb, nand. Works: * Boots. * Ethernet. * Switch. * Button (reset). * Flashing OpenWrt from stock firmware. * Upgrading OpenWrt. Doesn't work: * No GPIO leds. All leds are controlled by switch, but stock firmware was able to control them. * SoC has crypto engine but no open driver. * SoC has nat acceleration, but no open driver. * This router has 2MB spi flash soldered in but MT nand/spi drivers do not support pin sharing, so it is not accessable and disabled. Stock firmware could read it and it was empty. * PoE out. Router has serial pins populated. If looking at the top of the router, then counting from Eth sockets pins go as: 'GND, RX, TX, GND'. 3.3v, 57600. U-boot bootloader supports tftpboot, controlled from serial. This router has two kernel partitions: 'live' and 'backup'. They are swapped during flashing (on both stock and OpenWrt). Active partition is controlled by a flag in a factory partition. U-boot has custom command to switch active kernel partition. Kernel partitions are 'bare flash' 3MB. Stock bootloader has no UBI support. Stock rootfs is UBIFS. Flashing procedure. Stock firmware uses custom kernel patch to mount squashfs from a file that is located on UBIFS volume. This makes wiping out this volume from within stock firmware difficult. Instead this patch builds image that is flashable by stock firmware and contains initrams image (with minimal set of packages to fit into kernel partition). Once this is flashed one can reboot into initramfs OpenWrt and use sysupgrade to flash OpenWrt including rootfs into nand. Note: factory image is only built if initramfs image is enabled. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> SVN-Revision: 47881
* ramips: add additional support for MQmaker WiTi boardJohn Crispin2015-12-111-1/+6
| | | | | | | | | | | | | | The board is based on mt7621AT cpu, and has 16mb nor flash, 256mb of ram, 2 sata ports, microsd card slot, 1 USB 3.0 port and at least one 2.4 and one 5 ghz antenna. This is the 6th submission that adds support for XHCI in the device tree file, along with switching the location of the 2 radio's and addition of the kmod-i2c-mt7621 in the default packages of the profile. Signed-off-by: Sebastian Careba <nitroshift@yahoo.com> SVN-Revision: 47845
* build: fix arch used during dts compilationFelix Fietkau2015-12-101-1/+1
| | | | | | | | | Use kernel arch for dts compilation. Also use Image/BuildDTB to build dts for ramips. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> SVN-Revision: 47823
* ramips: fix typo in image makefile (#18712)Felix Fietkau2015-11-241-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47627
* ralink: add support for netis WF-2881John Crispin2015-11-241-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | netis WF-2881 is an MT7621AT based router with MT7602EN, MT7612EN. It has 128MB DDR3, 128MB SLC NAND FLASH, 5-port Gbps switch and 1x USB 3.0. The following patch adds support for this device. this device only works on top of UBI. Tested and working: * ethernet * both WiFi radios * USB 3.0 * buttons (reset button) * ethernet switch and USB diag LEDs * UART * GPIOs * sysupgrade Tested and not working * failsafe Signed-off-by: YounJae Rho <luxflow@live.com> SVN-Revision: 47619
* ramips: add support for Youku YK1John Crispin2015-11-241-0/+2
| | | | | | | | | Changes since V1: I resend this patch for current trunk.The former V1 patch is for CC branch. Signed-off-by: Shonn Lu <countrysideboy@qq.com> SVN-Revision: 47617
* ramips: add support for ZBT WG2626John Crispin2015-11-021-1/+6
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47351
* ramips: add support for Dovado tiny ACJohn Crispin2015-11-021-0/+2
| | | | | | | | | | | | | | | | Add support for Dovado tiny AC wifi router. Soc: mt7620a ram: 64MB flash: 8MB 1x usb 2.0 two gigabit lan ports 5ghz wlan is not supported on this board since there is no gpl driverfor mt7610e wifi chip. Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com> SVN-Revision: 47348
* ramips: add LinkIt Smart7688 supportJohn Crispin2015-10-191-0/+6
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47203
* ramips: add support for 16MB VoCoreJohn Crispin2015-10-051-1/+11
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47120
* ramips: Add build files for HiWiFi HC5x61 modelsJohn Crispin2015-10-051-0/+6
| | | | | | | | | | | | | | HiWiFi HC5661/5761/5861 models are manufactured by http://www.hiwifi.com <http://www.hiwifi.com/>. These models have similar hardware specs(MT7620A + 128M DDR2 + 16M flash). This patch adds support for them. The original author is Justin Liu (rssnsj@gmail.com). I ported the patch to trunk and submitted it here with his approval. v3 fix 1: Spaces -> Tabs 2: Removed some packages Signed-off-by: Xiaoning Kang <kangxn@163.com> SVN-Revision: 47113
* ramips: Added WIZnet WizFi630A Platform based on Ralink RT5350John Crispin2015-09-141-1/+3
| | | | | | | | This patch is to add the WIZnet WizFi630A board as a new platform. The board is in mini pci express form factor. Signed-off-by: Tobias Welz <tw@wiznet.eu> SVN-Revision: 46921