]> code.ossystems Code Review - meta-freescale.git/commitdiff
Reorg the qoriq include files
authorZhenhua Luo <zhenhua.luo@freescale.com>
Wed, 12 Aug 2015 14:42:14 +0000 (22:42 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 19 Apr 2016 18:03:15 +0000 (15:03 -0300)
* update qoriq-base.inc to ensure common bits of QorIQ ARM and QorIQ PPC are there
* add qoriq-ppc.inc to manage the common bits of QorIQ PPC targets
* update qoriq-arm.inc to ensure QorIQ ARM specific bits are there

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
conf/machine/include/qoriq-arm.inc
conf/machine/include/qoriq-base.inc
conf/machine/include/qoriq-ppc.inc [new file with mode: 0644]

index f93a0b21672a1b5582651e9fb414501e772e047c..1ec8917aeb60f5392dc3deaf469941d31122a0fb 100644 (file)
@@ -1,21 +1,18 @@
-require conf/machine/include/soc-family.inc
+require conf/machine/include/qoriq-base.inc
 
-# Freescale BSP default providers
-PREFERRED_PROVIDER_u-boot_ls102xa ?= "u-boot-ls1"
-PREFERRED_PROVIDER_virtual/bootloader_ls102xa ?= "u-boot-ls1"
-PREFERRED_PROVIDER_virtual/kernel_ls102xa ?= "linux-ls1"
-PREFERRED_PROVIDER_cryptodev_ls102xa = "cryptodev-qoriq"
-PREFERRED_PROVIDER_cryptodev-module_ls102xa = "cryptodev-qoriq-module"
-PREFERRED_PROVIDER_cryptodev-tests_ls102xa = "cryptodev-qoriq-tests"
-PREFERRED_PROVIDER_openssl_ls102xa = "openssl-qoriq"
+DEFAULTTUNE ?= "cortexa7hf-neon"
 
-# Define the default image type
-IMAGE_CLASSES ?= "image_types_uboot"
-KERNEL_IMAGETYPE ?= "uImage"
+# providers of QorIQ ARM targets
+PREFERRED_PROVIDER_u-boot ?= "u-boot-ls1"
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ls1"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-ls1"
 
-UBOOT_ENTRYPOINT_ls102xa = "0x80008000"
+UBOOT_ENTRYPOINT = "0x80008000"
 
-MACHINE_FEATURES = "pci ext2 ext3 serial"
-MACHINE_EXTRA_RRECOMMENDS = "udev-extraconf"
+MKUBIFS_ARGS ??= "-m 512 -e 15360 -c 3600"
+UBINIZE_ARGS ??= "-m 512 -p 16KiB -s 512"
 
-DEFAULTTUNE_ls102xa ?= "cortexa7hf-neon"
+SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyEHV0 115200;ttyLP0 115200;ttyAMA0"
+SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
+
+MACHINEOVERRIDES .= ":qoriq-arm"
index a89f4d5105b1cb466effbbdefed506e4d617d7a6..d38238a48b32599bcdaec7aa49ffec3f45f5998d 100644 (file)
@@ -1,29 +1,19 @@
 # Provides the QorIQ common settings
 require conf/machine/include/soc-family.inc
 
-# providers
-PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq"
-PREFERRED_PROVIDER_u-boot ?= "u-boot-qoriq"
+# common providers of QorIQ targets
 PREFERRED_PROVIDER_cryptodev = "cryptodev-qoriq"
 PREFERRED_PROVIDER_cryptodev-module = "cryptodev-qoriq-module"
 PREFERRED_PROVIDER_cryptodev-tests = "cryptodev-qoriq-tests"
 PREFERRED_PROVIDER_openssl = "openssl-qoriq"
 
-# versions
-PREFERRED_VERSION_qemu = "2.2.0+fsl"
-
-# settings
-MACHINE_FEATURES = "keyboard pci ext2 ext3 serial"
-MACHINE_EXTRA_RRECOMMENDS += "udev-rules-qoriq kernel-modules"
-MACHINEOVERRIDES .= ":qoriq-ppc"
-
-IMAGE_CLASSES += "image_types_uboot"
-EXTRA_IMAGEDEPENDS += "u-boot"
-
+# Define the default image type
+IMAGE_CLASSES ?= "image_types_uboot"
 KERNEL_IMAGETYPE ?= "uImage"
 
-SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyEHV0"
-SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
+MACHINE_FEATURES ?= "pci ext2 ext3 serial"
+MACHINE_EXTRA_RRECOMMENDS ?= "udev-rules-qoriq"
 
-USE_VT = "0"
+EXTRA_IMAGEDEPENDS += "u-boot cst-native"
 
+MACHINEOVERRIDES .= ":qoriq"
diff --git a/conf/machine/include/qoriq-ppc.inc b/conf/machine/include/qoriq-ppc.inc
new file mode 100644 (file)
index 0000000..6b77210
--- /dev/null
@@ -0,0 +1,16 @@
+require conf/machine/include/qoriq-base.inc
+
+# providers of QorIQ PPC targets
+PREFERRED_PROVIDER_u-boot ?= "u-boot-qoriq"
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-qoriq"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq"
+
+UBOOT_ENTRYPOINT = "0x80008000"
+
+MKUBIFS_ARGS ??= "-m 512 -e 15360 -c 3600"
+UBINIZE_ARGS ??= "-m 512 -p 16KiB -s 512"
+
+SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyEHV0"
+SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
+
+MACHINEOVERRIDES .= ":qoriq-ppc"