diff options
| author | Denys Dmytriyenko <denys@konsulko.com> | 2022-11-11 01:18:15 +0000 |
|---|---|---|
| committer | Ryan Eatmon <reatmon@ti.com> | 2022-11-23 16:08:24 -0600 |
| commit | 0ae9fbb11c0c6f7cba0f1793dd6ea8f76b9a5f95 (patch) | |
| tree | 5073bcf7c984f2d3aab9f366193f2086a7388524 /meta-ti-bsp | |
| parent | 92fdd13c1ca58328a9bf4cd6a3a950ed62925fa9 (diff) | |
| download | meta-ti-0ae9fbb11c0c6f7cba0f1793dd6ea8f76b9a5f95.tar.gz | |
conf/machine/omapl138: correct few of the machine settings
Cleanup and unify again - omapl138-lcdk is the only platform supported in
the OMAP-L1 family. Plus there's no longer DaVinci family with corresponding
settings. Adjust accordingly.
Please note, there's currently a bug building Rust on ARMv5 platforms:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14967
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp')
| -rw-r--r-- | meta-ti-bsp/conf/machine/include/omapl1.inc | 2 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/include/omapl138.inc | 14 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/omapl138-lcdk.conf | 1 | ||||
| -rw-r--r-- | meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 1 | ||||
| -rw-r--r-- | meta-ti-bsp/recipes-kernel/linux/bundle-devicetree.inc | 26 | ||||
| -rw-r--r-- | meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_5.10.bb | 1 |
6 files changed, 13 insertions, 32 deletions
diff --git a/meta-ti-bsp/conf/machine/include/omapl1.inc b/meta-ti-bsp/conf/machine/include/omapl1.inc deleted file mode 100644 index d0262c3f..00000000 --- a/meta-ti-bsp/conf/machine/include/omapl1.inc +++ /dev/null | |||
| @@ -1,2 +0,0 @@ | |||
| 1 | require conf/machine/include/ti-soc.inc | ||
| 2 | SOC_FAMILY:append = ":omapl1" | ||
diff --git a/meta-ti-bsp/conf/machine/include/omapl138.inc b/meta-ti-bsp/conf/machine/include/omapl138.inc index c6eb0cd9..2e4a47a5 100644 --- a/meta-ti-bsp/conf/machine/include/omapl138.inc +++ b/meta-ti-bsp/conf/machine/include/omapl138.inc | |||
| @@ -1,2 +1,14 @@ | |||
| 1 | require conf/machine/include/omapl1.inc | 1 | require conf/machine/include/ti-soc.inc |
| 2 | SOC_FAMILY:append = ":omapl138" | 2 | SOC_FAMILY:append = ":omapl138" |
| 3 | |||
| 4 | require conf/machine/include/arm/armv5/tune-arm926ejs.inc | ||
| 5 | |||
| 6 | KERNEL_IMAGETYPE = "zImage" | ||
| 7 | |||
| 8 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging" | ||
| 9 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" | ||
| 10 | PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging" | ||
| 11 | |||
| 12 | EXTRA_IMAGEDEPENDS += "virtual/bootloader" | ||
| 13 | |||
| 14 | MACHINE_FEATURES = "kernel26 serial ethernet usbhost usbgadget mmc alsa" | ||
diff --git a/meta-ti-bsp/conf/machine/omapl138-lcdk.conf b/meta-ti-bsp/conf/machine/omapl138-lcdk.conf index ba4d5645..b318f82d 100644 --- a/meta-ti-bsp/conf/machine/omapl138-lcdk.conf +++ b/meta-ti-bsp/conf/machine/omapl138-lcdk.conf | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | #@NAME: OMAP-L138 LCDK | 2 | #@NAME: OMAP-L138 LCDK |
| 3 | #@DESCRIPTION: Machine configuration for the TI OMAP-L138 LCDK board | 3 | #@DESCRIPTION: Machine configuration for the TI OMAP-L138 LCDK board |
| 4 | 4 | ||
| 5 | require conf/machine/include/davinci.inc | ||
| 6 | require conf/machine/include/omapl138.inc | 5 | require conf/machine/include/omapl138.inc |
| 7 | 6 | ||
| 8 | UBOOT_MACHINE = "omapl138_lcdk_config" | 7 | UBOOT_MACHINE = "omapl138_lcdk_config" |
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc index c0f876e3..d87dcbe1 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | |||
| @@ -55,7 +55,6 @@ SYSROOT_DIRS += "/boot" | |||
| 55 | # SPL (Second Program Loader) to be loaded over UART | 55 | # SPL (Second Program Loader) to be loaded over UART |
| 56 | SPL_UART_BINARY = "u-boot-spl.bin" | 56 | SPL_UART_BINARY = "u-boot-spl.bin" |
| 57 | SPL_UART_BINARY:k3r5 = "" | 57 | SPL_UART_BINARY:k3r5 = "" |
| 58 | SPL_UART_BINARY:lego-ev3 = "" | ||
| 59 | 58 | ||
| 60 | SPL_UART_IMAGE ?= "${SPL_UART_BINARY}-${MACHINE}-${PV}-${PR}" | 59 | SPL_UART_IMAGE ?= "${SPL_UART_BINARY}-${MACHINE}-${PV}-${PR}" |
| 61 | SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}" | 60 | SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}" |
diff --git a/meta-ti-bsp/recipes-kernel/linux/bundle-devicetree.inc b/meta-ti-bsp/recipes-kernel/linux/bundle-devicetree.inc deleted file mode 100644 index d259e58c..00000000 --- a/meta-ti-bsp/recipes-kernel/linux/bundle-devicetree.inc +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | # Upstream kernel-devicetree.bbclass only supports bundling the DTB with | ||
| 2 | # zImage. The factory u-boot on lego-ev3 EEPROM only supports uImage, so we | ||
| 3 | # append the DTB to the final uImage here. | ||
| 4 | |||
| 5 | do_deploy:append() { | ||
| 6 | if [ "${KERNEL_DEVICETREE_BUNDLE}" = "1" ]; then | ||
| 7 | install -d ${DEPLOYDIR} | ||
| 8 | for dtbf in ${KERNEL_DEVICETREE}; do | ||
| 9 | dtb=`normalize_dtb "$dtbf"` | ||
| 10 | dtb_ext=${dtb##*.} | ||
| 11 | dtb_base_name=`basename $dtb .$dtb_ext` | ||
| 12 | for type in ${KERNEL_IMAGETYPE_FOR_MAKE}; do | ||
| 13 | if [ "$type" = "uImage" ]; then | ||
| 14 | cat ${D}/${KERNEL_IMAGEDEST}/$type \ | ||
| 15 | ${DEPLOYDIR}/$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext \ | ||
| 16 | > ${DEPLOYDIR}/$type-$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext.bin | ||
| 17 | ln -sf $type-$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext.bin \ | ||
| 18 | ${DEPLOYDIR}/$type-$dtb_base_name-${KERNEL_DTB_LINK_NAME}.$dtb_ext.bin | ||
| 19 | cat ${D}/${KERNEL_IMAGEDEST}/$type \ | ||
| 20 | ${DEPLOYDIR}/$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext \ | ||
| 21 | > ${DEPLOYDIR}/$type | ||
| 22 | fi | ||
| 23 | done | ||
| 24 | done | ||
| 25 | fi | ||
| 26 | } | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_5.10.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_5.10.bb index a0af03c5..bf230dbc 100644 --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_5.10.bb +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_5.10.bb | |||
| @@ -8,7 +8,6 @@ inherit kernel | |||
| 8 | DEFCONFIG_BUILDER = "${S}/ti_config_fragments/defconfig_builder.sh" | 8 | DEFCONFIG_BUILDER = "${S}/ti_config_fragments/defconfig_builder.sh" |
| 9 | require recipes-kernel/linux/setup-defconfig.inc | 9 | require recipes-kernel/linux/setup-defconfig.inc |
| 10 | require recipes-kernel/linux/ti-uio.inc | 10 | require recipes-kernel/linux/ti-uio.inc |
| 11 | require recipes-kernel/linux/bundle-devicetree.inc | ||
| 12 | require recipes-kernel/linux/kernel-rdepends.inc | 11 | require recipes-kernel/linux/kernel-rdepends.inc |
| 13 | require recipes-kernel/linux/ti-kernel.inc | 12 | require recipes-kernel/linux/ti-kernel.inc |
| 14 | 13 | ||
