summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configs/platform-v7a/config/images/sabrelite.config22
-rw-r--r--configs/platform-v7a/platforms/blspec-sabrelite.in5
-rw-r--r--configs/platform-v7a/platforms/image-sabrelite.in10
-rw-r--r--configs/platform-v7a/projectroot/loader/entries/sabrelite.conf5
-rw-r--r--configs/platform-v7a/rules/blspec-sabrelite.make38
-rw-r--r--configs/platform-v7a/rules/image-sabrelite.make34
6 files changed, 114 insertions, 0 deletions
diff --git a/configs/platform-v7a/config/images/sabrelite.config b/configs/platform-v7a/config/images/sabrelite.config
new file mode 100644
index 0000000..6f68f9d
--- /dev/null
+++ b/configs/platform-v7a/config/images/sabrelite.config
@@ -0,0 +1,22 @@
+image @IMAGE@ {
+ hdimage {
+ align = 1M
+ disk-signature = 0x67bac764
+ }
+
+ partition barebox {
+ in-partition-table = false
+ image = "barebox-freescale-imx6q-sabrelite.img"
+ size = 2M
+ }
+
+ partition root-A {
+ image = root.ext2
+ partition-type = 0x83
+ size = 512M
+ }
+ partition data {
+ partition-type = 0x83
+ size = 512M
+ }
+}
diff --git a/configs/platform-v7a/platforms/blspec-sabrelite.in b/configs/platform-v7a/platforms/blspec-sabrelite.in
new file mode 100644
index 0000000..ccf1b39
--- /dev/null
+++ b/configs/platform-v7a/platforms/blspec-sabrelite.in
@@ -0,0 +1,5 @@
+## SECTION=blspec
+
+config BLSPEC_SABRELITE
+ tristate
+ prompt "/loader/entries/sabrelite.conf bootloader spec entry"
diff --git a/configs/platform-v7a/platforms/image-sabrelite.in b/configs/platform-v7a/platforms/image-sabrelite.in
new file mode 100644
index 0000000..88afced
--- /dev/null
+++ b/configs/platform-v7a/platforms/image-sabrelite.in
@@ -0,0 +1,10 @@
+## SECTION=image
+
+config IMAGE_SABRELITE
+ tristate
+ select HOST_GENIMAGE
+ select IMAGE_ROOT_EXT
+ select BAREBOX_MX6
+ prompt "Generate images/sabrelite.hdimg"
+ help
+ FIXME
diff --git a/configs/platform-v7a/projectroot/loader/entries/sabrelite.conf b/configs/platform-v7a/projectroot/loader/entries/sabrelite.conf
new file mode 100644
index 0000000..af942bf
--- /dev/null
+++ b/configs/platform-v7a/projectroot/loader/entries/sabrelite.conf
@@ -0,0 +1,5 @@
+title PTXdist - Pengutronix-DistroKit
+version 4.11
+options rootwait
+linux /boot/zImage
+devicetree /boot/imx6q-sabrelite.dtb
diff --git a/configs/platform-v7a/rules/blspec-sabrelite.make b/configs/platform-v7a/rules/blspec-sabrelite.make
new file mode 100644
index 0000000..47b2607
--- /dev/null
+++ b/configs/platform-v7a/rules/blspec-sabrelite.make
@@ -0,0 +1,38 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2017 by Sascha Hauer <s.hauer@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_BLSPEC_SABRELITE) += blspec-sabrelite
+
+BLSPEC_SABRELITE_VERSION := 4.11
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/blspec-sabrelite.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, blspec-sabrelite)
+ @$(call install_fixup,blspec-sabrelite,PRIORITY,optional)
+ @$(call install_fixup,blspec-sabrelite,SECTION,base)
+ @$(call install_fixup,blspec-sabrelite,AUTHOR,"Sascha Hauer <s.hauer@pengutronix.de>")
+ @$(call install_fixup,blspec-sabrelite,DESCRIPTION,missing)
+
+ @$(call install_alternative, blspec-sabrelite, 0, 0, 0644, \
+ /loader/entries/sabrelite.conf)
+
+ @$(call install_finish,blspec-sabrelite)
+
+ @$(call touch)
+
+# vim: syntax=make
diff --git a/configs/platform-v7a/rules/image-sabrelite.make b/configs/platform-v7a/rules/image-sabrelite.make
new file mode 100644
index 0000000..406d325
--- /dev/null
+++ b/configs/platform-v7a/rules/image-sabrelite.make
@@ -0,0 +1,34 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2017 by Sascha Hauer <s.hauer@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+IMAGE_PACKAGES-$(PTXCONF_IMAGE_SABRELITE) += image-sabrelite
+
+#
+# Paths and names
+#
+IMAGE_SABRELITE := image-sabrelite
+IMAGE_SABRELITE_DIR := $(BUILDDIR)/$(IMAGE_SABRELITE)
+IMAGE_SABRELITE_IMAGE := $(IMAGEDIR)/sabrelite.hdimg
+IMAGE_SABRELITE_FILES := $(IMAGEDIR)/root.tgz
+IMAGE_SABRELITE_CONFIG := sabrelite.config
+
+# ----------------------------------------------------------------------------
+# Image
+# ----------------------------------------------------------------------------
+
+$(IMAGE_SABRELITE_IMAGE):
+ @$(call targetinfo)
+ @$(call image/genimage, IMAGE_SABRELITE)
+ @$(call finish)
+
+# vim: syntax=make