* [PATCH 1/5] recipes: Limit ti specific recipes under ti-soc override
@ 2018-10-17 19:28 Khem Raj
2018-10-17 19:28 ` [PATCH 2/5] recips: Mark more recipes to be ti-soc specific Khem Raj
` (3 more replies)
0 siblings, 4 replies; 13+ messages in thread
From: Khem Raj @ 2018-10-17 19:28 UTC (permalink / raw)
To: meta-ti
This helps in multi-BSP scenario, where other BSP layers are also
present in the layermix
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
recipes-bsp/cuia/cuia_1.0.0.13.bb | 3 +++
recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb | 3 +++
recipes-bsp/x-load/x-load_git.bb | 3 +++
recipes-graphics/gbm/libgbm_10.0.0.bb | 3 +++
recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb | 3 +++
recipes-graphics/omapfbplay/omapfbplay.inc | 2 ++
recipes-multimedia/libdce/libdce_3.00.14.00.bb | 2 ++
recipes-ti/bios/ti-biosutils_1.02.02.bb | 3 +++
recipes-ti/dmai/ti-dmai_svn.bb | 3 +++
recipes-ti/dsplib/dsplib.inc | 2 ++
recipes-ti/hdvpss/ti-hdvpss_01.00.01.27.bb | 2 ++
recipes-ti/includes/ti-unpack.inc | 5 +++++
recipes-ti/ipc/ti-ipc-common.inc | 2 ++
recipes-ti/linuxutils/ti-linuxutils_2.26.01.02.bb | 3 +++
recipes-ti/mathlib/mathlib.inc | 2 ++
recipes-ti/ndk/ti-ndk_3.40.01.01.bb | 3 +++
recipes-ti/swtools/swtools_git.bb | 2 ++
17 files changed, 46 insertions(+)
diff --git a/recipes-bsp/cuia/cuia_1.0.0.13.bb b/recipes-bsp/cuia/cuia_1.0.0.13.bb
index e048f6aa..a7caf504 100644
--- a/recipes-bsp/cuia/cuia_1.0.0.13.bb
+++ b/recipes-bsp/cuia/cuia_1.0.0.13.bb
@@ -23,3 +23,6 @@ do_install() {
cd ${S}
oe_runmake DESTDIR=${D} libdir=${libdir} includedir=${includedir} install
}
+
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb b/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb
index 94485b6a..d29b6496 100644
--- a/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb
+++ b/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb
@@ -22,3 +22,6 @@ do_install() {
install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
install -m 644 ${S}/galcore.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
}
+
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-bsp/x-load/x-load_git.bb b/recipes-bsp/x-load/x-load_git.bb
index dd8bce2d..1ce1b0f0 100644
--- a/recipes-bsp/x-load/x-load_git.bb
+++ b/recipes-bsp/x-load/x-load_git.bb
@@ -17,3 +17,6 @@ CONFIG_HEADER_beagleboard = "1"
XLOAD_MACHINE_omap3-touchbook = "omap3530beagle_config"
PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-graphics/gbm/libgbm_10.0.0.bb b/recipes-graphics/gbm/libgbm_10.0.0.bb
index 38715ccf..9e3c7ed0 100644
--- a/recipes-graphics/gbm/libgbm_10.0.0.bb
+++ b/recipes-graphics/gbm/libgbm_10.0.0.bb
@@ -16,3 +16,6 @@ SRC_URI = "git://git.ti.com/glsdk/libgbm.git;protocol=git;branch=${BRANCH} \
file://0001-gbm.c-include-sys-sysmacros.h-for-minor-major-in-new.patch"
S = "${WORKDIR}/git"
+
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb b/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb
index dafaac1e..a2f8f192 100644
--- a/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb
+++ b/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb
@@ -37,3 +37,6 @@ do_install() {
}
INSANE_SKIP_${PN} += "ldflags"
+
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-graphics/omapfbplay/omapfbplay.inc b/recipes-graphics/omapfbplay/omapfbplay.inc
index df166dd3..744eb8f7 100644
--- a/recipes-graphics/omapfbplay/omapfbplay.inc
+++ b/recipes-graphics/omapfbplay/omapfbplay.inc
@@ -14,6 +14,8 @@ SRC_URI = "git://git.mansr.com/omapfbplay;protocol=git \
S = "${WORKDIR}/git"
PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti-soc = "(.*)"
# We want a kernel header for armv7a, but we don't want to make mplayer machine specific for that
STAGING_KERNEL_DIR = "${STAGING_DIR}/${MACHINE_ARCH}${TARGET_VENDOR}-${TARGET_OS}/kernel"
diff --git a/recipes-multimedia/libdce/libdce_3.00.14.00.bb b/recipes-multimedia/libdce/libdce_3.00.14.00.bb
index 04c0b718..0deec7ab 100644
--- a/recipes-multimedia/libdce/libdce_3.00.14.00.bb
+++ b/recipes-multimedia/libdce/libdce_3.00.14.00.bb
@@ -13,3 +13,5 @@ PR = "r1"
S = "${WORKDIR}/git"
EXTRA_OECONF += "IPC_HEADERS=${STAGING_INCDIR}/ti/ipc/mm"
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-ti/bios/ti-biosutils_1.02.02.bb b/recipes-ti/bios/ti-biosutils_1.02.02.bb
index 5b6b4f43..01c070d7 100644
--- a/recipes-ti/bios/ti-biosutils_1.02.02.bb
+++ b/recipes-ti/bios/ti-biosutils_1.02.02.bb
@@ -7,3 +7,6 @@ SRC_URI[biosutilstarball.md5sum] = "0654e9e72b0a6fc7a6575829c0cd90c9"
SRC_URI[biosutilstarball.sha256sum] = "df486500bdc8dbe3800fc7efe4241e6fa5b1827ba7c0dc17a71b41d42ef921e1"
INSANE_SKIP_${PN} = "installed-vs-shipped"
+
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-ti/dmai/ti-dmai_svn.bb b/recipes-ti/dmai/ti-dmai_svn.bb
index 4a91b9b9..3cc54b91 100644
--- a/recipes-ti/dmai/ti-dmai_svn.bb
+++ b/recipes-ti/dmai/ti-dmai_svn.bb
@@ -38,3 +38,6 @@ SRC_URI_append = " file://omap3530-r642-remove-include-videodev.diff;striplevel=
"
INSANE_SKIP_${PN} = "installed-vs-shipped"
+
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-ti/dsplib/dsplib.inc b/recipes-ti/dsplib/dsplib.inc
index f3696795..a3953105 100644
--- a/recipes-ti/dsplib/dsplib.inc
+++ b/recipes-ti/dsplib/dsplib.inc
@@ -69,3 +69,5 @@ ALLOW_EMPTY_${PN} = "1"
FILES_${PN}-dev += "${DSPLIB_INSTALL_DIR_RECIPE}"
INSANE_SKIP_${PN}-dev = "arch"
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-ti/hdvpss/ti-hdvpss_01.00.01.27.bb b/recipes-ti/hdvpss/ti-hdvpss_01.00.01.27.bb
index e3b1c56f..c2e7d268 100644
--- a/recipes-ti/hdvpss/ti-hdvpss_01.00.01.27.bb
+++ b/recipes-ti/hdvpss/ti-hdvpss_01.00.01.27.bb
@@ -4,3 +4,5 @@ SRC_URI[md5sum] = "6db908bef3b933dc8cea666564d5d4d8"
SRC_URI[sha256sum] = "2caa9c859cfe348197e860f07d174a8ab7048d38d6d3a12ec576802122c9e91e"
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-ti/includes/ti-unpack.inc b/recipes-ti/includes/ti-unpack.inc
index a571fd5d..b520d6ab 100644
--- a/recipes-ti/includes/ti-unpack.inc
+++ b/recipes-ti/includes/ti-unpack.inc
@@ -79,3 +79,8 @@ python ti_bin_do_unpack() {
# Return to the previous directory
os.chdir(save_cwd)
}
+
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti-soc = "(.*)"
+COMPATIBLE_HOST_class-native = "(.*)"
+
diff --git a/recipes-ti/ipc/ti-ipc-common.inc b/recipes-ti/ipc/ti-ipc-common.inc
index dddb7344..aea9d278 100644
--- a/recipes-ti/ipc/ti-ipc-common.inc
+++ b/recipes-ti/ipc/ti-ipc-common.inc
@@ -2,6 +2,8 @@ PV = "3.50.02.02"
INC_PR = "r0"
PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti-soc = "(.*)"
PLATFORM = "UNKNOWN"
PLATFORM_omap5-evm = "OMAP54XX"
diff --git a/recipes-ti/linuxutils/ti-linuxutils_2.26.01.02.bb b/recipes-ti/linuxutils/ti-linuxutils_2.26.01.02.bb
index 1a56d1da..113e6a69 100644
--- a/recipes-ti/linuxutils/ti-linuxutils_2.26.01.02.bb
+++ b/recipes-ti/linuxutils/ti-linuxutils_2.26.01.02.bb
@@ -12,3 +12,6 @@ SRC_URI[md5sum] = "70b4918bc35c1bcfef34d6ba3fbce0c8"
SRC_URI[sha256sum] = "51266dd928f8d629cd417c869789a6c0d596612120f165619119cbaadfd66ee2"
INSANE_SKIP_${PN} = "installed-vs-shipped"
+
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-ti/mathlib/mathlib.inc b/recipes-ti/mathlib/mathlib.inc
index 6aea085a..61f198bc 100644
--- a/recipes-ti/mathlib/mathlib.inc
+++ b/recipes-ti/mathlib/mathlib.inc
@@ -68,3 +68,5 @@ ALLOW_EMPTY_${PN} = "1"
FILES_${PN}-dev += "${MATHLIB_INSTALL_DIR_RECIPE}"
INSANE_SKIP_${PN}-dev = "arch"
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-ti/ndk/ti-ndk_3.40.01.01.bb b/recipes-ti/ndk/ti-ndk_3.40.01.01.bb
index 4a494b19..c6c18733 100644
--- a/recipes-ti/ndk/ti-ndk_3.40.01.01.bb
+++ b/recipes-ti/ndk/ti-ndk_3.40.01.01.bb
@@ -11,3 +11,6 @@ SRC_URI[ndkzip.sha256sum] = "e2e5c683c70dfad6f4372c5eeebaf0209b27abb0f77304f14f0
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
INHIBIT_SYSROOT_STRIP = "1"
+
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-ti/swtools/swtools_git.bb b/recipes-ti/swtools/swtools_git.bb
index 425a0690..168fe211 100644
--- a/recipes-ti/swtools/swtools_git.bb
+++ b/recipes-ti/swtools/swtools_git.bb
@@ -42,3 +42,5 @@ FILES_${PN}-dev += "${SWTOOLS_INSTALL_DIR_RECIPE}"
INSANE_SKIP_${PN}-dev = "arch staticdev"
ALLOW_EMPTY_${PN} = "1"
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti-soc = "(.*)"
--
2.19.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 2/5] recips: Mark more recipes to be ti-soc specific
2018-10-17 19:28 [PATCH 1/5] recipes: Limit ti specific recipes under ti-soc override Khem Raj
@ 2018-10-17 19:28 ` Khem Raj
2018-10-17 20:11 ` Denys Dmytriyenko
2018-10-17 19:28 ` [PATCH 3/5] u-boot: reduce the SPL `.rodata' size Khem Raj
` (2 subsequent siblings)
3 siblings, 1 reply; 13+ messages in thread
From: Khem Raj @ 2018-10-17 19:28 UTC (permalink / raw)
To: meta-ti
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb | 3 +++
recipes-bsp/cmem/cmem.inc | 2 ++
recipes-ti/devtools/ti-xdctools-common.inc | 5 +++++
recipes-ti/osal/ti-osal.inc | 4 ++++
4 files changed, 14 insertions(+)
diff --git a/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb b/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
index 93cebd71..e1f21054 100644
--- a/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
+++ b/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
@@ -24,3 +24,6 @@ do_install() {
}
FILES_${PN} += "${base_libdir}/firmware"
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti33x = "(.*)"
+
diff --git a/recipes-bsp/cmem/cmem.inc b/recipes-bsp/cmem/cmem.inc
index 11cebe8d..abbf2492 100644
--- a/recipes-bsp/cmem/cmem.inc
+++ b/recipes-bsp/cmem/cmem.inc
@@ -12,3 +12,5 @@ PV = "4.15.00.02+git${SRCPV}"
SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti-soc = "(.*)"
diff --git a/recipes-ti/devtools/ti-xdctools-common.inc b/recipes-ti/devtools/ti-xdctools-common.inc
index a3949cad..0e86ef7a 100644
--- a/recipes-ti/devtools/ti-xdctools-common.inc
+++ b/recipes-ti/devtools/ti-xdctools-common.inc
@@ -61,3 +61,8 @@ libhpi.so \
lib.so \
libcairo.so.2 \
"
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti-soc = "(.*)"
+COMPATIBLE_HOST_class-native = "(.*)"
+COMPATIBLE_HOST_class-nativesdk = "(.*)"
+
diff --git a/recipes-ti/osal/ti-osal.inc b/recipes-ti/osal/ti-osal.inc
index cb8da354..bbbdf517 100644
--- a/recipes-ti/osal/ti-osal.inc
+++ b/recipes-ti/osal/ti-osal.inc
@@ -19,3 +19,7 @@ INSANE_SKIP_${PN}-dev = "staticdev"
ALLOW_EMPTY_${PN} = "1"
FILES_${PN}-dev += "${OSAL_INSTALL_DIR_RECIPE}"
+
+COMPATIBLE_HOST ?= "null"
+COMPATIBLE_HOST_ti-soc = "(.*)"
+
--
2.19.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 3/5] u-boot: reduce the SPL `.rodata' size
2018-10-17 19:28 [PATCH 1/5] recipes: Limit ti specific recipes under ti-soc override Khem Raj
2018-10-17 19:28 ` [PATCH 2/5] recips: Mark more recipes to be ti-soc specific Khem Raj
@ 2018-10-17 19:28 ` Khem Raj
2018-10-17 22:34 ` Denys Dmytriyenko
2018-10-17 19:28 ` [PATCH 4/5] beaglebone.conf: Package kernel and devicetree Khem Raj
2018-10-17 19:28 ` [PATCH 5/5] beaglebone.conf: SERIAL_CONSOLE has been deprecated Khem Raj
3 siblings, 1 reply; 13+ messages in thread
From: Khem Raj @ 2018-10-17 19:28 UTC (permalink / raw)
To: meta-ti; +Cc: Tom Rini
Fixes errors e.g.
| arm-yoe-linux-gnueabi-ld.bfd: u-boot-spl section `.rodata' will not fit in region `.sram'
| arm-yoe-linux-gnueabi-ld.bfd: region `.sram' overflowed by 5772 bytes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Tom Rini <trini@konsulko.com>
Cc: Denys Dmytriyenko <trini@konsulko.com>
---
...vm_defconfig-Reduce-SPL-.rodata-size.patch | 36 +++++++++++++++++++
.../u-boot/u-boot-ti-staging_2018.01.bb | 2 ++
2 files changed, 38 insertions(+)
create mode 100644 recipes-bsp/u-boot/files/0001-am335x_evm_defconfig-Reduce-SPL-.rodata-size.patch
diff --git a/recipes-bsp/u-boot/files/0001-am335x_evm_defconfig-Reduce-SPL-.rodata-size.patch b/recipes-bsp/u-boot/files/0001-am335x_evm_defconfig-Reduce-SPL-.rodata-size.patch
new file mode 100644
index 00000000..6244a56a
--- /dev/null
+++ b/recipes-bsp/u-boot/files/0001-am335x_evm_defconfig-Reduce-SPL-.rodata-size.patch
@@ -0,0 +1,36 @@
+From 45ead566ebf63999f07e966fa4962bb9bbe3ed4a Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Tue, 16 Oct 2018 17:11:13 -0700
+Subject: [PATCH] Disable usb-gadget usb-eth support in SPL
+
+This helps in shedding some size to fit in into SRAM
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ configs/am335x_evm_defconfig | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig
+index 4908099431..8342089dee 100644
+--- a/configs/am335x_evm_defconfig
++++ b/configs/am335x_evm_defconfig
+@@ -12,14 +12,13 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
+ CONFIG_VERSION_VARIABLE=y
+ CONFIG_ARCH_MISC_INIT=y
+ CONFIG_SPL=y
+-CONFIG_SPL_ETH_SUPPORT=y
++# CONFIG_SPL_ENV_SUPPORT is not set
+ CONFIG_SPL_MTD_SUPPORT=y
+ CONFIG_SPL_MUSB_NEW_SUPPORT=y
+ CONFIG_SPL_NET_SUPPORT=y
+ CONFIG_SPL_NET_VCI_STRING="AM335x U-Boot SPL"
+ CONFIG_SPL_OS_BOOT=y
+-CONFIG_SPL_USB_GADGET_SUPPORT=y
+-CONFIG_SPL_USBETH_SUPPORT=y
++# CONFIG_SPL_YMODEM_SUPPORT is not set
+ CONFIG_FASTBOOT=y
+ CONFIG_CMD_SPL=y
+ CONFIG_CMD_SPL_NAND_OFS=0x00080000
+--
+2.19.1
+
diff --git a/recipes-bsp/u-boot/u-boot-ti-staging_2018.01.bb b/recipes-bsp/u-boot/u-boot-ti-staging_2018.01.bb
index cbb8857a..46a26480 100644
--- a/recipes-bsp/u-boot/u-boot-ti-staging_2018.01.bb
+++ b/recipes-bsp/u-boot/u-boot-ti-staging_2018.01.bb
@@ -5,3 +5,5 @@ PR = "r24"
BRANCH = "ti-u-boot-2018.01"
SRCREV = "2cc52408bf1357f11b96548e78223a1df321c1ae"
+
+SRC_URI += "file://0001-am335x_evm_defconfig-Reduce-SPL-.rodata-size.patch"
--
2.19.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 4/5] beaglebone.conf: Package kernel and devicetree
2018-10-17 19:28 [PATCH 1/5] recipes: Limit ti specific recipes under ti-soc override Khem Raj
2018-10-17 19:28 ` [PATCH 2/5] recips: Mark more recipes to be ti-soc specific Khem Raj
2018-10-17 19:28 ` [PATCH 3/5] u-boot: reduce the SPL `.rodata' size Khem Raj
@ 2018-10-17 19:28 ` Khem Raj
2018-10-17 19:46 ` Denys Dmytriyenko
2018-10-17 19:28 ` [PATCH 5/5] beaglebone.conf: SERIAL_CONSOLE has been deprecated Khem Raj
3 siblings, 1 reply; 13+ messages in thread
From: Khem Raj @ 2018-10-17 19:28 UTC (permalink / raw)
To: meta-ti
Use variables from upstream u-boot, makes it easy to switch to
mainline u-boot from oe-core if someone wants to
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
conf/machine/beaglebone.conf | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/conf/machine/beaglebone.conf b/conf/machine/beaglebone.conf
index 25147926..9b656d01 100644
--- a/conf/machine/beaglebone.conf
+++ b/conf/machine/beaglebone.conf
@@ -1,6 +1,6 @@
#@TYPE: Machine
#@NAME: BeagleBone machine
-#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
+#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
require conf/machine/include/ti33x.inc
@@ -17,10 +17,16 @@ SERIAL_CONSOLE = "115200 ttyS0"
#UBOOT_MACHINE = "am335x_boneblack_config"
WKS_FILE = "sdimage-bootpart.wks"
-IMAGE_BOOT_FILES = "MLO u-boot.img"
-IMAGE_FSTYPES += "tar.xz wic.xz"
do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
+IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO"
+
+IMAGE_FSTYPES += "tar.xz wic.xz"
# Refine the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_BOARDS = "bbbAM335x"
+
+SPL_BINARY = "MLO"
+UBOOT_SUFFIX = "img"
+
+IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage"
--
2.19.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 5/5] beaglebone.conf: SERIAL_CONSOLE has been deprecated
2018-10-17 19:28 [PATCH 1/5] recipes: Limit ti specific recipes under ti-soc override Khem Raj
` (2 preceding siblings ...)
2018-10-17 19:28 ` [PATCH 4/5] beaglebone.conf: Package kernel and devicetree Khem Raj
@ 2018-10-17 19:28 ` Khem Raj
2018-10-17 19:37 ` Denys Dmytriyenko
3 siblings, 1 reply; 13+ messages in thread
From: Khem Raj @ 2018-10-17 19:28 UTC (permalink / raw)
To: meta-ti
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
conf/machine/beaglebone.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/conf/machine/beaglebone.conf b/conf/machine/beaglebone.conf
index 9b656d01..f1818578 100644
--- a/conf/machine/beaglebone.conf
+++ b/conf/machine/beaglebone.conf
@@ -11,7 +11,7 @@ KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblue.dtb \
# Only has DVI connector for external screen
MACHINE_GUI_CLASS = "bigscreen"
-SERIAL_CONSOLE = "115200 ttyS0"
+SERIAL_CONSOLES = "115200;ttyS0"
# fall back on generic am335x_evm_config for now
#UBOOT_MACHINE = "am335x_boneblack_config"
--
2.19.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCH 5/5] beaglebone.conf: SERIAL_CONSOLE has been deprecated
2018-10-17 19:28 ` [PATCH 5/5] beaglebone.conf: SERIAL_CONSOLE has been deprecated Khem Raj
@ 2018-10-17 19:37 ` Denys Dmytriyenko
0 siblings, 0 replies; 13+ messages in thread
From: Denys Dmytriyenko @ 2018-10-17 19:37 UTC (permalink / raw)
To: Khem Raj; +Cc: meta-ti
Ah, thanks! Missed this one.
On Wed, Oct 17, 2018 at 12:28:53PM -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> conf/machine/beaglebone.conf | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/conf/machine/beaglebone.conf b/conf/machine/beaglebone.conf
> index 9b656d01..f1818578 100644
> --- a/conf/machine/beaglebone.conf
> +++ b/conf/machine/beaglebone.conf
> @@ -11,7 +11,7 @@ KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblue.dtb \
> # Only has DVI connector for external screen
> MACHINE_GUI_CLASS = "bigscreen"
>
> -SERIAL_CONSOLE = "115200 ttyS0"
> +SERIAL_CONSOLES = "115200;ttyS0"
>
> # fall back on generic am335x_evm_config for now
> #UBOOT_MACHINE = "am335x_boneblack_config"
> --
> 2.19.1
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 4/5] beaglebone.conf: Package kernel and devicetree
2018-10-17 19:28 ` [PATCH 4/5] beaglebone.conf: Package kernel and devicetree Khem Raj
@ 2018-10-17 19:46 ` Denys Dmytriyenko
2018-10-17 19:50 ` Denys Dmytriyenko
0 siblings, 1 reply; 13+ messages in thread
From: Denys Dmytriyenko @ 2018-10-17 19:46 UTC (permalink / raw)
To: Khem Raj; +Cc: meta-ti
On Wed, Oct 17, 2018 at 12:28:52PM -0700, Khem Raj wrote:
> Use variables from upstream u-boot, makes it easy to switch to
> mainline u-boot from oe-core if someone wants to
Actually, those vars are not unique to upstream u-boot:
http://arago-project.org/git/?p=meta-ti.git;a=blob;f=recipes-bsp/u-boot/u-boot-ti.inc;hb=HEAD
Lines #13 and #54.
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> conf/machine/beaglebone.conf | 12 +++++++++---
> 1 file changed, 9 insertions(+), 3 deletions(-)
>
> diff --git a/conf/machine/beaglebone.conf b/conf/machine/beaglebone.conf
> index 25147926..9b656d01 100644
> --- a/conf/machine/beaglebone.conf
> +++ b/conf/machine/beaglebone.conf
> @@ -1,6 +1,6 @@
> #@TYPE: Machine
> #@NAME: BeagleBone machine
> -#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
> +#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
>
> require conf/machine/include/ti33x.inc
>
> @@ -17,10 +17,16 @@ SERIAL_CONSOLE = "115200 ttyS0"
> #UBOOT_MACHINE = "am335x_boneblack_config"
>
> WKS_FILE = "sdimage-bootpart.wks"
> -IMAGE_BOOT_FILES = "MLO u-boot.img"
> -IMAGE_FSTYPES += "tar.xz wic.xz"
>
> do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
> +IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO"
> +
> +IMAGE_FSTYPES += "tar.xz wic.xz"
>
> # Refine the list of device targets for ti-pdk class recipes
> TI_PDK_LIMIT_BOARDS = "bbbAM335x"
> +
> +SPL_BINARY = "MLO"
> +UBOOT_SUFFIX = "img"
Well, I see your point defining these 2 vars here, but then you don't use MLO
above for IMAGE_BOOT_FILES...
Also, it would make sense to start moving those vars into machine configs for
other machines. And make them conditional in u-boot recipe...
> +IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage"
> --
> 2.19.1
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 4/5] beaglebone.conf: Package kernel and devicetree
2018-10-17 19:46 ` Denys Dmytriyenko
@ 2018-10-17 19:50 ` Denys Dmytriyenko
0 siblings, 0 replies; 13+ messages in thread
From: Denys Dmytriyenko @ 2018-10-17 19:50 UTC (permalink / raw)
To: Khem Raj; +Cc: meta-ti
On Wed, Oct 17, 2018 at 03:46:23PM -0400, Denys Dmytriyenko wrote:
> On Wed, Oct 17, 2018 at 12:28:52PM -0700, Khem Raj wrote:
> > Use variables from upstream u-boot, makes it easy to switch to
> > mainline u-boot from oe-core if someone wants to
>
> Actually, those vars are not unique to upstream u-boot:
> http://arago-project.org/git/?p=meta-ti.git;a=blob;f=recipes-bsp/u-boot/u-boot-ti.inc;hb=HEAD
Sorry, had own mirror handy at the moment. :) Here's official link on YP git:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/u-boot/u-boot-ti.inc
> Lines #13 and #54.
>
>
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> > conf/machine/beaglebone.conf | 12 +++++++++---
> > 1 file changed, 9 insertions(+), 3 deletions(-)
> >
> > diff --git a/conf/machine/beaglebone.conf b/conf/machine/beaglebone.conf
> > index 25147926..9b656d01 100644
> > --- a/conf/machine/beaglebone.conf
> > +++ b/conf/machine/beaglebone.conf
> > @@ -1,6 +1,6 @@
> > #@TYPE: Machine
> > #@NAME: BeagleBone machine
> > -#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
> > +#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
> >
> > require conf/machine/include/ti33x.inc
> >
> > @@ -17,10 +17,16 @@ SERIAL_CONSOLE = "115200 ttyS0"
> > #UBOOT_MACHINE = "am335x_boneblack_config"
> >
> > WKS_FILE = "sdimage-bootpart.wks"
> > -IMAGE_BOOT_FILES = "MLO u-boot.img"
> > -IMAGE_FSTYPES += "tar.xz wic.xz"
> >
> > do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
> > +IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO"
> > +
> > +IMAGE_FSTYPES += "tar.xz wic.xz"
> >
> > # Refine the list of device targets for ti-pdk class recipes
> > TI_PDK_LIMIT_BOARDS = "bbbAM335x"
> > +
> > +SPL_BINARY = "MLO"
> > +UBOOT_SUFFIX = "img"
>
> Well, I see your point defining these 2 vars here, but then you don't use MLO
> above for IMAGE_BOOT_FILES...
>
> Also, it would make sense to start moving those vars into machine configs for
> other machines. And make them conditional in u-boot recipe...
>
>
> > +IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage"
> > --
> > 2.19.1
> >
> > --
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 2/5] recips: Mark more recipes to be ti-soc specific
2018-10-17 19:28 ` [PATCH 2/5] recips: Mark more recipes to be ti-soc specific Khem Raj
@ 2018-10-17 20:11 ` Denys Dmytriyenko
2018-10-17 22:21 ` Khem Raj
0 siblings, 1 reply; 13+ messages in thread
From: Denys Dmytriyenko @ 2018-10-17 20:11 UTC (permalink / raw)
To: Khem Raj; +Cc: meta-ti
On Wed, Oct 17, 2018 at 12:28:50PM -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb | 3 +++
> recipes-bsp/cmem/cmem.inc | 2 ++
> recipes-ti/devtools/ti-xdctools-common.inc | 5 +++++
> recipes-ti/osal/ti-osal.inc | 4 ++++
> 4 files changed, 14 insertions(+)
>
> diff --git a/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb b/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
> index 93cebd71..e1f21054 100644
> --- a/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
> +++ b/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
> @@ -24,3 +24,6 @@ do_install() {
> }
>
> FILES_${PN} += "${base_libdir}/firmware"
> +COMPATIBLE_HOST ?= "null"
> +COMPATIBLE_HOST_ti33x = "(.*)"
This is incorrect - it's not limited to ti33x soc, but multiple socs with
Cortex-M3 used for PM...
> +
I noticed bunch of "new blank line at EOF" from git, so I'm cleaning it up and
while at it, I'll squash these 2 similar patches...
> diff --git a/recipes-bsp/cmem/cmem.inc b/recipes-bsp/cmem/cmem.inc
> index 11cebe8d..abbf2492 100644
> --- a/recipes-bsp/cmem/cmem.inc
> +++ b/recipes-bsp/cmem/cmem.inc
> @@ -12,3 +12,5 @@ PV = "4.15.00.02+git${SRCPV}"
> SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"
>
> S = "${WORKDIR}/git"
> +COMPATIBLE_HOST ?= "null"
> +COMPATIBLE_HOST_ti-soc = "(.*)"
> diff --git a/recipes-ti/devtools/ti-xdctools-common.inc b/recipes-ti/devtools/ti-xdctools-common.inc
> index a3949cad..0e86ef7a 100644
> --- a/recipes-ti/devtools/ti-xdctools-common.inc
> +++ b/recipes-ti/devtools/ti-xdctools-common.inc
> @@ -61,3 +61,8 @@ libhpi.so \
> lib.so \
> libcairo.so.2 \
> "
> +COMPATIBLE_HOST ?= "null"
> +COMPATIBLE_HOST_ti-soc = "(.*)"
> +COMPATIBLE_HOST_class-native = "(.*)"
> +COMPATIBLE_HOST_class-nativesdk = "(.*)"
> +
> diff --git a/recipes-ti/osal/ti-osal.inc b/recipes-ti/osal/ti-osal.inc
> index cb8da354..bbbdf517 100644
> --- a/recipes-ti/osal/ti-osal.inc
> +++ b/recipes-ti/osal/ti-osal.inc
> @@ -19,3 +19,7 @@ INSANE_SKIP_${PN}-dev = "staticdev"
>
> ALLOW_EMPTY_${PN} = "1"
> FILES_${PN}-dev += "${OSAL_INSTALL_DIR_RECIPE}"
> +
> +COMPATIBLE_HOST ?= "null"
> +COMPATIBLE_HOST_ti-soc = "(.*)"
> +
> --
> 2.19.1
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 2/5] recips: Mark more recipes to be ti-soc specific
2018-10-17 20:11 ` Denys Dmytriyenko
@ 2018-10-17 22:21 ` Khem Raj
2018-10-17 22:30 ` Denys Dmytriyenko
0 siblings, 1 reply; 13+ messages in thread
From: Khem Raj @ 2018-10-17 22:21 UTC (permalink / raw)
To: Denys Dmytriyenko; +Cc: meta-ti
[-- Attachment #1: Type: text/plain, Size: 2899 bytes --]
On Wed, Oct 17, 2018 at 1:11 PM Denys Dmytriyenko <denys@ti.com> wrote:
> On Wed, Oct 17, 2018 at 12:28:50PM -0700, Khem Raj wrote:
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> > recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb | 3 +++
> > recipes-bsp/cmem/cmem.inc | 2 ++
> > recipes-ti/devtools/ti-xdctools-common.inc | 5 +++++
> > recipes-ti/osal/ti-osal.inc | 4 ++++
> > 4 files changed, 14 insertions(+)
> >
> > diff --git a/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
> b/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
> > index 93cebd71..e1f21054 100644
> > --- a/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
> > +++ b/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
> > @@ -24,3 +24,6 @@ do_install() {
> > }
> >
> > FILES_${PN} += "${base_libdir}/firmware"
> > +COMPATIBLE_HOST ?= "null"
> > +COMPATIBLE_HOST_ti33x = "(.*)"
>
> This is incorrect - it's not limited to ti33x soc, but multiple socs with
> Cortex-M3 used for PM...
Ok tell me which ones and we can add compatible host statements may be
ti-soc is right if it is on all socs
>
>
>
> > +
>
> I noticed bunch of "new blank line at EOF" from git, so I'm cleaning it up
> and
> while at it, I'll squash these 2 similar patches...
>
>
> > diff --git a/recipes-bsp/cmem/cmem.inc b/recipes-bsp/cmem/cmem.inc
> > index 11cebe8d..abbf2492 100644
> > --- a/recipes-bsp/cmem/cmem.inc
> > +++ b/recipes-bsp/cmem/cmem.inc
> > @@ -12,3 +12,5 @@ PV = "4.15.00.02+git${SRCPV}"
> > SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}
> <http://git.ti.com/ipc/ludev.git;protocol=git;branch=$%7BBRANCH%7D>"
> >
> > S = "${WORKDIR}/git"
> > +COMPATIBLE_HOST ?= "null"
> > +COMPATIBLE_HOST_ti-soc = "(.*)"
> > diff --git a/recipes-ti/devtools/ti-xdctools-common.inc
> b/recipes-ti/devtools/ti-xdctools-common.inc
> > index a3949cad..0e86ef7a 100644
> > --- a/recipes-ti/devtools/ti-xdctools-common.inc
> > +++ b/recipes-ti/devtools/ti-xdctools-common.inc
> > @@ -61,3 +61,8 @@ libhpi.so \
> > lib.so \
> > libcairo.so.2 \
> > "
> > +COMPATIBLE_HOST ?= "null"
> > +COMPATIBLE_HOST_ti-soc = "(.*)"
> > +COMPATIBLE_HOST_class-native = "(.*)"
> > +COMPATIBLE_HOST_class-nativesdk = "(.*)"
> > +
> > diff --git a/recipes-ti/osal/ti-osal.inc b/recipes-ti/osal/ti-osal.inc
> > index cb8da354..bbbdf517 100644
> > --- a/recipes-ti/osal/ti-osal.inc
> > +++ b/recipes-ti/osal/ti-osal.inc
> > @@ -19,3 +19,7 @@ INSANE_SKIP_${PN}-dev = "staticdev"
> >
> > ALLOW_EMPTY_${PN} = "1"
> > FILES_${PN}-dev += "${OSAL_INSTALL_DIR_RECIPE}"
> > +
> > +COMPATIBLE_HOST ?= "null"
> > +COMPATIBLE_HOST_ti-soc = "(.*)"
> > +
> > --
> > 2.19.1
> >
> > --
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti
>
[-- Attachment #2: Type: text/html, Size: 4474 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 2/5] recips: Mark more recipes to be ti-soc specific
2018-10-17 22:21 ` Khem Raj
@ 2018-10-17 22:30 ` Denys Dmytriyenko
0 siblings, 0 replies; 13+ messages in thread
From: Denys Dmytriyenko @ 2018-10-17 22:30 UTC (permalink / raw)
To: Khem Raj; +Cc: meta-ti
On Wed, Oct 17, 2018 at 03:21:35PM -0700, Khem Raj wrote:
> On Wed, Oct 17, 2018 at 1:11 PM Denys Dmytriyenko <denys@ti.com> wrote:
>
> > On Wed, Oct 17, 2018 at 12:28:50PM -0700, Khem Raj wrote:
> > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > ---
> > > recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb | 3 +++
> > > recipes-bsp/cmem/cmem.inc | 2 ++
> > > recipes-ti/devtools/ti-xdctools-common.inc | 5 +++++
> > > recipes-ti/osal/ti-osal.inc | 4 ++++
> > > 4 files changed, 14 insertions(+)
> > >
> > > diff --git a/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
> > b/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
> > > index 93cebd71..e1f21054 100644
> > > --- a/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
> > > +++ b/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb
> > > @@ -24,3 +24,6 @@ do_install() {
> > > }
> > >
> > > FILES_${PN} += "${base_libdir}/firmware"
> > > +COMPATIBLE_HOST ?= "null"
> > > +COMPATIBLE_HOST_ti33x = "(.*)"
> >
> > This is incorrect - it's not limited to ti33x soc, but multiple socs with
> > Cortex-M3 used for PM...
>
>
> Ok tell me which ones and we can add compatible host statements may be
> ti-soc is right if it is on all socs
There are few socs in Cortex-A8 and Cortex-A9 Sitara families, amongh others,
which use it.
I made it ti-soc for now, which is a safe bet - see my re-submit of your 3
patches.
> > I noticed bunch of "new blank line at EOF" from git, so I'm cleaning it up
> > and
> > while at it, I'll squash these 2 similar patches...
> >
> >
> > > diff --git a/recipes-bsp/cmem/cmem.inc b/recipes-bsp/cmem/cmem.inc
> > > index 11cebe8d..abbf2492 100644
> > > --- a/recipes-bsp/cmem/cmem.inc
> > > +++ b/recipes-bsp/cmem/cmem.inc
> > > @@ -12,3 +12,5 @@ PV = "4.15.00.02+git${SRCPV}"
> > > SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}
> > <http://git.ti.com/ipc/ludev.git;protocol=git;branch=$%7BBRANCH%7D>"
> > >
> > > S = "${WORKDIR}/git"
> > > +COMPATIBLE_HOST ?= "null"
> > > +COMPATIBLE_HOST_ti-soc = "(.*)"
> > > diff --git a/recipes-ti/devtools/ti-xdctools-common.inc
> > b/recipes-ti/devtools/ti-xdctools-common.inc
> > > index a3949cad..0e86ef7a 100644
> > > --- a/recipes-ti/devtools/ti-xdctools-common.inc
> > > +++ b/recipes-ti/devtools/ti-xdctools-common.inc
> > > @@ -61,3 +61,8 @@ libhpi.so \
> > > lib.so \
> > > libcairo.so.2 \
> > > "
> > > +COMPATIBLE_HOST ?= "null"
> > > +COMPATIBLE_HOST_ti-soc = "(.*)"
> > > +COMPATIBLE_HOST_class-native = "(.*)"
> > > +COMPATIBLE_HOST_class-nativesdk = "(.*)"
> > > +
> > > diff --git a/recipes-ti/osal/ti-osal.inc b/recipes-ti/osal/ti-osal.inc
> > > index cb8da354..bbbdf517 100644
> > > --- a/recipes-ti/osal/ti-osal.inc
> > > +++ b/recipes-ti/osal/ti-osal.inc
> > > @@ -19,3 +19,7 @@ INSANE_SKIP_${PN}-dev = "staticdev"
> > >
> > > ALLOW_EMPTY_${PN} = "1"
> > > FILES_${PN}-dev += "${OSAL_INSTALL_DIR_RECIPE}"
> > > +
> > > +COMPATIBLE_HOST ?= "null"
> > > +COMPATIBLE_HOST_ti-soc = "(.*)"
> > > +
> > > --
> > > 2.19.1
> > >
> > > --
> > > _______________________________________________
> > > meta-ti mailing list
> > > meta-ti@yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/meta-ti
> >
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 3/5] u-boot: reduce the SPL `.rodata' size
2018-10-17 19:28 ` [PATCH 3/5] u-boot: reduce the SPL `.rodata' size Khem Raj
@ 2018-10-17 22:34 ` Denys Dmytriyenko
2018-10-17 22:50 ` Khem Raj
0 siblings, 1 reply; 13+ messages in thread
From: Denys Dmytriyenko @ 2018-10-17 22:34 UTC (permalink / raw)
To: Khem Raj; +Cc: meta-ti, Tom Rini
On Wed, Oct 17, 2018 at 12:28:51PM -0700, Khem Raj wrote:
> Fixes errors e.g.
>
> | arm-yoe-linux-gnueabi-ld.bfd: u-boot-spl section `.rodata' will not fit in region `.sram'
> | arm-yoe-linux-gnueabi-ld.bfd: region `.sram' overflowed by 5772 bytes
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> Cc: Tom Rini <trini@konsulko.com>
> Cc: Denys Dmytriyenko <trini@konsulko.com>
Hmm, interesting email I got here... :)
Anyway, I'm going to hold on this one for now. Let's see if we can patch
U-boot build instead.
> ---
> ...vm_defconfig-Reduce-SPL-.rodata-size.patch | 36 +++++++++++++++++++
> .../u-boot/u-boot-ti-staging_2018.01.bb | 2 ++
> 2 files changed, 38 insertions(+)
> create mode 100644 recipes-bsp/u-boot/files/0001-am335x_evm_defconfig-Reduce-SPL-.rodata-size.patch
>
> diff --git a/recipes-bsp/u-boot/files/0001-am335x_evm_defconfig-Reduce-SPL-.rodata-size.patch b/recipes-bsp/u-boot/files/0001-am335x_evm_defconfig-Reduce-SPL-.rodata-size.patch
> new file mode 100644
> index 00000000..6244a56a
> --- /dev/null
> +++ b/recipes-bsp/u-boot/files/0001-am335x_evm_defconfig-Reduce-SPL-.rodata-size.patch
> @@ -0,0 +1,36 @@
> +From 45ead566ebf63999f07e966fa4962bb9bbe3ed4a Mon Sep 17 00:00:00 2001
> +From: Khem Raj <raj.khem@gmail.com>
> +Date: Tue, 16 Oct 2018 17:11:13 -0700
> +Subject: [PATCH] Disable usb-gadget usb-eth support in SPL
> +
> +This helps in shedding some size to fit in into SRAM
> +
> +Signed-off-by: Khem Raj <raj.khem@gmail.com>
> +---
> + configs/am335x_evm_defconfig | 5 ++---
> + 1 file changed, 2 insertions(+), 3 deletions(-)
> +
> +diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig
> +index 4908099431..8342089dee 100644
> +--- a/configs/am335x_evm_defconfig
> ++++ b/configs/am335x_evm_defconfig
> +@@ -12,14 +12,13 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
> + CONFIG_VERSION_VARIABLE=y
> + CONFIG_ARCH_MISC_INIT=y
> + CONFIG_SPL=y
> +-CONFIG_SPL_ETH_SUPPORT=y
> ++# CONFIG_SPL_ENV_SUPPORT is not set
> + CONFIG_SPL_MTD_SUPPORT=y
> + CONFIG_SPL_MUSB_NEW_SUPPORT=y
> + CONFIG_SPL_NET_SUPPORT=y
> + CONFIG_SPL_NET_VCI_STRING="AM335x U-Boot SPL"
> + CONFIG_SPL_OS_BOOT=y
> +-CONFIG_SPL_USB_GADGET_SUPPORT=y
> +-CONFIG_SPL_USBETH_SUPPORT=y
> ++# CONFIG_SPL_YMODEM_SUPPORT is not set
> + CONFIG_FASTBOOT=y
> + CONFIG_CMD_SPL=y
> + CONFIG_CMD_SPL_NAND_OFS=0x00080000
> +--
> +2.19.1
> +
> diff --git a/recipes-bsp/u-boot/u-boot-ti-staging_2018.01.bb b/recipes-bsp/u-boot/u-boot-ti-staging_2018.01.bb
> index cbb8857a..46a26480 100644
> --- a/recipes-bsp/u-boot/u-boot-ti-staging_2018.01.bb
> +++ b/recipes-bsp/u-boot/u-boot-ti-staging_2018.01.bb
> @@ -5,3 +5,5 @@ PR = "r24"
> BRANCH = "ti-u-boot-2018.01"
>
> SRCREV = "2cc52408bf1357f11b96548e78223a1df321c1ae"
> +
> +SRC_URI += "file://0001-am335x_evm_defconfig-Reduce-SPL-.rodata-size.patch"
> --
> 2.19.1
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 3/5] u-boot: reduce the SPL `.rodata' size
2018-10-17 22:34 ` Denys Dmytriyenko
@ 2018-10-17 22:50 ` Khem Raj
0 siblings, 0 replies; 13+ messages in thread
From: Khem Raj @ 2018-10-17 22:50 UTC (permalink / raw)
To: Denys Dmytriyenko; +Cc: meta-ti, Tom Rini
[-- Attachment #1: Type: text/plain, Size: 3677 bytes --]
On Wed, Oct 17, 2018 at 3:34 PM Denys Dmytriyenko <denys@ti.com> wrote:
> On Wed, Oct 17, 2018 at 12:28:51PM -0700, Khem Raj wrote:
> > Fixes errors e.g.
> >
> > | arm-yoe-linux-gnueabi-ld.bfd: u-boot-spl section `.rodata' will not
> fit in region `.sram'
> > | arm-yoe-linux-gnueabi-ld.bfd: region `.sram' overflowed by 5772 bytes
> >
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > Cc: Tom Rini <trini@konsulko.com>
> > Cc: Denys Dmytriyenko <trini@konsulko.com>
>
> Hmm, interesting email I got here... :)
>
>
> Anyway, I'm going to hold on this one for now. Let's see if we can patch
> U-boot build instead.
Just don’t hold it because of the name :)
Btw there is something in master u-boot which makes it work with gcc+pie so
we can look at that and see if there is something to be backported but it
could also mean that there are additional features that get compiled in
with ti fork which cause the size to grow and break the size barrier
>
>
>
> > ---
> > ...vm_defconfig-Reduce-SPL-.rodata-size.patch | 36 +++++++++++++++++++
> > .../u-boot/u-boot-ti-staging_2018.01.bb | 2 ++
> > 2 files changed, 38 insertions(+)
> > create mode 100644
> recipes-bsp/u-boot/files/0001-am335x_evm_defconfig-Reduce-SPL-.rodata-size.patch
> >
> > diff --git
> a/recipes-bsp/u-boot/files/0001-am335x_evm_defconfig-Reduce-SPL-.rodata-size.patch
> b/recipes-bsp/u-boot/files/0001-am335x_evm_defconfig-Reduce-SPL-.rodata-size.patch
> > new file mode 100644
> > index 00000000..6244a56a
> > --- /dev/null
> > +++
> b/recipes-bsp/u-boot/files/0001-am335x_evm_defconfig-Reduce-SPL-.rodata-size.patch
> > @@ -0,0 +1,36 @@
> > +From 45ead566ebf63999f07e966fa4962bb9bbe3ed4a Mon Sep 17 00:00:00 2001
> > +From: Khem Raj <raj.khem@gmail.com>
> > +Date: Tue, 16 Oct 2018 17:11:13 -0700
> > +Subject: [PATCH] Disable usb-gadget usb-eth support in SPL
> > +
> > +This helps in shedding some size to fit in into SRAM
> > +
> > +Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > +---
> > + configs/am335x_evm_defconfig | 5 ++---
> > + 1 file changed, 2 insertions(+), 3 deletions(-)
> > +
> > +diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig
> > +index 4908099431..8342089dee 100644
> > +--- a/configs/am335x_evm_defconfig
> > ++++ b/configs/am335x_evm_defconfig
> > +@@ -12,14 +12,13 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
> > + CONFIG_VERSION_VARIABLE=y
> > + CONFIG_ARCH_MISC_INIT=y
> > + CONFIG_SPL=y
> > +-CONFIG_SPL_ETH_SUPPORT=y
> > ++# CONFIG_SPL_ENV_SUPPORT is not set
> > + CONFIG_SPL_MTD_SUPPORT=y
> > + CONFIG_SPL_MUSB_NEW_SUPPORT=y
> > + CONFIG_SPL_NET_SUPPORT=y
> > + CONFIG_SPL_NET_VCI_STRING="AM335x U-Boot SPL"
> > + CONFIG_SPL_OS_BOOT=y
> > +-CONFIG_SPL_USB_GADGET_SUPPORT=y
> > +-CONFIG_SPL_USBETH_SUPPORT=y
> > ++# CONFIG_SPL_YMODEM_SUPPORT is not set
> > + CONFIG_FASTBOOT=y
> > + CONFIG_CMD_SPL=y
> > + CONFIG_CMD_SPL_NAND_OFS=0x00080000
> > +--
> > +2.19.1
> > +
> > diff --git a/recipes-bsp/u-boot/u-boot-ti-staging_2018.01.bb
> b/recipes-bsp/u-boot/u-boot-ti-staging_2018.01.bb
> > index cbb8857a..46a26480 100644
> > --- a/recipes-bsp/u-boot/u-boot-ti-staging_2018.01.bb
> > +++ b/recipes-bsp/u-boot/u-boot-ti-staging_2018.01.bb
> > @@ -5,3 +5,5 @@ PR = "r24"
> > BRANCH = "ti-u-boot-2018.01"
> >
> > SRCREV = "2cc52408bf1357f11b96548e78223a1df321c1ae"
> > +
> > +SRC_URI +=
> "file://0001-am335x_evm_defconfig-Reduce-SPL-.rodata-size.patch"
> > --
> > 2.19.1
> >
> > --
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti
>
[-- Attachment #2: Type: text/html, Size: 5430 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2018-10-17 22:50 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-17 19:28 [PATCH 1/5] recipes: Limit ti specific recipes under ti-soc override Khem Raj
2018-10-17 19:28 ` [PATCH 2/5] recips: Mark more recipes to be ti-soc specific Khem Raj
2018-10-17 20:11 ` Denys Dmytriyenko
2018-10-17 22:21 ` Khem Raj
2018-10-17 22:30 ` Denys Dmytriyenko
2018-10-17 19:28 ` [PATCH 3/5] u-boot: reduce the SPL `.rodata' size Khem Raj
2018-10-17 22:34 ` Denys Dmytriyenko
2018-10-17 22:50 ` Khem Raj
2018-10-17 19:28 ` [PATCH 4/5] beaglebone.conf: Package kernel and devicetree Khem Raj
2018-10-17 19:46 ` Denys Dmytriyenko
2018-10-17 19:50 ` Denys Dmytriyenko
2018-10-17 19:28 ` [PATCH 5/5] beaglebone.conf: SERIAL_CONSOLE has been deprecated Khem Raj
2018-10-17 19:37 ` Denys Dmytriyenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.