From: Elvis Dowson <elvis.dowson@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Elvis Dowson <elvis.dowson@gmail.com>
Subject: [meta-zynq-balister 2/2] zynq-zc702: Refactor machine configuration.
Date: Sat, 13 Oct 2012 23:46:30 +0400 [thread overview]
Message-ID: <1350157590-14336-2-git-send-email-elvis.dowson@gmail.com> (raw)
In-Reply-To: <1350157590-14336-1-git-send-email-elvis.dowson@gmail.com>
This commit
* refactors the zynq-zc702 machine configuration
* adds u-boot to the generated rootfs
Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
---
conf/machine/include/zynq-base.inc | 21 +++++++++++++++++++++
conf/machine/include/zynq-default-providers.inc | 4 ++++
conf/machine/zynq-zc702.conf | 14 +++++---------
3 files changed, 30 insertions(+), 9 deletions(-)
create mode 100644 conf/machine/include/zynq-base.inc
create mode 100644 conf/machine/include/zynq-default-providers.inc
diff --git a/conf/machine/include/zynq-base.inc b/conf/machine/include/zynq-base.inc
new file mode 100644
index 0000000..1b30a4d
--- /dev/null
+++ b/conf/machine/include/zynq-base.inc
@@ -0,0 +1,21 @@
+# Provides the Xilinx Zynq common settings
+
+include conf/machine/include/zynq-default-providers.inc
+
+# Add u-boot image to rootfs
+EXTRA_IMAGEDEPENDS = "u-boot-zynq"
+
+# Specify kernel image type
+KERNEL_IMAGETYPE = "uImage"
+
+# Specify machine features
+MACHINE_FEATURES = "apm vfat ethernet"
+
+# Ship kernel modules
+MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
+
+# Specify rootfs image filesystem types
+IMAGE_FSTYPES += "tar.gz"
+
+# Specify serial console settings
+SERIAL_CONSOLE = "115200 ttyPS0"
diff --git a/conf/machine/include/zynq-default-providers.inc b/conf/machine/include/zynq-default-providers.inc
new file mode 100644
index 0000000..10934c7
--- /dev/null
+++ b/conf/machine/include/zynq-default-providers.inc
@@ -0,0 +1,4 @@
+# Xilinx Zynq BSP default providers
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-zynq"
+PREFERRED_PROVIDER_u-boot ?= "u-boot-zynq"
diff --git a/conf/machine/zynq-zc702.conf b/conf/machine/zynq-zc702.conf
index 74a1271..09ef4a1 100644
--- a/conf/machine/zynq-zc702.conf
+++ b/conf/machine/zynq-zc702.conf
@@ -1,14 +1,10 @@
-include conf/machine/include/tune-cortexa9.inc
-
-PREFERRED_PROVIDER_virtual/kernel ?= "linux-zynq"
-
-MACHINE_FEATURES = "apm vfat ethernet"
+#@TYPE: Machine
+#@Name: Xilinx ZC702 FPGA Development Platform for the Zynq-7020 processor.
+#@DESCRIPTION: Machine configuration for the Xilinx ZC702 FPGA Development Platform.
-IMAGE_FSTYPES += "tar.gz"
-
-SERIAL_CONSOLE = "115200 ttyPS0"
+include conf/machine/include/zynq-base.inc
+include conf/machine/include/tune-cortexa9.inc
UBOOT_MACHINE = "zynq_zc702_config"
#UBOOT_ENTRYPOINT = "0x80008000"
#UBOOT_LOADADDRESS = "0x80008000"
-
--
1.7.9.5
prev parent reply other threads:[~2012-10-13 19:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-13 19:46 [meta-zynq-balister 1/2] zc702-proto-image: Replace apps-console-core image feature with splash Elvis Dowson
2012-10-13 19:46 ` Elvis Dowson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1350157590-14336-2-git-send-email-elvis.dowson@gmail.com \
--to=elvis.dowson@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox