[OpenWrt-Devel] [PATCH 0/9] sunxi: add support for pine64-lts
Oskari Lemmela
oskari at lemmela.net
Mon Jan 14 12:54:20 EST 2019
Patches for Pine64 LTS support. Pine64 LTS has onboard
16MB SPI flash device which can be used to boot Openwrt.
Following patch set enables:
- FIT image booting from flash and SD
- storing environment to flash
- sysupgrade support for flash and SD to flash
- modifying enviroment in flash
U-boot image can be written to SPI flash via booting
from SD card and then writing u-boot-with-spl.bin to
/dev/mtd0.
Oskari Lemmela (9):
sunxi: add a64 watchdog support
sunxi: add spi flash support to kernel
sunxi: spi flash dts changes
sunxi: switch to lzma compressed fit image
sunxi: add support for pine64 lts
uboot-sunxi: add spi driver for pine64 lts
uboot-sunxi: move pine64 lts env to spi flash
uboot-envtools: sunxi: add support for the pine64 lts
sunxi: sysupgrade: add support for pine64 lts spi flash
package/boot/uboot-envtools/files/sunxi | 33 ++
package/boot/uboot-sunxi/Makefile | 9 +
.../010-sunxi-A64-Add-Pine64-LTS-board.patch | 69 ++++
...ner-sun50i-a64-Add-spi-flash-node-fo.patch | 64 ++++
...i-allwinner-spi-driver-sun6i-support.patch | 311 ++++++++++++++++++
...er-sunxi-fix-spurious-timeout-issues.patch | 30 ++
.../302-sunxi-add-spi-flash-bootcmd.patch | 81 +++++
...03-sunxi-dt-a64-sopine-add-spi-alias.patch | 27 ++
...4-sunxi-a64-enable-spi-in-pine64-lts.patch | 32 ++
...sunxi-enable-distro-spi-boot-command.patch | 25 ++
...-move-env-to-spi-flash-in-pine64-lts.patch | 27 ++
...efines-if-config-env-is-in-spi-flash.patch | 57 ++++
package/boot/uboot-sunxi/uEnv-a64.txt | 5 +-
package/boot/uboot-sunxi/uEnv-default.txt | 5 +-
package/boot/uboot-sunxi/uEnv-pangolin.txt | 5 +-
target/linux/sunxi/Makefile | 2 +-
.../sunxi/base-files/lib/upgrade/platform.sh | 30 +-
target/linux/sunxi/config-4.14 | 9 +-
target/linux/sunxi/config-4.19 | 9 +-
target/linux/sunxi/cortexa53/target.mk | 1 -
target/linux/sunxi/image/Makefile | 21 +-
target/linux/sunxi/image/cortex-a53.mk | 38 +--
target/linux/sunxi/image/cortex-a7.mk | 36 +-
target/linux/sunxi/image/cortex-a8.mk | 11 +-
...arm64-dts-allwinner-a64-Add-watchdog.patch | 54 +++
...ner-a64-Add-Pine64-LTS-device-tree-f.patch | 59 ++++
...80-arm64-allwinner-a64-add-SPI-nodes.patch | 83 +++++
...ner-sun50i-a64-Add-spi-flash-node-fo.patch | 41 +++
...a64-sopine-Add-Sopine-flash-partitio.patch | 51 +++
...ner-a64-Add-Pine64-LTS-device-tree-f.patch | 59 ++++
...a64-sopine-Add-Sopine-flash-partitio.patch | 51 +++
31 files changed, 1274 insertions(+), 61 deletions(-)
create mode 100644 package/boot/uboot-envtools/files/sunxi
create mode 100644 package/boot/uboot-sunxi/patches/010-sunxi-A64-Add-Pine64-LTS-board.patch
create mode 100644 package/boot/uboot-sunxi/patches/073-arm64-dts-allwinner-sun50i-a64-Add-spi-flash-node-fo.patch
create mode 100644 package/boot/uboot-sunxi/patches/300-arm-sunxi-allwinner-spi-driver-sun6i-support.patch
create mode 100644 package/boot/uboot-sunxi/patches/301-arm-timer-sunxi-fix-spurious-timeout-issues.patch
create mode 100644 package/boot/uboot-sunxi/patches/302-sunxi-add-spi-flash-bootcmd.patch
create mode 100644 package/boot/uboot-sunxi/patches/303-sunxi-dt-a64-sopine-add-spi-alias.patch
create mode 100644 package/boot/uboot-sunxi/patches/304-sunxi-a64-enable-spi-in-pine64-lts.patch
create mode 100644 package/boot/uboot-sunxi/patches/305-sunxi-enable-distro-spi-boot-command.patch
create mode 100644 package/boot/uboot-sunxi/patches/306-sunxi-a64-move-env-to-spi-flash-in-pine64-lts.patch
create mode 100644 package/boot/uboot-sunxi/patches/307-env-check-defines-if-config-env-is-in-spi-flash.patch
create mode 100644 target/linux/sunxi/patches-4.14/040-arm64-dts-allwinner-a64-Add-watchdog.patch
create mode 100644 target/linux/sunxi/patches-4.14/062-arm64-dts-allwinner-a64-Add-Pine64-LTS-device-tree-f.patch
create mode 100644 target/linux/sunxi/patches-4.14/080-arm64-allwinner-a64-add-SPI-nodes.patch
create mode 100644 target/linux/sunxi/patches-4.14/081-arm64-dts-allwinner-sun50i-a64-Add-spi-flash-node-fo.patch
create mode 100644 target/linux/sunxi/patches-4.14/400-arm64-allwinner-a64-sopine-Add-Sopine-flash-partitio.patch
create mode 100644 target/linux/sunxi/patches-4.19/062-arm64-dts-allwinner-a64-Add-Pine64-LTS-device-tree-f.patch
create mode 100644 target/linux/sunxi/patches-4.19/400-arm64-allwinner-a64-sopine-Add-Sopine-flash-partitio.patch
--
2.17.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list