summaryrefslogtreecommitdiff
path: root/conf/machine/simc-t2081-tcb-02.conf
blob: d05e8209b1a6cd424c11d75f4826f7e41280c210 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#@TYPE: Machine
#@NAME: Scalys simc-t2081 Module on a TCB-02 carrier board
#@SOC: t2081
#@DESCRIPTION: Machine configuration for Sintecs simc-t2081 module on a TCB-02
#@MAINTAINER: Evert Pap <evert.pap@sintecs.nl>

require conf/machine/include/e6500-64b.inc

SOC_FAMILY = "t2:t2081"

KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3h_smp_defconfig"
KBUILD_DEFCONFIG ?= "corenet64_fmanv3h_smp_defconfig"
KERNEL_DEVICETREE ?= "fsl/simc-t2081.dtb"
KERNEL_FIT_IMAGES ?= "simc-t2081"

PREFERRED_PROVIDER_virtual/bootloader = "${PREFERRED_PROVIDER_u-boot}"
PREFERRED_VERSION_u-boot_qoriq = "2017.09"
UBOOT_CONFIG ??= "nand"
UBOOT_CONFIG[nand] = "T2_simc-t2081_nand_config,,u-boot-with-spl-pbl.bin"

# 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"

# Ensure that the the kernel modules are inserted into the image during re-builds.
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "kernel-modules"