aspeed: provide suitable kernel build defaults

oe-core has these defaults:
 KERNEL_IMAGETYPE: "zimage"
 KERNEL_CLASSES: "kernel-uimage"
 INITRAMFS_IMAGE: ""
 INITRAMFS_FSTYPES: "cpio.gz"

Override those defaults with Aspeed specific defaults that are more
appropriate to the current state of typical usage (FIT) of Aspeed chips:

 KERNEL_IMAGETYPE: "fitImage"
 KERNEL_CLASSES: "kernel-fitimage"
 INITRAMFS_IMAGE: "aspeed-image-initramfs"
 INITRAMFS_FSTYPES: "cpio.xz"

By default use aspeed-image-initramfs in the FIT image.
aspeed-image-initramfs is just an alias to core-image-minimal.  The
alias is required because vanilla core-image-minimal is not an initramfs
image recipe...in oe, in general, the usage of the image recipe
(initramfs or not) is baked into the recipe itself with a line like:

IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"

The same behavior *could* be obtained with a bbappend but that then
prevents users from using the original image recipe as a real root
filesystem image in their setups.

Perhaps at a later time a replacement image with an Aspeed hardware
evaluation kit theme would be a more suitable default.

Change-Id: I87fd3dda04c1a433de6047745899789b168300dc
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2 files changed
tree: 985e91cd4b57b1c2abd43d52dc0e1d2e11f3b3f7
  1. conf/
  2. recipes-aspeed/
  3. recipes-bsp/
  4. recipes-core/
  5. recipes-kernel/
  6. COPYING.apache-2.0
  7. COPYING.MIT
  8. LICENSE
  9. MAINTAINERS
  10. README.md
README.md

ASPEED

This is the ASPEED Board Support Package (BSP) layer. It supports the AST2400 and AST2500; ARM service management SOCs made by ASPEED. More information about the AST2400 and AST2500 can be found here and here.