2015-10-31 19:49:25 +00:00
|
|
|
#@TYPE: Machine
|
|
|
|
#@NAME: gsmk-owhw
|
|
|
|
#@DESCRIPTION: Machine configuration for the GSMK OWHW
|
|
|
|
|
|
|
|
require conf/machine/include/ti33x.inc
|
|
|
|
|
2015-11-07 16:17:06 +00:00
|
|
|
IMAGE_FSTYPES += "ubifs"
|
2015-10-31 19:49:25 +00:00
|
|
|
|
|
|
|
SERIAL_CONSOLE = "115200 ttyO0"
|
|
|
|
|
|
|
|
# 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 3836"
|
|
|
|
|
|
|
|
# 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"
|
|
|
|
|
|
|
|
# Go back to prefer our kernel
|
|
|
|
PREFERRED_PROVIDER_virtual/kernel = "linux-sysmocom"
|
|
|
|
KERNEL_IMAGETYPE = "uImage"
|
|
|
|
|
|
|
|
PREFERRED_PROVIDER_virtual/bootloader = "barebox-gsmk-owhw"
|
|
|
|
EXTRA_IMAGEDEPENDS += "barebox-gsmk-owhw"
|
|
|
|
|
|
|
|
MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\
|
2015-11-07 16:17:06 +00:00
|
|
|
kernel usb2514 mtd-utils-ubifs bossa \
|
2015-10-31 19:49:25 +00:00
|
|
|
"
|