aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* dropbear: Make utmp and putuline support configurable via seperate config ↵Hans Dedecker2016-04-282-3/+17
| | | | | | | | | options Utmp support tracks who is currenlty logged in by logging info to the file /var/run/utmp (supported by busybox) Putuline support will use the utmp structure to write to the utmp file Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* netifd: Add configurable DHCP release behaviorHans Dedecker2016-04-281-3/+5
| | | | | | | Make sending a DHCP release configurable when the client exits allowing to clean up IP/mac state info in intermediate devices. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* bcm53xx: add m25p80 workaround for SPI flash writing problemsRafał Miłecki2016-04-281-0/+62
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49264
* mediatek: sync and patches add support for several boardsJohn Crispin2016-04-2898-262/+1178
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 49263
* bcm53xx: support SPI-NOR on dual flash devicesRafał Miłecki2016-04-281-0/+67
| | | | | | | | We need it to access NVRAM. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49262
* bcm53xx: switch to m25p80 and drop bcm53xxspiflashRafał Miłecki2016-04-283-21/+42
| | | | | | | | | | For some time now m25p80 supports 32 MiB flashes and we just needed to patch spi-nor to support JEDEC incompatible w25q128. Also by switching to m25p80 we gain accelerated SPI flash reads. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49260
* bcm53xx: support JEDEC incompatible w25q128 in spi-norRafał Miłecki2016-04-281-0/+34
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49259
* xtables-addons: Fix Lua packet script implementationHans Dedecker2016-04-281-0/+15
| | | | | | | | | | lua_packet_segment parameter start has type char pointer; in function lua_tg it's assigned an uint16 value generating compiler warnings obviously indicating posssible seg fault problems. Fix the issue by using the correct skb functions so the parameter points to the position inside the sk_buff Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> Signed-off-by: Stijn Cleynhens <stijn.cleynhens@gmail.com>
* lantiq: fix xway image buildingJo-Philipp Wich2016-04-271-3/+3
| | | | | | | | | | | | | | | | | | | Commit 8c130dd (lantiq: use new image build process for some images) broke image generation for the xway target since the generated macros reference not existing WBMRA.dts and WBMRB.dts files leading to the following build error: mips-openwrt-linux-musl-cpp: error: ../dts/WBMRA.dts: No such file or directory mips-openwrt-linux-musl-cpp: warning: '-x assembler-with-cpp' after last input file has no effect mips-openwrt-linux-musl-cpp: fatal error: no input files Previously both the WBMRA and WBMRB profiles shared a common WBMR DT since the only difference is the embedded firmware kmod package. Extend the lantiqImage macro to optionally support specifying a different DTS file and use this facility to let the both WBMR profiles reference the correct device tree file. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* package: remove duplicate lines from otrx and nvram makefilesJo-Philipp Wich2016-04-262-2/+0
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* package: flag further target specific packages as nonsharedJo-Philipp Wich2016-04-2614-0/+26
| | | | | | | Add nonshared flag to package depending on specific targets or subtargets as there's no guarantee otherwise that they'll be available in the shared repo. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* package: mark nvram and otrx nonshared as they're target specificJo-Philipp Wich2016-04-262-0/+2
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* brcm2708: removes backported patch (linux-4.4.7)Álvaro Fernández Rojas2016-04-261-25/+0
| | | | | | | This regression was introduced while rebasing LEDE's commits over the latest OpenWrt repository. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* at91: fix SAMA5D3 subtargetJo-Philipp Wich2016-04-252-6/+12
| | | | | | | Add required architecture overrides to enable SAMA5 boards in Kconfig, add resulting missing symbols, reorder config and remove unrelated XEN setting. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* x86: remove old references to kmod-acpi-buttonJo-Philipp Wich2016-04-252-2/+2
| | | | | | | | The kmod-acpi-button functionality is included in the kernel where needed and the corresponding kmod package has been deleted long ago, therfor drop the remaining references now. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* uml: revert accidentally committed changeJo-Philipp Wich2016-04-251-1/+0
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: fix make_ext4fs build with recent glibcJo-Philipp Wich2016-04-252-3/+5
| | | | | | | Update to latest make_ext4fs Git HEAD to fix build with recent glibc version which does not implicitely includes sysmacros.h anymore. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* brcm2708: update linux 4.4 patches to latest versionÁlvaro Fernández Rojas2016-04-24302-448/+9148
| | | | | | | As usual these patches were extracted from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708-gpu-fw: update to latest versionÁlvaro Fernández Rojas2016-04-241-7/+7
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: fix ip6_tunnel compilationÁlvaro Fernández Rojas2016-04-241-2/+2
| | | | | | Replace undefined iph for ip_hdr(skb) Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: update kernel 4.4 to version 4.4.8Álvaro Fernández Rojas2016-04-2414-236/+37
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* opkg: fix use-after-free with duplicate packages on the command lineJo-Philipp Wich2016-04-232-1/+13
| | | | | | | | | When the same package file is specified multiple times on the opkg install command line, the name pointer on the argv array becomes stale after the package structures have been merged, leading to invalid memory accesses upon install. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* imagebuilder: use correct package directory when bundling kmods and libcJo-Philipp Wich2016-04-221-2/+2
| | | | | | | | | | | The libc and kernel package files moved since the introduction of shared packages and the changed output directory layout. This causes the generated ImageBuilder archive to lack the necessary "libc" and "kernel" meta packages, leading to opkg install errors later on. Use the FeedPackageDir macro to figure out the proper source directory to use. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* package: fix toolchain ipk flagsJo-Philipp Wich2016-04-221-1/+2
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* include: remove unused FeedPackageDir macro argumentsJo-Philipp Wich2016-04-222-3/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* linux: kmod-e100: use preconverted firmware filesJo-Philipp Wich2016-04-211-3/+3
| | | | | | | | Instead of converting the firmware files ourselves, use the files generated during the normal kernel build process. This fixes packaging kmod-e100 in the SDK environment. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* sdk: bundle required firmware filesJo-Philipp Wich2016-04-211-0/+2
| | | | | | | | Bundle all firmware files which have been built along with the kernel to fix packaging of kmods in the SDK environment that rely on in-tree firmwares, specifically kmod-e100. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* include: bin/ dir was not createdJohn Crispin2016-04-191-2/+2
| | | | | | explicitly create the bin dir Signed-off-by: John Crispin <john@phrozen.org>
* base-files: remove ununsed login.shJohn Crispin2016-04-191-18/+0
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* base-files: Allow to disable failsafe modeJohn Crispin2016-04-195-6/+24
| | | | Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
* image / basefiles: make console password configurableJohn Crispin2016-04-1822-42/+48
| | | | | Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> Signed-off-by: John Crispin <john@phrozen.org>
* base-files: fix error message during bootJohn Crispin2016-04-111-1/+1
| | | | | | | | preinit spews out this message "cat: can't open '/proc/device-tree/model': No such file or directory" Signed-off-by: John Crispin <john@phrozen.org>
* sdk: do not exclude ccache executableJo-Philipp Wich2016-04-181-1/+2
| | | | | | | Change tar exclude pattern to skip ccache directory contents but not the ccache executable itself. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* sdk: fix generation of base feed urlJo-Philipp Wich2016-04-171-1/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* target: globally remove ARCH_PACKAGES overridesJo-Philipp Wich2016-04-1714-14/+0
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* include/target.mk: disambiguate package architectureJo-Philipp Wich2016-04-171-1/+1
| | | | | | | | Add $ARCH and $CPU_SUBTYPE to the package architecture strings to differentiate low and big endian targets as well as extended instructions sets like NEON or DSP2. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* brcm2708: implement sysupgrade image checkChristian Lamparter2016-04-071-1/+15
| | | | | | | | | | Implement a crude but functioning sysupgrade image check for the Raspberry Pi. The code only checks if the master boot record boot signature (0x55aa) is present in the first 512-bytes at the correct location. This can prevent the odd bricking of a system when flashing the wrong file. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
* brcm2708-gpu-fw: improve package version and releaseÁlvaro Fernández Rojas2016-04-161-5/+5
| | | | | | Use git revision as package release and date for package version. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcmfmac43430-firmware: improve package version and releaseÁlvaro Fernández Rojas2016-04-161-4/+4
| | | | | | Use git revision as package release and date for package version. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: add missing config symbolsÁlvaro Fernández Rojas2016-04-163-0/+9
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* include: fix nonshared flag handlingJo-Philipp Wich2016-04-152-2/+3
| | | | | | | Fix nonshared flag handling to properly deal with source packages defining both kmod and non-kmod ipks. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* openssl: fix wrong build target stringsJo-Philipp Wich2016-04-151-3/+3
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* uclibc++: add hack to fix failing patchJo-Philipp Wich2016-04-141-1/+8
| | | | | | | | | | | | | | | | One of the patched files, include/unwind-cxx.h, contains windows newlines which lead to the following failure: Applying ./patches/006-eabi_fix.patch using plaintext: patching file include/typeinfo patching file include/unwind-cxx.h Hunk #1 FAILED at 173 (different line endings). Hunk #2 FAILED at 181 (different line endings). Add a fixup command to the prepare phase which normalizes the line endings before applying source patches. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* imagebuilder: fix standalone operationJo-Philipp Wich2016-04-131-1/+2
| | | | | | Fix standalone ImageBuilders after the package layout rework. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* package: flag essential components as nonsharedJo-Philipp Wich2016-04-065-1/+6
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* include/kernel.mk: flag kmod packages as nonshared by defaultJo-Philipp Wich2016-04-061-0/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* include/version.mk: rework repository url handlingJo-Philipp Wich2016-04-133-7/+8
| | | | | | | | - Add %A placeholder for substituting the package architecture - Change %U placeholder to refer to the toplevel repository URL - Construct package feed URLs relative to the toplevel one to match new layout Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* include: choose package output directory based on repository infoJo-Philipp Wich2016-04-064-19/+25
| | | | | | | | | | | Use the new repository metadata field to choose the output directory of the final package archives. Non-sharable packages will be placed in the per-target package directory while the rest will be placed in a per-repository sub directory within the $OUTPUT_DIR/packages/$CPU_TYPE/ prefix. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* global: introduce ALL_NONSHARED symbolJo-Philipp Wich2016-04-133-3/+12
| | | | | | | | Introduce a new symbol ALL_NONSHARED which selects all non-sharable packages by default. This option is mainly intented for buildbot setups to build the target dependant software subset only. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* scripts: remove "Package-Subdir" metadata handlingJo-Philipp Wich2016-04-131-1/+0
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>