Skip to content
Snippets Groups Projects
  1. Feb 01, 2022
    • Marek Behún's avatar
      kernel: add kmod-vrf · 45d541bb
      Marek Behún authored
      
      Add option to compile kmod-vrf, support for Virtual Routing and
      Forwarding (Lite).
      
      This module depends on NET_L3_MASTER_DEV, which is a boolean kernel
      option, so we need to create a configuration option also for this, and
      make kmod-vrf depend on it.
      
      Signed-off-by: default avatarMarek Behún <kabel@kernel.org>
      45d541bb
    • John Audia's avatar
      kernel: bump 5.4 to 5.4.175 · aa8299ee
      John Audia authored
      
      All patches automatically rebased.
      
      Signed-off-by: default avatarJohn Audia <graysky@archlinux.us>
      aa8299ee
    • Hauke Mehrtens's avatar
      toolchain: glibc: Remove patch for ARC700 · d438bdca
      Hauke Mehrtens authored
      
      The ARC700 target was renoved, this patch is not needed any more.
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      d438bdca
    • Hauke Mehrtens's avatar
      kernel: Make kmod-usb-net-lan78xx depend on kmod-of-mdio · 6cab21bd
      Hauke Mehrtens authored
      
      kmod-usb-net-lan78xx depends on kmod-of-mdio when this package is
      activated.
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      6cab21bd
    • Hauke Mehrtens's avatar
      uboot-envtools: Update to version 2022.01 · 8c1a84aa
      Hauke Mehrtens authored
      
      The sizes of the ipk changed on MIPS 24Kc like this:
      13281 uboot-envtools_2021.01-54_mips_24kc.ipk
      13308 uboot-envtools_2022.01-1_mips_24kc.ipk
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      8c1a84aa
    • Hauke Mehrtens's avatar
      libcap: Update to version 2.63 · 39260954
      Hauke Mehrtens authored
      
      The sizes of the ipk changed on MIPS 24Kc like this:
      11248 libcap_2.51-1_mips_24kc.ipk
      14461 libcap_2.63-1_mips_24kc.ipk
      
      18864 libcap-bin_2.51-1_mips_24kc.ipk
      20576 libcap-bin_2.63-1_mips_24kc.ipk
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      39260954
    • Hauke Mehrtens's avatar
      e2fsprogs: Update to version 1.46.5 · 8c2445a0
      Hauke Mehrtens authored
      
      The sizes of the ipk changed on MIPS 24Kc like this:
        8788 badblocks_1.45.6-2_mips_24kc.ipk
        8861 badblocks_1.46.5-1_mips_24kc.ipk
      
        3652 chattr_1.45.6-2_mips_24kc.ipk
        3657 chattr_1.46.5-1_mips_24kc.ipk
      
       58128 debugfs_1.45.6-2_mips_24kc.ipk
       60279 debugfs_1.46.5-1_mips_24kc.ipk
      
        8551 dumpe2fs_1.45.6-2_mips_24kc.ipk
        8567 dumpe2fs_1.46.5-1_mips_24kc.ipk
      
        4797 e2freefrag_1.45.6-2_mips_24kc.ipk
        4791 e2freefrag_1.46.5-1_mips_24kc.ipk
      
      159790 e2fsprogs_1.45.6-2_mips_24kc.ipk
      168212 e2fsprogs_1.46.5-1_mips_24kc.ipk
      
        7083 e4crypt_1.45.6-2_mips_24kc.ipk
        7134 e4crypt_1.46.5-1_mips_24kc.ipk
      
        5749 filefrag_1.45.6-2_mips_24kc.ipk
        6233 filefrag_1.46.5-1_mips_24kc.ipk
      
        4361 libcomerr0_1.45.6-2_mips_24kc.ipk
        4355 libcomerr0_1.46.5-1_mips_24kc.ipk
      
      168040 libext2fs2_1.45.6-2_mips_24kc.ipk
      174209 libext2fs2_1.46.5-1_mips_24kc.ipk
      
        8514 libss2_1.45.6-2_mips_24kc.ipk
        8613 libss2_1.46.5-1_mips_24kc.ipk
      
        3148 lsattr_1.45.6-2_mips_24kc.ipk
        3227 lsattr_1.46.5-1_mips_24kc.ipk
      
       22530 resize2fs_1.45.6-2_mips_24kc.ipk
       22909 resize2fs_1.46.5-1_mips_24kc.ipk
      
       33315 tune2fs_1.45.6-2_mips_24kc.ipk
       34511 tune2fs_1.46.5-1_mips_24kc.ipk
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      8c2445a0
    • Hauke Mehrtens's avatar
      util-linux: Update to version 2.37.3 · 18c6b996
      Hauke Mehrtens authored
      
      This release fixes two security mount(8) and umount(8) issues:
      
      CVE-2021-3996
          Improper UID check in libmount allows an unprivileged user to unmount FUSE
          filesystems of users with similar UID.
      
      CVE-2021-3995
          This issue is related to parsing the /proc/self/mountinfo file allows an
          unprivileged user to unmount other user's filesystems that are either
          world-writable themselves or mounted in a world-writable directory.
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      18c6b996
    • Hauke Mehrtens's avatar
      util-linux: Do not build raw any more. · 693d7c12
      Hauke Mehrtens authored
      
      The man page of the raw tool does not build because the disk-utils/raw.8
      file is missing. It looks like it should be in the tar.xz file we
      download, but it is missing.
      
      We do not package the raw tool, so this is not a problem.
      
      This fixes the following build error:
      No rule to make target 'disk-utils/raw.8', needed by 'all-am'.  Stop.
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      693d7c12
    • Hauke Mehrtens's avatar
      strace: Update to version 5.16 · 64866ba4
      Hauke Mehrtens authored
      
      The sizes of the ipk changed on MIPS 24Kc like this:
      289764 strace_5.14-1_mips_24kc.ipk
      310899 strace_5.16-1_mips_24kc.ipk
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      64866ba4
    • Hauke Mehrtens's avatar
      ethtool: Update to version 5.16 · cec4614d
      Hauke Mehrtens authored
      
      795f420 cmis: Rename CMIS parsing functions
      369b43a cmis: Initialize CMIS memory map
      da16288 cmis: Use memory map during parsing
      6acaeb9 cmis: Consolidate code between IOCTL and netlink paths
      d7d15f7 sff-8636: Rename SFF-8636 parsing functions
      4230597 sff-8636: Initialize SFF-8636 memory map
      b74c040 sff-8636: Use memory map during parsing
      799572f sff-8636: Consolidate code between IOCTL and netlink paths
      9fdf45c sff-8079: Split SFF-8079 parsing function
      2ccda25 netlink: eeprom: Export a function to request an EEPROM page
      86792db cmis: Request specific pages for parsing in netlink path
      6e2b32a sff-8636: Request specific pages for parsing in netlink path
      c2170d4 sff-8079: Request specific pages for parsing in netlink path
      9538f38 netlink: eeprom: Defer page requests to individual parsers
      664586e Merge branch 'review/next/module-mem-map' into master
      50fdaec ethtool: Set mask correctly for dumping advertised FEC modes
      c5e7133 cable-test: Fix premature process termination
      73091cd sff-8636: Use an SFF-8636 specific define for maximum number of channels
      837c166 sff-common: Move OFFSET_TO_U16_PTR() to common header file
      8658852 cmis: Initialize Page 02h in memory map
      27b42a9 cmis: Initialize Banked Page 11h in memory map
      340d88e cmis: Parse and print diagnostic information
      eae6a99 cmis: Print Module State and Fault Cause
      82012f2 cmis: Print Module-Level Controls
      d7b1007 sff-8636: Print Power set and Power override bits
      429f2fc Merge branch 'review/cmis-diag' into master
      32457a9 monitor: do not show duplicate options in help text
      c01963e Release version 5.16.
      
      The sizes of the ipk changed on MIPS 24Kc like this:
      34317 ethtool_5.15-1_mips_24kc.ipk
      34311 ethtool_5.16-1_mips_24kc.ipk
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      cec4614d
    • Hauke Mehrtens's avatar
      mbedtls: Update to version 2.16.12 · 57f38e2c
      Hauke Mehrtens authored
      
      This fixes the following security problems:
      * Zeroize several intermediate variables used to calculate the expected
        value when verifying a MAC or AEAD tag. This hardens the library in
        case the value leaks through a memory disclosure vulnerability. For
        example, a memory disclosure vulnerability could have allowed a
        man-in-the-middle to inject fake ciphertext into a DTLS connection.
      * Fix a double-free that happened after mbedtls_ssl_set_session() or
        mbedtls_ssl_get_session() failed with MBEDTLS_ERR_SSL_ALLOC_FAILED
        (out of memory). After that, calling mbedtls_ssl_session_free()
        and mbedtls_ssl_free() would cause an internal session buffer to
        be free()'d twice. CVE-2021-44732
      
      The sizes of the ipk changed on MIPS 24Kc like this:
      182454 libmbedtls12_2.16.11-2_mips_24kc.ipk
      182742 libmbedtls12_2.16.12-1_mips_24kc.ipk
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      57f38e2c
    • Hauke Mehrtens's avatar
      gdb: Update gdb to version 11.2 · 5b96048d
      Hauke Mehrtens authored
      
      This is a minor corrective release over GDB 11.1, fixing the following issues:
      * PR sim/28302 (gdb fails to build with glibc 2.34)
      * PR build/28318 (std::thread support configure check does not use CXX_DIALECT)
      * PR gdb/28405 (arm-none-eabi: internal-error: ptid_t remote_target::select_thread_for_ambiguous_stop_reply(const target_waitstatus*): Assertion `first_resumed_thread != nullptr' failed)
      * PR tui/28483 ([gdb/tui] breakpoint creation not displayed)
      * PR build/28555 (uclibc compile failure since commit 4655f8509fd44e6efabefa373650d9982ff37fd6)
      * PR rust/28637 (Rust characters will be encoded using DW_ATE_UTF)
      * PR gdb/28758 (GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section)
      * PR gdb/28785 (Support SHT_RELR (.relr.dyn) section)
      
      The sizes of the ipk changed on mips 24Kc like this:
      2285775 gdb_11.1-3_mips_24kc.ipk
      2287441 gdb_11.2-4_mips_24kc.ipk
      191828 gdbserver_11.1-3_mips_24kc.ipk
      191811 gdbserver_11.2-4_mips_24kc.ipk
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      5b96048d
    • Hauke Mehrtens's avatar
      toolchain: gdb: Update to version 11.2 · 782a4e00
      Hauke Mehrtens authored
      
      This is a minor corrective release over GDB 11.1, fixing the following issues:
      * PR sim/28302 (gdb fails to build with glibc 2.34)
      * PR build/28318 (std::thread support configure check does not use CXX_DIALECT)
      * PR gdb/28405 (arm-none-eabi: internal-error: ptid_t remote_target::select_thread_for_ambiguous_stop_reply(const target_waitstatus*): Assertion `first_resumed_thread != nullptr' failed)
      * PR tui/28483 ([gdb/tui] breakpoint creation not displayed)
      * PR build/28555 (uclibc compile failure since commit 4655f8509fd44e6efabefa373650d9982ff37fd6)
      * PR rust/28637 (Rust characters will be encoded using DW_ATE_UTF)
      * PR gdb/28758 (GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section)
      * PR gdb/28785 (Support SHT_RELR (.relr.dyn) section)
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      782a4e00
    • Stijn Tintel's avatar
      Revert "ramips: add support for ipTIME AX2004M" · cd6a6e30
      Stijn Tintel authored
      
      Commit f4a79148 ("ramips: add support for ipTIME AX2004M") seems to
      leak KERNEL_LOADADDR 0x82000000 to other devices, causing the to no
      longer boot. The leak is visible in u-boot:
      
         Using 'config-1' configuration
         Trying 'kernel-1' kernel subimage
           Description:  MIPS OpenWrt Linux-5.10.92
           Type:         Kernel Image
           Compression:  lzma compressed
           Data Start:   0x840000e4
           Data Size:    10750165 Bytes = 10.3 MiB
           Architecture: MIPS
           OS:           Linux
           Load Address: 0x82000000
           Entry Point:  0x82000000
      
      Normally, it should look like this:
      
         Using 'config-1' configuration
         Trying 'kernel-1' kernel subimage
           Description:  MIPS OpenWrt Linux-5.10.92
           Type:         Kernel Image
           Compression:  lzma compressed
           Data Start:   0xbfca00e4
           Data Size:    2652547 Bytes = 2.5 MiB
           Architecture: MIPS
           OS:           Linux
           Load Address: 0x80001000
           Entry Point:  0x80001000
      
      Revert the commit to avoid more people soft-bricking their devices.
      
      This reverts commit f4a79148.
      
      Signed-off-by: default avatarStijn Tintel <stijn@linux-ipv6.be>
      cd6a6e30
    • Rafał Miłecki's avatar
      da8b720b
    • Sungbo Eo's avatar
      ath79: convert remaining mtd-mac-address-increment · ad5bf160
      Sungbo Eo authored
      
      Commit d284e6ef ("treewide: convert mtd-mac-address-increment* to
      generic implementation") renamed "mtd-mac-address-increment" property
      to "mac-address-increment". Convert remaining usages that have been
      added after that.
      
      Fixes: af8a059b ("ath79: add support for GL.iNet GL-XE300")
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      ad5bf160
    • Sungbo Eo's avatar
      ipq806x: convert remaining mtd-mac-address-increment · f16f4190
      Sungbo Eo authored
      
      Commit d284e6ef ("treewide: convert mtd-mac-address-increment* to
      generic implementation") renamed "mtd-mac-address-increment" property
      to "mac-address-increment". Convert remaining usages that have been
      added after that.
      
      Fixes: f44e9334 ("ipq806x: provide WiFI mac-addresses from dts")
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      f16f4190
    • Sungbo Eo's avatar
      ath79: improve support for Dongwon T&I DW02-412H · c7a55998
      Sungbo Eo authored
      
      * Move &nand node to DTSI
      * Utilize nvmem for fetching caldata
      * Rename build recipe, clean before build
      * Simplify KERNEL definition
      
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      c7a55998
  2. Jan 31, 2022
  3. Jan 30, 2022
    • Rafał Miłecki's avatar
    • Rafał Miłecki's avatar
      bcm4908: fixup pinctrl patches for kernel 5.4 · a11e9fd1
      Rafał Miłecki authored
      
      Fixes: b0145891 ("bcm4908: backport BCM4908 pinctrl driver")
      Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
      a11e9fd1
    • Rafał Miłecki's avatar
      b0145891
    • Hans Dedecker's avatar
      glibc: update to 2.34 HEAD · 3572c5a5
      Hans Dedecker authored
      
      72123e1b56 NEWS: Add a bug entry for BZ #28755
      08beb3a3f4 x86: Fix __wcsncmp_evex in strcmp-evex.S [BZ# 28755]
      b50d5b746c x86: Fix __wcsncmp_avx2 in strcmp-avx2.S [BZ# 28755]
      1b9cd6a721 NEWS: add bug entry for BZ #28769 and BZ #28770
      3438bbca90 Linux: Detect user namespace support in io/tst-getcwd-smallbuff
      d084965adc realpath: Avoid overwriting preexisting error (CVE-2021-3998)
      472e799a5f getcwd: Set errno to ERANGE for size == 1 (CVE-2021-3999)
      8c8a71c85f tst-realpath-toolong: Fix hurd build
      f7a79879c0 realpath: Set errno to ENAMETOOLONG for result larger than PATH_MAX [BZ #28770]
      73c362840c stdlib: Fix formatting of tests list in Makefile
      269eb9d930 stdlib: Sort tests in Makefile
      062ff490c1 support: Add helpers to create paths longer than PATH_MAX
      82b1acd9de powerpc: Fix unrecognized instruction errors with recent binutils
      1d401d1fcc x86: use default cache size if it cannot be determined [BZ #28784]
      6890b8a3ae CVE-2022-23218: Buffer overflow in sunrpc svcunix_create (bug 28768)
      1081f1d3dd sunrpc: Test case for clnt_create "unix" buffer overflow (bug 22542)
      7b5d433fd0 CVE-2022-23219: Buffer overflow in sunrpc clnt_create for "unix" (bug 22542)
      5575daae50 socket: Add the __sockaddr_un_set function
      03e6e02e6a Disable debuginfod in printer tests [BZ #28757]
      705f1e4606 Update syscall lists for Linux 5.16
      2fe2af88ab i386: Remove broken CAN_USE_REGISTER_ASM_EBP (bug 28771)
      73558ffe84 Update syscall lists for Linux 5.15
      e64235ff42 powerpc: Fix unrecognized instruction errors with recent GCC
      
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      3572c5a5
    • Daniel Golle's avatar
      ubox: only start log to file when filesystem has been mounted · 88baf6ce
      Daniel Golle authored
      
      If log_file is on an filesystem mounted using /etc/config/fstab we have
      to wait for that to happen before starting the logread process.
      Inhibit the start of the file-writer process and use a mount trigger to
      fire it up once the filesystem actually becomes available.
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      Unverified
      88baf6ce
    • Daniel Golle's avatar
      procd: support generic mount triggers and clean up · 6d76ec38
      Daniel Golle authored
      
      Allow init scripts to trigger free-form actions by exposing
      procd_add_action_mount_trigger.
      Clean up mount trigger wrappers while at it to reduce code duplication.
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      Unverified
      6d76ec38
  4. Jan 29, 2022
    • Tamas Balogh's avatar
      ath79: ASUS RP-AC66 use flash till the end · b21bc347
      Tamas Balogh authored
      
      This makes available the additional space,
      which was occupied by OEM's jffs2 partition before:
      "0x000000f80000-0x000001000000 : jffs2"
      
      Reverting to the OEM firmware will also recover
      this partition, i.e. it is not needed and can be
      used by OpenWrt.
      
      Signed-off-by: default avatarTamas Balogh <tamasbalogh@hotmail.com>
      b21bc347
    • Davide Fioravanti's avatar
      ramips: add support for Wavlink WL-WN535K1 · 8fde8209
      Davide Fioravanti authored
      The Wavlink WL-WN535K1 is a "mesh" router with 2 gigabit ethernet ports
      and one fast ethernet port. Mine is branded as Talius TAL-WMESH1.
      It can be found in kits of 2 or 3 (WL-WN535K2 or WL-WN535K3).
      The motherboard is labelled as WS-WN535G3-B-V1.2 so this image could
      potentially work for WL-WN535G3R and WS-WN535G3R with little to none
      effort, but it's untested.
      
      Hardware
      --------
      SoC:   Mediatek MT7620A
      RAM:   64MB
      FLASH: 8MB NOR (GigaDevice GD25Q64CS)
      ETH:
        - 2x 10/100/1000 Mbps Ethernet (RTL8211F)
        - 1x 10/100 Mbps Ethernet (integrated in SOC)
      WIFI:
        - 2.4GHz: 1x (integrated in SOC) (2x2:2)
        - 5GHz:   1x MT7612E (2x2:2)
        - 4 internal antennas
      BTN:
        - 1x Reset button
        - 1x Touchlink button (set to WPS)
        - 1x ON/OFF switch
      LEDS:
        - 1x Red led (system status)
        - 1x Blue led (system status)
        - 3x Green leds (ethernet port status/act)
      UART:
        - 57600-8-N-1
      
      Everything works correctly.
      
      Currently there is no firmware update available. Because of this, in
      order to restore the OEM firmware, you must firstly dump the OEM
      firmware from your router before you flash the OpenWrt image.
      
      Backup the OEM Firmware
      -----------------------
      The following steps are to be intended for users having little to none
      experience in linux. Obviously there are many ways to backup the OEM
      firmware, but probably this is the easiest way for this router.
      Procedure tested on WN535K1_V1510_200916 firmware version.
      
      1) Go to http://192.168.10.1/webcmd.shtml
      
      2) Type the following line in the "Command" input box and then press enter:
      	mkdir /etc_ro/lighttpd/www/dev; dd if=/dev/mtd0ro of=/etc_ro/lighttpd/www/dev/mtd0ro
      
      3) After few seconds in the textarea should appear this output:
      		16384+0 records in
      	16384+0 records out
      
         If your output doesn't match mine, stop reading and ask for
         help in the forum.
      
      4) Open in another tab http://192.168.10.1/dev/mtd0ro to download the
         content of the whole NOR. If the file size is 0 byte, stop reading
         and ask for help in the forum.
      
      5) Come back to the http://192.168.10.1/webcmd.shtml webpage and type:
      	rm /etc_ro/lighttpd/www/dev/mtd0ro;for i in 1 2 3 4 5; do dd if=/dev/mtd${i}ro of=/etc_ro/lighttpd/www/dev/mtd${i}ro; done
      
      6) After few seconds, in the textarea should appear this output:
      		384+0 records in
      	384+0 records out
      	128+0 records in
      	128+0 records out
      	128+0 records in
      	128+0 records out
      	14720+0 records in
      	14720+0 records out
      	1024+0 records in
      	1024+0 records out
      
         If your output doesn't match mine, stop reading and ask for
         help in the forum.
      
      7) Open the following links to download the partitions of the OEM FW:
      	http://192.168.10.1/dev/mtd1ro
      	http://192.168.10.1/dev/mtd2ro
      	http://192.168.10.1/dev/mtd3ro
      	http://192.168.10.1/dev/mtd4ro
      	http://192.168.10.1/dev/mtd5ro
      
         If one (or more) of these files are 0 byte, stop reading and ask
         for help in the forum.
      
      8) Store these downloaded files in a safe place.
      
      9) Reboot your router to remove any temporary file in ram.
      
      Installation
      ------------
      Flash the initramfs image in the OEM firmware interface
      (http://192.168.10.1/update_mesh.shtml).
      When Openwrt boots, flash the sysupgrade image otherwise you won't be
      able to keep configuration between reboots.
      
      Restore OEM Firmware
      --------------------
      Flash the "mtd4ro" file you previously backed-up directly from LUCI.
      Warning: Remember to not keep settings!
      Warning2: Remember to force the flash.
      
      Notes
      -----
      1) Router mac addresses:
         LAN		XX:XX:XX:XX:XX:E2 (factory @ 0x28)
         WAN		XX:XX:XX:XX:XX:E3 (factory @ 0x2e)
         WIFI 2G	XX:XX:XX:XX:XX:E4 (factory @ 0x04)
         WIFI 5G	XX:XX:XX:XX:XX:E5 (factory @ 0x8004)
      
         LABEL	XX:XX:XX:XX:XX:E5
      
      2) The OEM firmware upgrade page accepts only files containing the
         string "WN535K1" in the filename.
      
      3) Additional notes 1,2,3 in the WS-WN583A6 commit are still valid
      (https://github.com/openwrt/openwrt/commit/92780d80ab6f5f03fac2407c06eb267dd83914a1
      
      )
      
      Signed-off-by: default avatarDavide Fioravanti <pantanastyle@gmail.com>
      [remove trailing whitespace]
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      8fde8209
    • Paul Spooren's avatar
      CI: add formal checks · 3dc38823
      Paul Spooren authored
      
      The formal checks verify the following things:
      - Commits does not contain any merge commits
      - Signed by a real name
      - Commit titles starts with an `<area>:`
      - Author name matches signed of name
      - Commit message is not empty
      
      Signed-off-by: default avatarPaul Spooren <mail@aparcar.org>
      3dc38823
    • Sungbo Eo's avatar
      ramips: add support for ipTIME AX2004M · f4a79148
      Sungbo Eo authored
      
      ipTIME AX2004M is an 802.11ax (Wi-Fi 6) router, based on MediaTek
      MT7621A.
      
      Specification:
      * SoC: MT7621A
      * RAM: 256 MiB
      * Flash: NAND 128 MiB
      * Wi-Fi:
        * MT7915D: 2.4/5 GHz (DBDC)
      * Ethernet: 5x 1GbE
        * Switch: SoC built-in
      * USB: 1x 3.0
      * UART: J4 (115200 baud)
        * Pinout: [3V3] (TXD) (RXD) (GND)
      
      MAC address:
      
      | interface |        MAC        |     source     | comment
      |-----------|-------------------|----------------|---------
      |       LAN | 58:XX:XX:00:XX:9B |                | [1]
      |       WAN | 58:XX:XX:00:XX:99 |                |
      |   WLAN 2G | 58:XX:XX:00:XX:98 | factory 0x4    |
      |   WLAN 5G | 5A:XX:XX:40:XX:98 |                |
      |           |                   |                |
      |           | 58:XX:XX:00:XX:98 | config ethaddr |
      
      [1] Used in this patch as WLAN 5G MAC address with the local bit set
      
      Load address:
      * stock
        * 0x80010000: FIT image
        * 0x81001000: kernel image -> entry
      * OpenWrt
        * 0x80010000: FIT image
        * 0x82000000: uncompressed kernel+relocate image
        * 0x80001000: relocated kernel image -> entry
      
      Installation via **recovery** mode:
      1.  Press reset button, power up the device, wait >10s for CPU LED
          to stop blinking.
      2.  Upload recovery image through the recovery web page at 192.168.0.1.
      
      Revert to stock firmware:
      1.  Install stock image via recovery mode.
      
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      f4a79148
    • Sungbo Eo's avatar
      ramips: make the relocation address configurable · 03aa57d7
      Sungbo Eo authored
      
      If no argument is given to relocate-kernel, KERNEL_LOADADDR will be used
      just as before.
      
      This is a preparation for ramips support of ipTIME AX2004M.
      
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      03aa57d7
    • Sungbo Eo's avatar
      mvebu: add support for ipTIME NAS1dual · 6ff970bb
      Sungbo Eo authored
      
      ipTIME NAS1dual is a 1-bay NAS, based on Marvell Armada 385 SoC.
      
      Specifications:
      * SoC: 88F6820
      * RAM: 2 GiB
      * Flash: SPI NOR 64 MiB
      * SATA: 1x 3Gb/s
      * Ethernet: 2x 1GbE
      * USB: 1x 3.0
      * Fan: 2 speed level
      * UART: J11 (115200 8N1)
        * Pinout: [3V3] (TXD) (RXD) (GND)
      
      Installation via web interface:
      1.  Flash **initramfs** image through the stock web interface.
      2.  Boot into OpenWrt and perform sysupgrade with sysupgrade image.
      
      Revert to stock firmware:
      1.  Perform sysupgrade with stock image.
      
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      6ff970bb
    • Sungbo Eo's avatar
      mvebu: remove duplicate CONFIG_POWER_RESET entries · f4fd2a13
      Sungbo Eo authored
      
      The option is already enabled in the target config since 9149ed4f
      ("mvebu: cortexa9: Add support for Ctera C200-V2").
      
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      f4fd2a13
    • Sungbo Eo's avatar
      kernel: add disabled POWER_RESET_QNAP · 7a4a3306
      Sungbo Eo authored
      
      Move the disabled symbol from target configs to generic configs.
      
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      7a4a3306
    • Sungbo Eo's avatar
      kirkwood: add support for ipTIME NAS1 · 957f9ade
      Sungbo Eo authored
      
      ipTIME NAS1 is a 1-bay NAS, based on Marvell Kirkwood SoC.
      
      Specifications:
      * SoC: 88F6281
      * RAM: 256 MiB
      * Flash: SPI NOR 16 MiB
      * SATA: 1x 3Gb/s
      * Ethernet: 1x 1GbE
      * USB: 1x 2.0
      * Fan: 2 speed level
      * UART: JP1 (115200 8N1)
        * Pinout: [3V3] (TXD) (RXD) (GND)
      
      Notes:
      * There are several variants of the model name: "NAS-I", "NASI", "NAS1".
        Here "NAS1" is adopted for consistent naming scheme.
      * The reset button is also a USB copy button in stock FW,
        but in this patch the former is the only default behavior.
      
      Installation via web interface:
      1.  Flash sysupgrade image through the stock web interface.
      
      Revert to stock firmware:
      1.  Perform sysupgrade with stock image.
      
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      957f9ade
    • Sungbo Eo's avatar
      kirkwood: rework 02_network · 0c568d04
      Sungbo Eo authored
      
      Just like other targets do, introduce two setup functions for interfaces
      and MAC addresses.
      
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      0c568d04
Loading