Changeset d919444 in freewrt for target


Ignore:
Timestamp:
Aug 19, 2025, 7:37:40 AM (4 months ago)
Author:
Waldemar Brodkorb <wbx@…>
Branches:
freewrt_2_0
Children:
85e60df
Parents:
9aeec45
git-author:
Waldemar Brodkorb <wbx@…> (08/18/25 21:31:27)
git-committer:
Waldemar Brodkorb <wbx@…> (08/19/25 07:37:40)
Message:

reduce fwcf mtd size to 128Kb, should be enough

File:
1 edited

Legend:

Unmodified
Added
Removed
  • target/linux/generic-6.12/patches/001-fwcf-mtd-partition.patch

    r9aeec45 rd919444  
    11diff -Nur linux-6.12.41.orig/drivers/mtd/parsers/bcm47xxpart.c linux-6.12.41/drivers/mtd/parsers/bcm47xxpart.c
    2 --- linux-6.12.41.orig/drivers/mtd/parsers/bcm47xxpart.c        2025-08-01 10:48:47.000000000 +0200
    3 +++ linux-6.12.41/drivers/mtd/parsers/bcm47xxpart.c     2025-08-10 22:43:53.521420648 +0200
     2--- linux-6.12.41.orig/drivers/mtd/parsers/bcm47xxpart.c        2025-08-01 08:48:47.000000000 +0000
     3+++ linux-6.12.41/drivers/mtd/parsers/bcm47xxpart.c     2025-08-18 19:16:49.137004179 +0000
    44@@ -267,6 +267,45 @@
    55 
     
    77                if (buf[0] == NVRAM_HEADER) {
    88+                       /*
    9 +                        * Insert a 256 KiB partition immediately before nvram.
     9+                        * Insert a 128 KiB partition immediately before nvram.
    1010+                        * Align the pre-nvram size down to an erase block.
    1111+                        */
    1212+                       {
    13 +                               const u32 desired_pre_nvram = 256 * 1024; /* 256 KiB */
     13+                               const u32 desired_pre_nvram = 128 * 1024; /* 128 KiB */
    1414+                               u32 pre_nvram_size;
    1515+
Note: See TracChangeset for help on using the changeset viewer.