Skip to contentSkip to conversation

ti-u-boot: update with latest fixes and features

PATCH New Denys Dmytriyenko 1 participant 2 messages Oct 30, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ti-u-boot: update with latest fixes and features

From: Denys Dmytriyenko <[email protected]>

---
 recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb +2 -2
index 380f567..f0fd057 100644
@@ -7,14 +7,14 @@ DESCRIPTION = "u-boot bootloader for TI devices"
 
 LIC_FILES_CHKSUM = "file://Licenses/README;md5=0507cd7da8e7ad6d6701926ec9b84c95"
 
-PR = "r11"
+PR = "r12"
 PV_append = "+git${SRCPV}"
 
 SRC_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git;protocol=git;branch=${BRANCH}"
 
 BRANCH ?= "ti-u-boot-2015.07"
 
-SRCREV = "75d995e87f47902b40065982ccbaae7a466d0913"
+SRCREV = "12cbafb605ea962dfdbf3395ccd7c14f052961cb"
 
 SPL_BINARY = "MLO"
 SPL_UART_BINARY = "u-boot-spl.bin"
Signature · 1 line
2.2.0
#1 lore raw

PATCH 2/2 k2g-evm: add K2G platform

From: Denys Dmytriyenko <[email protected]>

---
 conf/machine/k2g-evm.conf                    | 30 ++++++++++++++++++++++++++++
 recipes-kernel/linux/linux-ti-staging_4.1.bb |  1 +
 2 files changed, 31 insertions(+)
 create mode 100644 conf/machine/k2g-evm.conf
conf/machine/k2g-evm.conf new file +30 -0
new file mode 100644
index 0000000..9c7b4e0
@@ -0,0 +1,30 @@
+#@TYPE: Machine
+#@NAME: Keystone 2 K2G machine
+#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2G EVM
+
+require conf/machine/include/keystone.inc
+
+UBOOT_MACHINE = "k2g_evm_config"
+
+BOOT_MONITOR_MAKE_TARGET = "k2g"
+
+IMAGE_FSTYPES += "ubi tar.gz cpio"
+
+SERIAL_CONSOLE = "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"
recipes-kernel/linux/linux-ti-staging_4.1.bb +1 -0
index c8c3f2c..11e7acc 100644
@@ -43,6 +43,7 @@ KERNEL_DEVICETREE_beagleboard = "omap3-beagle.dtb omap3-beagle-xm.dtb"
 KERNEL_DEVICETREE_pandaboard = "omap4-panda.dtb omap4-panda-es.dtb"
 KERNEL_DEVICETREE_k2hk-evm = "k2hk-evm.dtb"
 KERNEL_DEVICETREE_k2e-evm = "k2e-evm.dtb"
+KERNEL_DEVICETREE_k2g-evm = "k2g-evm.dtb"
 KERNEL_DEVICETREE_k2l-evm = "k2l-evm.dtb"
 
 KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
Signature · 1 line
2.2.0