* [meta-arago][dunfell/master][PATCH] tisdk-bundle: fix prebuilt-images U-Boot binary name for HS
@ 2022-06-21 15:39 Andrew Davis
2022-06-21 15:50 ` Denys Dmytriyenko
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Davis @ 2022-06-21 15:39 UTC (permalink / raw)
To: Denys Dmytriyenko, Ryan Eatmon, meta-arago; +Cc: Andrew Davis
HS builds do not generate a -${MACHINE} version of the u-boot.img binary.
Not sure why we deploy these named this way to begin with, maybe a left-
over from when we had multiple machines per SDK.. To fix the HS builds
lets ship the binary named as-is for all platforms.
Signed-off-by: Andrew Davis <afd@ti.com>
---
meta-arago-distro/classes/tisdk-bundle.bbclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-arago-distro/classes/tisdk-bundle.bbclass b/meta-arago-distro/classes/tisdk-bundle.bbclass
index 7e3f4c26..9e961e1b 100644
--- a/meta-arago-distro/classes/tisdk-bundle.bbclass
+++ b/meta-arago-distro/classes/tisdk-bundle.bbclass
@@ -777,9 +777,9 @@ tisdk_image_build () {
fi
# Copy the U-Boot image if it exists
- if [ -e ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.img ]
+ if [ -e ${DEPLOY_DIR_IMAGE}/u-boot.img ]
then
- cp ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.img ${prebuilt_dir}/
+ cp ${DEPLOY_DIR_IMAGE}/u-boot.img ${prebuilt_dir}/
elif [ -e ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.bin ]
then
cp ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.bin ${prebuilt_dir}/
--
2.36.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [meta-arago][dunfell/master][PATCH] tisdk-bundle: fix prebuilt-images U-Boot binary name for HS
2022-06-21 15:39 [meta-arago][dunfell/master][PATCH] tisdk-bundle: fix prebuilt-images U-Boot binary name for HS Andrew Davis
@ 2022-06-21 15:50 ` Denys Dmytriyenko
2022-06-21 16:18 ` Andrew Davis
0 siblings, 1 reply; 3+ messages in thread
From: Denys Dmytriyenko @ 2022-06-21 15:50 UTC (permalink / raw)
To: afd; +Cc: Ryan Eatmon, meta-arago
On Tue, Jun 21, 2022 at 10:39:00AM -0500, Andrew Davis via lists.yoctoproject.org wrote:
> HS builds do not generate a -${MACHINE} version of the u-boot.img binary.
> Not sure why we deploy these named this way to begin with, maybe a left-
> over from when we had multiple machines per SDK.. To fix the HS builds
> lets ship the binary named as-is for all platforms.
This could potentially mess up with the way Processor SDK (installer, setup
scripts, etc.) expects U-boot binary to be called. I.e. the stuff outside of
CoreSDK and the Yocto build... But I'm not sure, just speculating here.
> Signed-off-by: Andrew Davis <afd@ti.com>
> ---
> meta-arago-distro/classes/tisdk-bundle.bbclass | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta-arago-distro/classes/tisdk-bundle.bbclass b/meta-arago-distro/classes/tisdk-bundle.bbclass
> index 7e3f4c26..9e961e1b 100644
> --- a/meta-arago-distro/classes/tisdk-bundle.bbclass
> +++ b/meta-arago-distro/classes/tisdk-bundle.bbclass
> @@ -777,9 +777,9 @@ tisdk_image_build () {
> fi
>
> # Copy the U-Boot image if it exists
> - if [ -e ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.img ]
> + if [ -e ${DEPLOY_DIR_IMAGE}/u-boot.img ]
> then
> - cp ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.img ${prebuilt_dir}/
> + cp ${DEPLOY_DIR_IMAGE}/u-boot.img ${prebuilt_dir}/
> elif [ -e ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.bin ]
> then
> cp ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.bin ${prebuilt_dir}/
> --
> 2.36.1
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [meta-arago][dunfell/master][PATCH] tisdk-bundle: fix prebuilt-images U-Boot binary name for HS
2022-06-21 15:50 ` Denys Dmytriyenko
@ 2022-06-21 16:18 ` Andrew Davis
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Davis @ 2022-06-21 16:18 UTC (permalink / raw)
To: Denys Dmytriyenko; +Cc: Ryan Eatmon, meta-arago
On 6/21/22 10:50 AM, Denys Dmytriyenko wrote:
> On Tue, Jun 21, 2022 at 10:39:00AM -0500, Andrew Davis via lists.yoctoproject.org wrote:
>> HS builds do not generate a -${MACHINE} version of the u-boot.img binary.
>> Not sure why we deploy these named this way to begin with, maybe a left-
>> over from when we had multiple machines per SDK.. To fix the HS builds
>> lets ship the binary named as-is for all platforms.
>
> This could potentially mess up with the way Processor SDK (installer, setup
> scripts, etc.) expects U-boot binary to be called. I.e. the stuff outside of
> CoreSDK and the Yocto build... But I'm not sure, just speculating here.
>
What the installers expect U-Boot to be called doesn't change what it should
be called. To boot from filesystem it should be called 'u-boot.img`, this
is the name made by U-Boot build, this is how it is called in the public
u-boot docs, and the name we should use.
I cannot check every workflow, if it is different outside of Yocto build,
then it is wrong there and should be fixed at that level.
Andrew
>
>> Signed-off-by: Andrew Davis <afd@ti.com>
>> ---
>> meta-arago-distro/classes/tisdk-bundle.bbclass | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta-arago-distro/classes/tisdk-bundle.bbclass b/meta-arago-distro/classes/tisdk-bundle.bbclass
>> index 7e3f4c26..9e961e1b 100644
>> --- a/meta-arago-distro/classes/tisdk-bundle.bbclass
>> +++ b/meta-arago-distro/classes/tisdk-bundle.bbclass
>> @@ -777,9 +777,9 @@ tisdk_image_build () {
>> fi
>>
>> # Copy the U-Boot image if it exists
>> - if [ -e ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.img ]
>> + if [ -e ${DEPLOY_DIR_IMAGE}/u-boot.img ]
>> then
>> - cp ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.img ${prebuilt_dir}/
>> + cp ${DEPLOY_DIR_IMAGE}/u-boot.img ${prebuilt_dir}/
>> elif [ -e ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.bin ]
>> then
>> cp ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.bin ${prebuilt_dir}/
>> --
>> 2.36.1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-06-21 16:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-21 15:39 [meta-arago][dunfell/master][PATCH] tisdk-bundle: fix prebuilt-images U-Boot binary name for HS Andrew Davis
2022-06-21 15:50 ` Denys Dmytriyenko
2022-06-21 16:18 ` Andrew Davis
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.