* [PATCH] arm-bsp/firmware-image-juno: Fix deployment of compressed Image
@ 2023-01-26 19:33 Daniel Díaz
2023-01-27 18:24 ` Jon Mason
2023-02-05 9:59 ` Jon Mason
0 siblings, 2 replies; 4+ messages in thread
From: Daniel Díaz @ 2023-01-26 19:33 UTC (permalink / raw)
To: meta-arm; +Cc: Daniel Díaz
A recent commit compressed the kernel image (to Image.gz) and
by default enabled an initramfs image. In the case for when
such that (initramfs) is not desirable, the deploy step of the
Juno firmware will still try to install the Image file, (not
Image.gz), so this fails:
ERROR: firmware-image-juno-1.0-r0 do_deploy: ExecutionError('/oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/temp/run.do_deploy.360477', 1, None, None)
ERROR: Logfile of failure stored in: /oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/temp/log.do_deploy.360477
Log data follows:
| DEBUG: Executing python function sstate_task_prefunc
| DEBUG: Python function sstate_task_prefunc finished
| DEBUG: Executing shell function do_deploy
| cp: cannot stat '/oe/build/tmp-glibc/deploy/images/juno/Image': No such file or directory
| WARNING: /oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/temp/run.do_deploy.360477:152 exit 1 from 'cp -L -f /oe/build/tmp-glibc/deploy/images/juno/Image /oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/image/juno-firmware-19.06/SOFTWARE/'
| WARNING: Backtrace (BB generated script):
| #1: do_deploy, /oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/temp/run.do_deploy.360477, line 152
| #2: main, /oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/temp/run.do_deploy.360477, line 163
NOTE: recipe firmware-image-juno-1.0-r0: task do_deploy: Failed
ERROR: Task (../meta-arm/meta-arm-bsp/recipes-bsp/images/firmware-image-juno.bb:do_deploy) failed with exit code '1'
This updates the else case for when an initramfs image is not
in use so that the right kernel image is deployed, by using
the KERNEL_IMAGETYPE variable, to use either version of the
kernel image.
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
---
Please backport to Kirkstone.
meta-arm-bsp/recipes-bsp/images/firmware-image-juno.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-arm-bsp/recipes-bsp/images/firmware-image-juno.bb b/meta-arm-bsp/recipes-bsp/images/firmware-image-juno.bb
index 473d28cc..45f2ec72 100644
--- a/meta-arm-bsp/recipes-bsp/images/firmware-image-juno.bb
+++ b/meta-arm-bsp/recipes-bsp/images/firmware-image-juno.bb
@@ -66,7 +66,7 @@ do_deploy() {
cp -L -f ${DEPLOY_DIR_IMAGE}/Image.gz-initramfs-juno.bin \
${D}/${UNPACK_DIR}/SOFTWARE/Image
else
- cp -L -f ${DEPLOY_DIR_IMAGE}/Image ${D}/${UNPACK_DIR}/SOFTWARE/
+ cp -L -f ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE} ${D}/${UNPACK_DIR}/SOFTWARE/
fi
# Compress the files
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] arm-bsp/firmware-image-juno: Fix deployment of compressed Image
2023-01-26 19:33 [PATCH] arm-bsp/firmware-image-juno: Fix deployment of compressed Image Daniel Díaz
@ 2023-01-27 18:24 ` Jon Mason
2023-02-01 15:25 ` Daniel Díaz
2023-02-05 9:59 ` Jon Mason
1 sibling, 1 reply; 4+ messages in thread
From: Jon Mason @ 2023-01-27 18:24 UTC (permalink / raw)
To: meta-arm, Daniel Díaz
On Thu, 26 Jan 2023 13:33:07 -0600, Daniel Díaz wrote:
> A recent commit compressed the kernel image (to Image.gz) and
> by default enabled an initramfs image. In the case for when
> such that (initramfs) is not desirable, the deploy step of the
> Juno firmware will still try to install the Image file, (not
> Image.gz), so this fails:
>
> ERROR: firmware-image-juno-1.0-r0 do_deploy: ExecutionError('/oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/temp/run.do_deploy.360477', 1, None, None)
> ERROR: Logfile of failure stored in: /oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/temp/log.do_deploy.360477
> Log data follows:
> | DEBUG: Executing python function sstate_task_prefunc
> | DEBUG: Python function sstate_task_prefunc finished
> | DEBUG: Executing shell function do_deploy
> | cp: cannot stat '/oe/build/tmp-glibc/deploy/images/juno/Image': No such file or directory
> | WARNING: /oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/temp/run.do_deploy.360477:152 exit 1 from 'cp -L -f /oe/build/tmp-glibc/deploy/images/juno/Image /oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/image/juno-firmware-19.06/SOFTWARE/'
> | WARNING: Backtrace (BB generated script):
> | #1: do_deploy, /oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/temp/run.do_deploy.360477, line 152
> | #2: main, /oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/temp/run.do_deploy.360477, line 163
> NOTE: recipe firmware-image-juno-1.0-r0: task do_deploy: Failed
> ERROR: Task (../meta-arm/meta-arm-bsp/recipes-bsp/images/firmware-image-juno.bb:do_deploy) failed with exit code '1'
>
> [...]
Applied, thanks!
[1/1] arm-bsp/firmware-image-juno: Fix deployment of compressed Image
commit: 99b769e6ce4ed722386883a01be6adb7ce18a622
Best regards,
--
Jon Mason <jon.mason@arm.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm-bsp/firmware-image-juno: Fix deployment of compressed Image
2023-01-27 18:24 ` Jon Mason
@ 2023-02-01 15:25 ` Daniel Díaz
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Díaz @ 2023-02-01 15:25 UTC (permalink / raw)
To: Jon Mason; +Cc: meta-arm
Hello!
On Fri, 27 Jan 2023 at 12:25, Jon Mason <jdmason@kudzu.us> wrote:
>
> On Thu, 26 Jan 2023 13:33:07 -0600, Daniel Díaz wrote:
> > A recent commit compressed the kernel image (to Image.gz) and
> > by default enabled an initramfs image. In the case for when
> > such that (initramfs) is not desirable, the deploy step of the
> > Juno firmware will still try to install the Image file, (not
> > Image.gz), so this fails:
> >
> > ERROR: firmware-image-juno-1.0-r0 do_deploy: ExecutionError('/oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/temp/run.do_deploy.360477', 1, None, None)
> > ERROR: Logfile of failure stored in: /oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/temp/log.do_deploy.360477
> > Log data follows:
> > | DEBUG: Executing python function sstate_task_prefunc
> > | DEBUG: Python function sstate_task_prefunc finished
> > | DEBUG: Executing shell function do_deploy
> > | cp: cannot stat '/oe/build/tmp-glibc/deploy/images/juno/Image': No such file or directory
> > | WARNING: /oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/temp/run.do_deploy.360477:152 exit 1 from 'cp -L -f /oe/build/tmp-glibc/deploy/images/juno/Image /oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/image/juno-firmware-19.06/SOFTWARE/'
> > | WARNING: Backtrace (BB generated script):
> > | #1: do_deploy, /oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/temp/run.do_deploy.360477, line 152
> > | #2: main, /oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/temp/run.do_deploy.360477, line 163
> > NOTE: recipe firmware-image-juno-1.0-r0: task do_deploy: Failed
> > ERROR: Task (../meta-arm/meta-arm-bsp/recipes-bsp/images/firmware-image-juno.bb:do_deploy) failed with exit code '1'
> >
> > [...]
>
> Applied, thanks!
>
> [1/1] arm-bsp/firmware-image-juno: Fix deployment of compressed Image
> commit: 99b769e6ce4ed722386883a01be6adb7ce18a622
Can this be backported to Kirkstone? That's where it broke our builds.
Thanks and greetings!
Daniel Díaz
daniel.diaz@linaro.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm-bsp/firmware-image-juno: Fix deployment of compressed Image
2023-01-26 19:33 [PATCH] arm-bsp/firmware-image-juno: Fix deployment of compressed Image Daniel Díaz
2023-01-27 18:24 ` Jon Mason
@ 2023-02-05 9:59 ` Jon Mason
1 sibling, 0 replies; 4+ messages in thread
From: Jon Mason @ 2023-02-05 9:59 UTC (permalink / raw)
To: meta-arm, Daniel Díaz
On Thu, 26 Jan 2023 13:33:07 -0600, Daniel Díaz wrote:
> A recent commit compressed the kernel image (to Image.gz) and
> by default enabled an initramfs image. In the case for when
> such that (initramfs) is not desirable, the deploy step of the
> Juno firmware will still try to install the Image file, (not
> Image.gz), so this fails:
>
> ERROR: firmware-image-juno-1.0-r0 do_deploy: ExecutionError('/oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/temp/run.do_deploy.360477', 1, None, None)
> ERROR: Logfile of failure stored in: /oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/temp/log.do_deploy.360477
> Log data follows:
> | DEBUG: Executing python function sstate_task_prefunc
> | DEBUG: Python function sstate_task_prefunc finished
> | DEBUG: Executing shell function do_deploy
> | cp: cannot stat '/oe/build/tmp-glibc/deploy/images/juno/Image': No such file or directory
> | WARNING: /oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/temp/run.do_deploy.360477:152 exit 1 from 'cp -L -f /oe/build/tmp-glibc/deploy/images/juno/Image /oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/image/juno-firmware-19.06/SOFTWARE/'
> | WARNING: Backtrace (BB generated script):
> | #1: do_deploy, /oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/temp/run.do_deploy.360477, line 152
> | #2: main, /oe/build/tmp-glibc/work/juno-oe-linux/firmware-image-juno/1.0-r0/temp/run.do_deploy.360477, line 163
> NOTE: recipe firmware-image-juno-1.0-r0: task do_deploy: Failed
> ERROR: Task (../meta-arm/meta-arm-bsp/recipes-bsp/images/firmware-image-juno.bb:do_deploy) failed with exit code '1'
>
> [...]
Applied, thanks!
[1/1] arm-bsp/firmware-image-juno: Fix deployment of compressed Image
commit: b004c61ec2306f3f4976e21c33cd846d9cd98c52
Best regards,
--
Jon Mason <jon.mason@arm.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-02-05 10:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-26 19:33 [PATCH] arm-bsp/firmware-image-juno: Fix deployment of compressed Image Daniel Díaz
2023-01-27 18:24 ` Jon Mason
2023-02-01 15:25 ` Daniel Díaz
2023-02-05 9:59 ` Jon Mason
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).