diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2017-06-16 12:17:24 +0200 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2017-07-04 09:25:24 +0200 |
commit | 0514c74778dbacf9c20aeae6ed05a43ce8a0bede (patch) | |
tree | a93ce28b467e1d8f198a236a89b877f3fd79eb4f /configs | |
parent | c4a190b1ad945e2511fe5988f3ff237af2a8983b (diff) | |
download | DistroKit-0514c74778dbacf9c20aeae6ed05a43ce8a0bede.tar.gz DistroKit-0514c74778dbacf9c20aeae6ed05a43ce8a0bede.tar.xz |
platform-v7a: udoo neo: add board support
Add missing select to BAREBOX_MX6
We need root.ext2, select it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'configs')
6 files changed, 115 insertions, 0 deletions
diff --git a/configs/platform-v7a/config/images/udoo-neo.config b/configs/platform-v7a/config/images/udoo-neo.config new file mode 100644 index 0000000..9934fa5 --- /dev/null +++ b/configs/platform-v7a/config/images/udoo-neo.config @@ -0,0 +1,22 @@ +image @IMAGE@ { + hdimage { + align = 1M + disk-signature = 0x374ac764 + } + + partition barebox { + in-partition-table = false + image = "barebox-udoo-neo.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-udoo-neo.in b/configs/platform-v7a/platforms/blspec-udoo-neo.in new file mode 100644 index 0000000..727ac27 --- /dev/null +++ b/configs/platform-v7a/platforms/blspec-udoo-neo.in @@ -0,0 +1,5 @@ +## SECTION=blspec + +config BLSPEC_UDOO_NEO + tristate + prompt "/loader/entries/udoo-neo.conf bootloader spec entry" diff --git a/configs/platform-v7a/platforms/image-udoo-neo.in b/configs/platform-v7a/platforms/image-udoo-neo.in new file mode 100644 index 0000000..bdfc6fa --- /dev/null +++ b/configs/platform-v7a/platforms/image-udoo-neo.in @@ -0,0 +1,10 @@ +## SECTION=image + +config IMAGE_UDOO_NEO + tristate + select HOST_GENIMAGE + select BAREBOX_MX6 + select IMAGE_ROOT_EXT + prompt "Generate images/udoo-neo.hdimg" + help + FIXME diff --git a/configs/platform-v7a/projectroot/loader/entries/udoo-neo.conf b/configs/platform-v7a/projectroot/loader/entries/udoo-neo.conf new file mode 100644 index 0000000..c8fa497 --- /dev/null +++ b/configs/platform-v7a/projectroot/loader/entries/udoo-neo.conf @@ -0,0 +1,6 @@ +title Udoo Neo - Pengutronix-DistroKit +version 4.11 +options +linux /boot/zImage +devicetree /boot/imx6sx-udoo-neo-full.dtb +linux-appendroot true diff --git a/configs/platform-v7a/rules/blspec-udoo-neo.make b/configs/platform-v7a/rules/blspec-udoo-neo.make new file mode 100644 index 0000000..248aa27 --- /dev/null +++ b/configs/platform-v7a/rules/blspec-udoo-neo.make @@ -0,0 +1,38 @@ +# -*-makefile-*- +# +# Copyright (C) 2017 by Uwe Kleine-Koenig <u.kleine-koenig@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_UDOO_NEO) += blspec-udoo-neo + +BLSPEC_UDOO_NEO_VERSION := 4.11 + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/blspec-udoo-neo.targetinstall: + @$(call targetinfo) + + @$(call install_init, blspec-udoo-neo) + @$(call install_fixup,blspec-udoo-neo,PRIORITY,optional) + @$(call install_fixup,blspec-udoo-neo,SECTION,base) + @$(call install_fixup,blspec-udoo-neo,AUTHOR,"Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>") + @$(call install_fixup,blspec-udoo-neo,DESCRIPTION,missing) + + @$(call install_alternative, blspec-udoo-neo, 0, 0, 0644, \ + /loader/entries/udoo-neo.conf) + + @$(call install_finish,blspec-udoo-neo) + + @$(call touch) + +# vim: syntax=make diff --git a/configs/platform-v7a/rules/image-udoo-neo.make b/configs/platform-v7a/rules/image-udoo-neo.make new file mode 100644 index 0000000..219b67a --- /dev/null +++ b/configs/platform-v7a/rules/image-udoo-neo.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_UDOO_NEO) += image-udoo-neo + +# +# Paths and names +# +IMAGE_UDOO_NEO := image-udoo-neo +IMAGE_UDOO_NEO_DIR := $(BUILDDIR)/$(IMAGE_UDOO_NEO) +IMAGE_UDOO_NEO_IMAGE := $(IMAGEDIR)/udoo-neo.hdimg +IMAGE_UDOO_NEO_FILES := $(IMAGEDIR)/root.tgz +IMAGE_UDOO_NEO_CONFIG := udoo-neo.config + +# ---------------------------------------------------------------------------- +# Image +# ---------------------------------------------------------------------------- + +$(IMAGE_UDOO_NEO_IMAGE): + @$(call targetinfo) + @$(call image/genimage, IMAGE_UDOO_NEO) + @$(call finish) + +# vim: syntax=make |