aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* build: add checksum targetJo-Philipp Wich2016-08-011-0/+6
| | | | | | | | | | | | | | | Add a new "checksum" make target which generates an sha256sums file over the image files produced in bin/targets/ and automatically call it during make world after the package index generation. The advantage of this new target is that it is guaranteed to run after the images, the SDK and the ImageBuilder archives have been generated to ensure that they all end up in the checksum file. Fixes FS#51. Uses sed to postprocess the OpenSSL digest output into an sha256sum command compatible format. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* apm821xx: fix IB image buildingJo-Philipp Wich2016-08-011-6/+10
| | | | | | | Change the image build code to generate the DTB files as part of the kernel build phase in order to fix the image build in the ImageBuilder environment. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: re-enable CONFIG_SND_VERBOSE_PROCFS (FS#66)Felix Fietkau2016-08-011-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: Make wget2nand look for LEDE project firmware filesdiizzyy2016-07-261-2/+2
| | | | | | Make wget2nand aware of the new file names Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* ipq806x: fix MAC_POWER_SEL for Netgear R7800dissent12016-07-261-1/+1
| | | | | | | Fixes instability/corruption on the ethernet interface connected to port0 on the switch on Netgear R7800 as well. Signed-off-by: Josh Bendavid <joshbendavid@gmail.com> Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ramips: Rename TP-Link Archer C50 LEDsP.Wassi2016-07-262-10/+10
| | | | | | | Rename LEDs in TP-Link Archer C50 from [manufacturer name] to [board name] ("tp-link" -> "c50") Signed-off-by: P.Wassi <p.wassi@gmx.at>
* ramips: Improve TP-Link Archer C20i supportP.Wassi2016-07-264-5/+49
| | | | | | Improve / finalise TP-Link Archer C20i support. Signed-off-by: P.Wassi <p.wassi@gmx.at>
* target/sdk: update README.SDK to explain dependency handlingFelix Fietkau2016-08-011-1/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* target/sdk: ship toolchain and kernel module packageFelix Fietkau2016-08-011-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* brcm63xx: fix CT-536p/CT-5621T supportDaniel Gonzalez2016-08-012-2/+2
| | | | | | | | | | | Fix support for the Comtrend CT-536+, CT-5361 and CT-5621T routers support. Currently the firmware is broken for these routers, because there is a missing bar in the code at the DTS file avoiding to match with DTS stuff at the kernel. This causes the router boots without ethernet connectivity. The status led also has a typo. Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* kernel: silence a false positive uninitialized variable warningFelix Fietkau2016-08-011-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ipq806x: fix boot hang if cmdline contains words with r in the middleJonas Gorski2016-08-011-1/+1
| | | | | | | | | | | | | | The ATB DTB mangle code will enter an infinite loop if it encounters a word in the command line that contains an r in the middle of the word. Fix this by increasing ptr everytime before invoking strchr, ot avoid finding the same r again. This fixes booting at least on Netgear R7500v1, which contains "ubi.mtd=rootfs" in its commandline, triggering the misbehaviour. Fixes: 0ddcbee26151 ("ipq806x: activate ATAG DTB mangle and EA8500 rootblock in dts") Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* mvebu: fix NAND flash issues (FS#67)Felix Fietkau2016-07-312-36/+69
| | | | | | | | Remove the previous PIO delay patch and add a revert patch for a faulty upstream commit, which seems to have introduced this issue in the first place Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: clean up / fix ventana image build codeFelix Fietkau2016-07-311-69/+43
| | | | | | | | | Fix ubifs mkfs options Use standard Build/* commands instead of doing everything in the hackish ubi-boot-overlay template Fix bootfs.tar.gz build error Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: use ubinize-image.sh to fix build with per-device rootfsFelix Fietkau2016-07-313-64/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* brcm63xx: fix build with per-device rootfsFelix Fietkau2016-07-311-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ipq806x: add missing sysupgrade-nand => sysupgrade-tar changeFelix Fietkau2016-07-311-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* sdk: provide a config symbol for detecting builds within the SDKFelix Fietkau2016-07-311-0/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: add a helper variable for getting kernel/rootfs from within image ↵Felix Fietkau2016-07-3112-43/+43
| | | | | | Build/* templates Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove hostap driverFelix Fietkau2016-07-314-463/+1
| | | | | | | It has been marked as broken for well over a month now and nobody has complained. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeon: increase block2mtd rootfs probe timeout on ERFelix Fietkau2016-07-301-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeon: pad squashfs sysupgrade image rootfsFelix Fietkau2016-07-301-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeon: drop unsupported jffs2 feature flagFelix Fietkau2016-07-301-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeon: fix sysupgrade imagesFelix Fietkau2016-07-301-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix crashlog regression on x86Felix Fietkau2016-07-301-20/+32
| | | | | | | | Check memblock regions for sufficient size before attempting to use them. Allow checks for multiple memblock regions until a suitable one is found. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath25: rework image buildingJo-Philipp Wich2016-07-291-41/+27
| | | | | | | | * Remove legacy macros * Emit generic LZMA and Gzip kernel images from the combined device recipe * Rename combined device to generic Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* build: rename sysupgrade-nand to sysupgrade-tarJo-Philipp Wich2016-07-299-11/+11
| | | | | | | Now that the "sysupgrade-nand" step is used by non-NAND targets as well, rename it to "sysupgrade-tar" to make it more generic. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* octeon: clean up image build codeJo-Philipp Wich2016-07-291-13/+2
| | | | | | | Use the generic "sysupgrade-nand" build step to pack the sysupgrade file, it performs the same steps as the inline "tar-file" macro. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* build: remove obsolete variables from opkg commandFelix Fietkau2016-07-291-3/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* apm821xx: only attempt to mount /boot on MyBook LiveFelix Fietkau2016-07-291-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: fix switch configuration for EASY80920Hauke Mehrtens2016-07-284-24/+27
| | | | | | | | The device tree description misses some Ethernet ports and there was no model specified for this board. In addition there was no switch specific default configuration created. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: fix crashlog issues on various architecturesFelix Fietkau2016-07-281-13/+25
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: fix WBMR-300HPD switch port assignmentFelix Fietkau2016-07-281-4/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeon: fix image buildJo-Philipp Wich2016-07-281-1/+1
| | | | | | | | | | | | | | After b47f438 "build: remove image prefix from kernel files in KDIR", the kernel image in $(KDIR) has a different name and could not be found by the tar-file build step anymore, leading to the following error on the build servers: cp: cannot stat `.../linux-octeon/lede-octeon-generic-kernel.bin': No such file or directory make[4]: *** [.../linux-octeon/tmp/lede-octeon-generic-ext4-sysupgrade.tar] Error 1 Adjust the path to the source kernel image in order to fix the problem. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: don't use D-Link DIR-505 status LED as ethernet indicatorMatthias Schiffer2016-07-281-4/+0
| | | | | | | | | The stock firmware uses the single LED as status indicator only. Using the same LED both for status and as ethernet indicator is uncommon, and has been confusing users who were using the device as a WLAN mesh node (so the LED was just off, as no ethernet was connected). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: add revision detection for D-Link DIR-505 A1/A2Matthias Schiffer2016-07-281-0/+10
| | | | | | The A1 image also works on the A2, correctly set AR71XX_MODEL in this case. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* bcm53xx: enable kernel symbols/drivers needed for BCM53573Rafał Miłecki2016-07-281-2/+7
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: backport DTS patches for USB 2.0 and Tenda AC9Rafał Miłecki2016-07-284-2/+321
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: refresh kernel patchesRafał Miłecki2016-07-282-3/+3
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* ar71xx: add a missing ;; to ar71xx.shJohn Crispin2016-07-241-0/+1
| | | | | | | | commit 42305ae24aa7 ("ar71xx: add support for gl-mifi") was missing a ;; breaking boot up Signed-off-by: John Crispin <john@phrozen.org>
* b53: allow ports with higher numbers than CPU portRafał Miłecki2016-07-241-2/+1
| | | | | | | | | | | | | | Our code was assuming CPU port uses the highest number. My BCM53573 device has eth0 connected to port 8 and eth1 connected to port 5. While working on support for it I tried to: 1) Enable all ports (including port 8) 2) Set CPU port to 5 I noticed port 8 is not accessible anymore. It was just a development process but it seems like something worth fixing anyway. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: fix HG556a C buttondani2016-07-241-1/+1
| | | | | | | One button of the HG556a-C has the wrong GPIO pin defined in the dts file, fix it Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
* ramips: unify etc/board.d/01_leds configurationP.Wassi2016-07-241-2/+2
| | | | | | | Introduce an optional parameter at the local set_usb_led and set_wifi_led function such that they can take a triggering device. If no parameter is passed, behaviour is unchanged. Signed-off-by: P.Wassi <p.wassi@gmx.at>
* ar71xx: add support for gl-mifiZhao Gang2016-07-2410-0/+148
| | | | | | | This add initial support for gl-mifi. Product page: http://www.gl-inet.com/mifi/ Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
* ramips: dch-m225 don't have ethernet. default enable wifiMichael Lee2016-07-241-0/+21
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: remove indentation in etc/board.d/01_ledsPaul Wassi2016-07-241-1/+1
| | | | | Remove indentation at end of line in base-files/etc/board.d/01_leds Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* ramips: add missing i2s aliasJohn Crispin2016-07-241-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: clean up legacy-devices.mkMatthias Schiffer2016-07-272-322/+407
| | | | | | | | | Several legacy images were not buildable because of missing profile definitions in legacy-devices.mk since MultiProfile was removed. Update legacy-devices.mk to provide all necessary profiles, and change ordering to match legacy.mk. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* mvebu: limit image builds to profile selectionFelix Fietkau2016-07-261-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: remove cpio.gz and tar.gz from regular filesystem typesFelix Fietkau2016-07-251-3/+0
| | | | | | | They are not used to produce regular firmware images anyway. Instead, call their build templates directly if enabled in the config Signed-off-by: Felix Fietkau <nbd@nbd.name>