mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
Restore max_leb_cnt so that the UBI/UBIFS fits into the board flash Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
33 lines
835 B
Plaintext
33 lines
835 B
Plaintext
#@TYPE: Machine
|
|
#@NAME: Keystone 2 K2L machine
|
|
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2L EVM
|
|
|
|
require conf/machine/include/k2l.inc
|
|
|
|
KERNEL_DEVICETREE = "keystone-k2l-evm.dtb"
|
|
|
|
UBOOT_MACHINE = "k2l_evm_config"
|
|
|
|
BOOT_MONITOR_MAKE_TARGET = "k2l"
|
|
|
|
IMAGE_FSTYPES += "ubifs ubi tar.xz"
|
|
|
|
SERIAL_CONSOLES = "115200;ttyS0"
|
|
|
|
SYSVINIT_ENABLED_GETTYS = ""
|
|
|
|
# do ubiattach /dev/ubi_ctrl -m 4
|
|
# From dmesg:
|
|
# UBI: smallest flash I/O unit: 4096
|
|
# UBI: logical eraseblock size: 253952 bytes
|
|
# from ubiattach stdout:
|
|
# UBI device number 0, total 1926 LEBs
|
|
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 1926"
|
|
|
|
# do ubiattach /dev/ubi_ctrl -m 4
|
|
# from dmesg:
|
|
# UBI: smallest flash I/O unit: 4096
|
|
# UBI: physical eraseblock size: 256 KiB
|
|
# UBI: sub-page size: 4096
|
|
UBINIZE_ARGS = "-m 4096 -p 256KiB -s 4096 -O 4096"
|