[LEDE-DEV] [PATCH 0/4] arc770: Introduce images for SD-cards

Alexey Brodkin Alexey.Brodkin at synopsys.com
Wed Aug 24 07:48:08 PDT 2016


Note this series implement exactly the same thing as it was done for
ARC HS38 recently with only one important difference - this time we're
not creating new subtargets keeping everything in generic one.

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 (4):
  arc770: Reduce generalization
  arc770: Update kernel configuration
  arc770: Remove MMC kernel modules, they are built-in now
  arc770: Introduce images for SD-cards

 target/linux/arc770/config-4.4                     | 10 ++-
 target/linux/arc770/generic/profiles/00-default.mk |  2 +-
 target/linux/arc770/generic/profiles/01-minimal.mk | 15 ----
 target/linux/arc770/generic/profiles/02-axs101.mk  | 16 ----
 .../linux/arc770/generic/profiles/03-nsim_700.mk   | 15 ----
 target/linux/arc770/generic/target.mk              |  2 +-
 target/linux/arc770/image/Config.in                |  5 ++
 target/linux/arc770/image/Makefile                 | 98 +++++++++++++---------
 target/linux/arc770/image/gen_axs10x_sdcard_img.sh | 33 ++++++++
 target/linux/arc770/image/uEnv.txt                 |  7 ++
 10 files changed, 114 insertions(+), 89 deletions(-)
 delete mode 100644 target/linux/arc770/generic/profiles/01-minimal.mk
 delete mode 100644 target/linux/arc770/generic/profiles/02-axs101.mk
 delete mode 100644 target/linux/arc770/generic/profiles/03-nsim_700.mk
 create mode 100644 target/linux/arc770/image/Config.in
 create mode 100755 target/linux/arc770/image/gen_axs10x_sdcard_img.sh
 create mode 100644 target/linux/arc770/image/uEnv.txt

-- 
2.7.4




More information about the Lede-dev mailing list