Skip to content
Snippets Groups Projects
This project is mirrored from https://git.openwrt.org/openwrt/openwrt.git. Pull mirroring updated .
  1. Apr 17, 2025
  2. Apr 16, 2025
  3. Apr 15, 2025
  4. Apr 14, 2025
    • Chukun Pan's avatar
      kernel: add missing submenu for diag modules · e086bb95
      Chukun Pan authored
      
      The submenu of two diag modules is missing, fix it.
      
      Fixes: 65de1e0f ("kernel: add missing symbols for lxc")
      Signed-off-by: default avatarChukun Pan <amadeus@jmu.edu.cn>
      Link: https://github.com/openwrt/openwrt/pull/18480
      
      
      Signed-off-by: default avatarRobert Marko <robimarko@gmail.com>
      e086bb95
    • Christian Marangi's avatar
      armsr: drop GC sections ARMv7 patch · bed637d9
      Christian Marangi authored
      Drop GC sections ARMv7 patch as the new upstream version already handle
      it by disabling the config in the specific EFI boot stub driver.
      
      Link: https://github.com/openwrt/openwrt/pull/18464
      
      
      Signed-off-by: default avatarChristian Marangi <ansuelsmth@gmail.com>
      bed637d9
    • Christian Marangi's avatar
      generic: replace ARM gc sections patch with upstream version · 7843f21c
      Christian Marangi authored
      Replace ARM gc sections patch with upstream version. It seems this
      feature is finally supported upstream with some minor difference.
      
      In theory the upstream version should cut even more stuff, this really
      needs to be evaluated if it's OK also to handle regression with the
      kernel 6.12 update.
      
      Link: https://github.com/openwrt/openwrt/pull/18464
      
      
      Signed-off-by: default avatarChristian Marangi <ansuelsmth@gmail.com>
      7843f21c
    • Christian Marangi's avatar
      generic: replace SFP ignore TX FAULT with upstream version · ff802ccc
      Christian Marangi authored
      Replace SFP ignore TX FAULT with upstream version by backporting the 2
      related upstream patch. Refresh SFP affected patch.
      
      Link: https://github.com/openwrt/openwrt/pull/18464
      
      
      Signed-off-by: default avatarChristian Marangi <ansuelsmth@gmail.com>
      ff802ccc
    • Christian Marangi's avatar
      generic: move patch from pending to backport · f63d64ed
      Christian Marangi authored
      Move all patch that got merged upstream from pending to backport and add
      related tag. This is to make it easier to update to kernel 6.12.
      
      Patch 680 required some special care as the upstream version had to be
      split in a series of 6 patch.
      
      Referesh all affected patch.
      
      Link: https://github.com/openwrt/openwrt/pull/18464
      
      
      Signed-off-by: default avatarChristian Marangi <ansuelsmth@gmail.com>
      f63d64ed
    • Rudy Andram's avatar
      dnsmasq: bump release to 2.91 · b0d43be2
      Rudy Andram authored
      updated 200-ubus_dns.patch
      all remaining patches not required
      
      Changelog for version 2.91 - https://thekelleys.org.uk/dnsmasq/CHANGELOG
      
      
      
      version 2.91
      	Fix spurious "resource limit exceeded messages". Thanks to
      	Dominik Derigs for the bug report.
      
      	Fix out-of-bounds heap read in order_qsort().
      	We only need to order two server records on the ->serial field.
      	Literal address records are smaller and don't have
      	this field and don't need to be ordered on it.
      	To actually provoke this bug seems to need the same server-literal
      	to be repeated twice, e.g., --address=/a/1.1.1.1 --address-/a/1.1.1.1
      	which is clearly rare in the wild, but if it did exist it could
      	provoke a SIGSEGV. Thanks to Daniel Rhea for fuzzing this one.
      
      	Fix buffer overflow when configured lease-change script name
      	is too long.
      	Thanks to Daniel Rhea for finding this one.
      
      	Improve behaviour in the face of non-responsive upstream TCP DNS
      	servers. Without shorter timeouts, clients are blocked for too long
      	and fail with their own timeouts.
      
      	Set --fast-dns-retries by default when doing DNSSEC. A single
      	downstream query can trigger many upstream queries. On an
      	unreliable network, there may not be enough downstream retries
      	to ensure that all these queries complete.
      
      	Improve behaviour in the face of truncated answers to queries
      	for DNSSEC records. Getting these answers by TCP doesn't now
      	involve a faked truncated answer to the downstream client to
      	force it to move to TCP. This improves performance and robustness
      	in the face of broken clients which can't fall back to TCP.
      
      	No longer remove data from truncated upstream answers. If an
      	upstream replies with a truncated answer, but the answer has some
      	RRs included, return those RRs, rather than returning and
      	empty answer.
      
      	Fix handling of EDNS0 UDP packet sizes.
      	When talking upstream we always add a pseudo header, and set the
              UDP packet size to --edns-packet-max. Answering queries from
      	downstream, we get the answer (either from upstream or local
      	data) If local data won't fit the advertised size (or 512 if
      	there's not an EDNS0 header) return truncated. If upstream
              returns truncated, do likewise. If upstream is OK, but the
      	answer is too big for downstream, truncate the answer.
      
      	Modify the behaviour of --synth-domain for IPv6.
      	When deriving a domain name from an IPv6 address, an address
      	such as 1234:: would become 1234--.example.com, which is
      	not legal in IDNA2008. Stop using the :: compression method,
      	so 1234:: becomes
      	1234-0000-0000-0000-0000-0000-0000-0000.example.com
      
      	Fix broken dhcp-relay on *BSD. Thanks to Harold for finding
      	this problem.
      
      	Add --dhcp-option-pxe config. This acts almost exactly like
      	--dhcp-option except that the defined option is only sent when
      	replying to PXE clients. More importantly, these options are sent
      	in reply PXE clients when dnsmasq in acting in PXE proxy mode. In
      	PXE proxy mode, the set of options sent is defined by the PXE standard
      	and the normal set of options is not sent. This config allows arbitrary
      	options in PXE-proxy replies. A typical use-case is to send option
      	175 to iPXE. Thanks to Jason Berry for finding the requirement for
      	this.
      
      	Support PXE proxy-DHCP and DHCP-relay at the same time.
              When using PXE proxy-DHCP, dnsmasq supplies PXE information to
              the client, which also talks to another "normal" DHCP server
              for address allocation and similar. The normal DHCP server may
              be on the local network, but it may also be remote, and accessed via
              a DHCP relay. This change allows dnsmasq to act as both a
              PXE proxy-DHCP server AND a DHCP relay for the same network.
      
      	Fix erroneous "DNSSEC validated" state with non-DNSSEC
      	upstream servers.  Thanks to Dominik Derigs for the bug report.
      
      	Handle queries with EDNS client subnet fields better. If dnsmasq
      	is configured to add an EDNS client subnet to a query, it is careful
      	to suppress use of the cache, since a cached answer may not be valid
      	for a query with a different client subnet. Extend this behaviour
      	to queries which arrive a dnsmasq already carrying an EDNS client
      	subnet.
      
      	Handle DS queries to auth zones. When dnsmasq is configured to
      	act as an authoritative server and has an authoritative zone
      	configured, and receives a query for that zone _as_forwarder_
      	it answers the query directly rather than forwarding it. This
      	doesn't affect the answer, but it saves dnsmasq forwarding the
      	query to the recursor upstream, which then bounces it back to dnsmasq
      	in auth mode. The exception should be when the query is for the root
      	of zone, for a DS RR. The answer to that has to come from the parent,
      	via the recursor, and will typically be a proof-of-non-existence
      	since dnsmasq doesn't support signed zones. This patch suppresses
      	local answers and forces forwarding to the upstream recursor for such
      	queries. It stops breakage when a DNSSEC validating client makes
      	queries to dnsmasq acting as forwarder for a zone for which it is
      	authoritative.
      
      	Implement "DNS-0x20 encoding", for extra protection against
      	reply-spoof attacks. Since DNS queries are case-insensitive,
      	it's possible to randomly flip the case of letters in a query
      	and still get the correct answer back.
      	This adds an extra dimension for a cache-poisoning attacker
      	to guess when sending replies in-the-blind since it's expected
      	that the legitimate answer will have the same  pattern of upper
      	and lower case as the query, so any replies which don't can be
      	ignored as malicious. The amount of extra entropy clearly depends
      	on the number of a-z and A-Z characters in the query, and this
      	implementation puts a hard limit of 32 bits to make resource
      	allocation easy. This about doubles entropy over the standard
      	random ID and random port combination. This technique can interact
      	badly with rare broken DNS servers which don't preserve the case
      	of the query in their reply. The first time a reply is returned
      	which matches the query in all respects except case, a warning
      	will be logged. In this release, 0x020-encoding is default-off
      	and must be explicitly enabled with --do-0x20-encoding. In future
      	releases it may default on. You can avoid a future release
      	changing the behaviour of an installation with --no-x20-encode.
      
      	Fix a long-standing problem when two queries which are identical
      	in every repect _except_ case, get combined by dnsmasq. If
      	dnsmasq gets eg, two queries for example.com and Example.com
      	in quick succession it will get the answer for example.com from
      	upstream and send that answer to both requestors. This means that
      	the query for Example.com will get an answer for example.com, and
      	in the modern DNS, that answer may not be accepted.
      
      Signed-off-by: default avatarRudy Andram <rmandrad@gmail.com>
      Link: https://github.com/openwrt/openwrt/pull/18357
      
      
      Signed-off-by: default avatarRobert Marko <robimarko@gmail.com>
      b0d43be2
    • Hannu Nyman's avatar
      ca-certificates: Update to 20241223 · c7957221
      Hannu Nyman authored
      
      Update ca-certificates to version 20241223
      
        * Update Mozilla certificate authority bundle to version 2.70.
          The following certificate authorities were added (+):
          + Telekom Security TLS ECC Root 2020
          + Telekom Security TLS RSA Root 2023
          + FIRMAPROFESIONAL CA ROOT-A WEB
          + TWCA CYBER Root CA
          + SecureSign Root CA12
          + SecureSign Root CA14
          + SecureSign Root CA15
          The following certificate authorities were removed (-):
          - Security Communication Root CA (closes: #1063093)
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      Link: https://github.com/openwrt/openwrt/pull/18468
      
      
      Signed-off-by: default avatarRobert Marko <robimarko@gmail.com>
      c7957221
  5. Apr 13, 2025
    • INAGAKI Hiroshi's avatar
      ath79: fix initramfs execution for NEC Aterm devices · 10a674d2
      INAGAKI Hiroshi authored
      
      Fix execution of initramfs image on NEC Aterm devices by increasing
      available memory for lzma extraction of lzma-loader.
      
      The size of initramfs image of v24.10.0 exceeds available memory
      (LZMA_TEXT_START - LOADADDR) and loader data running at LZMA_TEXT_START
      will be overwritten by extracted data. As a result, LZMA extraction will
      be broken and stuck (or unexpectedly reset).
      Fix that issue by setting higher LZMA_TEXT_START address to increase
      available memory for LZMA extraction by lzma-loader.
      
      log (v24.10.0):
      
      boot> tftpd
      tftpd start 192.168.0.1
      boot> start tftp load openwrt-24.10.0-ath79-generic-ne
      end tftp load length = 6569768
      start memory load ...
      memory load complete
        begin  : 0x80040000
        length : 6567044
        startup: 0x80040000
      
      boot> boot
      begin  : 0x80040000
      length : 6567044
      startup: 0x80040000
      option: 0x0
      NEC Aterm series (QCA9558)
      
      Calibrating SGMII
      SGMII cal value = 0xe
      
      Configuring SGMII force mode
        SGMII_CONFIG : 0x000000a2
        MR_AN_CONTROL: 0x00008140
        MR_AN_CONTROL: 0x00000140
      
      OpenWrt kernel loader for AR7XXX/AR9XXX
      Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
      Decompressing kernel... [:<syntax:value>]');retu  <--- (stuck)
      IPL:SOFT-RESET                    <--- (reset by WDT)
      memory test ... ok
      flinstall OK
      
      boot version: 1.0.0
      ...
      
      Signed-off-by: default avatarINAGAKI Hiroshi <musashino.open@gmail.com>
      Link: https://github.com/openwrt/openwrt/pull/18476
      
      
      Signed-off-by: default avatarRobert Marko <robimarko@gmail.com>
      10a674d2
    • Zoltan HERPAI's avatar
      include: move generic riscv64 ISA to rv64gc · 143569c2
      Zoltan HERPAI authored
      The current CFLAGS (rv64imafdc) for the riscv64 targets do not contain
      the full generic compute extension (g), as that also includes the
      zicsr and zifencei extensions/instructions. Rename the default ISA to
      'generic' to add distinction to the current binaries (although it's very
      minimal), and use rv64gc for CFLAGS.
      
      This is also a prep step for the upcoming gcv (vector-extension supporting)
      targets like the Spacemit K1, and the thead-cores like the TH1520.
      
      Compile-tested: all riscv64 targets
      Runtime-tested:
       - SiFive Unleashed (FU540)
       - SiFive Unmatched (FU740)
       - Nezha D1 (D1)
       - VisionFive2 (JH7110)
      
      Link: https://github.com/openwrt/openwrt/pull/18094
      
      
      Tested-by: Chuanhong Guo <gch981213@gmail.com> # siflower target
      Signed-off-by: default avatarZoltan HERPAI <wigyori@uid0.hu>
      143569c2
    • Robert Marko's avatar
      layerscape: armv7: drop skipped packages · 8cb7919a
      Robert Marko authored
      Now that all packages that relied on the skip mechanism are selected
      via BUILD_DEVICES or by defaulting for the subtarget drop them from
      individual DEVICE_PACKAGES so that Image Builder works again for armv7.
      
      Fixes: #18411
      Link: https://github.com/openwrt/openwrt/pull/18462
      
      
      Signed-off-by: default avatarRobert Marko <robimarko@gmail.com>
      8cb7919a
    • Robert Marko's avatar
      ls-rcw: select by default for layerscape/armv7 · 598a0556
      Robert Marko authored
      Currently, ls-rcw package is being included in the individual
      profile DEVICE_PACKAGES but using the feature that allows skipping their
      inclusion in the end image package list if prefixed with a tilde(~) which
      was added in:
      377b6699 ("build: introduce support to declare skip package")
      
      But it not added to Image Builder so currently trying to build layerscape
      device images in Image Builder will fail with:
      ERROR: '~ls-rcw' is not a valid world dependency, format is name(@tag)([<>~=]version)
      
      So, instead of having to rely on support for skipping package installation
      and declaring the ls-rcw package in DEVICE_PACKAGES lets select it when
      layerscape/armv7 target is selected.
      
      Fixes: #18411
      Link: https://github.com/openwrt/openwrt/pull/18462
      
      
      Signed-off-by: default avatarRobert Marko <robimarko@gmail.com>
      598a0556
    • Robert Marko's avatar
      layerscape: armv8_64b: drop skipped packages · c04eaad1
      Robert Marko authored
      Now that all packages that relied on the skip mechanism are selected
      via BUILD_DEVICES or by defaulting for the subtarget drop them from
      individual DEVICE_PACKAGES so that Image Builder works again for armv8_64b.
      
      Fixes: #18412
      Link: https://github.com/openwrt/openwrt/pull/18462
      
      
      Signed-off-by: default avatarRobert Marko <robimarko@gmail.com>
      c04eaad1
    • Robert Marko's avatar
      ls-ddr-phy: select by default for layerscape/armv8_64b · 8a28ddaf
      Robert Marko authored
      Currently, ls-ddr-phy package is being included in the individual
      profile DEVICE_PACKAGES but using the feature that allows skipping their
      inclusion in the end image package list if prefixed with a tilde(~) which
      was added in:
      377b6699 ("build: introduce support to declare skip package")
      
      But it not added to Image Builder so currently trying to build layerscape
      device images in Image Builder will fail with:
      ERROR: '~ls-ddr-phy' is not a valid world dependency, format is name(@tag)([<>~=]version)
      
      So, instead of having to rely on support for skipping package installation
      and declaring the ls-ddr-phy package in DEVICE_PACKAGES lets select it when
      layerscape/armv8_64b target is selected.
      
      Fixes: #18412
      Link: https://github.com/openwrt/openwrt/pull/18462
      
      
      Signed-off-by: default avatarRobert Marko <robimarko@gmail.com>
      8a28ddaf
    • Robert Marko's avatar
      ls-dpl: select by default for layerscape/armv8_64b · 84437eee
      Robert Marko authored
      Currently, ls-dpl package is being included in the individual
      profile DEVICE_PACKAGES but using the feature that allows skipping their
      inclusion in the end image package list if prefixed with a tilde(~) which
      was added in:
      377b6699 ("build: introduce support to declare skip package")
      
      But it not added to Image Builder so currently trying to build layerscape
      device images in Image Builder will fail with:
      ERROR: '~ls-dpl' is not a valid world dependency, format is name(@tag)([<>~=]version)
      
      So, instead of having to rely on support for skipping package installation
      and declaring the ls-dpl package in DEVICE_PACKAGES lets select it when
      layerscape/armv8_64b target is selected.
      
      Fixes: #18412
      Link: https://github.com/openwrt/openwrt/pull/18462
      
      
      Signed-off-by: default avatarRobert Marko <robimarko@gmail.com>
      84437eee
    • Robert Marko's avatar
      ls-mc: select by default for layerscape/armv8_64b · 2fb3efda
      Robert Marko authored
      Currently, ls-mc package is being included in the individual
      profile DEVICE_PACKAGES but using the feature that allows skipping their
      inclusion in the end image package list if prefixed with a tilde(~) which
      was added in:
      377b6699 ("build: introduce support to declare skip package")
      
      But it not added to Image Builder so currently trying to build layerscape
      device images in Image Builder will fail with:
      ERROR: '~ls-mc' is not a valid world dependency, format is name(@tag)([<>~=]version)
      
      So, instead of having to rely on support for skipping package installation
      and declaring the ls-mc package in DEVICE_PACKAGES lets select it when
      layerscape/armv8_64b target is selected.
      
      Fixes: #18412
      Link: https://github.com/openwrt/openwrt/pull/18462
      
      
      Signed-off-by: default avatarRobert Marko <robimarko@gmail.com>
      2fb3efda
    • Robert Marko's avatar
      fman-ucode: select by default for layerscape/armv8_64b · 22f02bea
      Robert Marko authored
      Currently, fman-ucode package is being included in the individual
      profile DEVICE_PACKAGES but using the feature that allows skipping their
      inclusion in the end image package list if prefixed with a tilde(~) which
      was added in:
      377b6699 ("build: introduce support to declare skip package")
      
      But it not added to Image Builder so currently trying to build layerscape
      device images in Image Builder will fail with:
      ERROR: '~fman-ucode' is not a valid world dependency, format is name(@tag)([<>~=]version)
      
      So, instead of having to rely on support for skipping package installation
      and declaring the fman-ucode package in DEVICE_PACKAGES lets select it when
      layerscape/armv8_64b target is selected.
      
      Fixes: #18412
      Link: https://github.com/openwrt/openwrt/pull/18462
      
      
      Signed-off-by: default avatarRobert Marko <robimarko@gmail.com>
      22f02bea
    • Robert Marko's avatar
      tfa-layerscape: set BUILD_DEVICES · 03ab770d
      Robert Marko authored
      Currently, tfa-layerscape packages are being included in the individual
      profile DEVICE_PACKAGES but using the feature that allows skipping their
      inclusion in the end image package list if prefixed with a tilde(~) which
      was added in:
      377b6699 ("build: introduce support to declare skip package")
      
      But it not added to Image Builder so currently trying to build layerscape
      device images in Image Builder will fail with:
      ERROR: '~trusted-firmware-a-ls1012a-frdm' is not a valid world dependency, format is name(@tag)([<>~=]version)
      
      So, instead of having to rely on support for skipping package installation
      and declaring the individual TFA packages in DEVICE_PACKAGES we can just
      do what other targets do and set BUILD_DEVICES so that TFA packages are
      automatically set.
      
      Fixes: #18412
      Link: https://github.com/openwrt/openwrt/pull/18462
      
      
      Signed-off-by: default avatarRobert Marko <robimarko@gmail.com>
      03ab770d
    • Robert Marko's avatar
      bcm63xx-cfe: install into image staging dir · 4a7de507
      Robert Marko authored
      Currently, bcm63xx-cfe is being installed into kernel build dir, however
      that does not work for Image Builder as only certain artifacts from kernel
      build dir are included in Image Builder.
      
      So, simply install bcm63xx-cfe into image staging dir so its artifacts can
      be used in Image Builder as well.
      
      Fixes: #18408
      Fixes: #18409
      Link: https://github.com/openwrt/openwrt/pull/18463
      
      
      Signed-off-by: default avatarRobert Marko <robimarko@gmail.com>
      4a7de507
    • FUKAUMI Naoki's avatar
      rockchip: Add support for Radxa ROCK 4SE · 6690f551
      FUKAUMI Naoki authored
      The Radxa ROCK 4SE[1] is a single board computer using the Rockchip
      RK3399-T.
      
      Hardware
      --------
      
      - Dual-core Cortex-A72 and quad-core Cortex-A53 CPU
      - Mali-T860MP4 GPU
      - LPDDR4 4GB RAM
      - M.2 M Key slot (PCIe 2.1 x4)
      - eMMC connector
      - microSD card slot
      - Wi-Fi 5 (not supported)
      - Gigabit Ethernet with PoE support (additional PoE HAT required)
      - USB 3.0 Type-A OTG port
      - USB 3.0 Type-A HOST port
      - 2x USB 2.0 Type-A HOST ports
      - USB Type-C power port (5V only)
      - 40 Pin GPIO header
      
      [1] https://radxa.com/products/rock4/4se
      
      
      
      Installation
      ------------
      Uncompress the OpenWrt sysupgrade and write it to the micro SD card or
      internal eMMC using dd.
      
      Signed-off-by: default avatarFUKAUMI Naoki <naoki@radxa.com>
      Link: https://github.com/openwrt/openwrt/pull/17554
      
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      6690f551
    • FUKAUMI Naoki's avatar
      rockchip: Add support for Radxa ROCK 4C+ · 18925614
      FUKAUMI Naoki authored
      The Radxa ROCK 4C+[1] is a single board computer with dual HDMI using
      the Rockchip RK3399-T.
      
      Hardware
      --------
      
      - Dual-core Cortex-A72 and quad-core Cortex-A53 CPU
      - Mali-T860MP4 GPU
      - LPDDR4 4GB RAM
      - eMMC connector
      - microSD card slot
      - Wi-Fi 5 (not supported)
      - Gigabit Ethernet with PoE support (additional PoE HAT required)
      - USB 3.0 Type-A OTG port
      - USB 3.0 Type-A HOST port
      - 2x USB 2.0 Type-A HOST ports
      - USB Type-C power port (5V only)
      - 40 Pin GPIO header
      
      [1] https://radxa.com/products/rock4/4cp
      
      
      
      Installation
      ------------
      Uncompress the OpenWrt sysupgrade and write it to the micro SD card or
      internal eMMC using dd.
      
      Signed-off-by: default avatarFUKAUMI Naoki <naoki@radxa.com>
      Link: https://github.com/openwrt/openwrt/pull/17554
      
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      18925614
    • Schneider Azima's avatar
      mediatek: add support for Mercusys MR80X v3 · 7921e48d
      Schneider Azima authored
      This commit adds support for Mercusys MR80X(EU) v3 router.
      
      Device specification:
       - SoC: Mediatek MT7981b, Cortex-A53, 64-bit
       - RAM: 512MB
       - Flash: SPI NAND GigaDevice GD5F1GQ5UEYIGY (128 MB)
       - Ethernet: 4x 100/1000 Mbps LAN1,LAN2,LAN3 & WAN
       - Wireless: 2.4GHz (802.11 b/g/n/ax)
       - Wireless: 5GHz (802.11 a/n/ac/ax)
       - LEDs: 1 orange and 1 green status LEDs, 4 green gpio-controlled LEDs
         on ethernet ports
       - Buttons: 1 (Reset)
       - Bootloader: Main U-Boot - U-Boot 2022.01-rc4. Additionally, both UBI
         slots contain "seconduboot" (also U-Boot 2022.01-rc4)
      
      Installation (UART):
       - Place OpenWrt initramfs-kernel image on tftp server with IP 192.168.1.2
       - Attach UART, switch on the router and interrupt the boot process by
         pressing 'Ctrl-C'.
       - Set the uboot environment for startup.
         setenv tp_boot_idx 0; setenv bootcmd bootm 0x46000000; saveenv
         If the bootarg is set to boot from ubi1, also change it to ubi0.
       - Load and run OpenWrt initramfs image.
         setenv serverip 192.168.1.2; setenv ipaddr 192.168.1.1; tftpboot initramfs-kernel.bin; bootm
       - Browse IP 192.168.1.1, upload the 'sysupgrade' image and do upgrade.
      
      Recovery:
       - Press Reset button and power on the router.
       - Navigate to U-Boot recovery web server (http://192.168.1.1/
      
      ) and
         upload the OEM firmware.
      
      Stock layout:
      0x000000000000-0x000000200000 : "boot"
      0x000000200000-0x000000300000 : "u-boot-env"
      0x000000300000-0x000003500000 : "ubi0"
      0x000003500000-0x000006700000 : "ubi1"
      0x000006700000-0x000006f00000 : "userconfig"
      0x000006f00000-0x000007300000 : "tp_data"
      
      ubi0/ubi1 format:
      U-Boot at boot checks that all volumes are in place:
      +-------------------------------+
      | Volume Name: uboot   Vol ID: 0|
      | Volume Name: kernel  Vol ID: 1|
      | Volume Name: rootfs  Vol ID: 2|
      +-------------------------------+
      
      MAC addresses:
      +---------+-------------------+-----------+
      |         | MAC               | Algorithm |
      +---------+-------------------+-----------+
      | label   | 94:0C:xx:xx:xx:12 | label     |
      | WAN     | 94:0C:xx:xx:xx:13 | label+1   |
      | LAN     | 94:0C:xx:xx:xx:12 | label     |
      | WLAN 2g | 94:0C:xx:xx:xx:11 | label-1   |
      | WLAN 5g | 94:0C:xx:xx:xx:10 | label-2   |
      +---------+-------------------+-----------+
      label MAC address was found in UBI partition "tp_data", file
      "default-mac".
      
      Signed-off-by: default avatarSchneider Azima <Schneider-Azima12@protonmail.com>
      Link: https://github.com/openwrt/openwrt/pull/18181
      
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      7921e48d
    • John Audia's avatar
      kernel: bump 6.6 to 6.6.87 · 66b5ed7a
      John Audia authored
      Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.87
      
      
      
      Manually rebased:
      	generic-hack/781-usb-net-rndis-support-asr.patch
      
      All other patches automatically rebased.
      
      Build system: x86/64
      Build-tested: flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64
      Run-tested: flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64
      
      Signed-off-by: default avatarJohn Audia <therealgraysky@proton.me>
      Link: https://github.com/openwrt/openwrt/pull/18457
      
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      66b5ed7a
  6. Apr 12, 2025
Loading