aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* glibc: update to version 2.25Felix Fietkau2017-02-112-12/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* glibc: override default rpath to /lib:/usr/libFelix Fietkau2017-02-111-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* cns3xxx: clean up patchesFelix Fietkau2017-02-113-73/+13
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: add ZyXEL NSA325 deviceAlberto Bursi2017-02-115-2/+254
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch add ZyXEL NSA325 2-Bay Media Server The ZyXEL NSA325 device is a Kirkwood based NAS: - SoC: Marvell 88F6702 1600Mhz - SDRAM memory: 512MB DDR2 400Mhz - Gigabit ethernet: Marvell Alaska - Flash memory: 128MB - 1 Power button - 1 Power LED (blue) - 5 Status LED (green/red) - 1 Copy/Sync button - 1 Reset button - 2 SATA II ports (internal) - 2 USB 2.0 ports (back) - 1 USB 3.0 port (front) - Fan (fixed speed) - hardware watchdog in a mcu Basically a bigger, more powerful version of NSA310, installation is the same as they share the same flash layout. A notable difference is that there is a hardware watchdog in a mcu on the board, which is disabled by default in the LEDE u-boot. The watchdog is also disabled with a GPIO activation through raw register change when kwbooting or it would reset the board before the new uboot was transferred. Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it> Signed-off-by: Felix Fietkau <nbd@nbd.name> [remove dead code]
* uboot-kirkwood: add Zyxel NSA325 ubootAlberto Bursi2017-02-112-0/+714
| | | | | | add uboot for NSA325 Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* uboot-envtools: add nsa325 envsAlberto Bursi2017-02-111-0/+1
| | | | | | adding nsa325 envs for consistency with other kirkwoods Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* kirkwood: cleanup nsa310b mac address extractionAlberto Bursi2017-02-111-1/+1
| | | | | | | | | switch nsa310b mac address reading to mtd_get_mac_ascii helper as it seems the fw_env.config file is created way later than when network is set up, when I tested I still had that file included in the image through /files folder. Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* apm821xx: add linux 4.9 apm821xx patchesChristian Lamparter2017-02-1114-1/+2573
| | | | | | This patch updates the apm821xx target to use the 4.9 kernel. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
* gdb: update to version 7.12.1, fix glibc 2.25 build issuesFelix Fietkau2017-02-114-4/+80
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* glibc: use default PATCH_DIRFelix Fietkau2017-02-113-2/+0
| | | | | | | Version configuration is gone, so version specific patch directories are not necessary either. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: Add configuration back for Traverse GeosDavid Woodhouse2017-02-112-0/+45
| | | | | | | | When we merged all the Geode boards into one generic target, the default network and LED configuration was lost. Put it back. Fixes: 9e0759ea2653 ("x86: merge all geode based subtargets into one") Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* pppd: fix compile issues with glibc 2.25Felix Fietkau2017-02-112-46/+28
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix linux 4.9 host tools portability issuesFelix Fietkau2017-02-111-0/+28
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* perf: avoid picking up a dependency on libunwindFelix Fietkau2017-02-111-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ugps: update to the latest version, fixes build error with glibcFelix Fietkau2017-02-111-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tcpdump: fix tcpdump-mini build on glibc 2.25Felix Fietkau2017-02-111-30/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* fstools: update to the latest versionFelix Fietkau2017-02-111-3/+3
| | | | | | Fixes compatibility issues with glibc 2.25 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* procd: update to the latest versionFelix Fietkau2017-02-111-3/+3
| | | | | | Fixes compatibility issues with glibc 2.25 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain/uclibc: Bump version to 1.0.22Alexey Brodkin2017-02-113-21/+5
| | | | | | | | | | | | | | Important change was made in 1.0.18: all sub-libs were merged in one and only libc similarly to musl. See [1] for more details. To support that we had to remove refences to those sub-libs like libpthread, libcrypt, libdl, libm, libutil etc. [1] http://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=29ff9055c80efe77a7130767a9fcb3ab8c67e8ce Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
* toolchain/uclibc: Fix unmanned configuration with "V=s"Alexey Brodkin2017-02-111-1/+1
| | | | | | | | | | | | | | | | | Currently on attempt to configure uClibc with "V=s" user is prompted to answer on configuration questions. Major inconvenience here is build procedure get paused until user answers all questions. That happens because not all symbols are defined in our .config. Solution is as simple as usage of "olddefconfig" target instead of simple "oldconfig". In that case default values get silently set for symbols not defined by our .config explicitly. We haven't noticed that subtle issue before because without "V=s" what we do is "make oldconfig < /dev/null" which automatically answers all questions :) Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
* toolchain: remove separate prepare/ stepFelix Fietkau2017-02-111-8/+1
| | | | | | It was a leftover from an old obsoleted dependency chain Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: move to Linux 4.9 kernelTim Harvey2017-02-114-4/+535
| | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: remove libc version config codeFelix Fietkau2017-02-118-62/+5
| | | | | | We only support one version per libc type Signed-off-by: Felix Fietkau <nbd@nbd.name>
* cns3xxx: add back watchdog supportFelix Fietkau2017-02-114-68/+150
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ARC: use -mcpu=XXX instead of obsolete -mXXXAlexey Brodkin2017-02-111-2/+2
| | | | | | | | | | | | | | -mXXX option is deprecated already in arc-2016.03 toolchain and removed completely starting from arc-2016.09. Direct replacement is -mcpu=XXX which is already supported by arc-2016.03 used today in Lede. With that change we'll be ready for ARC toolchain update still keeping everything working with current tools. Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Cc: John Crispin <john@phrozen.org>
* kernel: add missing symbols to generic/config-4.9John Crispin2017-02-111-0/+4
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* kernel: fix 304-mips_disable_fpu.patch for v4.9John Crispin2017-02-111-9/+42
| | | | | | | the function prototype has changed, make the new stub consistent with this change. Signed-off-by: John Crispin <john@phrozen.org>
* dropbear: enable SHA256 HMACsJoseph C. Sible2017-02-101-3/+2
| | | | | | | The only HMACs currently available use MD5 and SHA1, both of which have known weaknesses. We already compile in the SHA256 code since we use Curve25519 by default, so there's no significant size penalty to enabling this. Signed-off-by: Joseph C. Sible <josephcsible@users.noreply.github.com>
* cns3xxx: switch to linux 4.9Koen Vandeputte2017-02-101-1/+1
| | | | Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* cns3xxx: add preliminary 4.9 supportKoen Vandeputte2017-02-1027-0/+1420
| | | | | | | | | | | | | | | Adds preliminary kernel 4.9 support for this target. - Refreshed/Updated all patches Added 3 new patches: - 093 --> Add virtual PCI MMIO mapping - 230 --> Remove deprecated code - 240 --> Rework AT24 eeprom code to use the new NVMEM API Compiled & tested on cns3xxx (gw2388) Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* build: drop circular dependencyFelix Fietkau2017-02-101-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mxs: enable nvmem supportFelix Fietkau2017-02-101-0/+2
| | | | | | fixes build error due to missing kernel config options Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: move upstream accepted bcm47xxpart TRX cleanupsRafał Miłecki2017-02-104-6/+20
| | | | | | Use 0xx prefix for accepted patches. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mac80211: update brcmfmac backporting brcmf_err cleanupsRafał Miłecki2017-02-106-1/+172
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm63xx: Add Observa VH4032N supportDaniel Gonzalez Cabanelas2017-02-097-0/+193
| | | | | | | | | | | | | Add support for the Observa Telecom VH4032N router. This is another BCM6368 router, 128 MB RAM, 32MB flash and 3 USB host ports. The wifi chip is an onboard Broadcom BCM43222. Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com> [jonas.gorski: use gpio-hog instead of abusing ephy-reset] Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* odhcpd: update to git HEAD version (FS#396)Hans Dedecker2017-02-091-3/+3
| | | | | | | | | 8df4253 ndp: harden netlink event socket error handling b02f3e6 ndp: close proc file descriptor also during error handling 8a615ad npd: rework IPv6 relay logic (FS#396) 0129f79 config: restore interface defaults when cleaning interface Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* build: make Host/Install/Default use Host/Compile/Default with an extra argumentFelix Fietkau2017-02-091-1/+1
| | | | | | Allows parallelizing compile steps that might be necessary during install Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: Pass -iremap gcc option as a single argumentMichal Sojka2017-02-091-1/+1
| | | | | | | | | | | | | | | Passing -iremap argument separately causes problems with projects that use scons and its ParseFlags function. Consider this SConscript example: env = Environment() d = env.ParseFlags("-iremap one:two") ParseFlags will interpret one:two as a file name and the returned dict d will contain only "-iremap". When the -iremap is passed to the compiler without an argument, compilation obviously fails. Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
* kernel: remove kmod packages for bridge, stp, llc and 8021qFelix Fietkau2017-02-094-70/+2
| | | | | | | Remove CONFIG_VLAN_8021Q overrides for two targets These features are built into the kernel image for all targets Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain/gcc: parallelize make installFelix Fietkau2017-02-092-2/+2
| | | | | | | If the staging dir was deleted, the build needs to recompile some files. This change speeds up this corner case significantly Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain/musl: parallelize make installFelix Fietkau2017-02-091-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* cmake: update to version 3.7.2Etienne Haarsma2017-02-091-2/+2
| | | | Signed-off-by: Etienne Haarsma <bladeoner112@gmail.com>
* brcm63xx: Neufbox 6: fix switch by probing through DTJonas Gorski2017-02-0944-208/+136
| | | | | | | | | | | | Probe the switch through DT instead of a platform device. This fixes probe, as GPIO offsets are now properly accounted for. Fixes the following issue: [ 0.802953] 8021q: 802.1Q VLAN Support v1.8 [ 0.810518] rtl8366_smi: gpio_request failed for 18, err=-517 Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: fix lzma loader for BCM6362Jonas Gorski2017-02-091-1/+1
| | | | | | | | BCM6362 and BCM3380 seem to share the same PRID. Disable serial output for them until we can find a way to tell them apart reliably. Fixes: 8f3cfe4ba2 ("brcm63xx: lzma-loader: add BCM3380 support") Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: add support for Pirelli/ADB P.DG AV4202NPaul Wassi2017-02-097-0/+161
| | | | | | | This patch adds support for the ADB P.DG AV4202N aka Pirelli PRG AV4202N. Signed-off-by: Paul Wassi <p.wassi@gmx.at> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: setup internal switch leds for bcm6368Jonas Gorski2017-02-0911-71/+34
| | | | | | Setup the GPIO_MODE register bits for used internal switch port leds. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: do a full reset phy cycleJonas Gorski2017-02-091-0/+28
| | | | | | Make sure we do a proper reset of the phy, if the phy reset is defined. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: implement gpio_to_irq for bcm63xx-gpioJonas Gorski2017-02-098-1/+53
| | | | | | | | | Add support for mapping some GPIO lines to IRQs. GPIO to IRQ mappings were found out through experimentation, helped by having the GPIO as output still toggling the IRQ input. Based-on: http://patchwork.ozlabs.org/patch/660534/ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: fix external interrupts on BCM6318Jonas Gorski2017-02-092-8/+21
| | | | | | | | Setting the clear bit for an interrupt seems to cause interrupts to be deasserted again immediately. So unset the bit for BCM6318 to allow subsequent interrupts to still work. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* mac80211: fix build on linux 3.18Felix Fietkau2017-02-091-0/+43
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>