1. 22 5月, 2023 4 次提交
    • D
      build: drop support for python 3.6 · 7d0fb2cc
      Doug Kerr 提交于
      python 3.6 EOL was Dec. 2021
      buildbot is running debian 10 which ships with 3.7
      meson 0.62+ requires 3.7
      Signed-off-by: NDoug Kerr <dek3rr@gmail.com>
      Signed-off-by: Petr Štetiar <ynezz@true.cz> [rebased]
      7d0fb2cc
    • R
      mac80211: brcm: drop brcmfmac patch waiting for register_wiphy() · bd262663
      Rafał Miłecki 提交于
      That was a workaround for OpenWrt generation of config files. This patch
      was used to postpone returning from probe function until loading
      firmware and calling register_wiphy().
      
      All of that is not needed anymore thanks to the ieee80211 hotplug.d
      script introduced in the commit 5f8f8a36 ("base-files, mac80211,
      broadcom-wl: wifi detection and configuration"). That takes care of
      generating /etc/config/wireless entries even if wireless device appears
      late in the booting process.
      Signed-off-by: NRafał Miłecki <rafal@milecki.pl>
      bd262663
    • M
      prereq-build: remove python 2 cleanup recipe · e2f9fa42
      Michael Pratt 提交于
      This reverts commit 3b68fb57.
      
      After refactoring build checks to update old symlinks,
      and after a long time of no python 2 support,
      this is no longer needed.
      Signed-off-by: NMichael Pratt <mcpratt@pm.me>
      e2f9fa42
    • M
      prereq-build: allow host command symlinks to update · f7520403
      Michael Pratt 提交于
      This makes the prereq stage update the symlinks
      installed into staging_dir/host/bin
      by rearrainging the way they are verified.
      
      Before, seeing or installing a symlink would result in
      a successful exit code, and not installing a symlink
      would result is a failed exit code. However,
      that is not able to account for the difference
      between existing good and bad links, or whether
      the link would be the same if it was reinstalled,
      because the check can match the program to a different path.
      
      Instead, let a success exit code represent
      identifying an existing symlink as exactly the same
      as what would be installed if it did not exist,
      and let a fail exit code represent
      needing to install the symlink
      or not having a match to the check criteria.
      
      The failing exit code is caught by a new second attempt
      for all of the check-* targets which will then indicate
      to the user that there was an update by having a success
      exit code when the check is run again and the link is the same.
      
      When there is nothing to update, the checks will run only once.
      
      This relies on the ls command to be POSIX-conformant with long format:
      "path/to/link -> target/of/link"
      
      Also, make sure the symlink is executable, not just a file,
      and the directory only needs to be created once.
      
      Fixes: #12610
      Signed-off-by: NMichael Pratt <mcpratt@pm.me>
      f7520403
  2. 21 5月, 2023 13 次提交
    • S
      build: revert 54070a1f (all kernels are >= 5.10) · 38c15061
      Sebastian Kemper 提交于
      Commit 54070a1f was added to allow building proper SDKs with kernels <
      5.10. Now that all targets use at least kernel 5.10 it can be reverted.
      Signed-off-by: NSebastian Kemper <sebastian_ml@gmx.net>
      38c15061
    • C
      firmware: intel-microcode: update to 20230512 · 8182c7ed
      Christian Lamparter 提交于
      Debian changelog:
      
      intel-microcode (3.20230512.1) unstable; urgency=medium
      
        * New upstream microcode datafile 20230512 (closes: #1036013)
          * Includes fixes or mitigations for an undisclosed security issue
          * New microcodes:
            sig 0x000906a4, pf_mask 0x40, 2022-10-12, rev 0x0004, size 115712
            sig 0x000b06e0, pf_mask 0x01, 2022-12-19, rev 0x0010, size 134144
          * Updated microcodes:
            sig 0x00050653, pf_mask 0x97, 2022-12-21, rev 0x1000171, size 36864
            sig 0x00050654, pf_mask 0xb7, 2022-12-21, rev 0x2006f05, size 44032
            sig 0x00050656, pf_mask 0xbf, 2022-12-21, rev 0x4003501, size 37888
            sig 0x00050657, pf_mask 0xbf, 2022-12-21, rev 0x5003501, size 37888
            sig 0x0005065b, pf_mask 0xbf, 2022-12-21, rev 0x7002601, size 29696
            sig 0x000606a6, pf_mask 0x87, 2022-12-28, rev 0xd000390, size 296960
            sig 0x000706e5, pf_mask 0x80, 2022-12-25, rev 0x00ba, size 113664
            sig 0x000806a1, pf_mask 0x10, 2023-01-13, rev 0x0033, size 34816
            sig 0x000806c1, pf_mask 0x80, 2022-12-28, rev 0x00aa, size 110592
            sig 0x000806c2, pf_mask 0xc2, 2022-12-28, rev 0x002a, size 97280
            sig 0x000806d1, pf_mask 0xc2, 2022-12-28, rev 0x0044, size 102400
            sig 0x000806e9, pf_mask 0xc0, 2022-12-26, rev 0x00f2, size 105472
            sig 0x000806e9, pf_mask 0x10, 2023-01-02, rev 0x00f2, size 105472
            sig 0x000806ea, pf_mask 0xc0, 2022-12-26, rev 0x00f2, size 105472
            sig 0x000806eb, pf_mask 0xd0, 2022-12-26, rev 0x00f2, size 105472
            sig 0x000806ec, pf_mask 0x94, 2022-12-26, rev 0x00f6, size 105472
            sig 0x000806f8, pf_mask 0x87, 2023-03-13, rev 0x2b000461, size 564224
            sig 0x000806f7, pf_mask 0x87, 2023-03-13, rev 0x2b000461
            sig 0x000806f6, pf_mask 0x87, 2023-03-13, rev 0x2b000461
            sig 0x000806f5, pf_mask 0x87, 2023-03-13, rev 0x2b000461
            sig 0x000806f4, pf_mask 0x87, 2023-03-13, rev 0x2b000461
            sig 0x000806f8, pf_mask 0x10, 2023-02-14, rev 0x2c0001d1, size 595968
            sig 0x000806f6, pf_mask 0x10, 2023-02-14, rev 0x2c0001d1
            sig 0x000806f5, pf_mask 0x10, 2023-02-14, rev 0x2c0001d1
            sig 0x000806f4, pf_mask 0x10, 2023-02-14, rev 0x2c0001d1
            sig 0x000906a3, pf_mask 0x80, 2023-02-14, rev 0x042a, size 218112
            sig 0x000906a4, pf_mask 0x80, 2023-02-14, rev 0x042a
            sig 0x000906e9, pf_mask 0x2a, 2022-12-26, rev 0x00f2, size 108544
            sig 0x000906ea, pf_mask 0x22, 2023-01-12, rev 0x00f2, size 104448
            sig 0x000906eb, pf_mask 0x02, 2022-12-26, rev 0x00f2, size 105472
            sig 0x000906ec, pf_mask 0x22, 2023-01-12, rev 0x00f2, size 104448
            sig 0x000906ed, pf_mask 0x22, 2023-02-05, rev 0x00f8, size 104448
            sig 0x000a0652, pf_mask 0x20, 2022-12-27, rev 0x00f6, size 96256
            sig 0x000a0653, pf_mask 0x22, 2023-01-01, rev 0x00f6, size 97280
            sig 0x000a0655, pf_mask 0x22, 2022-12-26, rev 0x00f6, size 96256
            sig 0x000a0660, pf_mask 0x80, 2022-12-26, rev 0x00f6, size 97280
            sig 0x000a0661, pf_mask 0x80, 2022-12-26, rev 0x00f6, size 96256
            sig 0x000a0671, pf_mask 0x02, 2022-12-25, rev 0x0058, size 103424
            sig 0x000b0671, pf_mask 0x32, 2023-02-06, rev 0x0113, size 207872
            sig 0x000b06a2, pf_mask 0xc0, 2023-02-22, rev 0x4112, size 212992
            sig 0x000b06a3, pf_mask 0xc0, 2023-02-22, rev 0x4112
        * source: update symlinks to reflect id of the latest release, 20230512
      
       -- Henrique de Moraes Holschuh <hmh@debian.org>  Tue, 16 May 2023 00:13:02 -0300
      
      intel-microcode (3.20230214.1) unstable; urgency=medium
      
        * Non-maintainer upload.
        * New upstream microcode datafile 20230214
          - Includes Fixes for: (Closes: #1031334)
             - INTEL-SA-00700: CVE-2022-21216
             - INTEL-SA-00730: CVE-2022-33972
             - INTEL-SA-00738: CVE-2022-33196
             - INTEL-SA-00767: CVE-2022-38090
        * New Microcodes:
          sig 0x000806f4, pf_mask 0x10, 2022-12-19, rev 0x2c000170
          sig 0x000806f4, pf_mask 0x87, 2022-12-27, rev 0x2b000181
          sig 0x000806f5, pf_mask 0x10, 2022-12-19, rev 0x2c000170
          sig 0x000806f5, pf_mask 0x87, 2022-12-27, rev 0x2b000181
          sig 0x000806f6, pf_mask 0x10, 2022-12-19, rev 0x2c000170
          sig 0x000806f6, pf_mask 0x87, 2022-12-27, rev 0x2b000181
          sig 0x000806f7, pf_mask 0x87, 2022-12-27, rev 0x2b000181
          sig 0x000806f8, pf_mask 0x10, 2022-12-19, rev 0x2c000170
          sig 0x000806f8, pf_mask 0x10, 2022-12-19, rev 0x2c000170, size 600064
          sig 0x000806f8, pf_mask 0x87, 2022-12-27, rev 0x2b000181
          sig 0x000806f8, pf_mask 0x87, 2022-12-27, rev 0x2b000181, size 561152
          sig 0x000b06a2, pf_mask 0xc0, 2022-12-08, rev 0x410e
          sig 0x000b06a2, pf_mask 0xc0, 2022-12-08, rev 0x410e, size 212992
          sig 0x000b06a3, pf_mask 0xc0, 2022-12-08, rev 0x410e
        * Updated Microcodes:
          sig 0x00050653, pf_mask 0x97, 2022-08-30, rev 0x1000161, size 36864
          sig 0x00050656, pf_mask 0xbf, 2022-08-26, rev 0x4003303, size 37888
          sig 0x00050657, pf_mask 0xbf, 2022-08-26, rev 0x5003303, size 37888
          sig 0x0005065b, pf_mask 0xbf, 2022-08-26, rev 0x7002503, size 29696
          sig 0x000606a6, pf_mask 0x87, 2022-10-09, rev 0xd000389, size 296960
          sig 0x000606c1, pf_mask 0x10, 2022-09-23, rev 0x1000211, size 289792
          sig 0x000706a1, pf_mask 0x01, 2022-09-16, rev 0x003e, size 75776
          sig 0x000706a8, pf_mask 0x01, 2022-09-20, rev 0x0022, size 76800
          sig 0x000706e5, pf_mask 0x80, 2022-08-31, rev 0x00b8, size 113664
          sig 0x000806a1, pf_mask 0x10, 2022-09-07, rev 0x0032, size 34816
          sig 0x00090672, pf_mask 0x07, 2023-01-04, rev 0x002c
          sig 0x00090672, pf_mask 0x07, 2023-01-04, rev 0x002c, size 219136
          sig 0x00090675, pf_mask 0x07, 2023-01-04, rev 0x002c
          sig 0x000906a3, pf_mask 0x80, 2023-01-11, rev 0x0429
          sig 0x000906a3, pf_mask 0x80, 2023-01-11, rev 0x0429, size 218112
          sig 0x000906a4, pf_mask 0x80, 2023-01-11, rev 0x0429
          sig 0x000906c0, pf_mask 0x01, 2022-09-02, rev 0x24000024, size 20480
          sig 0x000a0671, pf_mask 0x02, 2022-08-31, rev 0x0057, size 103424
          sig 0x000b0671, pf_mask 0x32, 2022-12-19, rev 0x0112, size 207872
          sig 0x000b06f2, pf_mask 0x07, 2023-01-04, rev 0x002c
          sig 0x000b06f5, pf_mask 0x07, 2023-01-04, rev 0x002c
      
       -- Tobias Frost <tobi@debian.org>  Sun, 12 Mar 2023 18:16:50 +0100
      Signed-off-by: NChristian Lamparter <chunkeey@gmail.com>
      8182c7ed
    • P
      kernel: disable IGD (video DRM) support · 3b2337b4
      Philip Prindeville 提交于
      IGD is only useful when accelerating a VM guest that wants to direct
      render to memory in the host's framebuffer, but since OpenWrt
      typically runs on headless hardware, this serves no purpose.
      
      Also build vfio with VFIO_NOIOMMU undefined (to get all of the code
      enabled), but allow it to be enabled via boot-time modparams
      settings (or at run-time via sysfs writes to
      "/sys/module/vfio/parameters/enable_unsafe_noiommu_mode".
      Signed-off-by: NPhilip Prindeville <philipp@redfish-solutions.com>
      3b2337b4
    • F
      treewide: Disable building 8M RAM devices · 066441b5
      Felix Baumann 提交于
      Following deprecation notice[1] in 21.02, disable target with 8M of RAM
      
      [1] https://openwrt.org/supported_devices/864_warningSigned-off-by: NFelix Baumann <felix.bau@gmx.de>
      066441b5
    • F
      treewide: Disable building 32M RAM devices · f5cb556d
      Felix Baumann 提交于
      Following deprecation notice[1] in 21.02, disable targets with 32M of RAM
      
      [1] https://openwrt.org/supported_devices/864_warningSigned-off-by: NFelix Baumann <felix.bau@gmx.de>
      f5cb556d
    • F
      treewide: Disable building 16M RAM devices · 3f297be1
      Felix Baumann 提交于
      Following deprecation notice[1] in 21.02, disable targets with 16M of RAM
      
      [1] https://openwrt.org/supported_devices/864_warningSigned-off-by: NFelix Baumann <felix.bau@gmx.de>
      3f297be1
    • D
      ramips: mt7621: fix Xiaomi Router 3G/Pro LEDs · 09d0643c
      DENG Qingfang 提交于
      The PHY name has been changed to "mt7530-0" since IRQ support
      was added to MT7530 driver.
      
      Fixes: f9cfe7af ("kernel: backport MT7530 IRQ support")
      Signed-off-by: NDENG Qingfang <dqfext@gmail.com>
      (node names, added color, function+function-enumerator properties)
      Signed-off-by: NChristian Lamparter <chunkeey@gmail.com>
      09d0643c
    • N
      dropbear: add ForceCommand uci option · d728d05c
      Nozomi Miyamori 提交于
      adds ForceCommand option. If the command is specified,
      it forces users to execute the command when they log in.
      Signed-off-by: NNozomi Miyamori <inspc43313@yahoo.co.jp>
      Signed-off-by: NChristian Lamparter <chunkeey@gmail.com>
      d728d05c
    • S
      x86: base-files add support for Sophos 135r3/135r3w · c191c2d4
      Stan Grishin 提交于
      The Sophos SG/XG-135 revision 3 has odd numbering of eth ports
      where the WAN port (as marked on the case) is:
      `eth6` and `eth0`, `eth1`, `eth2`, `eth3`, `eth5`, `eth7`, `eth8` are LAN ports.
      Port `eth4` seems to be the SFP port.
      
      Also add the missing LED definition for supported Sophos devices.
      
      Original discussion at:
      https://forum.openwrt.org/t/openwrt-on-revision-3-of-sophos-desktop-appliances/152912Signed-off-by: NStan Grishin <stangri@melmac.ca>
      c191c2d4
    • C
      tfa-layerscape: fix fiptool's build · 85734549
      Christian Lamparter 提交于
      A missing '\' caused the remaining parameters not to be passed to make.
      
      This fixes the following error:
      
      | gcc -c [...] fiptool.c -o fiptool.o
      | In file included from fiptool.h:16,
      |                 from fiptool.c:19:
      |fiptool_platform.h:19:11: fatal error: openssl/sha.h: No such file or directory
      |   19 | # include <openssl/sha.h>
      |      |           ^~~~~~~~~~~~~~~
      |compilation terminated.
      |make[3]: *** [Makefile:58: fiptool.o] Error 1
      
      as the HOST_CFLAGS are no longer passed.
      
      then, HOST_CFLAGS is specified as a command argument, this
      is a specific problem of our built since appending these
      needs the override directive.
      
      Fixes: df28bfe03247 ("tfa-layerscape: Change to github and use the latest tag")
      Signed-off-by: NChristian Lamparter <chunkeey@gmail.com>
      85734549
    • L
      3f952695
    • D
      build: Allow specifying uImage time · a8a2a953
      David Yang 提交于
      Some U-Boot checks for a specified uImage time and refuses to boot if
      mismatched. This patch fixes it by recognizing UIMAGE_TIME parameter.
      Signed-off-by: NDavid Yang <mmyangfl@gmail.com>
      a8a2a953
    • N
      nettle: update to 3.9 · aa28e914
      Nick Hainke 提交于
      Changelog:
      https://git.lysator.liu.se/nettle/nettle/-/blob/26cd0222fd09b8f5dc0edba30d6908722c7e9b09/NEWS
      
      Refresh patch:
      - 100-portability.patch
      Signed-off-by: NNick Hainke <vincent@systemli.org>
      aa28e914
  3. 20 5月, 2023 19 次提交
  4. 19 5月, 2023 4 次提交
    • N
    • N
      libjson-c: import patch to fix compilation on macos · f73d0118
      Nick Hainke 提交于
      Fixes errors in the form of:
        /Users/user/src/openwrt/openwrt/build_dir/hostpkg/json-c-0.16/json_util.c:63:35: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
        const char *json_util_get_last_err()
                                          ^
                                           void
        1 error generated.
        ninja: build stopped: subcommand failed.
      Reported-by: NPaul Spooren <mail@aparcar.org>
      Suggested-by: NPaul Spooren <mail@aparcar.org>
      Signed-off-by: NNick Hainke <vincent@systemli.org>
      f73d0118
    • N
      f2fs-tools: update to 1.16.0 · f18cb0ba
      Nick Hainke 提交于
      Remove upstramed patches:
      - 100-configure.ac-fix-AC_ARG_WITH.patch
      - 101-configure.ac-fix-cross-compilation.patch
      
      Remove deprecated f2fstat tool:
      https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/commit/?id=77bf7ed29f1dd1341079913f3b36fc62f812c4f5
      
      Changelog:
      06c027a f2fs-tools: upgrade version 1.16.0
      542cc57 fsck.f2fs: fix sanity check logic for cp_payload
      a7df89e mkfs.f2fs: remove indentation
      c82985a fsck.f2fs: don't call report_zone on normal partition
      0ac168e f2fs-tools: relax zone size of power of 2
      641be32 mkfs.f2fs: trim all the devices except the first one
      3835fef f2fs-tools: fix # of total segments
      5b08ca9 f2fs_io: support AES_256_HCTR2
      ae3301c f2fs_io: Fix out of tree builds
      ddbde27 fsck.f2fs: relocate chksum verification step during f2fs_do_mount()
      77bf7ed f2fs-tools: Remove deprecated f2fstat
      fb6575e Remove sg_write_buffer
      1bb669e fsck.f2fs: avoid uncessary recalculation
      ccd2361 fsck.f2fs: fix potential overflow of copying i_name
      cd6b133 fsck.f2fs: add parentheses for SB_MASK
      399600a dump.f2fs: remove unavailable option -g
      3e6e178 f2fs-tools: define HAVE_CLOCK_GETTIME properly
      907b972 f2fs-tools: support F2FS_IOC_START_ATOMIC_REPLACE
      9ff70fb f2fs-tools: give less overprovisioning space
      844f821 f2fs-tools: set host-aware zoned device similar to host-managed one
      88ac76d fsck.f2fs: fix missing to assign c.zoned_model
      8cbe34e fsck.f2fs: trigger repairing if filesystem has inconsistent errors
      2f1dde2 fsck.f2fs: trigger repairing if filesystem was forced to stop
      465159f fsck.f2fs: export valid image size
      3486b62 mkfs.f2fs: update allocation policy for ro feature
      bdd51e5 fsck.f2fs: fix __end_block_addr()
      5a5e419 Always use sparse/sparse.h when building for Android
      19f77c6 f2fs-tools: fix build error on lz4-1.9.4
      986c1f1 Fix format strings in log messages
      0d6acbe fsck.f2fs: use elapsed_time in checkpoint for period check
      9b7a4c5 mkfs.f2fs: catch total_zones=0 instead of crashing
      6148db3 f2fs-tools: use F2FS_BLKSIZE instead of PAGE_*_SIZE
      f09c2b7 f2fs_io: support triggering filesystem GC via ioctl
      32e7d27 configure.ac: fix cross compilation
      65fe94e configure.ac: fix AC_ARG_WITH
      6325cf7 Use F2FS_BLKSIZE as the size of struct f2fs_summary_block
      c89be7a Use F2FS_BLKSIZE for dev_read_block() buffers
      5317d18 Improve compile-time type checking for f2fs_report_zone()
      92e2e52 Fix f2fs_report_zone()
      648a491 Fix the struct f2fs_dentry_block definition
      c964547 resize.f2fs: add option to manually specify new overprovision
      a741438 fsck.f2fs: drop compression bit if inline_data is set
      406b1c9 f2fs-tools: fix cannot get bdev information
      9d0cb9e f2fs_io: add dsync option for write
      a7b8b46 tools: fix file too large causing overflow
      bddca6f dump.f2fs: add -I nid to dump inode by scan full disk
      ebc3879 android_config: add time headers
      c1144bf Check fallthrough in mount.h for Mac
      bcb9929 avoid unnecessary function
      7d902f4 Fix dependencies on linux/blkzoned.h when using Bionic.
      274abbb Remove unnecessary config.h
      8c97ab3 libzone: remove duplicate header
      adcec10 Support zoned device if libc exists
      efc2bc7 mkfs.f2fs: fix typo
      3034a41 mkfs.f2fs: split unused parameter
      dd8d8e5 f2fs-tools: do not use SG_IO in Android
      4f216e6 f2fs-tools: move android_config before defining them
      48c5dbb f2fscrypt: adjust config file first
      4b55459 android_config: add missing uuid library
      Signed-off-by: NNick Hainke <vincent@systemli.org>
      f18cb0ba
    • H
      ath25: Replace fall through comment with fallthrough; · 53956dd2
      Hauke Mehrtens 提交于
      Replace the fall through comment with fallthrough; in the ar2315 flash
      driver.
      This fixes a compile warning.
      Signed-off-by: NHauke Mehrtens <hauke@hauke-m.de>
      53956dd2