Commit Graph

33914 Commits (78e5e56201bf62340753708ff7b8cfc4959e34a5)
 

Author SHA1 Message Date
Jo-Philipp Wich 78e5e56201 scripts: fix GNU data invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 48594
8 years ago
Felix Fietkau 18ba1305d5 scripts/get_source_date_epoch.sh: for SVN use a variant that is compatible with older versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48593
8 years ago
Felix Fietkau 64ec9dc2a1 scripts/portable_date.sh: fix parsing of date strings on non-GNU systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48592
8 years ago
Florian Fainelli d9fab87607 kernel: set root on NFS when enabled
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>

SVN-Revision: 48591
8 years ago
Florian Fainelli 312367665a buildroot: add options to build the kernel for NFS boot
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>

SVN-Revision: 48590
8 years ago
Felix Fietkau 411515b368 ar71xx/image: use SOURCE_DATE_EPOCH for mksquashfs-lzma
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 48589
8 years ago
Felix Fietkau 6a42ee6517 include/image: use SOURCE_DATE_EPOCH if set for squashfs + ext4 images
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 48588
8 years ago
Felix Fietkau 08a0095a9e include/image: don't save gzip name/timestamp metadata
Signed-off-by: bryan newbold <bnewbold@robocracy.org>

SVN-Revision: 48587
8 years ago
Felix Fietkau be6acba4dc build system: have tar use $SOURCE_DATE_EPOCH for --mtime
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>

SVN-Revision: 48586
8 years ago
Felix Fietkau ad8169546c package/Makefile: override opkg installation time when SOURCE_DATE_EPOCH set
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48585
8 years ago
Felix Fietkau 82522dbaee build: introduce SOURCE_DATE_EPOCH variable
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>

SVN-Revision: 48584
8 years ago
Felix Fietkau 2f14514a12 add scripts/portable_date: wrapper around date for bsd/linux
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>

SVN-Revision: 48583
8 years ago
Felix Fietkau 7695d614df mac80211: backport skb_free_frag and napi_alloc_frag
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48582
8 years ago
Felix Fietkau 5ab4db376a cns3xxx: enable CONFIG_PROC_STRIPPED to improve network performance
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48581
8 years ago
Felix Fietkau 9ab08d665f cns3xxx: improve ethernet performance by using the page fragment allocation API
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48580
8 years ago
Felix Fietkau 3d4444f257 cns3xxx: fix ethernet DMA ring allocation issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48579
8 years ago
Felix Fietkau 2067f7f1de ar71xx: use page fragment API in the ethernet driver
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48578
8 years ago
Felix Fietkau 8fe8360981 musl: fix an alignment issue that was breaking ldso on ARMv5
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48577
8 years ago
Felix Fietkau 927cec956e ixp4xx: fix initramfs builds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48576
8 years ago
Felix Fietkau 0c6b003704 musl: fix GDB debugging on mips (local, remote)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48575
8 years ago
Felix Fietkau ed95e47f07 musl: update to the latest git version, fixes TLS issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48574
8 years ago
Felix Fietkau b046040bd6 perf: include asm/unistd.h instead of syscall.h to fix conflict with kernel headers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48573
8 years ago
Rafał Miłecki 9a69e00baa bcm53xx: support Netgear R8500 in sysupgrade
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48572
8 years ago
Rafał Miłecki 12ec144892 bcm53xx: use proper CPU port in b53 for Netgear R8500
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48571
8 years ago
Rafał Miłecki ddc8437f08 kernel: support bgmac on BCM47094
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48564
8 years ago
Felix Fietkau 2530640f07 ar71xx: add support for linux 4.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48563
8 years ago
Felix Fietkau e5b5cce442 ar71xx: fix a few include errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48562
8 years ago
Zoltan Herpai 83b62a56db mxs: bump to 4.4
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48561
8 years ago
Zoltan Herpai e6b554bbb2 mxs: enable regulator in 4.4 config
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48560
8 years ago
Zoltan Herpai 4668d7c572 mxs: forward-port regulator patches into 4.4
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48559
8 years ago
Felix Fietkau beda11255b octeon: get rid of /lib/functions/octeon.sh hackery, use sysinfo directly
Fixes sysupgrade

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48558
8 years ago
Felix Fietkau f32de94e0a octeon: update to linux 4.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48557
8 years ago
Felix Fietkau 3e9d2a847b glibc: switch to downloading version 2.22 via tarball instead of git to improve mirror support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48556
8 years ago
Felix Fietkau b26d52d980 glibc: switch to version 2.22 by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48555
8 years ago
Felix Fietkau 88df28aab1 toolchain: fix default toolchain selection for mips64 added in r47355
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48554
8 years ago
Rafał Miłecki 926c8dfc7b bcm53xx: specify magic expected in sysupgrade for D-Link DIR-885L
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48553
8 years ago
Rafał Miłecki e4e7f24920 oseama: support creating single Seama entity
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>

SVN-Revision: 48552
8 years ago
Jo-Philipp Wich 6064710b90 firewall: drop invalid by default, remove chain indirection, fix invert 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>

SVN-Revision: 48551
8 years ago
Felix Fietkau a6fe27a59a mac80211: fix an out of bounds access issue in minstrel_ht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48550
8 years ago
Felix Fietkau 6fd5449198 lantiq: Make the ar9.dtsi sram node match "simple-bus"
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>

SVN-Revision: 48548
8 years ago
Felix Fietkau 022855baf2 lantiq: Move the definition of the xrx200-net node to vr9.dtsi
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>

SVN-Revision: 48547
8 years ago
Felix Fietkau d4fe52c16d lantiq: fix PHY state handling issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48546
8 years ago
Felix Fietkau 3021d3139b kernel: remove .config.prev when running make kernel_*config to fix rebuild errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48545
8 years ago
Rafał Miłecki 5d624d0b47 linux-firmware: update to the commit from 2016-01-25
This adds e.g. BCM4350 rev 5 and BCM4366 firmwares (not packaged yet).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48544
8 years ago
Felix Fietkau 1923d63318 malta: move to 4.4 kernel
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>

SVN-Revision: 48543
8 years ago
Felix Fietkau 37f09b8129 tools/mkimage: backport SOURCE_DATE_EPOCH for reproducible builds
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]

SVN-Revision: 48542
8 years ago
Felix Fietkau b3f7902a06 include/kernel: add custom USER/DOMAIN config options
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>

SVN-Revision: 48541
8 years ago
Felix Fietkau fefe200a00 include/kernel: sort module lists for reproducibility
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>

SVN-Revision: 48540
8 years ago
Felix Fietkau 34df4d40e2 busybox: disable timestamp in version
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 48539
8 years ago
Felix Fietkau 868d5f9ae9 Makefile: set timezone to UTC
This is necessary for reproducible image builds.

Signed-off-by: bryan newbold <bnewbold@robocracy.org>

SVN-Revision: 48538
8 years ago