Skip to contentSkip to conversation

zc702-proto-image: Replace apps-console-core image feature with splash.

PATCH New Elvis Dowson 1 participant 2 messages Oct 13, 2012 Arm/Zynq architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 zc702-proto-image: Replace apps-console-core image feature with splash.

This commit fixes a warning related to apps-console-core, since it has been removed, and replaces it with the splash image feature.

---
 recipes-core/images/zc702-proto-image.bb |   12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
recipes-core/images/zc702-proto-image.bb +5 -7
index a6e4b11..02a6af2 100644
@@ -1,14 +1,12 @@
-DESCRIPTION = "A foundational basic image without support for X that can be \
-reasonably used for customization."
+DESCRIPTION = "A console-only image with more full-featured Linux system \
+functionality installed."
 
-IMAGE_FEATURES += "apps-console-core ssh-server-openssh tools-sdk \
+IMAGE_FEATURES += "splash ssh-server-openssh tools-sdk \
                    tools-debug debug-tweaks"
 
 IMAGE_INSTALL = "\
-    task-core-boot \
-    task-core-basic \
+    packagegroup-core-boot \
+    packagegroup-core-basic \
     "
 
-#    ${CORE_IMAGE_BASE_INSTALL} 
-
 inherit core-image
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 2/2 zynq-zc702: Refactor machine configuration.

This commit
* refactors the zynq-zc702 machine configuration
* adds u-boot to the generated rootfs

---
 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
conf/machine/include/zynq-base.inc new file +21 -0
new file mode 100644
index 0000000..1b30a4d
@@ -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"
conf/machine/include/zynq-default-providers.inc new file +4 -0
new file mode 100644
index 0000000..10934c7
@@ -0,0 +1,4 @@
+# Xilinx Zynq BSP default providers
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-zynq"
+PREFERRED_PROVIDER_u-boot ?= "u-boot-zynq"
conf/machine/zynq-zc702.conf +5 -9
index 74a1271..09ef4a1 100644
@@ -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"
-
Signature · 1 line
1.7.9.5