1. 31 8月, 2023 1 次提交
  2. 30 8月, 2023 5 次提交
  3. 29 8月, 2023 4 次提交
  4. 28 8月, 2023 21 次提交
    • D
      generic: sync MediaTek Ethernet driver with upstream · f631c7bb
      Daniel Golle 提交于
      Import commits from upstream Linux replacing some downstream patches.
      Move accepted patches from pending-{5.15,6.1} to backport-{5.15,6.1}.
      Signed-off-by: NDaniel Golle <daniel@makrotopia.org>
      f631c7bb
    • D
      mediatek: add support for Ubiquiti UniFi 6 LR v3 · a0f4eadf
      Daniel Golle 提交于
      Some recent models of the Ubiquiti Networks UniFi 6 LR access point
      come with a RealTek RTL8211FS 1000M/100M/10M PHY instead of the
      Aquantia AQR112 2500M/1000M/100M/10M PHY used in both v1 and v2. Add
      build for this variant so we can support Ethernet with the PHY.
      Signed-off-by: NDaniel Golle <daniel@makrotopia.org>
      a0f4eadf
    • D
      uboot-mediatek: add builds for UniFi 6 LR v2 and v3 · fff44411
      Daniel Golle 提交于
      While the v2 is nearly identical to v1, v3 uses a different PHY and
      needs a different build for Ethernet to work in U-Boot.
      Signed-off-by: NDaniel Golle <daniel@makrotopia.org>
      fff44411
    • D
      mediatek: generate bootloader artifacts for mt7988_rfb · 035a88ae
      Daniel Golle 提交于
      Switch to OpenWrt uImage.FIT bootmethod and include various bootloader
      artifacts with the generated binaries.
      Signed-off-by: NDaniel Golle <daniel@makrotopia.org>
      035a88ae
    • D
      uboot-mediatek: build fully-featured U-Boot for MT7988 RFB · 1d5778e1
      Daniel Golle 提交于
      Select many potentially useful options for the MT7988 RFB U-Boot builds.
      The resulting loader is intended as a development tool and intends to be
      generic. It does *not* have a default bootcmd set, but allows to boot
      pretty much everything, including EFI executables.
      
      To install this U-Boot build to the eMMC:
        opkg install mmc-utils partx-utils
        mmc bootpart enable 1 1 /dev/mmcblk0
        echo 0 > /sys/block/mmcblk0boot0/force_ro
        dd if=*mediatek_mt7988a-rfb-nand-emmc-preloader.bin of=/dev/mmcblk0boot0
        dd if=*mediatek_mt7988a-rfb-nand-emmc-gpt.bin of=/dev/mmcblk0
        partx -a /dev/mmcblk0
        dd if=*mediatek_mt7988a-rfb-nand-emmc-bl31-uboot.fip of=/dev/mmcblk0p3
      Signed-off-by: NDaniel Golle <daniel@makrotopia.org>
      1d5778e1
    • D
      mediatek: improve mt7981.dtsi · 3ef8760e
      Daniel Golle 提交于
       * re-factor WED components to boot fine also on limited loaders
       * add LEDs of integrated GE PHY
      Signed-off-by: NDaniel Golle <daniel@makrotopia.org>
      3ef8760e
    • D
      mediatek: filogic: improve pinctrl drivers · 9f8fde21
      Daniel Golle 提交于
      Set correct pull-type data and add additional uart groups for MT7981.
      Assign functions to configure pin bias for MT7986.
      Signed-off-by: NDaniel Golle <daniel@makrotopia.org>
      9f8fde21
    • D
      mediatek: i2c: mt65xx: allow optional pmic clock · 2544dc34
      Daniel Golle 提交于
      Using the I2C host controller on the MT7981 SoC requires 4 clocks to
      be enabled. One of them, the pmic clk, is only enabled in case
      'mediatek,have-pmic' is also set which has other consequences which
      are not desired in this case.
      
      Allow defining a pmic clk even in case the 'mediatek,have-pmic' propterty
      is not present and the bus is not used to connect to a pmic, but may
      still require to enable the pmic clock.
      Signed-off-by: NDaniel Golle <daniel@makrotopia.org>
      2544dc34
    • D
      mediatek: re-add missing patch for Linux 6.1 · 69a498f9
      Daniel Golle 提交于
      The patch was wrongly tagged as being part of Linux 6.0 even though it
      was only committed with Linux 6.2 and hence needs to be backported for
      Linux 6.1.
      
      Fixes: fa79baf4 ("generic: copy backport, hack, pending patch and config from 5.15 to 6.1")
      Signed-off-by: NDaniel Golle <daniel@makrotopia.org>
      69a498f9
    • D
      mediatek: re-add dropped properties on BPi-R3 · 06a150ae
      Daniel Golle 提交于
      Unfortunately some device tree properties have slipped under the table
      when switching from our downstream device tree.
      
      Bring back 3W power for SFP cages and restore thermal trip points to
      make sense again.
      
      Fixes: 7a0ec001 ("mediatek: sync MT7986 device trees with upstream")
      Signed-off-by: NDaniel Golle <daniel@makrotopia.org>
      06a150ae
    • L
      bcm53xx: Add support for D-Link DIR-890L · ef76b6ff
      Linus Walleij 提交于
      The DIR-890L is very similar to DIR-885L, but has both USB2
      and USB3. The signature for the wrgac36 board was copied from
      DD-Wrt.
      
      The DIR-890L bootstrap will only load the first 2 MB after
      the SEAMA header in the NAND flash, uncompress it with LZMA
      and execute it. Since the compressed kernel will not fit in
      2 MB we have a problem. Solve this by putting a LZMA
      compressed U-Boot into the first 128 KB of the flash
      followed by the kernel. The bootstrap will then uncompress
      and execute U-Boot and then we let U-Boot read the kernel
      from flash and execute it.
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      ef76b6ff
    • B
      ipq806x: onhub: Enable adm_dma node · 1611c21a
      Brian Norris 提交于
      One of our SPI devices references this node, but we never enabled it.
      This clutters up probe deferral logs.
      
      (NB: this SPI device still doesn't have a real driver, so it's just here
      for documentation and/or tinkering.)
      Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
      1611c21a
    • B
      ipq806x: chromium: Disable kernel's CONFIG_QCOM_SPM · 9ea5487e
      Brian Norris 提交于
      The qcom spm driver is currently broken for IPQ8064 OnHub devices on
      kernel 6.1, such that it hangs the system when booting, much to the
      consternation of users. This is especially bad as these devices don't
      yet have a fully-supported release branch, and are still sometimes
      landing on snapshot builds.
      
      OnHub devices have their own kernel config, so it's not that wide of an
      impact to disable this.
      
      I haven't fully gotten to the bottom of this, but:
      
      (a) The vendor kernel didn't have any SPM driver at all, and didn't
          utilize cpuidle.
      (b) The device tree has never included any (non-disabled) cpuidle
          states, so even when this driver was present on 5.15 (last
          known-working kernel), it didn't actually do anything -- it bailed
          early, before ever doing any SPM initialization.
      (c) Refactoring in Linux 5.16 [1] caused the SPM driver to be activated
          unconditionally, including setting us into standby mode
          (PM_SLEEP_MODE_STBY) by default.
      
      Removing the one PM_SLEEP_MODE_STBY line from drivers/soc/qcom/spm.c
      seems to fix the problem, but that isn't much different than simply
      disabling the driver, so I go with that for now.
      
      I also disable CONFIG_ARM_QCOM_SPM_CPUIDLE, becuase it 'select's
      QCOM_SPM.
      
      NB: it's possible there's some other deeper root cause involved in here.
      For one, I notice that CPU hotplug (e.g., echo 0 >
      /sys/devices/system/cpu/cpu1/online, echo 1 > ...) doesn't work right
      either. Perhaps there's some mismatch on upstream Linux qcom-scm
      behavior and the old boot firmware used for these systems? It wouldn't
      be the first time, as we've had some similar incompatibilities on the
      next generation of these devices, Google WiFi [2].
      
      [1] Commit 60f3692b5f0b ("cpuidle: qcom_spm: Detach state machine from
          main SPM handling")
      [2] [RFC] qcom_scm: IPQ4019 firmware does not support atomic API?
          https://lore.kernel.org/linux-arm-kernel/20200913201608.GA3162100@bDebian/Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
      9ea5487e
    • A
      ltq-vdsl-vr11-mei: fix compilation error with kernel 6.1 · 520ade68
      Andre Heider 提交于
      Define the old PDE_DATA marco to the new pde_data function.
      Signed-off-by: NAndre Heider <a.heider@gmail.com>
      520ade68
    • A
      vrx518_tc: fix compilation error with kernel 6.1 · 63635696
      Andre Heider 提交于
      Define the old PDE_DATA marco to the new pde_data function and
      conditionally use the newer APIs.
      Signed-off-by: NAndre Heider <a.heider@gmail.com>
      63635696
    • A
      vrx518_ep: fix compilation error with kernel 6.1 · e8e5dbc3
      Andre Heider 提交于
      Unconditionally use the newer APIs, since our oldest supported kernel
      contains them too.
      Signed-off-by: NAndre Heider <a.heider@gmail.com>
      e8e5dbc3
    • A
      ltq-ifxos: fix compilation error with kernel 6.1 · 27633cef
      Andre Heider 提交于
      Conditionally use the newer APIs.
      Signed-off-by: NAndre Heider <a.heider@gmail.com>
      27633cef
    • A
      rockchip: add support for PINE64 ROCK64 · f0138de3
      Antonio Flores 提交于
      This add support for PINE64 ROCK64, rockchip rk3328 board.
      
      Specifications:
      
       4 x ARM Cortex A53 cores @ 1.5 GHz
       ARM Mali 450 MP2 GPU
       LPDDR3 RAM (up to 4GB)
       Gigabit Ethernet
       Micro SD Slot
       eMMC module slot
       SPI Flash 128Mbit
       4K digital video out
       2x USB 2.0 Host
       1x USB 3.0 Host
       PI-2 bus
       PI-P5+ bus
       IR R/X port
       Real Time Clock (RTC) port
       Power Over Ethernet (POE) (when using optional HAT module)
       A/V jack
       Power, Reset and Recovery buttons
       3.5mm barrel power (5V 3A) port
      
      To install write image to the sd using dd (dd if=*.img of=/*)
      Signed-off-by: NAntonio Flores <antflores627@gmail.com>
      f0138de3
    • A
      uboot-rockchip: fix swig dependency for ROCK64 · c0c4efe6
      Antonio Flores 提交于
      Pre build files to fix swig dependency.
      Signed-off-by: NAntonio Flores <antflores627@gmail.com>
      c0c4efe6
    • A
      uboot-rockchip: add support for PINE64 ROCK64 · 0405e11a
      Antonio Flores 提交于
      Add uboot support for PINE64 ROCK64, rockchip rk3328 board.
      Signed-off-by: NAntonio Flores <antflores627@gmail.com>
      0405e11a
    • R
      ramips: add support for D-Link DRA-1360 · a4eb1ea3
      Rani Hod 提交于
      The DRA-1360 rev A is a wall-plug AC1300 repeater.
      Hardware is identical (same FCC ID, black case instead of white)
      to D-Link DAP-1620 rev B, which is already supported, but a
      different model name, revision, and hardware ID are needed.
      Thus, the bulk of the DAP-1620 device tree is extracted to a
      common dtsi included by the two models' device trees.
      
      Repeating specs and installation instructions from e4c7703d:
      (note that the RAM size mentioned there was incorrect, oops)
      
      Specs:
      - SoC: MT7621AT (880MHz dual-core MIPS1004Kc)
      - Memory: 128 MiB RAM, 16 MiB NOR SPI
      - WiFi: MT7615DN 2x2 802.11n + 2x2 802.11ac (DBDC)
      - Ethernet: 1 RJ45 port 10/100/1000
      - Power/status LED: red+green
      - LED RSSI bargraph: 2x green, 1x red+green
      
      Installation:
      - Keep reset button pressed during plug-in
      - Web Recovery Updater is at 192.168.0.50
        (pings are ignored, it listens only for http)
      - Upload factory.bin, confirm flashing
        (seems to work best with Chromium-based browsers)
      
      Revert to OEM firmware:
      - tail -c+117 DRA1360A1_FW112B03.bin | \
        openssl aes-256-cbc -d -md md5 -out decrypted.bin \
        -k c471706398cb147c6619f8a04a18d53e9c17ede8
      - flash decrypted.bin via D-Link Web Recovery
      Signed-off-by: NRani Hod <rani.hod@gmail.com>
      a4eb1ea3
  5. 27 8月, 2023 3 次提交
  6. 26 8月, 2023 6 次提交
    • Z
      uboot-sunxi: bump to 2023.04 · 53c2f174
      Zoltan HERPAI 提交于
      Compile-tested: all boards
      Runtime-tested:
       - Cortex-A8: pcDuino
       - Cortex-A7: Bananapro, Bananapi M3
       - Cortex-A53:Pine64+
      
      Notes:
       - binman tries to add firmware for the SCP (system control processor), which
         we don't build, and is optional for the boot process on 64-bit. Disable this
         via setting the SCP envvar to /dev/null. For further info, see [1] .
      
      [1] https://github.com/u-boot/u-boot/blob/master/board/sunxi/README.sunxi64Signed-off-by: NZoltan HERPAI <wigyori@uid0.hu>
      53c2f174
    • M
      x86: remove built-in vhost-net driver · 8b1cc158
      Mathew McBride 提交于
      This is now available as a kmod package (kmod-vhost-net).
      Signed-off-by: NMathew McBride <matt@traverse.com.au>
      8b1cc158
    • M
      kernel: add vhost-net module · d188db8a
      Mathew McBride 提交于
      vhost-net is used to accelerate traffic to virtualisation
      guests that use the virtio-net network card in QEMU.
      
      Generally it is invoked by specifying "vhost=on" to a
      QEMU -netdev device:
      
      qemu-system-aarch64 -nographic -M virt -cpu host \
              --enable-kvm -bios u-boot.bin -smp 1 -m 2048 \
              -drive file=openwrt-armsr-armv8.img,format=raw,index=0,media=disk \
              -device "virtio-net,netdev=landev,disable-legacy=off,disable-modern=off" \
              -netdev "tap,id=landev,helper=/usr/lib/qemu-bridge-helper --br=br-lan,vhost=on"
      Signed-off-by: NMathew McBride <matt@traverse.com.au>
      d188db8a
    • J
      prereq: merge common cases in SetupHostCommand · 3210aa8e
      Jonas Gorski 提交于
      Now that most cases do the same thing in SetupHostCommand, merge them
      together into one. To allow moving the generic symlink check, invert the
      check and let it check for relative links by matching on link targets
      that do not start with a slash.
      
      This then allows us to also drop the absolute link case, shortening the
      case statement further.
      
      This reorders the check to
      
      * if it is not a symlink, do not change it
      * if it is a symlink and it points to the found command, do not change it
      * if it is a symlink with a relative path, do not change it
      * else, update/replace it
      Signed-off-by: NJonas Gorski <jonas.gorski@gmail.com>
      3210aa8e
    • J
      prereq: make existing binary check work for sdk as well · c1ef10c8
      Jonas Gorski 提交于
      To avoid replacing host built binaries with symlinks again, a check for
      an appropriate stamp was added in 729909c0 ("prereq-build: do not
      replace binaries with symlinks"). Unfortunately the stamp directory does
      not exist in the SDK, so the fix was ineffective there.
      
      This caused the packages builders to e.g. use the host tar again, which
      in turn made the tarballs created different since it may lack
      reproducibility fixes, or implement these differently, causing spurious
      hash failures on source repository based packages.
      
      Fix this by dropping the stamp dir check, and just check that the file
      is usable.
      
      Fixes: 729909c0 ("prereq-build: do not replace binaries with symlinks")
      Signed-off-by: NJonas Gorski <jonas.gorski@gmail.com>
      c1ef10c8
    • R
      arm-trusted-firmware-mvebu: bump to v2.9 · 67dacdd6
      Robert Marko 提交于
      We are using the outdated 2.7 TF-A, so lets update to current v2.9 version.
      Signed-off-by: NRobert Marko <robert.marko@sartura.hr>
      67dacdd6