- Timestamp:
- Aug 19, 2025, 7:37:40 AM (4 months ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
target/linux/generic-6.12/patches/001-fwcf-mtd-partition.patch
r9aeec45 rd919444 1 1 diff -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 +02003 +++ linux-6.12.41/drivers/mtd/parsers/bcm47xxpart.c 2025-08-1 0 22:43:53.521420648 +02002 --- 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 4 4 @@ -267,6 +267,45 @@ 5 5 … … 7 7 if (buf[0] == NVRAM_HEADER) { 8 8 + /* 9 + * Insert a 256KiB partition immediately before nvram.9 + * Insert a 128 KiB partition immediately before nvram. 10 10 + * Align the pre-nvram size down to an erase block. 11 11 + */ 12 12 + { 13 + const u32 desired_pre_nvram = 256 * 1024; /* 256KiB */13 + const u32 desired_pre_nvram = 128 * 1024; /* 128 KiB */ 14 14 + u32 pre_nvram_size; 15 15 +
Note:
See TracChangeset
for help on using the changeset viewer.
