Skip to content
Snippets Groups Projects
  1. Sep 13, 2021
    • Hauke Mehrtens's avatar
      build: Replace KERNEL_LOCKUP_DETECTOR with KERNEL_SOFTLOCKUP_DETECTOR · d27f6e2c
      Hauke Mehrtens authored
      
      The LOCKUP_DETECTOR configuration option split into the
      SOFTLOCKUP_DETECTOR and HARDLOCKUP_DETECTOR configuration option some
      time ago. The HARDLOCKUP_DETECTOR option is only working on some
      architectures, but SOFTLOCKUP_DETECTOR should work everywhere. Replace
      KERNEL_LOCKUP_DETECTOR with KERNEL_SOFTLOCKUP_DETECTOR.
      
      LOCKUP_DETECTOR will be selected by SOFTLOCKUP_DETECTOR automatically.
      
      Fixes: b951f53f ("build: Add additional kernel debug options")
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      d27f6e2c
  2. Aug 22, 2021
    • Stijn Tintel's avatar
      base-files: add option to make /var persistent · 57807f50
      Stijn Tintel authored
      
      In OpenWrt, /var is symlinked to /tmp by default. This is done to reduce
      the amount of writes to the flash chip, which often have not the
      greatest durability. As a result, things like DHCP or UPnP lease files,
      are not persistent across reboots.
      
      Since OpenWrt can run on devices with more durable storage, it makes
      sense to have an option for a persistent /var. Add an option to make
      /var persistent. When enabled, /var will no longer be symlinked to /tmp,
      but /var/run will be symlink to /tmp/run, as it should contains only
      files that should not be kept during reboot. The option is off by
      default, to maintain the current behaviour.
      
      Signed-off-by: default avatarStijn Tintel <stijn@linux-ipv6.be>
      57807f50
  3. Jun 21, 2021
    • Paul Spooren's avatar
      build: create profiles.json per default · 181054bf
      Paul Spooren authored
      
      The file is a info file just like config.buildinfo, feeds.buildinfo and
      version.buildinfo. It bundles these and more information in a machine
      readable way.
      
      This commit enables the creation of profiles.json by default and not
      only for buildbots. By doing so it follow the behaviour of the
      ImageBuilder which always creates the file, lastly this increases the
      files visibility for downstream projects.
      
      Signed-off-by: default avatarPaul Spooren <mail@aparcar.org>
      181054bf
  4. Jun 20, 2021
  5. Jun 19, 2021
  6. Feb 28, 2021
  7. Feb 25, 2021
  8. Feb 24, 2021
    • Daniel Golle's avatar
      image: allow building FIT and uImage with ramdisk · 330bd380
      Daniel Golle authored
      
      Instead of embedding the initrd cpio archive into the kernel, allow
      for having an external ramdisk added to the FIT or uImage.
      This is useful to overcome kernel size limitations present in many
      stock bootloaders, as the ramdisk is then loaded seperately and doesn't
      add to the kernel size. Hence we can have larger ramdisks to host ie.
      installers with all binaries to flash included (or a web-based
      firmware selector).
      In terms of performance and total size the differences are neglectible.
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      330bd380
  9. Feb 16, 2021
  10. Feb 05, 2021
  11. Jan 25, 2021
  12. Jan 15, 2021
  13. Jan 14, 2021
  14. Jan 11, 2021
    • Nick Hainke's avatar
      kernel: enable SRv6 support by enabling lwtunnel · a1a7f327
      Nick Hainke authored
      Enable the ability to use segment routing based on IPv6. It allows the
      packet to specify a path that the packet should take through the
      network.
      
      Lwtunnel allow an easy encapsulation of a package. You can just install
      ip-full package and use it:
      
        ip -6 route add  2003::/64 dev eth0 encap seg6 mode encap \
          segs 2001::1,2002::2
      
      An IPv6 package looks like this:
        [IPv6 HDR][IPv6 RH][IPv6 HDR][Data...]
      
      Netifd support:
        https://git.openwrt.org/?p=project/netifd.git;
      
      
           a=commit;h=458b1a7e9473c150a40cae5d8be174f4bb03bd39
      
      Increases imagesize by 24.125 KiB. Therefore, only enable for devices
      with enough flash.
      
      Signed-off-by: default avatarNick Hainke <vincent@systemli.org>
      a1a7f327
  15. Dec 22, 2020
  16. Dec 16, 2020
    • Hauke Mehrtens's avatar
      build: Add IRQSOFF and PREEMPT TRACER kernel config option · 1926ffb5
      Hauke Mehrtens authored
      
      This adds the CONFIG_IRQSOFF_TRACER and the CONFIG_PREEMPT_TRACER kernel
      configuration option to the OpenWrt menu. This can be used to debug
      latencies in the system.
      The CONFIG_PREEMPT_TRACER option needs the CONFIG_PREEMPT option which is
      supposed to be used for Low-Latency Desktop and not used by many targets
      in OpenWrt.
      
      The help text is copied from the Linux kernel Kconfig.
      
      Signed-off-by: default avatarHauke Mehrtens <hmehrtens@maxlinear.com>
      1926ffb5
  17. Dec 14, 2020
  18. Dec 10, 2020
    • Daniel Golle's avatar
      config: add big EXPERIMENTAL option · 86630728
      Daniel Golle authored
      
      As discussed in the today's (2020-12-10) meeting, add a new option to
      menuconfig to group the selection of all experimental features to be
      selected by default.
      Developers are recommended to make use of this new symbol to guard
      new features.
      Other developers and community members should feel encouraged to
      build with this flag enabled to help testing and provide feedback.
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      86630728
  19. Dec 07, 2020
    • Rosen Penev's avatar
      libcxx[abi]: remove · f7d7a3a1
      Rosen Penev authored
      
      This is a neat project, but offers no benefit to OpenWrt. The initial
      reason for it was to be a replacement for libstdcpp as it is smaller
      and lacks compatibility for C++98. Unfortunately, compiling several
      packages with it results in larger ipk sizes.
      
      While not a member of the packages feed, this will be moved to
      packages-abandoned to keep it somewhere.
      
      Signed-off-by: default avatarRosen Penev <rosenp@gmail.com>
      f7d7a3a1
  20. Nov 27, 2020
  21. Nov 26, 2020
    • Rui Salvaterra's avatar
      tools/sstrip: update to latest version · 3f567d84
      Rui Salvaterra authored
      
      Drop our local sstrip copy and use the current ELFKickers upstream
      version.
      
      Patch the original makefile in order to avoid building elftoc, since it
      fails with musl's elf.h. This is fine, since we only need sstrip anyway.
      
      Finally, add the possibility to pass additional arguments to sstrip and
      pass -z (remove trailing zeros) by default, which matches the behaviour
      of the previous version.
      
      Signed-off-by: default avatarRui Salvaterra <rsalvaterra@gmail.com>
      [shorten long commit msg lines]
      Signed-off-by: default avatarPaul Spooren <mail@aparcar.org>
      3f567d84
  22. Nov 25, 2020
  23. Nov 22, 2020
  24. Nov 09, 2020
  25. Nov 01, 2020
  26. Oct 30, 2020
  27. Oct 16, 2020
    • Daniel Golle's avatar
      config: clean up SELinux options · ba9b6702
      Daniel Golle authored
      
      In order to make it easier for users to build with SELinux, have a
      single option in 'Global build settings' to enable all necessary
      kernel features, userland packages and build-system hooks.
      Also add better descriptions and help messages while at it.
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      ba9b6702
  28. Oct 09, 2020
  29. Sep 29, 2020
  30. Sep 03, 2020
    • Paul Spooren's avatar
      config: add KERNEL_LSM symbol · f922a3e0
      Paul Spooren authored
      
      The LSM (Linux security mechanism) list is the successor of the now
      legacy *major LSM*. Instead of defining a single security mechanism the
      LSM symbol is a comma separated list of mechanisms to load.
      
      Until recently OpenWrt would only support DAC (Unix discretionary access
      controls) which don't require an additional entry in the LSM list. With
      the newly introduced SELinux support the LSM needs to be extended else
      only a manual modified Kernel cmdline (`security=selinux`) would
      activate SELinux.
      
      As the default OpenWrt Kernel config sets DAC as default security
      mechanism, SELinux is stripped from the LSM list, even if
      `KERNEL_DEFAULT_SECURITY_SELINUX` is activated. To allow SELinux without
      a modified cmdline this commit sets a specific LSM list if
      `KERNEL_SECURITY_SELINUX` is enabled.
      
      The upstream Kconfig adds even more mechanisms
      (smack,selinux,tomoyo,apparmor), but until they're ported to OpenWrt,
      these can be ignored.
      
      To compile SELinux Kernel support but disable it from loading, the
      already present options `KERNEL_SECURITY_SELINUX_DISABLE` or
      `KERNEL_SECURITY_SELINUX_BOOTPARAM` (with custom cmdline `selinux=0`)
      can be used. Further it's possible to edit `/etc/selinux/config`.
      
      Signed-off-by: default avatarPaul Spooren <mail@aparcar.org>
      f922a3e0
  31. Sep 02, 2020
    • Adrian Schmutzler's avatar
      kernel: remove obsolete kernel version switches for 4.14 · 6362a047
      Adrian Schmutzler authored
      
      This removes switches dependent on kernel version 4.14 as well as
      several packages/modules selected only for that version.
      
      This also removes sched-cake-virtual, which is not required anymore
      now that we have only one variant of cake.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      6362a047
    • Adrian Schmutzler's avatar
      rb532: drop target · 94198e2a
      Adrian Schmutzler authored
      This target is still on kernel 4.14, and recent attempts to move it to
      kernel 5.4 have not led to success. The device tester reported that it
      wouldn't boot with the following messages:
      
      From sysupgrade:
      
        Press any key within 4 seconds to enter setup....
        loading kernel from nand... OK
        setting up elf image... OK
        jumping to kernel code
      
      At this point the system hangs.
      
      From CompactFlash:
      
        Press any key within 4 seconds to enter setup....
        Booting CF
        Loading kernel... done
        setting up elf image... kernel out of range kernel loading failed
      
      The tester reported that the same was observed with current master
      (kernel 4.14) as well. This looks like some kernel size restriction.
      
      Since this target is quite old and only supports one device, and since
      nobody else seemed interested in working on this for quite some time,
      I decided to not put further work into analyzing the problem and drop
      this together with the other 4.14-only targets.
      
      Patchwork series:
      https://patchwork.ozlabs.org/project/openwrt/list/?series=197066&state=*
      
      
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      94198e2a
  32. Aug 31, 2020
  33. Aug 30, 2020
  34. Aug 24, 2020
  35. Aug 10, 2020
    • Daniel Golle's avatar
      kernel: further clean-up options and defaults · 42abe56f
      Daniel Golle authored
      
      Remove `if !SMALL_FLASH` in places which are anyway already augmented
      by `if !SMALL_FLASH`.
      Always enable CONFIG_BLK_DEV_THROTTLING on !SMALL_FLASH devices rather
      than just enabling it on bcm27xx.
      Enabled CPU bandwidth provisioning for FAIR_GROUP_SCHED on !SMALL_FLASH
      devices as CONFIG_FAIR_GROUP_SCHED is already enabled and becomes more
      useful for cgroups with that option enbled as well.
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      42abe56f
Loading