[OpenWrt-Devel] [PATCH 0/8] mvebu: cleanups, improvments and new ESPRESSObin variants

Tomasz Maciej Nowak tomek_n at o2.pl
Wed May 1 13:42:16 EDT 2019


This series drops unnecessary cruft and improves image code, so that
it's better aligned with most well maintained targets in OpenWrt.
Additionally it introduces image for three ESPRESSObin variants.

Series is applicable after "mvebu: fix board_name condition in
79_move_config" by Klaus Kudielka.
https://patchwork.ozlabs.org/patch/1090367

Tomasz Maciej Nowak (8):
  mvebu: remove unnecessary code building dtbs
  mvebu: image: stack repeated variables
  mvebu: image: introduce BOOT_SCRIPT variable
  mvebu: image: improve readability of device recipes
  mvebu: image: don't create unnecessarily shell variables
  mvebu: add vendor to device names
  mvebu: use device-tree board detection
  mvebu: add images for additional ESPRESSObin boards

 package/boot/uboot-mvebu/Makefile             |   2 +-
 .../mvebu/base-files/etc/board.d/01_leds      |  22 ++--
 .../mvebu/base-files/etc/board.d/02_network   |  60 +++++-----
 target/linux/mvebu/base-files/etc/diag.sh     |  16 +--
 .../base-files/etc/init.d/linksys_recovery    |   2 +-
 .../base-files/etc/uci-defaults/03_wireless   |   4 +-
 .../base-files/etc/uci-defaults/04_mambafan   |   2 +-
 target/linux/mvebu/base-files/lib/mvebu.sh    |  94 ----------------
 .../mvebu/base-files/lib/preinit/01_sysinfo   |   9 --
 .../base-files/lib/preinit/06_set_iface_mac   |  14 +--
 .../base-files/lib/preinit/79_move_config     |   2 +-
 .../base-files/lib/preinit/81_linksys_syscfg  |   2 +-
 .../mvebu/base-files/lib/upgrade/platform.sh  |  10 +-
 .../mvebu/base-files/lib/upgrade/sdcard.sh    |   2 +-
 .../marvell/armada-3720-espressobin-emmc.dts  |  28 +++++
 .../armada-3720-espressobin-v7-emmc.dts       |  43 ++++++++
 .../marvell/armada-3720-espressobin-v7.dts    |  31 ++++++
 target/linux/mvebu/image/Makefile             |  62 +++++------
 .../image/armada-388-clearfog-base.bootscript |  27 -----
 .../image/armada-macchiatobin.bootscript      |  10 --
 ...fog-pro.bootscript => clearfog.bootscript} |   6 +-
 target/linux/mvebu/image/cortex-a53.mk        |  40 +++++--
 target/linux/mvebu/image/cortex-a72.mk        |  32 ++----
 target/linux/mvebu/image/cortex-a9.mk         | 103 ++++++++++--------
 .../linux/mvebu/image/gen_mvebu_sdcard_img.sh |   4 +-
 ...db.bootscript => generic-arm64.bootscript} |   2 +-
 .../image/globalscale-espressobin.bootscript  |  10 --
 .../patches-4.14/105-build_new_dtbs.patch     |  10 --
 ...l-armada37xx-Add-emmc-sdio-pinctrl-d.patch |  40 +++++++
 ...l-armada-37xx-Enable-emmc-on-espress.patch |  49 +++++++++
 ...da-3720-espressobin-correct-spi-node.patch |   2 +-
 ...l-armada-3720-espressobin-add-ports-.patch |  26 +++++
 32 files changed, 413 insertions(+), 353 deletions(-)
 delete mode 100755 target/linux/mvebu/base-files/lib/mvebu.sh
 delete mode 100644 target/linux/mvebu/base-files/lib/preinit/01_sysinfo
 create mode 100644 target/linux/mvebu/files-4.14/arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dts
 create mode 100644 target/linux/mvebu/files-4.14/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts
 create mode 100644 target/linux/mvebu/files-4.14/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts
 delete mode 100644 target/linux/mvebu/image/armada-388-clearfog-base.bootscript
 delete mode 100644 target/linux/mvebu/image/armada-macchiatobin.bootscript
 rename target/linux/mvebu/image/{armada-388-clearfog-pro.bootscript => clearfog.bootscript} (78%)
 rename target/linux/mvebu/image/{armada-3720-db.bootscript => generic-arm64.bootscript} (82%)
 delete mode 100644 target/linux/mvebu/image/globalscale-espressobin.bootscript
 delete mode 100644 target/linux/mvebu/patches-4.14/105-build_new_dtbs.patch
 create mode 100644 target/linux/mvebu/patches-4.14/513-arm64-dts-marvell-armada37xx-Add-emmc-sdio-pinctrl-d.patch
 create mode 100644 target/linux/mvebu/patches-4.14/514-arm64-dts-marvell-armada-37xx-Enable-emmc-on-espress.patch
 create mode 100644 target/linux/mvebu/patches-4.14/522-arm64-dts-marvell-armada-3720-espressobin-add-ports-.patch

-- 
2.21.0


_______________________________________________
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