aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* scripts/portable_date.sh: fix parsing of date strings on non-GNU systemsFelix Fietkau2016-02-011-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48592 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: set root on NFS when enabledFlorian Fainelli2016-02-011-0/+13
| | | | | | | | | Replace the configured root device with a NFS root device and automatic IP configuration for booting over NFS. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48591 3c298f89-4303-0410-b956-a3cf2f4a3e73
* buildroot: add options to build the kernel for NFS bootFlorian Fainelli2016-02-011-0/+34
| | | | | | | | | Add the basic set of kernel options to allow it from mounting a NFS root and boot from it. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48590 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: use SOURCE_DATE_EPOCH for mksquashfs-lzmaFelix Fietkau2016-01-311-2/+5
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48589 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/image: use SOURCE_DATE_EPOCH if set for squashfs + ext4 imagesFelix Fietkau2016-01-311-1/+2
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48588 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/image: don't save gzip name/timestamp metadataFelix Fietkau2016-01-311-3/+2
| | | | | | Signed-off-by: bryan newbold <bnewbold@robocracy.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48587 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build system: have tar use $SOURCE_DATE_EPOCH for --mtimeFelix Fietkau2016-01-313-4/+15
| | | | | | | | | | | | | | | | The --mtime argument to 'tar' sets the modification time for all files within the archive, which determines the timestamp files will get when they are extracted. In this case, rootfs and other tarballs will get mtimes which correspond to the last commit timestamp of the build system, as reported by git/subversion. This is a step towards reproducible image builds. Signed-off-by: bryan newbold <bnewbold@robocracy.org> Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48586 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/Makefile: override opkg installation time when SOURCE_DATE_EPOCH setFelix Fietkau2016-01-311-0/+1
| | | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48585 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: introduce SOURCE_DATE_EPOCH variableFelix Fietkau2016-01-312-0/+32
| | | | | | | | | | | SOURCE_DATE_EPOCH is the date of the last modified file using git/svn as date source. See https://reproducible-builds.org/specs/source-date-epoch/ Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48584 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add scripts/portable_date: wrapper around date for bsd/linuxFelix Fietkau2016-01-311-0/+11
| | | | | | | | | | | | date -r $unix_timestamp on bsd is equal to date -d @$unix_timestamp on linux. To support reproducible builds and not loosing every timestamp it's required to convert a unix timestamp into human readable timestamp ./scripts/portable_date $unix_timstamp +%T Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48583 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport skb_free_frag and napi_alloc_fragFelix Fietkau2016-01-312-0/+41
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48582 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: enable CONFIG_PROC_STRIPPED to improve network performanceFelix Fietkau2016-01-311-2/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48581 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: improve ethernet performance by using the page fragment allocation APIFelix Fietkau2016-01-311-7/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48580 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix ethernet DMA ring allocation issuesFelix Fietkau2016-01-311-50/+32
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48579 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use page fragment API in the ethernet driverFelix Fietkau2016-01-311-10/+24
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48578 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: fix an alignment issue that was breaking ldso on ARMv5Felix Fietkau2016-01-311-1/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48577 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ixp4xx: fix initramfs buildsFelix Fietkau2016-01-311-0/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48576 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: fix GDB debugging on mips (local, remote)Felix Fietkau2016-01-301-0/+55
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48575 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: update to the latest git version, fixes TLS issuesFelix Fietkau2016-01-307-7745/+17878
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48574 3c298f89-4303-0410-b956-a3cf2f4a3e73
* perf: include asm/unistd.h instead of syscall.h to fix conflict with kernel ↵Felix Fietkau2016-01-301-1/+1
| | | | | | | | headers Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48573 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: support Netgear R8500 in sysupgradeRafał Miłecki2016-01-301-0/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: use proper CPU port in b53 for Netgear R8500Rafał Miłecki2016-01-301-1/+3
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: support bgmac on BCM47094Rafał Miłecki2016-01-303-6/+133
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48564 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for linux 4.4Felix Fietkau2016-01-3094-0/+8616
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48563 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix a few include errorsFelix Fietkau2016-01-302-3/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48562 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mxs: bump to 4.4Zoltan HERPAI2016-01-301-1/+1
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48561 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mxs: enable regulator in 4.4 configZoltan HERPAI2016-01-301-2/+2
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48560 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mxs: forward-port regulator patches into 4.4Zoltan HERPAI2016-01-305-0/+846
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48559 3c298f89-4303-0410-b956-a3cf2f4a3e73
* octeon: get rid of /lib/functions/octeon.sh hackery, use sysinfo directlyFelix Fietkau2016-01-295-64/+36
| | | | | | | | Fixes sysupgrade Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48558 3c298f89-4303-0410-b956-a3cf2f4a3e73
* octeon: update to linux 4.4Felix Fietkau2016-01-296-12/+14
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48557 3c298f89-4303-0410-b956-a3cf2f4a3e73
* glibc: switch to downloading version 2.22 via tarball instead of git to ↵Felix Fietkau2016-01-292-7/+13
| | | | | | | | improve mirror support Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48556 3c298f89-4303-0410-b956-a3cf2f4a3e73
* glibc: switch to version 2.22 by defaultFelix Fietkau2016-01-292-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48555 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: fix default toolchain selection for mips64 added in r47355Felix Fietkau2016-01-291-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48554 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: specify magic expected in sysupgrade for D-Link DIR-885LRafał Miłecki2016-01-291-0/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48553 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oseama: support creating single Seama entityRafał Miłecki2016-01-294-1/+527
| | | | | | | | | | This will be needed to handle sysupgrade on NAND in a smart way. We'll need to extract kernel our of provided Seama container, put in in a new Seama entity and flash. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48552 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: drop invalid by default, remove chain indirection, fix invert ↵Jo-Philipp Wich2016-01-291-3/+3
| | | | | | | | | | | | flags (#21738) * Enable drop_invalid by default to catch unnatted packets (#21738) * Fix processing of inversions for -i, -o, -s, -d and -p flags * Remove delegate_* chain indirection but rely on xt_id to identify own rules Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48551 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix an out of bounds access issue in minstrel_htFelix Fietkau2016-01-291-0/+45
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48550 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Make the ar9.dtsi sram node match "simple-bus"Felix Fietkau2016-01-291-1/+1
| | | | | | | | | | | All other SoC types are using "lantiq,sram" and "simple-bus" to ensure that all child nodes are set up correctly during linux kernel initialization (plat_of_setup(void) in arch/mips/lantiq/prom.c). Without this some of sram child nodes might not be parsed. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48548 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Move the definition of the xrx200-net node to vr9.dtsiFelix Fietkau2016-01-2911-764/+669
| | | | | | | | | | This removes a lot of duplicate register and interrupt definitions by moving the xrx200-net definition to vr9.dtsi and making all devices re- use it. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48547 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix PHY state handling issueFelix Fietkau2016-01-291-0/+38
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48546 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove .config.prev when running make kernel_*config to fix rebuild ↵Felix Fietkau2016-01-291-0/+1
| | | | | | | | errors Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48545 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux-firmware: update to the commit from 2016-01-25Rafał Miłecki2016-01-281-2/+2
| | | | | | | | This adds e.g. BCM4350 rev 5 and BCM4366 firmwares (not packaged yet). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* malta: move to 4.4 kernelFelix Fietkau2016-01-283-71/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Linux now has device tree support for malta. The patch for correcting /proc/iomem content is not needed now. Previously it was root@(none):/# cat /proc/iomem 00000000-00000fff : reserved 00001000-000effff : System RAM 000f0000-000fffff : reserved 00100000-0fffefff : System RAM 00100000-003f2b6b : Kernel code 003f2b6c-00485937 : Kernel data ... Now it's root@OpenWrt:/# cat /proc/iomem 00000000-0fffefff : System RAM 00100000-004a3297 : Kernel code 004a3298-0057cfff : Kernel data ... The kernel config was prepared as follows 1. cp target/linux/malta/config-{3.18,4.4} 2. make kernel_menuconfig CONFIG_TARGET=subtarget_platform Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48543 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mkimage: backport SOURCE_DATE_EPOCH for reproducible buildsFelix Fietkau2016-01-284-12/+88
| | | | | | | | | | | | | | | | This pulls in Paul Kocialkowski's SOURCE_DATE_EPOCH support patch for u-boot, which landed upstream circa July 2015. Note that this "host" u-boot repo is only used to compile the 'mkimage' utility, and isn't used to actually compile a bootloader for any target. This patch could be removed if/when the host u-boot package is updated to a contemporary version (but there doesn't seem to be any motivation/need to do so). Signed-off-by: bryan newbold <bnewbold@robocracy.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> [fix portability error, refresh patches] git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48542 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/kernel: add custom USER/DOMAIN config optionsFelix Fietkau2016-01-282-0/+18
| | | | | | | | | | | | | | | These allow the generated kernel's build metadata to be defined explicitly. This metadata is reported, eg, at boot time and in `uname -a` on running systems. If the variables aren't configured, the current build system username and hostname are used as normal. The motivation for this option is to achive reproducible (bit-for-bit identical) kernel builds of official openwrt releases. Signed-off-by: bryan newbold <bnewbold@robocracy.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48541 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/kernel: sort module lists for reproducibilityFelix Fietkau2016-01-281-2/+2
| | | | | | | | | | | This is to get reproducible builds of, eg, the kmod-sched ipkg. Locale preferences can change build order, but the locale is already been defined for the entire build process, so it doesn't need to be specified here. Signed-off-by: bryan newbold <bnewbold@robocracy.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: disable timestamp in versionFelix Fietkau2016-01-281-0/+3
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48539 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Makefile: set timezone to UTCFelix Fietkau2016-01-281-1/+2
| | | | | | | | This is necessary for reproducible image builds. Signed-off-by: bryan newbold <bnewbold@robocracy.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48538 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: remove useless TLS provider selection override for ↵Felix Fietkau2016-01-281-2/+1
| | | | | | | | wpad-mesh/wpa_supplicant-mesh Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48537 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: merge a bunch of pending fixesFelix Fietkau2016-01-285-0/+294
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48536 3c298f89-4303-0410-b956-a3cf2f4a3e73