mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-01-12 01:20:20 +00:00
As AM57xx already defined both "dra7xx" and "am57xx" as SOC_FAMILY the AM57xx was effectively a superset MACHINE. Although not all features of AM57xx are needed for DRA7xx, make DRA7xx-EVM use the AM57xx definition. This allows us to still support DRA7xx as the only differences that impact device function are the selection of U-Boot defconfig, DTBs, and OPTEE, all handled by the MACHINE conf file which is left unchanged. Signed-off-by: Andrew Davis <afd@ti.com> Reviewed-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
#@TYPE: Machine
|
|
#@NAME: DRA7xx EVM
|
|
#@DESCRIPTION: Machine configuration for the TI DRA7xx EVM
|
|
|
|
require conf/machine/include/am57xx.inc
|
|
|
|
MACHINE_FEATURES += "touchscreen"
|
|
|
|
SERIAL_CONSOLES = "115200;ttyS0"
|
|
|
|
KERNEL_DEVICETREE_PREFIX = " \
|
|
dra7 \
|
|
ti/dra7 \
|
|
ti/lcd \
|
|
ti/omap/dra7 \
|
|
"
|
|
|
|
KERNEL_DEVICETREE = " \
|
|
ti/omap/dra7-evm.dtb \
|
|
ti/omap/dra71-evm.dtb \
|
|
ti/omap/dra72-evm.dtb \
|
|
ti/omap/dra72-evm-revc.dtb \
|
|
ti/omap/dra76-evm.dtb \
|
|
"
|
|
|
|
UBOOT_MACHINE = "dra7xx_evm_config"
|
|
|
|
# UBI information. Note that this is board and kernel specific. Changes
|
|
# in your kernel port may require changes in these variables. For more
|
|
# details about this board please see
|
|
# http://processors.wiki.ti.com/index.php/UBIFS_Support
|
|
|
|
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
|
# From dmesg:
|
|
# UBI: smallest flash I/O unit: 2048
|
|
# UBI: logical eraseblock size: 126976 bytes
|
|
# from ubiattach stdout:
|
|
# UBI device number 0, total 1988 LEBs
|
|
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192"
|
|
|
|
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
|
# from dmesg:
|
|
# UBI: smallest flash I/O unit: 2048
|
|
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
|
|
# UBI: sub-page size: 512
|
|
# UBI: VID header offset: 2048 (aligned 2048)
|
|
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
|