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

Tomasz Maciej Nowak tomek_n at o2.pl
Thu May 9 09:26:20 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/1097196

Changes in v2:
mvebu: remove unnecessary code building dtbs:
also adjust path to dtb in omnia-medkit-initramfs recipe

Rename
mvebu: add vendor to device names
 to
mvebu: align device names to vendor_device format
in result of changing most device names to pattern found in dts
compatible string, suggested by Petr Å tetiar.

mvebu: use device-tree board detection
adjusted to changes in
mvebu: align device names to vendor_device format

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: align device names to vendor_device format
  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             |  64 ++++-----
 .../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        |  43 +++---
 target/linux/mvebu/image/cortex-a72.mk        |  34 ++---
 target/linux/mvebu/image/cortex-a9.mk         | 135 ++++++++++--------
 .../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, 429 insertions(+), 376 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


-------------- next part --------------
_______________________________________________
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