summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkx <kx@radix.pro>2016-03-07 01:31:35 +0300
committerkx <kx@radix.pro>2016-03-07 01:31:35 +0300
commit8e53eff149b50948f659053f04e7f2d53eb9d2bd (patch)
treec2c605c2bea0532727ae0334dba83b6554c8c87a
parent148d5da8b57d4d1245d4d1629a4e3429339159e5 (diff)
downloadsources-8e53eff149b50948f659053f04e7f2d53eb9d2bd.tar.xz
Boundary Devices Linux & U-Boot for i.MX6 based boards
-rw-r--r--Linux/Boundary/Makefile24
-rw-r--r--Linux/Boundary/Nit6Q/Makefile67
-rw-r--r--Linux/Boundary/Nit6Q/linux-imx6.txt18
-rw-r--r--Linux/Freescale/Makefile24
-rw-r--r--Makefile1
-rw-r--r--U-Boot/Boundary/Makefile24
-rw-r--r--U-Boot/Boundary/Nit6Q/Makefile67
-rw-r--r--U-Boot/Boundary/Nit6Q/u-boot-imx6.txt18
-rw-r--r--U-Boot/Makefile1
9 files changed, 244 insertions, 0 deletions
diff --git a/Linux/Boundary/Makefile b/Linux/Boundary/Makefile
new file mode 100644
index 0000000..2b81354
--- /dev/null
+++ b/Linux/Boundary/Makefile
@@ -0,0 +1,24 @@
+
+#
+# Following command helps to cheate SUBDIRS list:
+# $ tree -fid .
+#
+
+SUBDIRS := Nit6Q
+
+
+all-recursive downloads_clean-recursive:
+ @set fnord $(MAKEFLAGS); amf=$$2; \
+ target=`echo $@ | sed s/-recursive//`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ local_target="$$target"; \
+ (cd $$subdir && $(MAKE) $$fnord $$local_target) \
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ done; test -z "$$fail"
+
+all: all-recursive
+
+downloads_clean: downloads_clean-recursive
+
+.PHONY: all-recursive downloads_clean-recursive all downloads_clean
diff --git a/Linux/Boundary/Nit6Q/Makefile b/Linux/Boundary/Nit6Q/Makefile
new file mode 100644
index 0000000..02dcd95
--- /dev/null
+++ b/Linux/Boundary/Nit6Q/Makefile
@@ -0,0 +1,67 @@
+
+#
+# Boundary Devices i.MX6 Linux Tree: https://github.com/boundarydevices/linux-imx6.git
+#
+
+url = git://radix.pro/freescale/boundary
+
+repo_name = linux-imx6
+
+#
+# List of tags to be extracted:
+# ============================
+#
+# Revisions from boundary-imx_3.14.28_1.0.0_ga branch used for iMX.6
+#
+# hash | branch | date
+# ----------------------------------------+------------+------
+revisions = f51af70093e980596fe15107b3848ef245ee4b4e:imx6-3.14.28:20160304
+
+
+git_repo = .git_clone
+
+suffix = tar.xz
+
+versions = $(foreach tag, $(revisions), $(addprefix $(shell echo $(tag) | cut -f 2 -d ':')-, $(shell echo $(tag) | cut -f 3 -d ':')))
+
+tarballs = $(addsuffix .$(suffix), $(addprefix linux-, $(versions)))
+sha1s = $(addsuffix .sha1sum, $(tarballs))
+
+TARGETS = repository_clean
+
+all: $(TARGETS)
+
+.PHONY: downloads_clean repository_clean
+
+$(git_repo):
+ @echo -e "\n======= Clone $(repo_name).git repository =======\n"
+ @rm -rf $(repo_name)
+ @git clone $(url)/$(repo_name).git $(repo_name)
+ @touch $@
+
+$(tarballs): $(git_repo)
+ @for revision in $(revisions) ; do \
+ hash=`echo $$revision | cut -f 1 -d ':'` ; \
+ branch=`echo $$revision | cut -f 2 -d ':'` ; \
+ date=`echo $$revision | cut -f 3 -d ':'` ; \
+ if [ ! -f linux-$$branch-$$date.$(suffix) ]; then \
+ echo -e "\n======= Creating 'linux-$$branch-$$date.$(suffix)' snapshot =======" ; \
+ ( cd $(repo_name) && \
+ git archive --format=tar --prefix=linux-$$branch-$$date/ $$hash | \
+ xz >../linux-$$branch-$$date.$(suffix) ) ; \
+ fi ; \
+ done
+
+$(sha1s): %.$(suffix).sha1sum : %.$(suffix)
+ @for tarball in $< ; do \
+ echo -e "\n======= Calculation the '$$tarball' sha1sum =======" ; \
+ sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+ done
+
+repository_clean: $(sha1s)
+ @echo -e "\n======= Remove cloned $(repo_name).git repository =======\n"
+ @rm -rf $(git_repo) $(repo_name)
+
+downloads_clean:
+ @rm -rf $(tarballs) $(sha1s)
+ @rm -rf $(git_repo) $(repo_name)
diff --git a/Linux/Boundary/Nit6Q/linux-imx6.txt b/Linux/Boundary/Nit6Q/linux-imx6.txt
new file mode 100644
index 0000000..35f56df
--- /dev/null
+++ b/Linux/Boundary/Nit6Q/linux-imx6.txt
@@ -0,0 +1,18 @@
+
+URL: http://boundarydevices.com/i-mx6-frequently-asked-questions-and-answers/#latest-kernel
+
+GitHub:
+======
+https://github.com/boundarydevices/linux-imx6.git
+
+Clone:
+=====
+$ git clone https://github.com/boundarydevices/linux-imx6.git
+
+
+branch for non-Android: 'boundary-imx_3.14.28_1.0.0_ga':
+=======================================================
+snapshots:
+ 'f51af70093e980596fe15107b3848ef245ee4b4e'
+
+Config (arch/arm/configs): nitrogen6x_defconfig
diff --git a/Linux/Freescale/Makefile b/Linux/Freescale/Makefile
new file mode 100644
index 0000000..2b81354
--- /dev/null
+++ b/Linux/Freescale/Makefile
@@ -0,0 +1,24 @@
+
+#
+# Following command helps to cheate SUBDIRS list:
+# $ tree -fid .
+#
+
+SUBDIRS := Nit6Q
+
+
+all-recursive downloads_clean-recursive:
+ @set fnord $(MAKEFLAGS); amf=$$2; \
+ target=`echo $@ | sed s/-recursive//`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ local_target="$$target"; \
+ (cd $$subdir && $(MAKE) $$fnord $$local_target) \
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ done; test -z "$$fail"
+
+all: all-recursive
+
+downloads_clean: downloads_clean-recursive
+
+.PHONY: all-recursive downloads_clean-recursive all downloads_clean
diff --git a/Makefile b/Makefile
index 3074053..11623fb 100644
--- a/Makefile
+++ b/Makefile
@@ -84,6 +84,7 @@ SUBDIRS := GNOME \
GNU/which \
Linux \
Linux/Allwinner \
+ Linux/Boundary \
Linux/Freescale \
Linux/Ingenic \
Linux/Rockchip \
diff --git a/U-Boot/Boundary/Makefile b/U-Boot/Boundary/Makefile
new file mode 100644
index 0000000..2b81354
--- /dev/null
+++ b/U-Boot/Boundary/Makefile
@@ -0,0 +1,24 @@
+
+#
+# Following command helps to cheate SUBDIRS list:
+# $ tree -fid .
+#
+
+SUBDIRS := Nit6Q
+
+
+all-recursive downloads_clean-recursive:
+ @set fnord $(MAKEFLAGS); amf=$$2; \
+ target=`echo $@ | sed s/-recursive//`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ local_target="$$target"; \
+ (cd $$subdir && $(MAKE) $$fnord $$local_target) \
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ done; test -z "$$fail"
+
+all: all-recursive
+
+downloads_clean: downloads_clean-recursive
+
+.PHONY: all-recursive downloads_clean-recursive all downloads_clean
diff --git a/U-Boot/Boundary/Nit6Q/Makefile b/U-Boot/Boundary/Nit6Q/Makefile
new file mode 100644
index 0000000..93ec3e4
--- /dev/null
+++ b/U-Boot/Boundary/Nit6Q/Makefile
@@ -0,0 +1,67 @@
+
+#
+# Boundary Devices i.MX6 U-Boot: https://github.com/boundarydevices/linux-imx6.git
+#
+
+url = git://radix.pro/freescale/boundary
+
+repo_name = u-boot-imx6
+
+#
+# List of tags to be extracted:
+# ============================
+#
+# Revisions from boundary-v2015.07 branch used for iMX.6
+#
+# hash | branch | date
+# ----------------------------------------+------------+------
+revisions = 51716cdbae34c02ec6bedec668e1745463fec2b2:imx6-2015.07:20160305
+
+
+git_repo = .git_clone
+
+suffix = tar.xz
+
+versions = $(foreach tag, $(revisions), $(addprefix $(shell echo $(tag) | cut -f 2 -d ':')-, $(shell echo $(tag) | cut -f 3 -d ':')))
+
+tarballs = $(addsuffix .$(suffix), $(addprefix u-boot-, $(versions)))
+sha1s = $(addsuffix .sha1sum, $(tarballs))
+
+TARGETS = repository_clean
+
+all: $(TARGETS)
+
+.PHONY: downloads_clean repository_clean
+
+$(git_repo):
+ @echo -e "\n======= Clone $(repo_name).git repository =======\n"
+ @rm -rf $(repo_name)
+ @git clone $(url)/$(repo_name).git $(repo_name)
+ @touch $@
+
+$(tarballs): $(git_repo)
+ @for revision in $(revisions) ; do \
+ hash=`echo $$revision | cut -f 1 -d ':'` ; \
+ branch=`echo $$revision | cut -f 2 -d ':'` ; \
+ date=`echo $$revision | cut -f 3 -d ':'` ; \
+ if [ ! -f u-boot-$$branch-$$date.$(suffix) ]; then \
+ echo -e "\n======= Creating 'u-boot-$$branch-$$date.$(suffix)' snapshot =======" ; \
+ ( cd $(repo_name) && \
+ git archive --format=tar --prefix=u-boot-$$branch-$$date/ $$hash | \
+ xz >../u-boot-$$branch-$$date.$(suffix) ) ; \
+ fi ; \
+ done
+
+$(sha1s): %.$(suffix).sha1sum : %.$(suffix)
+ @for tarball in $< ; do \
+ echo -e "\n======= Calculation the '$$tarball' sha1sum =======" ; \
+ sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+ done
+
+repository_clean: $(sha1s)
+ @echo -e "\n======= Remove cloned $(repo_name).git repository =======\n"
+ @rm -rf $(git_repo) $(repo_name)
+
+downloads_clean:
+ @rm -rf $(tarballs) $(sha1s)
+ @rm -rf $(git_repo) $(repo_name)
diff --git a/U-Boot/Boundary/Nit6Q/u-boot-imx6.txt b/U-Boot/Boundary/Nit6Q/u-boot-imx6.txt
new file mode 100644
index 0000000..e9e48e0
--- /dev/null
+++ b/U-Boot/Boundary/Nit6Q/u-boot-imx6.txt
@@ -0,0 +1,18 @@
+
+URL: http://boundarydevices.com/i-mx6-frequently-asked-questions-and-answers/#latest-kernel
+
+GitHub:
+======
+https://github.com/boundarydevices/u-boot-imx6.git
+
+Clone:
+=====
+$ git clone https://github.com/boundarydevices/u-boot-imx6.git
+
+
+Latest stable branch: 'boundary-v2015.07':
+=========================================
+snapshots:
+ '51716cdbae34c02ec6bedec668e1745463fec2b2'
+
+Config (arch/arm/configs): nitrogen6x_defconfig
diff --git a/U-Boot/Makefile b/U-Boot/Makefile
index e59186c..32ec477 100644
--- a/U-Boot/Makefile
+++ b/U-Boot/Makefile
@@ -5,6 +5,7 @@
#
SUBDIRS := Allwinner \
+ Boundary \
Ingenic \
TI \
denx