Skip to content
Snippets Groups Projects
  1. Feb 28, 2021
    • Tony Ambardar's avatar
      iproute2: update to 5.11.0 · b048a305
      Tony Ambardar authored
      The latest iproute2 version brings various improvements and fixes:
      https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/log/?qt=range&q=v5.10.0..v5.11.0
      
      
      
      In particular, ip and tc now use libbpf as the standard way to load BPF
      programs, rather than the old, limited custom loader. This allows more
      consistent and featureful BPF program handling e.g. support for global
      initialized variables.
      
      Also fix a longstanding problem with iproute2 builds where unneeded DSO
      dependencies are added to most utilities, bloating their installation
      footprint. From research and testing, explicitly using a "--as-needed"
      linker flag avoids the issue. Update accordingly and drop extra package
      dependencies from Makefile.
      
      Additional build and packaging updates include:
      
        - install missing development header to iproute2/bpf_elf.h
        - propagate OpenWrt verbose flag during build
        - update and refresh patches
      
      Compile and run tested: QEMU/malta-mips32be on kernels 5.4 & 5.10.
      
      All iproute2 packages were built and installed to the test image. Some
      regression testing using ip-full and tc was successfully performed to
      exercise several kmods, tc modules, and simple BPF programs.
      
      Signed-off-by: default avatarTony Ambardar <itugrok@yahoo.com>
      b048a305
    • Shiji Yang's avatar
      ramips: fix partition layout of hiwifi hc5x61 · df1e5d64
      Shiji Yang authored
      
      Changes:
       * Increase "oem" partition size from 0x10000 to 0x20000
       * Correct partition lables, synchronize with official firmware
      
      Evidence:
      It should be the same as hiwifi hc5x61a and the fact indeed the
      case. Here is part of dmesg boot log read from official firmware:
      [    1.470000] Creating 7 MTD partitions on "raspi":
      [    1.470000] 0x000000000000-0x000000030000 : "u-boot"
      [    1.480000] 0x000000030000-0x000000040000 : "hw_panic"
      [    1.490000] 0x000000040000-0x000000050000 : "Factory"
      [    1.490000] 0x000000fc0000-0x000000fe0000 : "oem"
      [    1.500000] 0x000000fe0000-0x000000ff0000 : "bdinfo"
      [    1.510000] 0x000000ff0000-0x000001000000 : "backup"
      [    1.510000] 0x000000050000-0x000000fc0000 : "firmware"
      
      Signed-off-by: default avatarShiji Yang <yangshiji66@qq.com>
      df1e5d64
    • Rosen Penev's avatar
      libpcap: update to 1.10.0 · b77f21c9
      Rosen Penev authored
      
      Simplify cmake option handling by putting everything in blocks.
      
      Add openssl patch as there's no easy way to disable.
      
      Rebase the skip manpages patch.
      
      Remove the monitor mode patch as it no longer applies.
      
      Remove flex patch as normal Makefile is no longer used.
      
      Remove USB path patch. While it is deprecated, the codepath is never
      taken. /sys/bus/usb/devices is checked before hand. If it exists, the
      function does stuff and returns. Additionally, this path is used
      elsewhere in the code.
      
      Refresh other patches.
      
      Signed-off-by: default avatarRosen Penev <rosenp@gmail.com>
      b77f21c9
    • Rui Salvaterra's avatar
      kernel/zram: remove obsolete symbol · d0d5fcad
      Rui Salvaterra authored
      Zsmalloc page table mappings are dead and gone [1]. Drop the respective kconfig
      symbol.
      
      [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.4.y&id=69dc72f058c9b98f9b66bed184cfab7c2e9f49b0
      
      
      
      Signed-off-by: default avatarRui Salvaterra <rsalvaterra@gmail.com>
      d0d5fcad
    • Alexey Dobrovolsky's avatar
      busybox: sysntpd: option to bind server to iface · e12fcf0f
      Alexey Dobrovolsky authored
      
      NTPD in busybox has option -I to bind server to IFACE.
      However, capabilities of the busybox are limited, the -I option cannot be
      repeated and only one interface can be effectively specified in it.
      This option is currently not configurable via UCI.
      The patch adds an interface option to the system config, ntp section.
      Also sort options for uci_load_validate alphabetically.
      
      Signed-off-by: default avatarAlexey Dobrovolsky <dobrovolskiy.alexey@gmail.com>
      e12fcf0f
    • Rui Salvaterra's avatar
    • Ronny Kotzschmar's avatar
      uboot-envtools: adjust compile patch to version v2021.01 · 547a932e
      Ronny Kotzschmar authored
      
      with u-boot v2020.07 some variables have been renamed so this patch needs to be adjusted
      otherwise at least with macOS as build system there are build errors
      
      Signed-off-by: default avatarRonny Kotzschmar <ro.ok@me.com>
      547a932e
    • Mathias Kresin's avatar
      lantiq: vr9: set the usb led trigger via devicetree · 5662f5b1
      Mathias Kresin authored
      
      Assign the usbdev trigger via devicetree and drop the userspace
      handling of the usb leds.
      
      Drop the now unused userspace helper code as well.
      
      Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
      Acked-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      5662f5b1
    • Mathias Kresin's avatar
      lantiq: ltq-tapi: disable KPI and QOS · 348e0980
      Mathias Kresin authored
      
      The QOS feature depends on KPI2UDP which was removed from the tree with
      commit a95775e4 ("drop unmaintained packages") in 2012.
      
      Since QOS was the last user of the KPI, the feature can be disabled by
      default.
      
      Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
      348e0980
    • Mathias Kresin's avatar
      ltq-vdsl-app: fix -Wundef warnings · e410fb15
      Mathias Kresin authored
      
      The following warnings are shown during build:
      
      /usr/include/vdsl/cmv_message_format.h:33:6: warning: "MEI_SUPPORT_DEBUG_STREAMS" is not defined, evaluates to 0 [-Wundef]
       #if (MEI_SUPPORT_DEBUG_STREAMS == 1)
            ^~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/include/vdsl/drv_mei_cpe_interface.h:2256:6: warning: "MEI_SUPPORT_OPTIMIZED_FW_DL" is not defined, evaluates to 0 [-Wundef]
       #if (MEI_SUPPORT_OPTIMIZED_FW_DL == 1)
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      The headers are provided by the MEI driver, but the defines are never
      set by the vdsl app. While the struct with the
      MEI_SUPPORT_OPTIMIZED_FW_DL conditional isn't used by the vdsl app,
      however CMV_USED_PAYLOAD_8BIT_SIZE which value depends on
      MEI_SUPPORT_DEBUG_STREAMS is.
      
      Since the MEI driver doesn't provide an autogenerated header with
      compile flags, the flags are hardcoded for the vdsl app.
      
      Set them for the MEI driver as well, to indicate a relation to the
      values used for the vdsl app and to be not surprised by a changed
      default in case the MEI driver gets updated. Use the current default
      values defined in the MEI driver.
      
      Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
      e410fb15
    • Mathias Kresin's avatar
      lantiq: set maximum kernel size · 23dd7867
      Mathias Kresin authored
      
      These boards have a fixed size kernel partition but do not limit the
      kernel size during image building.
      
      Disable image building for both boards as well, since the kernel of the
      last release as well as master are to big to fit into the 2 MByte kernel
      partition.
      
      Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
      23dd7867
    • Mathias Kresin's avatar
      lantiq: ARV752DPW22: set the usb led trigger via devicetree · 7995a937
      Mathias Kresin authored
      
      Assign the usbdev trigger via devicetree and drop the userspace
      handling of the usb leds
      
      Add the PCI attached usb controller as trigger sources for the usb led
      as well.
      
      Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
      7995a937
    • Adrian Schmutzler's avatar
      octeon: re-enable CONFIG_CAVIUM_CN63XXP1 and EdgeRouter image · cfd1a405
      Adrian Schmutzler authored
      
      The symbol CONFIG_CAVIUM_CN63XXP1 was disabled during the bump to
      4.19 (see Fixes:) with the following reason:
      
        No supported hardware uses CN63XXP1 and it causes "slight decrease
        in performance"
      
      However, it later turned out that the edgerouter image needed it,
      which led to having the device disabled in [1].
      Still, dropping support of a device seems a harsh action for just
      removing a "slight" decrease in performance from the other devices.
      
      Thus, this enables CONFIG_CAVIUM_CN63XXP1 again, and essentially
      restores the situation present until (including) kernel 4.14 on
      this target.
      
      For OpenWrt as a platform, it seems more desirable to support all
      devices (and have them tested regularly via the snapshots) in this
      case.
      Users interested in maximum performance might still just remove
      the symbol again in their local build.
      
      [1] 3824fa26 ("octeon: disable edgerouter image")
      
      Fixes: 6c225452 ("target/octeon: Add Linux 4.19 support")
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      cfd1a405
    • Adrian Schmutzler's avatar
      octeon: refresh config for kernel 5.4 · 5ad49ca0
      Adrian Schmutzler authored
      
      Simple run of 'make kernel_oldconfig'
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      5ad49ca0
    • Daniel Golle's avatar
      tools: add xxd (from vim) · c4dd2441
      Daniel Golle authored
      
      U-Boot requires xxd to create the default environment from an external
      file as done in uboot-mediatek.
      Build xxd (only, not the rest of vim) as part of tools to make sure it
      is present on the buildhost.
      
      Reported-by: default avatarDavid Bauer <mail@david-bauer.net>
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      Unverified
      c4dd2441
    • Daniel Golle's avatar
      selinux-policy: update to version 0.7 · 3ffc30f0
      Daniel Golle authored
      
       a857b45 resolv/locale: eventually this should be more efficient
       11ed281 some more optimization
       764a475 add redundant calls to file.search_conffile_dirs()
       7d4558e fs: treat devtmpfs that same as tmpfs
       81b677e adds irqbalance skeleton
       5506244 irqbalance rules
       cc96cd8 adds usbutil and gtpfdisk skels
       01e2a55 some fsck, gptfdisk, mkfs and usbutil rules
       d6d1e7d usbutil: output to terminal
       da576fa fsck, gptfdisk and usbutil rules
       09b39e9 unbound
       241a029 hotplugcall: allow dac_read_search (is a subset of dac_override)
       af0fe90 adds label for tcsh
       160f79e adds tcpdump
       6d02b96 adds coreutil execfile for busybox alternatives
       ac54884 coreutilexecfile: these are known to require privileges, so exclude
       8cb3b66 adds chrootexecfile
       6d329d3 this saves 9KiB and its a bit more robust
       88e2425 move addpart/delpart/partx to gptfdisk.cil
       261012d ntphotplug: reads ubox data files
       0473ace various
       740e820 work through to genfs_seclabel_symlinks loose ends (Linux 5.10)
       bef21f5 TODO adds a note about how I dont need to upgrade to polver 33 from 31
       cb2e5a3 ubus uses ntpdhotplug fd, and some genfs_seclabel_symlink changes
       07df9b9 luci, rpcd and wpad (mainly genfs_selabel related but not all)
       8d86cab genfs_seclabel loose ends for blockmount, hotplugcall, irqbalance, zram-swap
       b8156cd adds a note about how i forgot to target blockd
       6e82ab8 adds blockd and related
       254ff43 Makefile: exclude blockd from mintesttgt
       4dc6bc2 pppd update related and unbound-odhcp rules
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      Unverified
      3ffc30f0
    • David Bauer's avatar
      mediatek: add missing 5.10 patches · 024c81ad
      David Bauer authored
      
      These patches are required for the Ubiquiti UniFi 6 LR to work. They
      were already present for kernel 5.4 but got lost when adding 5.10
      support.
      
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      024c81ad
    • Daniel Golle's avatar
      mediatek: rework support for BananaPi BPi-R64 · dfa0a38d
      Daniel Golle authored
      
      **What's new**
      
       * Bring support for the Bananapi BPi-R64 to the level desirable for
         a nice hackable routerboard.
       * Use ARM Trusted Firmware A from source. (goodbye binary preloader)
       * Use Das U-Boot from source. (see previous commit)
       * Assemble SD-card image using OpenWrt image-commands.
         (no gen_sd_cruz_foo.sh added, this is not Raspbian)
       * Updated kernel options to support root filesystem.
       * Updated DTS to match OpenWrt LAN ports, known LEDs, buttons, ...
       * Detect root device, handle sysupgrade, config restore, ...
       * Wire up (known) LEDs and buttons in OpenWrt-fashion.
       * Build one set of images from SD-card and eMMC.
       * Hopefully provide a good example of how things can be done right
         from scratch.
      
      **Installation and images**
      
       * Have an empty SD-card at hand
       * Write stuff to the card, as root (card device is /dev/mmcblkX)
         - write header, gpt, bl2, atf, u-boot and recovery kernel:
           `cat *bpi-r64-boot-sdcard.img *bpi-r64-initramfs-recovery.fit > /dev/mmcblkX`
         - rescan partitions:
           `blockdev --rereadpt /dev/mmcblkX`
         - write main system to production partition:
           `cat *bpi-r64-squashfs-sysupgrade.fit > /dev/mmcblkXp5`
      
       * Installation to eMMC works using SD-card bootloader via TFTP
         When running OpenWrt of SD-card, issue this to trigger installation
         to eMMC:
         `fw_setenv bootcmd run emmc_init`
         Be prepared to serve the content of bin/targets/mediatek/mt7622 on
         TFTP server address 192.168.1.254.
      
      **What's missing**
      
       * The red LED is always on, probably a hardware bug.
       * AHCI (probably needs DTS changes)
       * Ship SD-card image ready with every needed for eMMC install.
       * The eMMC has a second, currently unused boot partition. This would
         be ideal to store the WiFi EEPROM and Ethernet MAC address(es).
         @sinovoip ideas?
      
      Thanks to Thomas Hühn @thuehn for providing the hardware!
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      dfa0a38d
    • Daniel Golle's avatar
    • Daniel Golle's avatar
      mt7623n-preloader: remove mt7622-preloader · 0246e484
      Daniel Golle authored
      
      mt7622-preloader has been superseeded by arm-trusted-firmware-mediatek.
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      0246e484
    • Daniel Golle's avatar
      uboot-mediatek: rework support for Bananapi BPi-R64 board · 03948995
      Daniel Golle authored
      Provide U-Boot variants for SD-card as well as eMMC boot, so we can
      generate whole-disk images for the device.
      While at it, rename 'mt7622' to 'mt7622-rfb1' to make it less confusing
      now that more boards are being added.
      
      Thanks to Frank Wunderlich (@frank-w) for making that nice SVG image
      explaining the MMC boot process[1] and for providing the necessary
      binary header blobs.
      
      [1]: https://github.com/frank-w/BPI-R64-ATF
      
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      03948995
    • Daniel Golle's avatar
      firmware-utils/ptgen: set GPT partition attributes and name · 049ac36b
      Daniel Golle authored
      
      Allow setting GPT partition names as used by TF-A bl2 to identify the
      FIP volume to load from eMMC and SD-card.
      While at it, also allow setting 'required' attribute as it should be
      used for volumes which are essential for the system to boot.
      Also properly handle setting the LEGACY_BOOT flag on the partition
      selected as 'active', as this is how it is specified in the spec.
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      049ac36b
    • Daniel Golle's avatar
      mediatek: add alternative UBI NAND layout for Linksys E8450 · 02351861
      Daniel Golle authored
      The vendor flash layout of the Linksys E8450 is problematic as it uses
      the SPI-NAND chip without any wear-leveling while at the same time
      wasting a lot of space for padding.
      Use an all-UBI layout instead, storing the kernel+dtb+squashfs in
      uImage.FIT standard format in UBI volume 'fit', the read-write
      overlay in UBI volume 'rootfs_data' as well as reduntant U-Boot
      environments 'ubootenv' and 'ubootenv2', and a 'recovery'
      kernel+dtb+initramfs uImage.FIT for dual-boot.
      
      ** WARNING **
      THIS PROCEDURE CAN EASILY BRICK YOUR DEVICE PERMANENTLY IF NOT CARRIED
      OUT VERY CAREFULLY AND EXACTLY AS DESCRIBED!
      
      Step 0
      
       * Configure your PC to have the static IPv4 address 192.168.1.254/24
       * Provide bin/targets/mediatek/mt7622 via TFTP
      
      Now continue EITHER with step 1A or 1B, depending on your preference
      (and on having serial console wired up or not).
      
      Step 1A (Using the vendor web interface (or non-UBI OpenWrt install))
      
      In order to update to the new bootloader and UBI-based firmware,
      use the web browser of your choice to open the routers web-interface
      accessible on http://192.168.1.1
      
      
      
       * Navigate to
         'Configuration' -> 'Administration' -> 'Firmware Upgrade'
      
       * Upload the file
          openwrt-mediatek-mt7622-linksys_e8450-ubi-initramfs-recovery.itb
         and proceed with the upgrade.
      
       * Once OpenWrt comes up, use SCP to upload the new bootloader files to
         /tmp on the router:
          *-mt7622-linksys_e8450-ubi-preloader.bin
          *-mt7622-linksys_e8450-ubi-bl31-uboot.fip
      
       * Connect via SSH as you will now need to replace the bootloader in
         the Flash.
      
          ssh root@192.168.1.1
          (the usual warnings)
      
       * First of all, backup all the flash now:
      
          for mtd in /dev/mtdblock*; do
           dd if=$mtd of=/tmp/$(basename $mtd);
          done
      
       * Then use SCP to copy /tmp/mtdblock* from the router and keep them
         safe. You will need them should you ever want to return to the
         factory firmware!
      
       * Now flow the uploaded files:
          mtd -e /dev/mtd0 write /tmp/*linksys_e8450-ubi-preloader.bin /dev/mtd0
          mtd -e /dev/mtd1 write /tmp/*linksys_e8450-ubi-bl31-uboot.fip /dev/mtd1
      
         If and only if both writes look like the completed successfully
         reboot the router. Now continue with step 2.
      
      Step 1B (Using the vendor bootloader serial console)
      
       * Use the serial to backup all /dev/mtd* devices before using the
         stock firmware (you got root shell when connected to serial).
      
       * Then reboot and select 'U-Boot Console' in the boot menu.
      
       * Copy the following lines, one by one:
      
      tftpboot 0x40080000 openwrt-mediatek-mt7622-linksys_e8450-ubi-preloader.bin
      tftpboot 0x40100000 openwrt-mediatek-mt7622-linksys_e8450-ubi-bl31-uboot.fip
      nand erase 0x0 0x180000
      nand write 0x40080000 0x0 0x180000
      reset
      
      Now continue with step 2
      
      Step 2
      
      Once the new bootchain comes up, the loader will initialize UBI and the
      ubootenv volumes. It will then of course fail to find any bootable
      volume and hence resort to load kernel via TFTP from server
      192.168.1.254 while giving itself the address 192.168.1.1
      
      The requested file is called
      openwrt-mediatek-mt7622-linksys_e8450-ubi-initramfs-recovery.itb
      and your TFTP server should provide exactly that :)
      It will be written to UBI as recovery image and booted.
      You can then continue and flash the production OS image, either
      by using sysupgrade in the booted initramfs recovery OS, or by using
      the bootloader menu and TFTP.
      
      That's it. Go ahead and mess around with a bootchain built almost
      completely from source (only DRAM calibration blobs are fitted in bl2,
      and the irreplacable on-chip ROM loader remains, of course).
      And enjoy U-Boot built with many great features out-of-the-box.
      
      You can access the bootloader environment from within OpenWrt using the
      'fw_printenv' and 'fw_setenv' commands. Don't be afraid, once you got
      the new bootchain installed the device should be fairly unbrickable
      (holding reset button before and during power-on resets things and
      allows reflashing recovery image via TFTP)
      
      Special thanks to @dvn0 (Devan Carpenter) for providing amazingly fast
      infra for test-builds, allowing for `make clean ; make -j$(nproc)` in
      less than two minutes :)
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      02351861
    • Daniel Golle's avatar
      uboot-envtools: add defaults for linksys-e8450-ubi · 42f3efec
      Daniel Golle authored
      
      Add U-Boot environment configuration for the Linksys E8450 (UBI) to
      allow access to the bootloader environment from OpenWrt via
      'fw_printenv' and 'fw_setenv'.
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      42f3efec
    • Daniel Golle's avatar
      uboot-mediatek: add support for Linksys E8450 · ed500043
      Daniel Golle authored
      
      Build U-Boot for the Linksys E8450 in order to have support for UBI.
      The loader has a default environment with scripts handling the reset
      button as well as fall-back to recovery firmware. If the loader comes
      up without a valid environment found in UBI, it will automatically
      make sure UBI is formatted and create a new environment and proceed
      to load recovery firmware (either from UBI or via TFTP if recovery is
      corrupted or unavailable).
      
      If the button is held down during power-on, the yellow status LED
      turns on and the bootloader environment is reset to factory defaults.
      If the button is released at this point, the recovery firmware (if
      existing) is loaded from UBI and booted.
      If the button is continously held down even beyond the point that
      the yellow LED turned on, the loader will try to load the recovery
      firmware via TFTP from server 192.168.1.254, write it to UBI and
      boot.
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      ed500043
    • Daniel Golle's avatar
      arm-trusted-firmware-mediatek: add patch for Fidelix SPI NAND · c16958e1
      Daniel Golle authored
      
      The Linksys E8450 aka. Belkin RT3200 comes with a rather fresh brand
      of SPI NAND storage. Add support for it to the nandx driver in
      arm-trusted-firmware-mediatek, so we can boot from that chip.
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      c16958e1
    • John Crispin's avatar
      mediatek: add Linksys E8450 support · aa94e34c
      John Crispin authored
      
      The Linksys E8450, also known as Belkin RT3200, is a dual-band
      IEEE 802.11bgn/ac/ax router based on MediaTek MT7622BV and
      MediaTek MT7915AN chips.
      
      FCC: K7S-03571 and K7S-03572
      
      Hardware highlights:
       - CPU: MediaTek MT7622BV (2x ARM Cortex-A53 @ 1350 MHz max.)
       - RAM: 512MB DDR3
       - Flash: 128MB SPI-NAND (2k+64)
       - Ethernet: MT7531BE switch with 5 1000Base-T ports
                   CPU port connected with 2500Base-X
       - WiFi 2.4 GHz: 802.11bgn 4T4R built-in antennas
                       MT7622VB built-in
       - WiFi   5 GHz: 802.11ac/ax 4T4R built-in antennas
                       MT7915AN chip on-board via PCIe
                       MT7975AN front-end
       - Buttons: Reset and WPS
       - LEDS: 3 user controllable LEDs, 4 wired to switch
       - USB: USB2.0, single port
       - no Bluetooth (supported by SoC, not wired on board)
       - Serial: JST PH 2.0MM 6 Pin connector inside device
                  ----_____________----
                 [  GND RX - TX  -  -  ]
                  ---------------------
       - JTAG:   unpopulated ARM JTAG 20-pin connector (works)
      
      This commit adds support for the device in a way that is compatible
      with the vendor firmware's bootloader and dual-boot flash layout, the
      resulting image can directly be flashed using the vendor firmware.
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      Signed-off-by: default avatarJohn Crispin <john@phrozen.org>
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      aa94e34c
    • Felix Fietkau's avatar
      kernel: add support for enabling fit firmware partition parser via cmdline · 7a6d0748
      Felix Fietkau authored
      
      This is useful for dual-boot setups where the loader sets variables depending
      on the flash boot partition.
      For example the Linksys E8450 sets mtdparts=master for the first partition
      and mtdparts=slave for the second one.
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      7a6d0748
    • Felix Fietkau's avatar
    • Felix Fietkau's avatar
      mediatek: mt7622: add Linux 5.10 support · c46ccb69
      Felix Fietkau authored
      
      Switch mt7622 subtarget to Linux 5.10, it has been tested by many of us
      on several devices for a couple of weeks already.
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      c46ccb69
    • Felix Fietkau's avatar
      11425c9d
    • Felix Fietkau's avatar
    • Felix Fietkau's avatar
      toolchain: add autoconf-lean · 32c664ff
      Felix Fietkau authored
      
      Use it to generate a more comprehensive configure sitefile
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      32c664ff
    • Daniel Golle's avatar
      base-files: add support for restoring config from tmpfs · 84a339f0
      Daniel Golle authored
      
      Instead of only relying in /sysupgrade.tgz being present in rootfs to
      restore configuration, also grab /tmp/sysupgrade.tar which may have
      magically gotten there during preinit...
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      84a339f0
    • Daniel Golle's avatar
      fstools: update to git HEAD · b7d125f4
      Daniel Golle authored
      
       bad1835 fstools: add partname volume driver
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      b7d125f4
    • Daniel Golle's avatar
      image: extend FIT partition parser for use on eMMC/SDcard · 6b0295a4
      Daniel Golle authored
      
      Introduce a magic GUID_PARTITION_LINUX_FIT_GUID to designate a GPT
      partition to be interpreted by the FIT partition parser.
      In that way, sub-partitions for (external-data) uImage.FIT stored
      directly in a partition can be split, similar like we do for devices
      with raw flash storage.
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      6b0295a4
    • David Bauer's avatar
      include: use cpio from staging dir · dc5328e7
      David Bauer authored
      
      As we built our own CPIO now, use this version instead of whatever the
      host may or may not provide.
      
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      dc5328e7
    • David Bauer's avatar
      tools: add cpio · ad54e326
      David Bauer authored
      
      mediatek-mt7622 as well as mediatek-mt7623 require CPIO to create their
      initramfs images. So build CPIO as part of the host toolchain.
      
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      ad54e326
  2. Feb 27, 2021
Loading