[OpenWrt-Devel] [PATCH 0/5] ipq806x: add support for SMEM based MTD parser

Mathieu Olivari mathieu at codeaurora.org
Wed Aug 12 22:37:39 EDT 2015


This patch sets intents to add a new MTD parser for QCOM parser which
makes use of the information available in SMEM to provide the flash
layout. We're also cherry-picking drivers for SMEM & HW spinlocks from
LKML as dependencies.

This has been tested on AP148, both for NOR & NAND flash. The MTD layout
was detected accurately on both boot methods.

Mathieu Olivari (5):
  kernel: move linux,part-probe dt parsing in generic code
  ipq806x: add hwspinlock support
  ipq806x: add SMEM support
  ipq806x: add QCOM SMEM based MTD parser
  ipq806x: switch AP148 to using SMEM based MTD parser

 ...t-add-generic-parsing-of-linux-part-probe.patch | 175 -----
 ...t-add-generic-parsing-of-linux-part-probe.patch | 175 +++++
 .../400-mtd-add-rootfs-split-support.patch         |  16 +-
 ...port-for-different-partition-parser-types.patch |   4 +-
 ...mtd-parsers-for-rootfs-and-firmware-split.patch |   6 +-
 .../404-mtd-add-more-helper-functions.patch        |   6 +-
 .../405-mtd-old-firmware-uimage-splitter.patch     |   4 +-
 .../406-mtd-old-rootfs-squashfs-splitter.patch     |   4 +-
 .../411-mtd-partial_eraseblock_write.patch         |   8 +-
 .../412-mtd-partial_eraseblock_unlock.patch        |   2 +-
 ...t-add-generic-parsing-of-linux-part-probe.patch | 175 +++++
 .../400-mtd-add-rootfs-split-support.patch         |  15 +-
 ...port-for-different-partition-parser-types.patch |   4 +-
 ...mtd-parsers-for-rootfs-and-firmware-split.patch |   6 +-
 .../404-mtd-add-more-helper-functions.patch        |   6 +-
 .../405-mtd-old-firmware-uimage-splitter.patch     |   4 +-
 .../406-mtd-old-rootfs-squashfs-splitter.patch     |   4 +-
 .../411-mtd-partial_eraseblock_write.patch         |   8 +-
 .../412-mtd-partial_eraseblock_unlock.patch        |   2 +-
 target/linux/ipq806x/config-3.18                   |   4 +
 target/linux/ipq806x/config-4.1                    |   8 +-
 .../patches-3.18/021-add-ap148-partitions.patch    |  34 +-
 ...0-hwspinlock-core-add-device-tree-support.patch | 167 ++++
 ...qcom-Add-support-for-Qualcomm-HW-Mutex-bl.patch | 234 ++++++
 ...spinlock-qcom-Correct-msb-in-regmap_field.patch |  26 +
 ...3-soc-qcom-Add-sfbp-device-to-IPQ806x-dts.patch |  20 +
 ...soc-qcom-Add-device-tree-binding-for-SMEM.patch |  82 ++
 ...soc-qcom-Add-Shared-Memory-Manager-driver.patch | 841 +++++++++++++++++++++
 ...36-soc-qcom-add-smem-to-IPQ806x-platforms.patch |  26 +
 .../037-mtd-add-qcom-smem-parser.patch             | 253 +++++++
 ...1-ARM-qcom-add-USB-nodes-to-ipq806x-ap148.patch |   8 +-
 ...-qcom-add-pcie-nodes-to-ipq806x-platforms.patch |   6 +-
 .../patches-3.18/115-add-pcie-aux-clk-dts.patch    |   6 +-
 .../157-ARM-DT-ipq8064-Add-ADM-device-node.patch   |   2 +-
 ...-dts-Add-NAND-controller-node-for-ipq806x.patch |   2 +-
 ...nable-NAND-node-on-IPQ8064-AP148-platform.patch |   4 +-
 ...RM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch |   6 +-
 ...-qcom-add-gmac-nodes-to-ipq806x-platforms.patch |   4 +-
 .../patches-4.1/021-add-ap148-partitions.patch     |  34 +-
 ...0-hwspinlock-core-add-device-tree-support.patch | 167 ++++
 ...qcom-Add-support-for-Qualcomm-HW-Mutex-bl.patch | 234 ++++++
 ...spinlock-qcom-Correct-msb-in-regmap_field.patch |  26 +
 ...3-soc-qcom-Add-sfbp-device-to-IPQ806x-dts.patch |  21 +
 ...soc-qcom-Add-device-tree-binding-for-SMEM.patch |  82 ++
 ...soc-qcom-Add-Shared-Memory-Manager-driver.patch | 841 +++++++++++++++++++++
 ...36-soc-qcom-add-smem-to-IPQ806x-platforms.patch |  27 +
 .../patches-4.1/037-mtd-add-qcom-smem-parser.patch | 253 +++++++
 ...-qcom-add-pcie-nodes-to-ipq806x-platforms.patch |   4 +-
 .../patches-4.1/115-add-pcie-aux-clk-dts.patch     |   6 +-
 .../patches-4.1/126-add-rpm-to-ipq8064-dts.patch   |   4 +-
 ...m-Add-necessary-DT-data-for-Krait-cpufreq.patch |   4 +-
 .../157-ARM-DT-ipq8064-Add-ADM-device-node.patch   |   2 +-
 ...-dts-Add-NAND-controller-node-for-ipq806x.patch |   2 +-
 ...nable-NAND-node-on-IPQ8064-AP148-platform.patch |   4 +-
 ...RM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch |   6 +-
 ...-qcom-add-gmac-nodes-to-ipq806x-platforms.patch |   4 +-
 56 files changed, 3765 insertions(+), 313 deletions(-)
 delete mode 100644 target/linux/bcm53xx/patches-4.1/095-mtd-part-add-generic-parsing-of-linux-part-probe.patch
 create mode 100644 target/linux/generic/patches-3.18/140-mtd-part-add-generic-parsing-of-linux-part-probe.patch
 create mode 100644 target/linux/generic/patches-4.1/140-mtd-part-add-generic-parsing-of-linux-part-probe.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/030-hwspinlock-core-add-device-tree-support.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/031-hwspinlock-qcom-Add-support-for-Qualcomm-HW-Mutex-bl.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/032-hwspinlock-qcom-Correct-msb-in-regmap_field.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/033-soc-qcom-Add-sfbp-device-to-IPQ806x-dts.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/034-soc-qcom-Add-device-tree-binding-for-SMEM.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/035-soc-qcom-Add-Shared-Memory-Manager-driver.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/036-soc-qcom-add-smem-to-IPQ806x-platforms.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/037-mtd-add-qcom-smem-parser.patch
 create mode 100644 target/linux/ipq806x/patches-4.1/030-hwspinlock-core-add-device-tree-support.patch
 create mode 100644 target/linux/ipq806x/patches-4.1/031-hwspinlock-qcom-Add-support-for-Qualcomm-HW-Mutex-bl.patch
 create mode 100644 target/linux/ipq806x/patches-4.1/032-hwspinlock-qcom-Correct-msb-in-regmap_field.patch
 create mode 100644 target/linux/ipq806x/patches-4.1/033-soc-qcom-Add-sfbp-device-to-IPQ806x-dts.patch
 create mode 100644 target/linux/ipq806x/patches-4.1/034-soc-qcom-Add-device-tree-binding-for-SMEM.patch
 create mode 100644 target/linux/ipq806x/patches-4.1/035-soc-qcom-Add-Shared-Memory-Manager-driver.patch
 create mode 100644 target/linux/ipq806x/patches-4.1/036-soc-qcom-add-smem-to-IPQ806x-platforms.patch
 create mode 100644 target/linux/ipq806x/patches-4.1/037-mtd-add-qcom-smem-parser.patch

-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list