Skip to contentSkip to conversation

arm/scp-firmware : allow setting scp log level to INFO or WARN

PATCH In review Khasim Mohammed 3 participants 13 messages Jun 22, 2020 – Jun 25, 2020 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arm/scp-firmware : allow setting scp log level to INFO or WARN

SCP code has been updated with new logging framework. The patch is to allow setting of log level parameter to INFO or WARN.

Change-Id: I20ec19a9aa1bdb7f59c067d2344c299c057a088b
Issue-Id: PLATFORMS-3134

---
 meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc    | 2 ++
 meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc +2 -0
index 1873848..2db59d3 100644
@@ -6,6 +6,7 @@ SCP_BUILD_RELEASE   ?= "1"
 SCP_COMPILE_VERBOSE ?= "0"
 SCP_PLATFORM        ?= "invalid"
 SCP_COMPILER        ?= "arm-none-eabi"
+SCP_LOG_LEVEL       ?= "WARN"
 
 DEPENDS += "virtual/arm-none-eabi-gcc-native"
 
@@ -39,6 +40,7 @@ EXTRA_OEMAKE = "${SCP_COMP_STR} \
                 BUILD_PATH='${B}' \
                 PRODUCT='${SCP_PLATFORM}' \
                 MODE='${SCP_BUILD_STR}' \
+                LOG_LEVEL='${SCP_LOG_LEVEL}' \
                 CC='${SCP_COMPILER}-gcc' \
                 AR='${SCP_COMPILER}-ar' \
                 SIZE='${SCP_COMPILER}-size' \
meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb +1 -1
index 5ff5859..9cb8b64 100644
@@ -13,7 +13,7 @@ SRC_URI = "\
     git://github.com/ARM-software/CMSIS_5.git;protocol=https;name=cmsis;destsuffix=src/cmsis;lfs=0;nobranch=1 \
 "
 
-SRCREV_scp    = "db19910aca6d1032eb0329e5fbb70a92b997f6f2"
+SRCREV_scp    = "fd7c83561a7d76c7681d5d017fb23aa3664c028c"
 SRCREV_cmsis  = "refs/tags/5.2.0"
 SRCREV_FORMAT = "scp_cmsis"
 
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/2 arm-bsp/scp-firmware: Build SCP MCP firmware for N1SDP

- Add bbappend recipe to build SCP and MCP firmware for N1SDP.
- Use fiptool to package the binary images
- Update machine conf to add image dependency for SCP-firmware components

Issue-Id: PLATFORMS-3134

Change-Id I24bb427179f2fdee0a8351257c9088d8024ca6b8
---
 meta-arm-bsp/conf/machine/n1sdp.conf          |  1 +
 .../scp-firmware/scp-firmware-n1sdp.inc       | 32 +++++++++++++++++++
 .../scp-firmware/scp-firmware_git.bbappend    |  7 ++++
 3 files changed, 40 insertions(+)
 create mode 100644 meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware-n1sdp.inc
 create mode 100644 meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware_git.bbappend
meta-arm-bsp/conf/machine/n1sdp.conf +1 -0
index 20eaf27..755bb09 100644
@@ -27,6 +27,7 @@ PREFERRED_PROVIDER_virtual/trusted-firmware-a ?= "trusted-firmware-a"
 PREFERRED_VERSION_trusted-firmware-a ?= "2.2%"
 
 EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a"
+EXTRA_IMAGEDEPENDS += "virtual/control-processor-firmware"
 
 #UEFI EDK2 firmware
 EXTRA_IMAGEDEPENDS += "virtual/uefi-firmware"
meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware-n1sdp.inc new file +32 -0
new file mode 100644
index 0000000..ddbaac4
@@ -0,0 +1,32 @@
+# N1SDP specific SCP configurations and build instructions
+
+SRCREV_scp    = "fd7c83561a7d76c7681d5d017fb23aa3664c028c"
+SRCREV_cmsis  = "refs/tags/5.2.0"
+SCP_PLATFORM  = "n1sdp"
+SCP_LOG_LEVEL = "INFO"
+
+COMPATIBLE_MACHINE_n1sdp = "n1sdp"
+
+PV = "2.6+git${SRCPV}"
+
+DEPENDS += "fiptool-native"
+DEPENDS += "virtual/trusted-firmware-a"
+
+do_install_append() {
+   fiptool \
+       create \
+       --scp-fw "${D}/firmware/scp_ramfw.bin" \
+       --soc-fw "${RECIPE_SYSROOT}/firmware/bl31.bin" \
+       "scp_fw.bin"
+
+   fiptool \
+       create \
+       --blob uuid=54464222-a4cf-4bf8-b1b6-cee7dade539e,file="${D}/firmware/mcp_ramfw.bin" \
+       "mcp_fw.bin"
+
+   install "scp_fw.bin" "${D}/firmware/scp_fw.bin"
+   install "mcp_fw.bin" "${D}/firmware/mcp_fw.bin"
+
+   ln -sf "scp_romfw.bin" "${D}/firmware/scp_rom.bin"
+   ln -sf "mcp_romfw.bin" "${D}/firmware/mcp_rom.bin"
+}
meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware_git.bbappend new file +7 -0
new file mode 100644
index 0000000..53bd022
@@ -0,0 +1,7 @@
+# Include machine specific SCP configurations
+
+MACHINE_SCP_REQUIRE ?= ""
+
+MACHINE_SCP_REQUIRE_n1sdp = "scp-firmware-n1sdp.inc"
+
+require ${MACHINE_SCP_REQUIRE}
Signature · 1 line
2.17.1
Reviewed-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] arm-bsp/scp-firmware: Build SCP MCP firmware for N1SDP

Quoted 7 lines · Khasim Mohammed

- Add bbappend recipe to build SCP and MCP firmware for N1SDP.
- Use fiptool to package the binary images
- Update machine conf to add image dependency for SCP-firmware components

Quoted 5 lines

Issue-Id: PLATFORMS-3134

Change-Id I24bb427179f2fdee0a8351257c9088d8024ca6b8
Quoted 82 lines
---
 meta-arm-bsp/conf/machine/n1sdp.conf          |  1 +
 .../scp-firmware/scp-firmware-n1sdp.inc       | 32 +++++++++++++++++++
 .../scp-firmware/scp-firmware_git.bbappend    |  7 ++++
 3 files changed, 40 insertions(+)
 create mode 100644
meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware-n1sdp.inc
 create mode 100644

meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware_git.bbappend

meta-arm-bsp/conf/machine/n1sdp.conf +0 -0
index 20eaf27..755bb09 100644
@@ -27,6 +27,7 @@ PREFERRED_PROVIDER_virtual/trusted-firmware-a ?=

"trusted-firmware-a"
PREFERRED_VERSION_trusted-firmware-a ?= "2.2%"

EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a"

meta-arm-bsp/conf/machine/n1sdp.conf +1 -0
+EXTRA_IMAGEDEPENDS += "virtual/control-processor-firmware"
 
 #UEFI EDK2 firmware
 EXTRA_IMAGEDEPENDS += "virtual/uefi-firmware"
meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware-n1sdp.inc new file +24 -0
new file mode 100644
index 0000000..ddbaac4
@@ -0,0 +1,32 @@
+# N1SDP specific SCP configurations and build instructions
+
+SRCREV_scp    = "fd7c83561a7d76c7681d5d017fb23aa3664c028c"
+SRCREV_cmsis  = "refs/tags/5.2.0"
+SCP_PLATFORM  = "n1sdp"
+SCP_LOG_LEVEL = "INFO"
+
+COMPATIBLE_MACHINE_n1sdp = "n1sdp"
+
+PV = "2.6+git${SRCPV}"
+
+DEPENDS += "fiptool-native"
+DEPENDS += "virtual/trusted-firmware-a"
+
+do_install_append() {
+   fiptool \
+       create \
+       --scp-fw "${D}/firmware/scp_ramfw.bin" \
+       --soc-fw "${RECIPE_SYSROOT}/firmware/bl31.bin" \
+       "scp_fw.bin"
+
+   fiptool \
+       create \
+       --blob

uuid=54464222-a4cf-4bf8-b1b6-cee7dade539e,file="${D}/firmware/mcp_ramfw.bin" \

meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware-n1sdp.inc new file +8 -0
+       "mcp_fw.bin"
+
+   install "scp_fw.bin" "${D}/firmware/scp_fw.bin"
+   install "mcp_fw.bin" "${D}/firmware/mcp_fw.bin"
+
+   ln -sf "scp_romfw.bin" "${D}/firmware/scp_rom.bin"
+   ln -sf "mcp_romfw.bin" "${D}/firmware/mcp_rom.bin"
+}
meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware_git.bbappend new file +7 -0
new file mode 100644
index 0000000..53bd022
@@ -0,0 +1,7 @@
+# Include machine specific SCP configurations
+
+MACHINE_SCP_REQUIRE ?= ""
+
+MACHINE_SCP_REQUIRE_n1sdp = "scp-firmware-n1sdp.inc"
+
+require ${MACHINE_SCP_REQUIRE}
Signature · 1 line
2.17.1
#3 lore raw

Re: [meta-arm] [PATCH 2/2] arm-bsp/scp-firmware: Build SCP MCP firmware for N1SDP

Quoted 9 lines · Diego Sueiro
Quoted 7 lines · Khasim Mohammed

- Add bbappend recipe to build SCP and MCP firmware for N1SDP.
- Use fiptool to package the binary images
- Update machine conf to add image dependency for SCP-firmware components

Quoted 7 lines
Quoted 5 lines

Issue-Id: PLATFORMS-3134

Change-Id I24bb427179f2fdee0a8351257c9088d8024ca6b8

Pulled into master.

Thanks,
Jon

Quoted 85 lines
Quoted 83 lines
---
 meta-arm-bsp/conf/machine/n1sdp.conf          |  1 +
 .../scp-firmware/scp-firmware-n1sdp.inc       | 32 +++++++++++++++++++
 .../scp-firmware/scp-firmware_git.bbappend    |  7 ++++
 3 files changed, 40 insertions(+)
 create mode 100644
meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware-n1sdp.inc
 create mode 100644

meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware_git.bbappend

meta-arm-bsp/conf/machine/n1sdp.conf +0 -0
index 20eaf27..755bb09 100644
@@ -27,6 +27,7 @@ PREFERRED_PROVIDER_virtual/trusted-firmware-a ?=

"trusted-firmware-a"
PREFERRED_VERSION_trusted-firmware-a ?= "2.2%"

EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a"

meta-arm-bsp/conf/machine/n1sdp.conf +1 -0
+EXTRA_IMAGEDEPENDS += "virtual/control-processor-firmware"
 
 #UEFI EDK2 firmware
 EXTRA_IMAGEDEPENDS += "virtual/uefi-firmware"
meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware-n1sdp.inc new file +24 -0
new file mode 100644
index 0000000..ddbaac4
@@ -0,0 +1,32 @@
+# N1SDP specific SCP configurations and build instructions
+
+SRCREV_scp    = "fd7c83561a7d76c7681d5d017fb23aa3664c028c"
+SRCREV_cmsis  = "refs/tags/5.2.0"
+SCP_PLATFORM  = "n1sdp"
+SCP_LOG_LEVEL = "INFO"
+
+COMPATIBLE_MACHINE_n1sdp = "n1sdp"
+
+PV = "2.6+git${SRCPV}"
+
+DEPENDS += "fiptool-native"
+DEPENDS += "virtual/trusted-firmware-a"
+
+do_install_append() {
+   fiptool \
+       create \
+       --scp-fw "${D}/firmware/scp_ramfw.bin" \
+       --soc-fw "${RECIPE_SYSROOT}/firmware/bl31.bin" \
+       "scp_fw.bin"
+
+   fiptool \
+       create \
+       --blob

uuid=54464222-a4cf-4bf8-b1b6-cee7dade539e,file="${D}/firmware/mcp_ramfw.bin" \

meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware-n1sdp.inc new file +8 -0
+       "mcp_fw.bin"
+
+   install "scp_fw.bin" "${D}/firmware/scp_fw.bin"
+   install "mcp_fw.bin" "${D}/firmware/mcp_fw.bin"
+
+   ln -sf "scp_romfw.bin" "${D}/firmware/scp_rom.bin"
+   ln -sf "mcp_romfw.bin" "${D}/firmware/mcp_rom.bin"
+}
meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware_git.bbappend new file +7 -0
new file mode 100644
index 0000000..53bd022
@@ -0,0 +1,7 @@
+# Include machine specific SCP configurations
+
+MACHINE_SCP_REQUIRE ?= ""
+
+MACHINE_SCP_REQUIRE_n1sdp = "scp-firmware-n1sdp.inc"
+
+require ${MACHINE_SCP_REQUIRE}
Signature · 1 line
2.17.1
Reviewed-by on v1 1/2
#4 lore raw
In reply to Khasim Mohammed
Quoted 7 lines · Khasim Mohammed

SCP code has been updated with new logging framework. The patch is to allow setting of log level parameter to INFO or WARN.

Change-Id: I20ec19a9aa1bdb7f59c067d2344c299c057a088b
Issue-Id: PLATFORMS-3134

Quoted 46 lines
---
 meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc    | 2 ++
 meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc +2 -0
index 1873848..2db59d3 100644
@@ -6,6 +6,7 @@ SCP_BUILD_RELEASE   ?= "1"
 SCP_COMPILE_VERBOSE ?= "0"
 SCP_PLATFORM        ?= "invalid"
 SCP_COMPILER        ?= "arm-none-eabi"
+SCP_LOG_LEVEL       ?= "WARN"
 
 DEPENDS += "virtual/arm-none-eabi-gcc-native"
 
@@ -39,6 +40,7 @@ EXTRA_OEMAKE = "${SCP_COMP_STR} \
                 BUILD_PATH='${B}' \
                 PRODUCT='${SCP_PLATFORM}' \
                 MODE='${SCP_BUILD_STR}' \
+                LOG_LEVEL='${SCP_LOG_LEVEL}' \
                 CC='${SCP_COMPILER}-gcc' \
                 AR='${SCP_COMPILER}-ar' \
                 SIZE='${SCP_COMPILER}-size' \
meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb +0 -0
index 5ff5859..9cb8b64 100644
@@ -13,7 +13,7 @@ SRC_URI = "\
 

git://github.com/ARM-software/CMSIS_5.git;protocol=https;name=cmsis;destsuffix=src/cmsis;lfs=0;nobranch=1
\
"

meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb +1 -1
-SRCREV_scp    = "db19910aca6d1032eb0329e5fbb70a92b997f6f2"
+SRCREV_scp    = "fd7c83561a7d76c7681d5d017fb23aa3664c028c"
 SRCREV_cmsis  = "refs/tags/5.2.0"
 SRCREV_FORMAT = "scp_cmsis"
Signature · 2 lines
-- 
2.17.1
#5 lore raw
Quoted 11 lines · Diego Sueiro
Quoted 7 lines · Khasim Mohammed

SCP code has been updated with new logging framework. The patch is to allow setting of log level parameter to INFO or WARN.

Change-Id: I20ec19a9aa1bdb7f59c067d2344c299c057a088b
Issue-Id: PLATFORMS-3134

Pulled into master.

Thanks,
Jon

Quoted 49 lines
Quoted 47 lines
---
 meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc    | 2 ++
 meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc +2 -0
index 1873848..2db59d3 100644
@@ -6,6 +6,7 @@ SCP_BUILD_RELEASE   ?= "1"
 SCP_COMPILE_VERBOSE ?= "0"
 SCP_PLATFORM        ?= "invalid"
 SCP_COMPILER        ?= "arm-none-eabi"
+SCP_LOG_LEVEL       ?= "WARN"
 
 DEPENDS += "virtual/arm-none-eabi-gcc-native"
 
@@ -39,6 +40,7 @@ EXTRA_OEMAKE = "${SCP_COMP_STR} \
                 BUILD_PATH='${B}' \
                 PRODUCT='${SCP_PLATFORM}' \
                 MODE='${SCP_BUILD_STR}' \
+                LOG_LEVEL='${SCP_LOG_LEVEL}' \
                 CC='${SCP_COMPILER}-gcc' \
                 AR='${SCP_COMPILER}-ar' \
                 SIZE='${SCP_COMPILER}-size' \
meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb +0 -0
index 5ff5859..9cb8b64 100644
@@ -13,7 +13,7 @@ SRC_URI = "\
 

git://github.com/ARM-software/CMSIS_5.git;protocol=https;name=cmsis;destsuffix=src/cmsis;lfs=0;nobranch=1
\
"

meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb +1 -1
-SRCREV_scp    = "db19910aca6d1032eb0329e5fbb70a92b997f6f2"
+SRCREV_scp    = "fd7c83561a7d76c7681d5d017fb23aa3664c028c"
 SRCREV_cmsis  = "refs/tags/5.2.0"
 SRCREV_FORMAT = "scp_cmsis"
Signature · 2 lines
-- 
2.17.1
#6 lore raw

Hi Jon,

________________________________________
From: [email protected] <[email protected]> on behalf of Jon Mason via lists.yoctoproject.org <[email protected]>
Sent: Thursday, June 25, 2020 12:10 AM
To: Diego Sueiro
Cc: [email protected]
Subject: Re: [meta-arm] [PATCH 1/2] arm/scp-firmware : allow setting scp log level to INFO or WARN

Quoted 6 lines · Diego Sueiro
Quoted 4 lines · Khasim Mohammed

SCP code has been updated with new logging framework. The patch is to allow setting of log level parameter to INFO or WARN.

Quoted 7 lines
Quoted 3 lines

Change-Id: I20ec19a9aa1bdb7f59c067d2344c299c057a088b
Issue-Id: PLATFORMS-3134

Pulled into master.

Can you please apply these three patches to dunfell branch as well ?

https://lists.yoctoproject.org/g/meta-arm/topic/patch_2_2/75039153?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039153
https://lists.yoctoproject.org/g/meta-arm/topic/patch_1_2_arm_scp_firmware/75039137?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039137
https://lists.yoctoproject.org/g/meta-arm/topic/patch_arm_fiptool/75039113?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039113

Thanks

Khasim

Quoted 46 lines

Thanks,
Jon

Quoted 42 lines
---
 meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc    | 2 ++
 meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc +2 -0
index 1873848..2db59d3 100644
@@ -6,6 +6,7 @@ SCP_BUILD_RELEASE   ?= "1"
 SCP_COMPILE_VERBOSE ?= "0"
 SCP_PLATFORM        ?= "invalid"
 SCP_COMPILER        ?= "arm-none-eabi"
+SCP_LOG_LEVEL       ?= "WARN"
 
 DEPENDS += "virtual/arm-none-eabi-gcc-native"
 
@@ -39,6 +40,7 @@ EXTRA_OEMAKE = "${SCP_COMP_STR} \
                 BUILD_PATH='${B}' \
                 PRODUCT='${SCP_PLATFORM}' \
                 MODE='${SCP_BUILD_STR}' \
+                LOG_LEVEL='${SCP_LOG_LEVEL}' \
                 CC='${SCP_COMPILER}-gcc' \
                 AR='${SCP_COMPILER}-ar' \
                 SIZE='${SCP_COMPILER}-size' \
meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb +0 -0
index 5ff5859..9cb8b64 100644
@@ -13,7 +13,7 @@ SRC_URI = "\
 

git://github.com/ARM-software/CMSIS_5.git;protocol=https;name=cmsis;destsuffix=src/cmsis;lfs=0;nobranch=1
\
"

meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb +1 -1
-SRCREV_scp    = "db19910aca6d1032eb0329e5fbb70a92b997f6f2"
+SRCREV_scp    = "fd7c83561a7d76c7681d5d017fb23aa3664c028c"
 SRCREV_cmsis  = "refs/tags/5.2.0"
 SRCREV_FORMAT = "scp_cmsis"
Quoted 6 lines
Quoted 4 lines

--
2.17.1

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

#7 lore raw
Quoted 22 lines · Khasim Mohammed

Hi Jon,

________________________________________
From: [email protected] <[email protected]> on behalf of Jon Mason via lists.yoctoproject.org <[email protected]>
Sent: Thursday, June 25, 2020 12:10 AM
To: Diego Sueiro
Cc: [email protected]
Subject: Re: [meta-arm] [PATCH 1/2] arm/scp-firmware : allow setting scp log level to INFO or WARN

Quoted 11 lines · Diego Sueiro
Quoted 7 lines · Khasim Mohammed

SCP code has been updated with new logging framework. The patch is to allow setting of log level parameter to INFO or WARN.

Change-Id: I20ec19a9aa1bdb7f59c067d2344c299c057a088b
Issue-Id: PLATFORMS-3134

Quoted 7 lines
Quoted 1 line

Pulled into master.

Can you please apply these three patches to dunfell branch as well ?

https://lists.yoctoproject.org/g/meta-arm/topic/patch_2_2/75039153?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039153
https://lists.yoctoproject.org/g/meta-arm/topic/patch_1_2_arm_scp_firmware/75039137?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039137
https://lists.yoctoproject.org/g/meta-arm/topic/patch_arm_fiptool/75039113?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039113

Looks like there is a problem on dunfell. When compiling for n1sdp, I get the following error:

ERROR: Nothing PROVIDES 'virtual/arm-none-eabi-gcc-native' (but /home/jdm/yocto/meta-arm/meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb DEPENDS on or otherwise requires it). Close matches:
virtual/mesa-native
ERROR: Required build target 'core-image-sato' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-sato', 'virtual/control-processor-firmware', 'virtual/arm-none-eabi-gcc-native']

Can you confirm it compiles for you?

Thanks,
Jon

Quoted 60 lines

Thanks

Khasim

Quoted 46 lines

Thanks,
Jon

Quoted 42 lines
---
 meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc    | 2 ++
 meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc +2 -0
index 1873848..2db59d3 100644
@@ -6,6 +6,7 @@ SCP_BUILD_RELEASE   ?= "1"
 SCP_COMPILE_VERBOSE ?= "0"
 SCP_PLATFORM        ?= "invalid"
 SCP_COMPILER        ?= "arm-none-eabi"
+SCP_LOG_LEVEL       ?= "WARN"
 
 DEPENDS += "virtual/arm-none-eabi-gcc-native"
 
@@ -39,6 +40,7 @@ EXTRA_OEMAKE = "${SCP_COMP_STR} \
                 BUILD_PATH='${B}' \
                 PRODUCT='${SCP_PLATFORM}' \
                 MODE='${SCP_BUILD_STR}' \
+                LOG_LEVEL='${SCP_LOG_LEVEL}' \
                 CC='${SCP_COMPILER}-gcc' \
                 AR='${SCP_COMPILER}-ar' \
                 SIZE='${SCP_COMPILER}-size' \
meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb +0 -0
index 5ff5859..9cb8b64 100644
@@ -13,7 +13,7 @@ SRC_URI = "\
 

git://github.com/ARM-software/CMSIS_5.git;protocol=https;name=cmsis;destsuffix=src/cmsis;lfs=0;nobranch=1
\
"

meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb +1 -1
-SRCREV_scp    = "db19910aca6d1032eb0329e5fbb70a92b997f6f2"
+SRCREV_scp    = "fd7c83561a7d76c7681d5d017fb23aa3664c028c"
 SRCREV_cmsis  = "refs/tags/5.2.0"
 SRCREV_FORMAT = "scp_cmsis"
Quoted 6 lines
Quoted 4 lines

--
2.17.1

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

#8 lore raw

Hi Jon,

<reply inline>
________________________________________
From: Jon Mason <[email protected]>
Sent: Thursday, June 25, 2020 8:41 AM
To: Khasim Mohammed
Cc: Diego Sueiro; [email protected]
Subject: Re: [meta-arm] [PATCH 1/2] arm/scp-firmware : allow setting scp log level to INFO or WARN

Quoted 33 lines · Khasim Mohammed

Hi Jon,

________________________________________
From: [email protected] <[email protected]> on behalf of Jon Mason via lists.yoctoproject.org <[email protected]>
Sent: Thursday, June 25, 2020 12:10 AM
To: Diego Sueiro
Cc: [email protected]
Subject: Re: [meta-arm] [PATCH 1/2] arm/scp-firmware : allow setting scp log level to INFO or WARN

Quoted 6 lines · Diego Sueiro
Quoted 4 lines · Khasim Mohammed

SCP code has been updated with new logging framework. The patch is to allow setting of log level parameter to INFO or WARN.

Quoted 7 lines
Quoted 3 lines

Change-Id: I20ec19a9aa1bdb7f59c067d2344c299c057a088b
Issue-Id: PLATFORMS-3134

Pulled into master.

Can you please apply these three patches to dunfell branch as well ?

https://lists.yoctoproject.org/g/meta-arm/topic/patch_2_2/75039153?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039153
https://lists.yoctoproject.org/g/meta-arm/topic/patch_1_2_arm_scp_firmware/75039137?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039137
https://lists.yoctoproject.org/g/meta-arm/topic/patch_arm_fiptool/75039113?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039113

Looks like there is a problem on dunfell. When compiling for n1sdp, I get the following error:

Quoted 6 lines

ERROR: Nothing PROVIDES 'virtual/arm-none-eabi-gcc-native' (but /home/jdm/yocto/meta-arm/meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb DEPENDS on or otherwise requires it). Close matches:
virtual/mesa-native
ERROR: Required build target 'core-image-sato' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-sato', 'virtual/control-processor-firmware', 'virtual/arm-none-eabi-gcc-native']

Can you confirm it compiles for you?

You seem to have missed pushing your gcc patches to dunfell branch :

http://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/commit/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_9-2019-q4-major.bb?id=f9ece576ad476e6ed069dfdfc376eb422c1c511c

http://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/commit/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_9-2019-q4-major.bb?id=04eb583c4be5e7c36d457eb2d0dec35fef89ae52

Can you please push these to dunfell as well ?

Regards,
Khasim

Quoted 52 lines

Thanks

Khasim

Quoted 46 lines

Thanks,
Jon

Quoted 42 lines
---
 meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc    | 2 ++
 meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc +2 -0
index 1873848..2db59d3 100644
@@ -6,6 +6,7 @@ SCP_BUILD_RELEASE   ?= "1"
 SCP_COMPILE_VERBOSE ?= "0"
 SCP_PLATFORM        ?= "invalid"
 SCP_COMPILER        ?= "arm-none-eabi"
+SCP_LOG_LEVEL       ?= "WARN"
 
 DEPENDS += "virtual/arm-none-eabi-gcc-native"
 
@@ -39,6 +40,7 @@ EXTRA_OEMAKE = "${SCP_COMP_STR} \
                 BUILD_PATH='${B}' \
                 PRODUCT='${SCP_PLATFORM}' \
                 MODE='${SCP_BUILD_STR}' \
+                LOG_LEVEL='${SCP_LOG_LEVEL}' \
                 CC='${SCP_COMPILER}-gcc' \
                 AR='${SCP_COMPILER}-ar' \
                 SIZE='${SCP_COMPILER}-size' \
meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb +0 -0
index 5ff5859..9cb8b64 100644
@@ -13,7 +13,7 @@ SRC_URI = "\
 

git://github.com/ARM-software/CMSIS_5.git;protocol=https;name=cmsis;destsuffix=src/cmsis;lfs=0;nobranch=1
\
"

meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb +1 -1
-SRCREV_scp    = "db19910aca6d1032eb0329e5fbb70a92b997f6f2"
+SRCREV_scp    = "fd7c83561a7d76c7681d5d017fb23aa3664c028c"
 SRCREV_cmsis  = "refs/tags/5.2.0"
 SRCREV_FORMAT = "scp_cmsis"
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

--
2.17.1

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

Reviewed-by Diego Sueiro Reviewed-by Diego Sueiro
#9 lore raw
Quoted 51 lines · Khasim Mohammed

Hi Jon,

<reply inline>
________________________________________
From: Jon Mason <[email protected]>
Sent: Thursday, June 25, 2020 8:41 AM
To: Khasim Mohammed
Cc: Diego Sueiro; [email protected]
Subject: Re: [meta-arm] [PATCH 1/2] arm/scp-firmware : allow setting scp log level to INFO or WARN

Quoted 33 lines · Khasim Mohammed

Hi Jon,

________________________________________
From: [email protected] <[email protected]> on behalf of Jon Mason via lists.yoctoproject.org <[email protected]>
Sent: Thursday, June 25, 2020 12:10 AM
To: Diego Sueiro
Cc: [email protected]
Subject: Re: [meta-arm] [PATCH 1/2] arm/scp-firmware : allow setting scp log level to INFO or WARN

Quoted 6 lines · Diego Sueiro
Quoted 4 lines · Khasim Mohammed

SCP code has been updated with new logging framework. The patch is to allow setting of log level parameter to INFO or WARN.

Quoted 7 lines
Quoted 3 lines

Change-Id: I20ec19a9aa1bdb7f59c067d2344c299c057a088b
Issue-Id: PLATFORMS-3134

Pulled into master.

Can you please apply these three patches to dunfell branch as well ?

https://lists.yoctoproject.org/g/meta-arm/topic/patch_2_2/75039153?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039153
https://lists.yoctoproject.org/g/meta-arm/topic/patch_1_2_arm_scp_firmware/75039137?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039137
https://lists.yoctoproject.org/g/meta-arm/topic/patch_arm_fiptool/75039113?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039113

Looks like there is a problem on dunfell. When compiling for n1sdp, I get the following error:

Quoted 6 lines

ERROR: Nothing PROVIDES 'virtual/arm-none-eabi-gcc-native' (but /home/jdm/yocto/meta-arm/meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb DEPENDS on or otherwise requires it). Close matches:
virtual/mesa-native
ERROR: Required build target 'core-image-sato' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-sato', 'virtual/control-processor-firmware', 'virtual/arm-none-eabi-gcc-native']

Can you confirm it compiles for you?

Quoted 7 lines

You seem to have missed pushing your gcc patches to dunfell branch :

http://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/commit/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_9-2019-q4-major.bb?id=f9ece576ad476e6ed069dfdfc376eb422c1c511c

http://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/commit/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_9-2019-q4-major.bb?id=04eb583c4be5e7c36d457eb2d0dec35fef89ae52

Can you please push these to dunfell as well ?

Exclusively the above doesn't apply cleanly. I think we need the following:

commit 9af4348fa0b83b2f5b318692c745716de5de0545 (HEAD)

Author: Denys Dmytriyenko <[email protected]>
Date:   Fri Jun 5 18:57:10 2020 -0400

gcc-x86host.inc: properly link triplet-prefixed binaries

Use the correct path for the binaries in ${datadir}, otherwise it results in a single incorrect symlink like gcc-arm-none-eabi-*

commit d5bc2633f2c203aebf372fc80f7cb87d7621bed9

Author: Denys Dmytriyenko <[email protected]>
Date:   Fri Jun 5 18:57:09 2020 -0400

gcc-aarch64-none-elf: properly set ${S} that is different from default

Also use ${BINNAME} and ${PV} variables for automatic substitution.

commit dfafcf9ec274330ad8ae5d602e208ac35aba4139

Author: Jon Mason <[email protected]>
Date:   Thu May 28 09:33:17 2020 -0400

arm-toolchain: merge binary toolchain recipes

Merge the majority of the binary toolchain recipes for building on an x86 host into a common include file.

Also, found and fixed an error with both install commands where the name was double nested on the copy. For example, /usr/share/arm-none-eabi/arm-none-eabi/ due to the way it was being copied.

commit 24181d47084cef34a794dfd88056fa9bc5583913

Author: Denys Dmytriyenko <[email protected]>
Date:   Wed May 20 04:47:18 2020 -0400

arm-toolchain: gcc-aarch64-none-elf: Add recipe

Adds a recipe to pull down the prebuilt GCC for compiling bare-metal targets for Aarch64 processors from ARM.

commit e6ff4eb1d6683e967e4ef81bf5b42a087a47f6d5

Author: Jon Mason <[email protected]>
Date:   Thu May 14 21:36:20 2020 -0400

arm-toolchain: gcc-arm-none-eabi-native: Add recipe

Adds a recipe to pull down the prebuilt GCC for compiling on Cortex-R and Cortex-M processors from ARM. This toolchain is required to build Arm Trusted Firmware for the Rockchip rk3399 SoC, since it must compile some firmware for the M0 coprocessor.

This was originally taken from meta-rockchip, but has been modified from mailing list feedback.

Please ack and I'll pull all 5 into dunfell.

Thanks,
Jon

Quoted 65 lines

Regards,
Khasim

Quoted 52 lines

Thanks

Khasim

Quoted 46 lines

Thanks,
Jon

Quoted 42 lines
---
 meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc    | 2 ++
 meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc +2 -0
index 1873848..2db59d3 100644
@@ -6,6 +6,7 @@ SCP_BUILD_RELEASE   ?= "1"
 SCP_COMPILE_VERBOSE ?= "0"
 SCP_PLATFORM        ?= "invalid"
 SCP_COMPILER        ?= "arm-none-eabi"
+SCP_LOG_LEVEL       ?= "WARN"
 
 DEPENDS += "virtual/arm-none-eabi-gcc-native"
 
@@ -39,6 +40,7 @@ EXTRA_OEMAKE = "${SCP_COMP_STR} \
                 BUILD_PATH='${B}' \
                 PRODUCT='${SCP_PLATFORM}' \
                 MODE='${SCP_BUILD_STR}' \
+                LOG_LEVEL='${SCP_LOG_LEVEL}' \
                 CC='${SCP_COMPILER}-gcc' \
                 AR='${SCP_COMPILER}-ar' \
                 SIZE='${SCP_COMPILER}-size' \
meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb +0 -0
index 5ff5859..9cb8b64 100644
@@ -13,7 +13,7 @@ SRC_URI = "\
 

git://github.com/ARM-software/CMSIS_5.git;protocol=https;name=cmsis;destsuffix=src/cmsis;lfs=0;nobranch=1
\
"

meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb +1 -1
-SRCREV_scp    = "db19910aca6d1032eb0329e5fbb70a92b997f6f2"
+SRCREV_scp    = "fd7c83561a7d76c7681d5d017fb23aa3664c028c"
 SRCREV_cmsis  = "refs/tags/5.2.0"
 SRCREV_FORMAT = "scp_cmsis"
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

--
2.17.1

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

author Reviewed-by Diego Sueiro Reviewed-by Diego Sueiro
#10 lore raw

Hi Jon,

Ack'ed ,

________________________________________
From: Jon Mason <[email protected]>
Sent: Thursday, June 25, 2020 10:04 PM
To: Khasim Mohammed
Cc: Diego Sueiro; [email protected]
Subject: Re: [meta-arm] [PATCH 1/2] arm/scp-firmware : allow setting scp log level to INFO or WARN

Quoted 53 lines · Khasim Mohammed

Hi Jon,

<reply inline>
________________________________________
From: Jon Mason <[email protected]>
Sent: Thursday, June 25, 2020 8:41 AM
To: Khasim Mohammed
Cc: Diego Sueiro; [email protected]
Subject: Re: [meta-arm] [PATCH 1/2] arm/scp-firmware : allow setting scp log level to INFO or WARN

Quoted 33 lines · Khasim Mohammed

Hi Jon,

________________________________________
From: [email protected] <[email protected]> on behalf of Jon Mason via lists.yoctoproject.org <[email protected]>
Sent: Thursday, June 25, 2020 12:10 AM
To: Diego Sueiro
Cc: [email protected]
Subject: Re: [meta-arm] [PATCH 1/2] arm/scp-firmware : allow setting scp log level to INFO or WARN

Quoted 6 lines · Diego Sueiro
Quoted 4 lines · Khasim Mohammed

SCP code has been updated with new logging framework. The patch is to allow setting of log level parameter to INFO or WARN.

Quoted 7 lines
Quoted 3 lines

Change-Id: I20ec19a9aa1bdb7f59c067d2344c299c057a088b
Issue-Id: PLATFORMS-3134

Pulled into master.

Can you please apply these three patches to dunfell branch as well ?

https://lists.yoctoproject.org/g/meta-arm/topic/patch_2_2/75039153?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039153
https://lists.yoctoproject.org/g/meta-arm/topic/patch_1_2_arm_scp_firmware/75039137?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039137
https://lists.yoctoproject.org/g/meta-arm/topic/patch_arm_fiptool/75039113?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039113

Looks like there is a problem on dunfell. When compiling for n1sdp, I get the following error:

Quoted 6 lines

ERROR: Nothing PROVIDES 'virtual/arm-none-eabi-gcc-native' (but /home/jdm/yocto/meta-arm/meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb DEPENDS on or otherwise requires it). Close matches:
virtual/mesa-native
ERROR: Required build target 'core-image-sato' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-sato', 'virtual/control-processor-firmware', 'virtual/arm-none-eabi-gcc-native']

Can you confirm it compiles for you?

You seem to have missed pushing your gcc patches to dunfell branch :

Quoted 8 lines

http://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/commit/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_9-2019-q4-major.bb?id=f9ece576ad476e6ed069dfdfc376eb422c1c511c

http://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/commit/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_9-2019-q4-major.bb?id=04eb583c4be5e7c36d457eb2d0dec35fef89ae52

Can you please push these to dunfell as well ?

Exclusively the above doesn't apply cleanly. I think we need the following:

commit 9af4348fa0b83b2f5b318692c745716de5de0545 (HEAD)

Author: Denys Dmytriyenko <[email protected]>
Date:   Fri Jun 5 18:57:10 2020 -0400

gcc-x86host.inc: properly link triplet-prefixed binaries

Use the correct path for the binaries in ${datadir}, otherwise it results in a single incorrect symlink like gcc-arm-none-eabi-*

commit d5bc2633f2c203aebf372fc80f7cb87d7621bed9

Author: Denys Dmytriyenko <[email protected]>
Date:   Fri Jun 5 18:57:09 2020 -0400

gcc-aarch64-none-elf: properly set ${S} that is different from default

Also use ${BINNAME} and ${PV} variables for automatic substitution.

commit dfafcf9ec274330ad8ae5d602e208ac35aba4139

Author: Jon Mason <[email protected]>
Date:   Thu May 28 09:33:17 2020 -0400

arm-toolchain: merge binary toolchain recipes

Merge the majority of the binary toolchain recipes for building on an x86 host into a common include file.

Also, found and fixed an error with both install commands where the name was double nested on the copy. For example, /usr/share/arm-none-eabi/arm-none-eabi/ due to the way it was being copied.

commit 24181d47084cef34a794dfd88056fa9bc5583913

Author: Denys Dmytriyenko <[email protected]>
Date:   Wed May 20 04:47:18 2020 -0400

arm-toolchain: gcc-aarch64-none-elf: Add recipe

Adds a recipe to pull down the prebuilt GCC for compiling bare-metal targets for Aarch64 processors from ARM.

commit e6ff4eb1d6683e967e4ef81bf5b42a087a47f6d5

Author: Jon Mason <[email protected]>
Date:   Thu May 14 21:36:20 2020 -0400

arm-toolchain: gcc-arm-none-eabi-native: Add recipe

Adds a recipe to pull down the prebuilt GCC for compiling on Cortex-R and Cortex-M processors from ARM. This toolchain is required to build Arm Trusted Firmware for the Rockchip rk3399 SoC, since it must compile some firmware for the M0 coprocessor.

This was originally taken from meta-rockchip, but has been modified from mailing list feedback.

Quoted 1 line

Please ack and I'll pull all 5 into dunfell.

Please consider these patches for dunfell branch.

Thanks,
Jon

Regards,
Khasim

Quoted 63 lines

Regards,
Khasim

Quoted 59 lines

Thanks

Khasim

Quoted 52 lines

Thanks,
Jon

Quoted 46 lines
---
 meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc    | 2 ++
 meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc +2 -0
index 1873848..2db59d3 100644
@@ -6,6 +6,7 @@ SCP_BUILD_RELEASE   ?= "1"
 SCP_COMPILE_VERBOSE ?= "0"
 SCP_PLATFORM        ?= "invalid"
 SCP_COMPILER        ?= "arm-none-eabi"
+SCP_LOG_LEVEL       ?= "WARN"
 
 DEPENDS += "virtual/arm-none-eabi-gcc-native"
 
@@ -39,6 +40,7 @@ EXTRA_OEMAKE = "${SCP_COMP_STR} \
                 BUILD_PATH='${B}' \
                 PRODUCT='${SCP_PLATFORM}' \
                 MODE='${SCP_BUILD_STR}' \
+                LOG_LEVEL='${SCP_LOG_LEVEL}' \
                 CC='${SCP_COMPILER}-gcc' \
                 AR='${SCP_COMPILER}-ar' \
                 SIZE='${SCP_COMPILER}-size' \
meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb +0 -0
index 5ff5859..9cb8b64 100644
@@ -13,7 +13,7 @@ SRC_URI = "\
 

git://github.com/ARM-software/CMSIS_5.git;protocol=https;name=cmsis;destsuffix=src/cmsis;lfs=0;nobranch=1
\
"

meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb +1 -2
-SRCREV_scp    = "db19910aca6d1032eb0329e5fbb70a92b997f6f2"
+SRCREV_scp    = "fd7c83561a7d76c7681d5d017fb23aa3664c028c"
 SRCREV_cmsis  = "refs/tags/5.2.0"
 SRCREV_FORMAT = "scp_cmsis"
 
--

2.17.1

Quoted 2 lines
Quoted 1 line

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

#11 lore raw
Quoted 3 lines · Khasim Mohammed

Hi Jon,

Ack'ed ,

Done.

Quoted 221 lines

________________________________________
From: Jon Mason <[email protected]>
Sent: Thursday, June 25, 2020 10:04 PM
To: Khasim Mohammed
Cc: Diego Sueiro; [email protected]
Subject: Re: [meta-arm] [PATCH 1/2] arm/scp-firmware : allow setting scp log level to INFO or WARN

Quoted 53 lines · Khasim Mohammed

Hi Jon,

<reply inline>
________________________________________
From: Jon Mason <[email protected]>
Sent: Thursday, June 25, 2020 8:41 AM
To: Khasim Mohammed
Cc: Diego Sueiro; [email protected]
Subject: Re: [meta-arm] [PATCH 1/2] arm/scp-firmware : allow setting scp log level to INFO or WARN

Quoted 33 lines · Khasim Mohammed

Hi Jon,

________________________________________
From: [email protected] <[email protected]> on behalf of Jon Mason via lists.yoctoproject.org <[email protected]>
Sent: Thursday, June 25, 2020 12:10 AM
To: Diego Sueiro
Cc: [email protected]
Subject: Re: [meta-arm] [PATCH 1/2] arm/scp-firmware : allow setting scp log level to INFO or WARN

Quoted 6 lines · Diego Sueiro
Quoted 4 lines · Khasim Mohammed

SCP code has been updated with new logging framework. The patch is to allow setting of log level parameter to INFO or WARN.

Quoted 7 lines
Quoted 3 lines

Change-Id: I20ec19a9aa1bdb7f59c067d2344c299c057a088b
Issue-Id: PLATFORMS-3134

Pulled into master.

Can you please apply these three patches to dunfell branch as well ?

https://lists.yoctoproject.org/g/meta-arm/topic/patch_2_2/75039153?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039153
https://lists.yoctoproject.org/g/meta-arm/topic/patch_1_2_arm_scp_firmware/75039137?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039137
https://lists.yoctoproject.org/g/meta-arm/topic/patch_arm_fiptool/75039113?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039113

Looks like there is a problem on dunfell. When compiling for n1sdp, I get the following error:

Quoted 6 lines

ERROR: Nothing PROVIDES 'virtual/arm-none-eabi-gcc-native' (but /home/jdm/yocto/meta-arm/meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb DEPENDS on or otherwise requires it). Close matches:
virtual/mesa-native
ERROR: Required build target 'core-image-sato' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-sato', 'virtual/control-processor-firmware', 'virtual/arm-none-eabi-gcc-native']

Can you confirm it compiles for you?

You seem to have missed pushing your gcc patches to dunfell branch :

Quoted 8 lines

http://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/commit/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_9-2019-q4-major.bb?id=f9ece576ad476e6ed069dfdfc376eb422c1c511c

http://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/commit/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/gcc-arm-none-eabi_9-2019-q4-major.bb?id=04eb583c4be5e7c36d457eb2d0dec35fef89ae52

Can you please push these to dunfell as well ?

Exclusively the above doesn't apply cleanly. I think we need the following:

commit 9af4348fa0b83b2f5b318692c745716de5de0545 (HEAD)

Author: Denys Dmytriyenko <[email protected]>
Date:   Fri Jun 5 18:57:10 2020 -0400

gcc-x86host.inc: properly link triplet-prefixed binaries

Use the correct path for the binaries in ${datadir}, otherwise it results in a single incorrect symlink like gcc-arm-none-eabi-*

commit d5bc2633f2c203aebf372fc80f7cb87d7621bed9

Author: Denys Dmytriyenko <[email protected]>
Date:   Fri Jun 5 18:57:09 2020 -0400

gcc-aarch64-none-elf: properly set ${S} that is different from default

Also use ${BINNAME} and ${PV} variables for automatic substitution.

commit dfafcf9ec274330ad8ae5d602e208ac35aba4139

Author: Jon Mason <[email protected]>
Date:   Thu May 28 09:33:17 2020 -0400

arm-toolchain: merge binary toolchain recipes

Merge the majority of the binary toolchain recipes for building on an x86 host into a common include file.

Also, found and fixed an error with both install commands where the name was double nested on the copy. For example, /usr/share/arm-none-eabi/arm-none-eabi/ due to the way it was being copied.

commit 24181d47084cef34a794dfd88056fa9bc5583913

Author: Denys Dmytriyenko <[email protected]>
Date:   Wed May 20 04:47:18 2020 -0400

arm-toolchain: gcc-aarch64-none-elf: Add recipe

Adds a recipe to pull down the prebuilt GCC for compiling bare-metal targets for Aarch64 processors from ARM.

commit e6ff4eb1d6683e967e4ef81bf5b42a087a47f6d5

Author: Jon Mason <[email protected]>
Date:   Thu May 14 21:36:20 2020 -0400

arm-toolchain: gcc-arm-none-eabi-native: Add recipe

Adds a recipe to pull down the prebuilt GCC for compiling on Cortex-R and Cortex-M processors from ARM. This toolchain is required to build Arm Trusted Firmware for the Rockchip rk3399 SoC, since it must compile some firmware for the M0 coprocessor.

This was originally taken from meta-rockchip, but has been modified from mailing list feedback.

Quoted 1 line

Please ack and I'll pull all 5 into dunfell.

Please consider these patches for dunfell branch.

Thanks,
Jon

Regards,
Khasim

Quoted 63 lines

Regards,
Khasim

Quoted 59 lines

Thanks

Khasim

Quoted 52 lines

Thanks,
Jon

Quoted 46 lines
---
 meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc    | 2 ++
 meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc +2 -0
index 1873848..2db59d3 100644
@@ -6,6 +6,7 @@ SCP_BUILD_RELEASE   ?= "1"
 SCP_COMPILE_VERBOSE ?= "0"
 SCP_PLATFORM        ?= "invalid"
 SCP_COMPILER        ?= "arm-none-eabi"
+SCP_LOG_LEVEL       ?= "WARN"
 
 DEPENDS += "virtual/arm-none-eabi-gcc-native"
 
@@ -39,6 +40,7 @@ EXTRA_OEMAKE = "${SCP_COMP_STR} \
                 BUILD_PATH='${B}' \
                 PRODUCT='${SCP_PLATFORM}' \
                 MODE='${SCP_BUILD_STR}' \
+                LOG_LEVEL='${SCP_LOG_LEVEL}' \
                 CC='${SCP_COMPILER}-gcc' \
                 AR='${SCP_COMPILER}-ar' \
                 SIZE='${SCP_COMPILER}-size' \
meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb +0 -0
index 5ff5859..9cb8b64 100644
@@ -13,7 +13,7 @@ SRC_URI = "\
 

git://github.com/ARM-software/CMSIS_5.git;protocol=https;name=cmsis;destsuffix=src/cmsis;lfs=0;nobranch=1
\
"

meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb +1 -2
-SRCREV_scp    = "db19910aca6d1032eb0329e5fbb70a92b997f6f2"
+SRCREV_scp    = "fd7c83561a7d76c7681d5d017fb23aa3664c028c"
 SRCREV_cmsis  = "refs/tags/5.2.0"
 SRCREV_FORMAT = "scp_cmsis"
 
--

2.17.1

Quoted 2 lines
Quoted 1 line

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#13 lore raw

And before that

________________________________________
From: [email protected] <[email protected]> on behalf of Khasim Mohammed via lists.yoctoproject.org <[email protected]>
Sent: Thursday, June 25, 2020 12:22 AM
To: Diego Sueiro; [email protected]
Cc: [email protected]
Subject: Re: [meta-arm] [PATCH 1/2] arm/scp-firmware : allow setting scp log level to INFO or WARN

Hi Jon,

________________________________________
From: [email protected] <[email protected]> on behalf of Jon Mason via lists.yoctoproject.org <[email protected]>
Sent: Thursday, June 25, 2020 12:10 AM
To: Diego Sueiro
Cc: [email protected]
Subject: Re: [meta-arm] [PATCH 1/2] arm/scp-firmware : allow setting scp log level to INFO or WARN

Quoted 12 lines · Diego Sueiro
Quoted 7 lines · Khasim Mohammed

SCP code has been updated with new logging framework. The patch is to allow setting of log level parameter to INFO or WARN.

Change-Id: I20ec19a9aa1bdb7f59c067d2344c299c057a088b
Issue-Id: PLATFORMS-3134

Quoted 7 lines

Pulled into master.

Can you please apply these three patches to dunfell branch as well ?

https://lists.yoctoproject.org/g/meta-arm/topic/patch_2_2/75039153?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039153
https://lists.yoctoproject.org/g/meta-arm/topic/patch_1_2_arm_scp_firmware/75039137?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039137
https://lists.yoctoproject.org/g/meta-arm/topic/patch_arm_fiptool/75039113?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,75039113

Apply these to dunfell as well,

http://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/commit/?id=4f8f8eae7f89ae4f36e97d1ad417e889b926b5a4
http://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/commit/?id=24cbd0e702a87537cf0d6b8482ab06cb60be0cc4
http://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/commit/?id=47b276bc3da087ad402158b7e6e9fdd38ba1eb0a
http://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/commit/?id=150fdcc8621008f9a0532c119df922266e5d89f9

Regards,
Khasim

Quoted 46 lines

Thanks,
Jon

Quoted 42 lines
---
 meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc    | 2 ++
 meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
meta-arm/recipes-bsp/scp-firmware/scp-firmware.inc +2 -0
index 1873848..2db59d3 100644
@@ -6,6 +6,7 @@ SCP_BUILD_RELEASE   ?= "1"
 SCP_COMPILE_VERBOSE ?= "0"
 SCP_PLATFORM        ?= "invalid"
 SCP_COMPILER        ?= "arm-none-eabi"
+SCP_LOG_LEVEL       ?= "WARN"
 
 DEPENDS += "virtual/arm-none-eabi-gcc-native"
 
@@ -39,6 +40,7 @@ EXTRA_OEMAKE = "${SCP_COMP_STR} \
                 BUILD_PATH='${B}' \
                 PRODUCT='${SCP_PLATFORM}' \
                 MODE='${SCP_BUILD_STR}' \
+                LOG_LEVEL='${SCP_LOG_LEVEL}' \
                 CC='${SCP_COMPILER}-gcc' \
                 AR='${SCP_COMPILER}-ar' \
                 SIZE='${SCP_COMPILER}-size' \
meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb +0 -0
index 5ff5859..9cb8b64 100644
@@ -13,7 +13,7 @@ SRC_URI = "\
 

git://github.com/ARM-software/CMSIS_5.git;protocol=https;name=cmsis;destsuffix=src/cmsis;lfs=0;nobranch=1
\
"

meta-arm/recipes-bsp/scp-firmware/scp-firmware_git.bb +1 -1
-SRCREV_scp    = "db19910aca6d1032eb0329e5fbb70a92b997f6f2"
+SRCREV_scp    = "fd7c83561a7d76c7681d5d017fb23aa3664c028c"
 SRCREV_cmsis  = "refs/tags/5.2.0"
 SRCREV_FORMAT = "scp_cmsis"
Quoted 6 lines
Quoted 4 lines

--
2.17.1

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.