summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/machine/k2g-evm.conf30
-rw-r--r--recipes-kernel/linux/linux-ti-staging_4.1.bb1
2 files changed, 31 insertions, 0 deletions
diff --git a/conf/machine/k2g-evm.conf b/conf/machine/k2g-evm.conf
new file mode 100644
index 00000000..9c7b4e07
--- /dev/null
+++ b/conf/machine/k2g-evm.conf
@@ -0,0 +1,30 @@
1#@TYPE: Machine
2#@NAME: Keystone 2 K2G machine
3#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2G EVM
4
5require conf/machine/include/keystone.inc
6
7UBOOT_MACHINE = "k2g_evm_config"
8
9BOOT_MONITOR_MAKE_TARGET = "k2g"
10
11IMAGE_FSTYPES += "ubi tar.gz cpio"
12
13SERIAL_CONSOLE = "115200 ttyS0"
14
15SYSVINIT_ENABLED_GETTYS = ""
16
17# do ubiattach /dev/ubi_ctrl -m 4
18# From dmesg:
19# UBI: smallest flash I/O unit: 4096
20# UBI: logical eraseblock size: 253952 bytes
21# from ubiattach stdout:
22# UBI device number 0, total 1926 LEBs
23MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 1926"
24
25# do ubiattach /dev/ubi_ctrl -m 4
26# from dmesg:
27# UBI: smallest flash I/O unit: 4096
28# UBI: physical eraseblock size: 256 KiB
29# UBI: sub-page size: 4096
30UBINIZE_ARGS = "-m 4096 -p 256KiB -s 4096 -O 4096"
diff --git a/recipes-kernel/linux/linux-ti-staging_4.1.bb b/recipes-kernel/linux/linux-ti-staging_4.1.bb
index c8c3f2cb..11e7acc3 100644
--- a/recipes-kernel/linux/linux-ti-staging_4.1.bb
+++ b/recipes-kernel/linux/linux-ti-staging_4.1.bb
@@ -43,6 +43,7 @@ KERNEL_DEVICETREE_beagleboard = "omap3-beagle.dtb omap3-beagle-xm.dtb"
43KERNEL_DEVICETREE_pandaboard = "omap4-panda.dtb omap4-panda-es.dtb" 43KERNEL_DEVICETREE_pandaboard = "omap4-panda.dtb omap4-panda-es.dtb"
44KERNEL_DEVICETREE_k2hk-evm = "k2hk-evm.dtb" 44KERNEL_DEVICETREE_k2hk-evm = "k2hk-evm.dtb"
45KERNEL_DEVICETREE_k2e-evm = "k2e-evm.dtb" 45KERNEL_DEVICETREE_k2e-evm = "k2e-evm.dtb"
46KERNEL_DEVICETREE_k2g-evm = "k2g-evm.dtb"
46KERNEL_DEVICETREE_k2l-evm = "k2l-evm.dtb" 47KERNEL_DEVICETREE_k2l-evm = "k2l-evm.dtb"
47 48
48KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" 49KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"