[LEDE-DEV] [PATCH 0/5] archs38: Introduce images for SD-cards

Alexey Brodkin Alexey.Brodkin at synopsys.com
Tue Aug 16 04:49:15 PDT 2016


Historically on ARC we started from initramfs-based images because:
  a) It was much easier to debug especially when toolchain and other
     components were changing quite dynamically
  b) It was our usual approach for embedded Linux
    
But now with ARC port of Lede/OpenWRT getting more stable and mature
we're ready for more real-life scenarios with FS permanently stored
on SD-card. This essentially benefits from ability to setup devices
that survive reboots with all settings and extra packages kept in place.

Still we keep an ability to build images with initramfs.
This allows us to use storage-less simulators for testing still.

This series consists of a few preparatory patches and the last one which makes
a real difference.

Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>

Alexey Brodkin (5):
  arc: use patched .dts from sources
  archs38: Reduce generalization
  archs38: Update kernel configuration
  archs38: Remove MMC kernel modules, they are built-in now
  archs38: Introduce images for SD-cards

 target/linux/arc770/dts/axc001.dtsi                | 100 ---------
 target/linux/arc770/dts/axs101.dts                 |  22 --
 target/linux/arc770/dts/axs10x_mb.dtsi             | 225 ---------------------
 target/linux/arc770/dts/nsim_700.dts               |  71 -------
 target/linux/arc770/dts/skeleton.dtsi              |  37 ----
 target/linux/arc770/image/Makefile                 |   2 +-
 target/linux/archs38/Makefile                      |   2 +-
 target/linux/archs38/config-4.4                    |  11 +-
 target/linux/archs38/dts/axc003_idu.dtsi           | 126 ------------
 target/linux/archs38/dts/axs103_idu.dts            |  25 ---
 target/linux/archs38/dts/axs10x_mb.dtsi            | 225 ---------------------
 target/linux/archs38/dts/nsim_hs_idu.dts           |  73 -------
 target/linux/archs38/dts/skeleton.dtsi             |  37 ----
 .../linux/archs38/generic/profiles/01-minimal.mk   |  15 --
 target/linux/archs38/generic/profiles/02-axs103.mk |  16 --
 .../linux/archs38/generic/profiles/03-nsim_hs.mk   |  15 --
 target/linux/archs38/generic/target.mk             |   8 -
 target/linux/archs38/image/Config.in               |   5 +
 target/linux/archs38/image/Makefile                |  92 +++++----
 .../linux/archs38/image/gen_axs10x_sdcard_img.sh   |  33 +++
 target/linux/archs38/image/uEnv.txt                |   7 +
 .../{generic => ramdisk}/profiles/00-default.mk    |   1 -
 target/linux/archs38/ramdisk/target.mk             |   8 +
 .../archs38/{generic => sd}/profiles/00-default.mk |   2 +-
 target/linux/archs38/sd/target.mk                  |   8 +
 .../096-arc-add-model-property-in-dts.patch        | 192 ++++++++++++++++++
 26 files changed, 320 insertions(+), 1038 deletions(-)
 delete mode 100644 target/linux/arc770/dts/axc001.dtsi
 delete mode 100644 target/linux/arc770/dts/axs101.dts
 delete mode 100644 target/linux/arc770/dts/axs10x_mb.dtsi
 delete mode 100644 target/linux/arc770/dts/nsim_700.dts
 delete mode 100644 target/linux/arc770/dts/skeleton.dtsi
 delete mode 100644 target/linux/archs38/dts/axc003_idu.dtsi
 delete mode 100644 target/linux/archs38/dts/axs103_idu.dts
 delete mode 100644 target/linux/archs38/dts/axs10x_mb.dtsi
 delete mode 100644 target/linux/archs38/dts/nsim_hs_idu.dts
 delete mode 100644 target/linux/archs38/dts/skeleton.dtsi
 delete mode 100644 target/linux/archs38/generic/profiles/01-minimal.mk
 delete mode 100644 target/linux/archs38/generic/profiles/02-axs103.mk
 delete mode 100644 target/linux/archs38/generic/profiles/03-nsim_hs.mk
 delete mode 100644 target/linux/archs38/generic/target.mk
 create mode 100644 target/linux/archs38/image/Config.in
 create mode 100755 target/linux/archs38/image/gen_axs10x_sdcard_img.sh
 create mode 100644 target/linux/archs38/image/uEnv.txt
 copy target/linux/archs38/{generic => ramdisk}/profiles/00-default.mk (80%)
 create mode 100644 target/linux/archs38/ramdisk/target.mk
 rename target/linux/archs38/{generic => sd}/profiles/00-default.mk (80%)
 create mode 100644 target/linux/archs38/sd/target.mk
 create mode 100644 target/linux/generic/patches-4.4/096-arc-add-model-property-in-dts.patch

-- 
2.7.4




More information about the Lede-dev mailing list