1. 24 Feb, 2021 15 commits
    • Michael Braun's avatar
    • Adrian Schmutzler's avatar
      ath79: create common DTSI for Senao ar934x APs · ce8b535e
      Adrian Schmutzler authored
      
      
      This creates a shared DTSI for ar934x Senao/Engenius APs:
      
       - EAP300 v2
       - ENS202EXT v1
       - EAP600
       - ECB600
      
      Since ar9341/ar9344 have different configuration, this new file
      mostly contains the partitioning.
      Suggested-by: default avatarMichael Pratt <mcpratt@pm.me>
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      ce8b535e
    • Adrian Schmutzler's avatar
      ath79: create common DTSI for Senao ar724x APs · 4204d70d
      Adrian Schmutzler authored
      
      
      This creates a shared DTSI for ar724x Senao/Engenius APs:
      
       - ENH202 v1
       - EAP350 v1
       - ECB350 v1
      
      Since ar7240/ar7242 have different configuration, this new file
      mostly contains the partitioning.
      Suggested-by: default avatarMichael Pratt <mcpratt@pm.me>
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      4204d70d
    • Adrian Schmutzler's avatar
      ath79: enable UART in SoC DTSI files · 3a4b7511
      Adrian Schmutzler authored
      
      
      The uart node is enabled on all devices except one (GL-USB150 *).
      Thus, let's not have a few hundred nodes to enable it, but do not
      disable it in the first place.
      
      Where the majority of devices is using it, also move the serial0
      alias to the DTSI.
      
      *) Since GL-USB150 even defines serial0 alias, the missing uart
         is probably just a mistake. Anyway, disable it for now so this
         patch stays cosmetic.
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      3a4b7511
    • Sungbo Eo's avatar
      kirkwood: set testing kernel version to 5.10 · 1322150b
      Sungbo Eo authored
      
      
      Tested on Pogoplug V4.
      
      Linksys EA3500 will not build with buildbot settings and should be
      disabled when the target is switched, unless the image size is
      reduced again.
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      [add EA3500 comment]
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      1322150b
    • Sungbo Eo's avatar
      kirkwood: update config for kernel 5.10 · 1bb3f593
      Sungbo Eo authored
      
      
      Update config with make kernel_oldconfig.
      
      CONFIG_SATA_PMP=y is added manually as done for 5.4.
      This should be resolved properly in a separate issue.
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      [add back CONFIG_SATA_PMP, rebase/refresh]
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      1bb3f593
    • Sungbo Eo's avatar
      kirkwood: refresh patches for kernel 5.10 · 58ebc507
      Sungbo Eo authored
      
      
      Refresh patches to make them apply to kernel 5.10.
      The removed patch has been merged upstream.
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      58ebc507
    • Sungbo Eo's avatar
      kirkwood: copy files to kernel 5.10 · e464d365
      Sungbo Eo authored
      
      
      Copy config and patches to kernel 5.10.
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      e464d365
    • Adrian Schmutzler's avatar
      kernel: add further missing symbols · 8d766aa6
      Adrian Schmutzler authored
      CONFIG_NET_DSA_MV88E6XXX_PTP was simply missing in generic config.
      
      CONFIG_I2C_PXA_SLAVE was previously enabled via i2c-pxa package,
      but got removed there without moving the symbol to generic config.
      
      Fixes: dd13add3
      
       ("kernel: i2c-pxa: remove slave")
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      8d766aa6
    • Daniel Golle's avatar
      sysupgrade-nand: allow limiting rootfs_data by setting env variable · 5c10f26c
      Daniel Golle authored
      
      
      Check if firmware environment variable 'rootfs_data_max' exists and is
      set to a numerical value greater than 0. If so, limit rootfs_data
      volume to that size instead of using the maximum available size.
      
      This is useful on devices with lots of flash where users may want to
      have eg. a volume for persistent logs and statistics or for external
      applications/containers. Persistence on rootfs overlay is limited by
      the size of memory available during the sysugprade process as that
      data needs to be copied to RAM while the volume is being recreated
      during sysupgrade. Hence it is unsuitable for keeping larger amounts
      of data accross upgrade which makes additional volume(s) for
      application data desirable.
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      5c10f26c
    • 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
    • Daniel Golle's avatar
      image: add support for building FIT image with filesystem · e6aac8d9
      Daniel Golle authored
      
      
      Allow for single (external-data) FIT image to hold kernel, dtb and
      squashfs. In that way, the bootloader verifies the system integrity
      including the rootfs, because what's the point of checking that the
      hash of the kernel is correct if it won't boot in case of squashfs
      being corrupted? Better allow bootloader to check everything needed
      to make it at least up to failsafe mode. As a positive side effect
      this change also makes the sysupgrade process on nand potentially
      much easier as it is now.
      In short: mkimage has a parameter '-E' which allows generating FIT
      images with 'external' data rather than embedding the data into the
      device-tree blob itself. In this way, the FIT structure itself remains
      small and can be parsed easily (rather than having to page around
      megabytes of image content). This patch makes use of that and adds
      support for adding sub-images of type 'filesystem' which are used to
      store the squashfs. Now U-Boot can verify the whole OS and the new
      partition parsers added in the Linux kernel can detect the filesystem
      sub-images, create partitions for them, and select the active rootfs
      volume based on the configuration in FIT (passing configuration via
      device tree could be implemented easily at a later stage).
      
      This new FIT partition parser works for NOR flash (on top of mtdblock),
      NAND flash (on top of ubiblock) as well as classic block devices
      (ie. eMMC, SDcard, SATA, NVME, ...).
      It could even be used to mount such FIT images via `losetup -P` on a
      user PC if this patch gets included in Linux upstream one day ;)
      Signed-off-by: default avatarJohn Crispin <john@phrozen.org>
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      e6aac8d9
    • Rosen Penev's avatar
      pcre: disable C++ bindings · fb83efb6
      Rosen Penev authored
      
      
      Nothing uses them. Allows to simplify the Makefile.
      Signed-off-by: default avatarRosen Penev <rosenp@gmail.com>
      fb83efb6
    • DENG Qingfang's avatar
      ramips: remove obsolete mx25l25635f compatible hack · 06af45ec
      DENG Qingfang authored
      
      
      The kernel bump to 5.4 has removed the mx25l25635f hack, and the
      mx25l25635f compatible is no longer required.
      Signed-off-by: default avatarDENG Qingfang <dqfext@gmail.com>
      06af45ec
    • Hauke Mehrtens's avatar
      ppp: Update to version 2.4.9 · 030bc39c
      Hauke Mehrtens authored
      
      
      Upstream integrated multiple patches from Distributions and did other
      changes:
      * rp-pppoe.so was renamed to pppoe.so
      * Converted to ANSI C
      
      The following patches were applied upstream:
      * 100-debian_ip-ip_option.patch
      * 101-debian_close_dev_ppp.patch
      * 103-debian_fix_link_pidfile.patch
      * 106-debian_stripMSdomain.patch
      * 107-debian_pppoatm_wildcard.patch
      * 110-debian_defaultroute.patch
      * 202-no_strip.patch
      
      Compilation with musl libc was fixed upstream so
      140-pppoe_compile_fix.patch is not needed any more
      
      Parts of the 203-opt_flags.patch patch were applied in a different way
      upstream.
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      030bc39c
  2. 23 Feb, 2021 25 commits