From: "Jon Mason" <jdmason@kudzu.us>
To: Khasim Mohammed <khasim.mohammed@arm.com>
Cc: meta-arm@lists.yoctoproject.org, nd@arm.com
Subject: Re: [meta-arm] [PATCH] arm-bsp/n1sdp-board-firmware: include RAM firmware for secondary device
Date: Fri, 20 Nov 2020 14:22:22 -0500 [thread overview]
Message-ID: <20201120192221.GD4483@kudzu.us> (raw)
In-Reply-To: <20201119175040.32665-1-khasim.mohammed@arm.com>
When applying the patch below and trying to build n1sdp, I see the
following error:
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 '/home/jdm/yocto/poky/build/tmp/work/n1sdp-poky-linux/sdcard-image-n1sdp/0.1-r0/recipe-sysroot/n1sdp-board-firmware_source/*': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/jdm/yocto/poky/build/tmp/work/n1sdp-poky-linux/sdcard-image-n1sdp/0.1-r0/temp/run.do_deploy.10290' failed with exit code 1:
| cp: cannot stat '/home/jdm/yocto/poky/build/tmp/work/n1sdp-poky-linux/sdcard-image-n1sdp/0.1-r0/recipe-sysroot/n1sdp-board-firmware_source/*': No such file or directory
| WARNING: exit code 1 from a shell command.
|
Thanks,
Jon
On Thu, Nov 19, 2020 at 11:20:40PM +0530, Khasim Mohammed wrote:
> From: Khasim Mohammed <khasim.mohammed@arm.com>
>
> While testing multi-chip mode it was observed that n1sdp running
> as secondary device needs scp and mcp RAM firmware as well.
>
> This issue wasn't captured earlier as QSPI flash had RAM firmware installed
> and it doesn't get erased automatically therefore the device was able to
> load it on every reboot.
>
> Change-Id: Ied9d24429c7025206e35f50c8e5b6f090a590015
> Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>
> ---
> .../recipes-bsp/images/sdcard-image-n1sdp_0.1.bb | 14 +++++---------
> 1 file changed, 5 insertions(+), 9 deletions(-)
>
> diff --git a/meta-arm-bsp/recipes-bsp/images/sdcard-image-n1sdp_0.1.bb b/meta-arm-bsp/recipes-bsp/images/sdcard-image-n1sdp_0.1.bb
> index 13fa560..1ce0fbc 100644
> --- a/meta-arm-bsp/recipes-bsp/images/sdcard-image-n1sdp_0.1.bb
> +++ b/meta-arm-bsp/recipes-bsp/images/sdcard-image-n1sdp_0.1.bb
> @@ -18,9 +18,7 @@ FIRMWARE_DIR = "n1sdp-board-firmware_source"
> PRIMARY_DIR = "${WORKDIR}/n1sdp-board-firmware_primary"
> SECONDARY_DIR = "${WORKDIR}/n1sdp-board-firmware_secondary"
>
> -SOC_BINARIES_PRIMARY = "mcp_fw.bin scp_fw.bin ${SOC_BINARIES_SECONDARY}"
> -SOC_BINARIES_SECONDARY = "mcp_rom.bin scp_rom.bin"
> -
> +SOC_BINARIES = "mcp_fw.bin scp_fw.bin mcp_rom.bin scp_rom.bin"
>
> prepare_package() {
> cd ${WORKDIR}
> @@ -33,7 +31,7 @@ prepare_package() {
> cp -v ${RECIPE_SYSROOT}/firmware/uefi.bin ${PRIMARY_DIR}/SOFTWARE/
>
> # Copy SOC binaries
> - for f in ${SOC_BINARIES_PRIMARY}; do
> + for f in ${SOC_BINARIES}; do
> cp -v ${RECIPE_SYSROOT}/firmware/${f} ${PRIMARY_DIR}/SOFTWARE/
> done
>
> @@ -49,7 +47,7 @@ prepare_package() {
> mkdir -p ${SECONDARY_DIR}/SOFTWARE/
>
> # Copy SOC binaries
> - for f in ${SOC_BINARIES_SECONDARY}; do
> + for f in ${SOC_BINARIES}; do
> cp -v ${RECIPE_SYSROOT}/firmware/${f} ${SECONDARY_DIR}/SOFTWARE/
> done
>
> @@ -59,10 +57,8 @@ prepare_package() {
> ${SECONDARY_DIR}/MB/HBI0316A/io_v123f.txt
> sed -i -e 's|.*SOCCON: 0x1170.*PLATFORM_CTRL.*|SOCCON: 0x1170 0x00000101 ;SoC SCC PLATFORM_CTRL|' \
> ${SECONDARY_DIR}/MB/HBI0316A/io_v123f.txt
> - sed -i -e '/^TOTALIMAGES:/ s|5|2|' ${SECONDARY_DIR}/MB/HBI0316A/images.txt
> - sed -i -e 's|^IMAGE[^23]|;&|' ${SECONDARY_DIR}/MB/HBI0316A/images.txt
> - sed -i -e 's|^IMAGE2|IMAGE0|' ${SECONDARY_DIR}/MB/HBI0316A/images.txt
> - sed -i -e 's|^IMAGE3|IMAGE1|' ${SECONDARY_DIR}/MB/HBI0316A/images.txt
> + sed -i -e '/^TOTALIMAGES:/ s|5|4|' ${SECONDARY_DIR}/MB/HBI0316A/images.txt
> + sed -i -e 's|^IMAGE4|;&|' ${SECONDARY_DIR}/MB/HBI0316A/images.txt
> }
>
> do_deploy() {
> --
> 2.17.1
>
>
>
>
prev parent reply other threads:[~2020-11-20 19:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-19 17:50 [PATCH] arm-bsp/n1sdp-board-firmware: include RAM firmware for secondary device Khasim Mohammed
2020-11-20 19:22 ` Jon Mason [this message]
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=20201120192221.GD4483@kudzu.us \
--to=jdmason@kudzu.us \
--cc=khasim.mohammed@arm.com \
--cc=meta-arm@lists.yoctoproject.org \
--cc=nd@arm.com \
/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 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.