Skip to contentSkip to conversation

k2g-hs-evm: add new machine config

PATCH In review Denys Dmytriyenko 2 participants 6 messages Mar 20, 2017 – Mar 22, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 k2g-hs-evm: add new machine config

---
 conf/machine/k2g-hs-evm.conf | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 conf/machine/k2g-hs-evm.conf
conf/machine/k2g-hs-evm.conf new file +14 -0
new file mode 100644
index 0000000..852e93b
@@ -0,0 +1,14 @@
+#@TYPE: Machine
+#@NAME: Keystone 2 K2G HS EVM
+#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2G HS EVM
+
+require conf/machine/k2g-evm.conf
+
+UBOOT_MACHINE = "k2g_hs_evm_config"
+
+UBOOT_ENTRYPOINT = "0x82000000"
+UBOOT_LOADADDRESS = "0x82000000"
+UBOOT_RD_LOADADDRESS = "0x84000000"
+UBOOT_RD_ENTRYPOINT = "0x84000000"
+
+TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/k2g"
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/4 am57xx-evm: fix description

---
 conf/machine/am57xx-evm.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
conf/machine/am57xx-evm.conf +2 -2
index d8a729a..2ee7d38 100644
@@ -1,6 +1,6 @@
 #@TYPE: Machine
-#@NAME: DRA7xx EVM
-#@DESCRIPTION: Machine configuration for the TI DRA7xx EVM
+#@NAME: AM57xx EVM
+#@DESCRIPTION: Machine configuration for the TI AM57xx EVM
 
 require conf/machine/include/dra7xx.inc
 
Signature · 1 line
2.7.4
#2 lore raw

PATCH 3/4 omapl138: rename old am180x platform into new generic omapl138-lcdk

In reply to Denys Dmytriyenko

Updated all corresponding defconfigs as well.

---
 conf/machine/{am180x-evm.conf => omapl138-lcdk.conf}                | 6 +++---
 recipes-kernel/linux/linux-ti-staging-4.9/omapl138/defconfig        | 1 +
 .../linux/linux-ti-staging-systest-4.9/omapl138/defconfig           | 1 +
 3 files changed, 5 insertions(+), 3 deletions(-)
 rename conf/machine/{am180x-evm.conf => omapl138-lcdk.conf} (66%)
 create mode 100644 recipes-kernel/linux/linux-ti-staging-4.9/omapl138/defconfig
 create mode 100644 recipes-kernel/linux/linux-ti-staging-systest-4.9/omapl138/defconfig
conf/machine/omapl138-lcdk.conf renamed from conf/machine/am180x-evm.conf +3 -3
similarity index 66%
rename from conf/machine/am180x-evm.conf
rename to conf/machine/omapl138-lcdk.conf
index ef248a3..84e71d0 100644
@@ -1,11 +1,11 @@
 #@TYPE: Machine
-#@NAME: AM180x CPUs on an AM180x EVM board
-#@DESCRIPTION: Machine configuration for the TI AM180x EVM board
+#@NAME: OMAP-L138 LCDK
+#@DESCRIPTION: Machine configuration for the TI OMAP-L138 LCDK board
 
 require conf/machine/include/davinci.inc
 require conf/machine/include/omapl138.inc
 
-UBOOT_MACHINE = "da850_am18xxevm_config"
+UBOOT_MACHINE = "omapl138_lcdk_config"
 UBOOT_SUFFIX = "ais"
 
 UBOOT_ENTRYPOINT = "0xc0008000"
recipes-kernel/linux/linux-ti-staging-4.9/omapl138/defconfig new file +1 -0
new file mode 100644
index 0000000..b346785
@@ -0,0 +1 @@
+use-tisdk-config=ti_sdk_omapl138_release
recipes-kernel/linux/linux-ti-staging-systest-4.9/omapl138/defconfig new file +1 -0
new file mode 100644
index 0000000..95b6116
@@ -0,0 +1 @@
+use-tisdk-config=ti_sdk_omapl138_debug
Signature · 1 line
2.7.4
#3 lore raw

PATCH 4/4 beagle-x15: add separate config for BeagleBoard X15

In reply to Denys Dmytriyenko
---
 conf/machine/beagle-x15.conf | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 conf/machine/beagle-x15.conf
conf/machine/beagle-x15.conf new file +34 -0
new file mode 100644
index 0000000..276de26
@@ -0,0 +1,34 @@
+#@TYPE: Machine
+#@NAME: BeagleBoard X15
+#@DESCRIPTION: Machine configuration for the BeagleBoard X15
+
+require conf/machine/include/dra7xx.inc
+
+IMAGE_FSTYPES += "tar.xz"
+
+SERIAL_CONSOLE = "115200 ttyS2"
+
+KERNEL_DEVICETREE = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb"
+
+UBOOT_MACHINE = "beagle_x15_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"
Signature · 1 line
2.7.4
#4 lore raw

Re: [morty/master][PATCH 4/4] beagle-x15: add separate config for BeagleBoard X15

I don't see the
UBOOT_MACHINE = "beagle_x15_config"
in the current u-boot-ti-staging sources.
At least not in ti-u-boot-2017.01 and ti-u-boot-2017.01-next branches.

Quoted 46 lines · Denys Dmytriyenko
---
  conf/machine/beagle-x15.conf | 34 ++++++++++++++++++++++++++++++++++
  1 file changed, 34 insertions(+)

create mode 100644 conf/machine/beagle-x15.conf

conf/machine/beagle-x15.conf new file +34 -0
new file mode 100644
index 0000000..276de26
@@ -0,0 +1,34 @@
+#@TYPE: Machine
+#@NAME: BeagleBoard X15
+#@DESCRIPTION: Machine configuration for the BeagleBoard X15
+
+require conf/machine/include/dra7xx.inc
+
+IMAGE_FSTYPES += "tar.xz"
+
+SERIAL_CONSOLE = "115200 ttyS2"
+
+KERNEL_DEVICETREE = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb"
+
+UBOOT_MACHINE = "beagle_x15_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"
#5 lore raw

Re: [morty/master][PATCH 4/4] beagle-x15: add separate config for BeagleBoard X15

Quoted 4 lines · Florian Wickert

I don't see the
UBOOT_MACHINE = "beagle_x15_config"
in the current u-boot-ti-staging sources.
At least not in ti-u-boot-2017.01 and ti-u-boot-2017.01-next branches.

Yes, good catch! I guess I was overzealous with search and replace. Fixed.

Signature · 1 line
Denys
Quoted 53 lines · Denys Dmytriyenko
Quoted 46 lines
---
 conf/machine/beagle-x15.conf | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 conf/machine/beagle-x15.conf
conf/machine/beagle-x15.conf new file +34 -0
new file mode 100644
index 0000000..276de26
@@ -0,0 +1,34 @@
+#@TYPE: Machine
+#@NAME: BeagleBoard X15
+#@DESCRIPTION: Machine configuration for the BeagleBoard X15
+
+require conf/machine/include/dra7xx.inc
+
+IMAGE_FSTYPES += "tar.xz"
+
+SERIAL_CONSOLE = "115200 ttyS2"
+
+KERNEL_DEVICETREE = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb"
+
+UBOOT_MACHINE = "beagle_x15_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"
Signature · 4 lines
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti