From: Alexander Sverdlin <alexander.sverdlin@gmail.com>
To: Romain Naour <romain.naour@smile.fr>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 18/21] configs/ti_j721e_sk_defconfig: new defconfig
Date: Fri, 16 Feb 2024 02:19:31 +0100 [thread overview]
Message-ID: <6f7f293b44ddef1809b59ff0d17ec00c816dd7ba.camel@gmail.com> (raw)
In-Reply-To: <20240213172817.2872849-19-romain.naour@smile.fr>
Hi Romain,
On Tue, 2024-02-13 at 18:28 +0100, Romain Naour wrote:
> --- /dev/null
> +++ b/board/ti/j721e-sk/post-build.sh
> @@ -0,0 +1,16 @@
> +#!/bin/sh
> +BOARD_DIR="$(dirname $0)"
Unused variable?
> +
> +# u-boot is looking at /boot/dtb/ti for devicetree in the rootfs
> +# partition while Buildroot install the kernel and its devicetree
> +# in /boot (BR2_LINUX_KERNEL_INSTALL_TARGET enabled).
> +# Enabling BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME allows to keep the
> +# "ti" subdirectory but "dts" is still missing.
> +# Make sure /boot/dtb/ti exist by creating a symlink in
> +# ${TARGET_DIR}/boot
> +# https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc?h=09.02.00.004#n13
> +# https://source.denx.de/u-boot/u-boot/-/blob/v2024.01/include/env/ti/mmc.env?ref_type=tags#L18
> +if [ -L ${TARGET_DIR}/boot/dtb ]; then
> + rm ${TARGET_DIR}/boot/dtb
> + ln -sf . ${TARGET_DIR}/boot/dtb
> +fi
The above only re-creates a link if there was already a link, but doesn't
if it's a clean build. Should "ln -sf . ${TARGET_DIR}/boot/dtb" be outside
the "if"?
--
Alexander Sverdlin.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-02-16 1:19 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-13 17:27 [Buildroot] [PATCH 00/21] Add ti_j721e_sk_defconfig Romain Naour
2024-02-13 17:27 ` [Buildroot] [PATCH 01/21] DEVELOPERS: add Romain Naour for am574x_idk_defconfig Romain Naour
2024-02-13 17:27 ` [Buildroot] [PATCH 02/21] configs/ti_am62x_sk_defconfig: fix optee-os plateform Romain Naour
2024-02-13 18:45 ` Alexander Sverdlin
2024-02-13 17:27 ` [Buildroot] [PATCH 03/21] configs/ti_am64x_sk_defconfig: " Romain Naour
2024-02-13 18:56 ` Alexander Sverdlin
2024-02-13 17:28 ` [Buildroot] [PATCH 04/21] package/python-attrs: add host variant Romain Naour
2024-02-13 17:28 ` [Buildroot] [PATCH 05/21] package/python-rpds-py: " Romain Naour
2024-02-13 17:28 ` [Buildroot] [PATCH 06/21] package/python-referencing: " Romain Naour
2024-02-13 17:28 ` [Buildroot] [PATCH 07/21] package/python-jsonschema-specifications: " Romain Naour
2024-02-13 17:28 ` [Buildroot] [PATCH 08/21] package/python-jsonschema: " Romain Naour
2024-02-13 17:28 ` [Buildroot] [PATCH 09/21] boot/uboot: add BR2_TARGET_UBOOT_USE_BINMAN option Romain Naour
2024-02-14 10:58 ` Alexander Sverdlin
2024-02-13 17:28 ` [Buildroot] [PATCH 10/21] boot/ti-k3-r5-loader: add BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN option Romain Naour
2024-02-14 10:58 ` Alexander Sverdlin
2024-02-13 17:28 ` [Buildroot] [PATCH 11/21] boot/ti-k3-r5-loader: install tiboot3.bin and sysfw.itb to BINARIES_DIR Romain Naour
2024-02-14 10:58 ` Alexander Sverdlin
2024-02-13 17:28 ` [Buildroot] [PATCH 12/21] boot/ti-k3-boot-firmware: introduce BR2_TARGET_TI_K3_BOOT_FIRMWARE_SOC_{AM62AX, AM62X, AM64X, AM65X} Romain Naour
2024-02-14 11:20 ` Alexander Sverdlin
2024-02-13 17:28 ` [Buildroot] [PATCH 13/21] boot/uboot: use DM firmware name defined by ti-k3-boot-firmware package Romain Naour
2024-02-14 11:29 ` Alexander Sverdlin
2024-02-13 17:28 ` [Buildroot] [PATCH 14/21] boot/ti-k3-boot-firmware: add BR2_TARGET_TI_K3_BOOT_FIRMWARE_SOC_J721E Romain Naour
2024-02-13 20:23 ` Alexander Sverdlin
2024-02-13 17:28 ` [Buildroot] [PATCH 15/21] boot/uboot: replace ti-k3-image-gen options by ti-k3-firmware options Romain Naour
2024-02-14 11:37 ` Alexander Sverdlin
2024-02-13 17:28 ` [Buildroot] [PATCH 16/21] boot/uboot: enable TI K3 Device Manager (DM) for j721e Romain Naour
2024-02-14 10:58 ` Alexander Sverdlin
2024-02-13 17:28 ` [Buildroot] [PATCH 17/21] boot/ti-k3-boot-firmware: bump to version 09.02.00.004 Romain Naour
2024-02-14 11:25 ` Alexander Sverdlin
2024-02-13 17:28 ` [Buildroot] [PATCH 18/21] configs/ti_j721e_sk_defconfig: new defconfig Romain Naour
2024-02-14 12:06 ` Alexander Sverdlin
2024-02-16 1:19 ` Alexander Sverdlin [this message]
2024-02-16 1:44 ` Alexander Sverdlin
2024-02-13 17:28 ` [Buildroot] [PATCH 19/21] configs/ti_am62x_sk_defconfig: update to uboot 2024.01 to use binman tool Romain Naour
2024-02-14 10:59 ` Alexander Sverdlin
2024-02-14 15:24 ` Romain Naour
2024-02-13 17:28 ` [Buildroot] [PATCH 20/21] configs/ti_am64x_sk_defconfig: " Romain Naour
2024-02-14 11:05 ` Alexander Sverdlin
2024-02-13 17:28 ` [Buildroot] [PATCH 21/21] boot/ti-k3-image-gen: remove package Romain Naour
2024-02-13 19:05 ` Alexander Sverdlin
2024-02-13 21:35 ` Romain Naour
2024-02-14 10:58 ` Alexander Sverdlin
2024-02-15 10:20 ` Alexander Sverdlin
2024-02-15 11:26 ` Romain Naour
2024-02-15 18:50 ` Alexander Sverdlin
2024-02-15 22:32 ` Romain Naour
2024-02-15 22:36 ` Alexander Sverdlin
2024-02-16 20:06 ` Andreas Dannenberg via buildroot
2024-02-16 21:38 ` Romain Naour
2024-02-19 19:42 ` Andreas Dannenberg via buildroot
2024-02-19 22:27 ` Romain Naour
2024-02-15 10:13 ` [Buildroot] [PATCH 00/21] Add ti_j721e_sk_defconfig Alexander Sverdlin
2024-02-15 11:23 ` Romain Naour
2024-02-15 21:14 ` Alexander Sverdlin
2024-02-15 22:13 ` Romain Naour
2024-02-15 22:22 ` Alexander Sverdlin
2024-02-16 20:13 ` Andreas Dannenberg via buildroot
2024-02-16 21:17 ` Romain Naour
2024-02-16 20:19 ` Andreas Dannenberg via buildroot
2024-02-16 21:52 ` Romain Naour
2024-02-16 22:20 ` Andreas Dannenberg via buildroot
2024-02-17 3:13 ` Alexander Sverdlin
2024-02-19 19:59 ` Andreas Dannenberg via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6f7f293b44ddef1809b59ff0d17ec00c816dd7ba.camel@gmail.com \
--to=alexander.sverdlin@gmail.com \
--cc=buildroot@buildroot.org \
--cc=romain.naour@smile.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox