[OpenWrt-Devel] [PATCH 00/10] ipq806x: implement sysupgrade for AP148

Jonas Gorski jogo at openwrt.org
Fri Aug 21 07:17:29 EDT 2015


This patchset adds sysupgrade support and and builds images for AP148.

This has been tested on AP148.

sysupgrade from original QSDK should work in theory, but in practice
either ubiformat or something else in QSDK writes the ubi image in a way
that makes OpenWrt fail to mount the image. U-Boot is able to read from
it.

Therefore the last two patches that create an "sysupgradeable" image are
marked as RFC.

Jonas Gorski (10):
  ipq806x: enable ubiblock support
  image: add a build step for building and appending an ubinized rootfs
  build: add a build step for generic sysupgrade nand image
  ipq806x: enable smem-parser for nand on AP148
  ipq806x: rename "rootfs" to "ubi" on nand
  ipq806x: wrap legacy image in uImage
  ipq806x: clear IMAGES for devices
  ipq806x: build images and add sysupgrade support for AP148
  image: add a build recipe to wrap an ubi image in a itb file
  ipq806x: wrap ubi in itb

 include/image.mk                                   | 25 +++++++
 scripts/mkits-ubi.sh                               | 79 ++++++++++++++++++++++
 scripts/sysupgrade-nand.sh                         | 68 +++++++++++++++++++
 .../ipq806x/base-files/lib/upgrade/platform.sh     | 18 +++++
 target/linux/ipq806x/config-3.18                   |  2 +-
 target/linux/ipq806x/config-4.1                    |  2 +-
 target/linux/ipq806x/image/Makefile                | 25 +++++--
 ...h-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch | 11 +++
 .../302-mtd-qcom-smem-rename-rootfs-ubi.patch      | 13 ++++
 ...RM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch |  6 +-
 ...-qcom-add-gmac-nodes-to-ipq806x-platforms.patch |  2 +-
 ...h-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch | 11 +++
 .../302-mtd-qcom-smem-rename-rootfs-ubi.patch      | 13 ++++
 ...RM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch |  6 +-
 ...-qcom-add-gmac-nodes-to-ipq806x-platforms.patch |  2 +-
 15 files changed, 268 insertions(+), 15 deletions(-)
 create mode 100755 scripts/mkits-ubi.sh
 create mode 100755 scripts/sysupgrade-nand.sh
 create mode 100644 target/linux/ipq806x/base-files/lib/upgrade/platform.sh
 create mode 100644 target/linux/ipq806x/patches-3.18/166-arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch
 create mode 100644 target/linux/ipq806x/patches-3.18/302-mtd-qcom-smem-rename-rootfs-ubi.patch
 create mode 100644 target/linux/ipq806x/patches-4.1/166-arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch
 create mode 100644 target/linux/ipq806x/patches-4.1/302-mtd-qcom-smem-rename-rootfs-ubi.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