diff options
author | Evert Pap <evert.pap@sintecs.nl> | 2016-05-04 07:12:43 (GMT) |
---|---|---|
committer | Evert Pap <evert.pap@sintecs.nl> | 2016-05-04 07:12:43 (GMT) |
commit | b557314d53aca8b1a087f143db33f1f523e095e7 (patch) | |
tree | 31a46e125480ae989e6b899783c5e209c6750f3e /conf | |
download | meta-scalys-ppc-b557314d53aca8b1a087f143db33f1f523e095e7.tar.xz |
Initial commit of the scalys ppc OE layer
Diffstat (limited to 'conf')
-rw-r--r-- | conf/layer.conf | 10 | ||||
-rw-r--r-- | conf/machine/simc-t1022-tcb-02.conf | 36 |
2 files changed, 46 insertions, 0 deletions
diff --git a/conf/layer.conf b/conf/layer.conf new file mode 100644 index 0000000..f65cbe4 --- /dev/null +++ b/conf/layer.conf @@ -0,0 +1,10 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have a packages directory, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "scalys-ppc" +BBFILE_PATTERN_scalys-ppc := "^${LAYERDIR}/" +BBFILE_PRIORITY_scalys-ppc = "4" diff --git a/conf/machine/simc-t1022-tcb-02.conf b/conf/machine/simc-t1022-tcb-02.conf new file mode 100644 index 0000000..0239999 --- /dev/null +++ b/conf/machine/simc-t1022-tcb-02.conf @@ -0,0 +1,36 @@ +#@TYPE: Machine +#@NAME: Scalys simc-t1022 Module on a TCB-02 carrier board +#@SOC: t1022 +#@DESCRIPTION: Machine configuration for Sintecs simc-t1022 module on a TCB-02 +#@MAINTAINER: Evert Pap <evert.pap@sintecs.nl> + +require conf/machine/include/e5500-64b.inc + +SOC_FAMILY = "t1:t1022" + +KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/simc-t10xx_defconfig" +KERNEL_DEVICETREE ?= "simc-t1022.dtb" +KERNEL_FIT_IMAGES ?= "simc-t1022" + +PREFERRED_PROVIDER_virtual/bootloader = "${PREFERRED_PROVIDER_u-boot}" +UBOOT_CONFIG ??= "nand" +UBOOT_CONFIG[nand] = "T1_simc-t10xx_nand_config" + +# Images types generated for this machine +IMAGE_FSTYPES = "tar.bz2 ubifs ubi" + +# mkfs.ubi options: +# Find parameter values on target with `ubinfo -a` +# -m, --min-io-size=SIZE minimum I/O unit size +# -e, --leb-size=SIZE logical erase block size +# -c, --max-leb-cnt=COUNT maximum logical erase block count +MKUBIFS_ARGS = "--space-fixup -m 2048 -e 124KiB -c 10000" + +# ubinize options: +# Find parameter values on target with `mtdinfo -a` +# -p, --peb-size=<bytes> size of the physical eraseblock of the flash +# -m, --min-io-size=<bytes> minimum input/output unit size of the flash in bytes +# -s, --sub-page-size=<bytes> minimum input/output unit used for UBI headers +UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048" +UBI_VOLNAME = "rootfs" + |