summaryrefslogtreecommitdiffstats
path: root/configs/platform-beaglebone
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2016-06-08 17:10:07 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2016-06-10 14:32:28 +0200
commit2b72a17712b4faaae2d8b47b3762ada28ed507b7 (patch)
tree4a7d85f6c686f53617777b173945bf6a877cc942 /configs/platform-beaglebone
parent6363815629a51cfc4b386fa53e2d94670bc968f0 (diff)
downloadDistroKit-2b72a17712b4faaae2d8b47b3762ada28ed507b7.tar.gz
DistroKit-2b72a17712b4faaae2d8b47b3762ada28ed507b7.tar.xz
platform beaglebone: add bootspec entries for bone and boneblack
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Diffstat (limited to 'configs/platform-beaglebone')
-rw-r--r--configs/platform-beaglebone/platformconfig2
-rw-r--r--configs/platform-beaglebone/platforms/blspec-boneblack.in5
-rw-r--r--configs/platform-beaglebone/platforms/blspec-bonewhite.in5
-rw-r--r--configs/platform-beaglebone/projectroot/loader/entries/boneblack.conf5
-rw-r--r--configs/platform-beaglebone/projectroot/loader/entries/bonewhite.conf5
-rw-r--r--configs/platform-beaglebone/rules/blspec-boneblack.make38
-rw-r--r--configs/platform-beaglebone/rules/blspec-bonewhite.make38
7 files changed, 98 insertions, 0 deletions
diff --git a/configs/platform-beaglebone/platformconfig b/configs/platform-beaglebone/platformconfig
index aa8f7f8..326d3a9 100644
--- a/configs/platform-beaglebone/platformconfig
+++ b/configs/platform-beaglebone/platformconfig
@@ -186,6 +186,8 @@ PTXCONF_BOOTLOADER=y
#
# bootloader spec entries
#
+PTXCONF_BLSPEC_BONEBLACK=y
+PTXCONF_BLSPEC_BONEWHITE=y
# PTXCONF_BLSPEC_ENTRY is not set
#
diff --git a/configs/platform-beaglebone/platforms/blspec-boneblack.in b/configs/platform-beaglebone/platforms/blspec-boneblack.in
new file mode 100644
index 0000000..a4eda10
--- /dev/null
+++ b/configs/platform-beaglebone/platforms/blspec-boneblack.in
@@ -0,0 +1,5 @@
+## SECTION=blspec
+
+config BLSPEC_BONEBLACK
+ tristate
+ prompt "/loader/entries/boneblack.conf bootloader spec entry"
diff --git a/configs/platform-beaglebone/platforms/blspec-bonewhite.in b/configs/platform-beaglebone/platforms/blspec-bonewhite.in
new file mode 100644
index 0000000..8408cd8
--- /dev/null
+++ b/configs/platform-beaglebone/platforms/blspec-bonewhite.in
@@ -0,0 +1,5 @@
+## SECTION=blspec
+
+config BLSPEC_BONEWHITE
+ tristate
+ prompt "/loader/entries/bonewhite.conf bootloader spec entry"
diff --git a/configs/platform-beaglebone/projectroot/loader/entries/boneblack.conf b/configs/platform-beaglebone/projectroot/loader/entries/boneblack.conf
new file mode 100644
index 0000000..028184f
--- /dev/null
+++ b/configs/platform-beaglebone/projectroot/loader/entries/boneblack.conf
@@ -0,0 +1,5 @@
+title BeagleBone Black - Pengutronix-DistroKit
+version 4.6
+options root=/dev/mmcblk0p2 rootfstype=ext4 rootwait rw
+linux /boot/zImage
+devicetree /boot/am335x-boneblack.dtb
diff --git a/configs/platform-beaglebone/projectroot/loader/entries/bonewhite.conf b/configs/platform-beaglebone/projectroot/loader/entries/bonewhite.conf
new file mode 100644
index 0000000..727a263
--- /dev/null
+++ b/configs/platform-beaglebone/projectroot/loader/entries/bonewhite.conf
@@ -0,0 +1,5 @@
+title BeagleBone White - Pengutronix-DistroKit
+version 4.6
+options root=/dev/mmcblk0p2 rootfstype=ext4 rootwait rw
+linux /boot/zImage
+devicetree /boot/am335x-bone.dtb
diff --git a/configs/platform-beaglebone/rules/blspec-boneblack.make b/configs/platform-beaglebone/rules/blspec-boneblack.make
new file mode 100644
index 0000000..841b13a
--- /dev/null
+++ b/configs/platform-beaglebone/rules/blspec-boneblack.make
@@ -0,0 +1,38 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2016 by Michael Grzeschik <mgr@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_BONEBLACK) += blspec-boneblack
+
+BLSPEC_BONEBLACK_VERSION := 4.6
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/blspec-boneblack.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, blspec-boneblack)
+ @$(call install_fixup,blspec-boneblack,PRIORITY,optional)
+ @$(call install_fixup,blspec-boneblack,SECTION,base)
+ @$(call install_fixup,blspec-boneblack,AUTHOR,"Michael Grzeschik <mgr@pengutronix.de>")
+ @$(call install_fixup,blspec-boneblack,DESCRIPTION,missing)
+
+ @$(call install_alternative, blspec-boneblack, 0, 0, 0644, \
+ /loader/entries/boneblack.conf)
+
+ @$(call install_finish,blspec-boneblack)
+
+ @$(call touch)
+
+# vim: syntax=make
diff --git a/configs/platform-beaglebone/rules/blspec-bonewhite.make b/configs/platform-beaglebone/rules/blspec-bonewhite.make
new file mode 100644
index 0000000..1d7cbea
--- /dev/null
+++ b/configs/platform-beaglebone/rules/blspec-bonewhite.make
@@ -0,0 +1,38 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2016 by Michael Grzeschik <mgr@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_BONEWHITE) += blspec-bonewhite
+
+BLSPEC_BONEWHITE_VERSION := 4.6
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/blspec-bonewhite.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, blspec-bonewhite)
+ @$(call install_fixup,blspec-bonewhite,PRIORITY,optional)
+ @$(call install_fixup,blspec-bonewhite,SECTION,base)
+ @$(call install_fixup,blspec-bonewhite,AUTHOR,"Michael Grzeschik <mgr@pengutronix.de>")
+ @$(call install_fixup,blspec-bonewhite,DESCRIPTION,missing)
+
+ @$(call install_alternative, blspec-bonewhite, 0, 0, 0644, \
+ /loader/entries/bonewhite.conf)
+
+ @$(call install_finish,blspec-bonewhite)
+
+ @$(call touch)
+
+# vim: syntax=make