diff options
| author | INAGAKI Hiroshi | 2024-03-27 09:54:47 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2024-06-05 19:14:16 +0000 |
| commit | d529ac5da8c9ddae33ff751de9ebc922d3a1dde8 (patch) | |
| tree | c01ee587bd21e8f00226651aa7d1dc77503f00a7 | |
| parent | 47d9dcd01ac57ec72e2da50957c2f3c83d357f69 (diff) | |
| download | openwrt-d529ac5da8c9ddae33ff751de9ebc922d3a1dde8.tar.gz | |
ramips: mt7621: switch trx parser to parser_trx from mtdsplit
Switch trx parser to parser_trx of Linux Kernel from mtdsplit_trx to
split firmware partition using model-specific trx magic number on
some Buffalo devices.
This change is tested on Buffalo WSR-2533DHPL.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
| -rw-r--r-- | target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts | 2 | ||||
| -rw-r--r-- | target/linux/ramips/dts/mt7621_buffalo_wsr-2533dhpl.dts | 2 | ||||
| -rw-r--r-- | target/linux/ramips/mt7621/config-6.6 | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts b/target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts index 7b1cc64b50..4346e4b9d2 100644 --- a/target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts +++ b/target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts @@ -155,7 +155,7 @@ }; partition@50000 { - compatible = "openwrt,trx"; + compatible = "brcm,trx"; label = "firmware"; reg = <0x50000 0xf90000>; }; diff --git a/target/linux/ramips/dts/mt7621_buffalo_wsr-2533dhpl.dts b/target/linux/ramips/dts/mt7621_buffalo_wsr-2533dhpl.dts index fa90fba3d5..fe6fc6aab5 100644 --- a/target/linux/ramips/dts/mt7621_buffalo_wsr-2533dhpl.dts +++ b/target/linux/ramips/dts/mt7621_buffalo_wsr-2533dhpl.dts @@ -159,7 +159,7 @@ }; partition@50000 { - compatible = "openwrt,trx"; + compatible = "brcm,trx"; label = "firmware"; reg = <0x50000 0x7c0000>; }; diff --git a/target/linux/ramips/mt7621/config-6.6 b/target/linux/ramips/mt7621/config-6.6 index a77d868624..e77ea238e7 100644 --- a/target/linux/ramips/mt7621/config-6.6 +++ b/target/linux/ramips/mt7621/config-6.6 @@ -161,6 +161,7 @@ CONFIG_MTD_NAND_ECC_SW_HAMMING=y CONFIG_MTD_NAND_MT7621=y CONFIG_MTD_NAND_MTK_BMT=y # CONFIG_MTD_PARSER_TPLINK_SAFELOADER is not set +CONFIG_MTD_PARSER_TRX=y CONFIG_MTD_PHYSMAP=y CONFIG_MTD_RAW_NAND=y CONFIG_MTD_ROUTERBOOT_PARTS=y @@ -171,7 +172,6 @@ CONFIG_MTD_SPLIT_FIT_FW=y CONFIG_MTD_SPLIT_MINOR_FW=y CONFIG_MTD_SPLIT_SEAMA_FW=y CONFIG_MTD_SPLIT_TPLINK_FW=y -CONFIG_MTD_SPLIT_TRX_FW=y CONFIG_MTD_SPLIT_UIMAGE_FW=y CONFIG_MTD_UBI=y CONFIG_MTD_UBI_BEB_LIMIT=20 |