Page MenuHomePhabricator

TF-A BugBugs
ActivePublic

Members

  • This project does not have any members.
  • View All

Recent Activity

Tue, Sep 27

Luoject assigned T1003: TF-A: RPi4 fails to boot secondary core at second time by PSCI cpu_on to Andre-ARM.

Hi Andre-ARM, to fix the problem, here's the pull request: https://github.com/ARM-software/arm-trusted-firmware/pull/1988

Tue, Sep 27, 7:44 AM · Trusted Firmware A, TF-A Bug
Luoject added a comment to T1003: TF-A: RPi4 fails to boot secondary core at second time by PSCI cpu_on.

Hi,
thanks for the info, I will have a look at this, though probably only later this week.
As for rebuilding: I assume you are using the firmware drops from the pftf github?
This is deeply hidden in the EDK2 build system, but it will effectively use a precompiled version of bl31.bin checked into the edk2-non-osi.git repository. This will be placed into the first 128KB of RPI_EFI.fd file, filled up with 0xff.
So to replace just bl31.bin, you simply overwrite the first part of that file, with your compiled version.
To get bl31.bin from source, you just need an aarch64 (cross-)compiler, then:
$ CROSS_COMPILE=aarch64-linux-gnu- make PLAT=rpi4 DEBUG=0
This should be described in docs/plat/rpi4.rst. If you find something missing, let me know, or even better: send a patch ;-)

Tue, Sep 27, 5:18 AM · Trusted Firmware A, TF-A Bug

Mon, Sep 26

Andre-ARM added a comment to T1003: TF-A: RPi4 fails to boot secondary core at second time by PSCI cpu_on.

Hi,
thanks for the info, I will have a look at this, though probably only later this week.
As for rebuilding: I assume you are using the firmware drops from the pftf github?
This is deeply hidden in the EDK2 build system, but it will effectively use a precompiled version of bl31.bin checked into the edk2-non-osi.git repository. This will be placed into the first 128KB of RPI_EFI.fd file, filled up with 0xff.
So to replace just bl31.bin, you simply overwrite the first part of that file, with your compiled version.
To get bl31.bin from source, you just need an aarch64 (cross-)compiler, then:
$ CROSS_COMPILE=aarch64-linux-gnu- make PLAT=rpi4 DEBUG=0
This should be described in docs/plat/rpi4.rst. If you find something missing, let me know, or even better: send a patch ;-)

Mon, Sep 26, 1:18 PM · Trusted Firmware A, TF-A Bug
Luoject added a comment to T1003: TF-A: RPi4 fails to boot secondary core at second time by PSCI cpu_on.

So that's a lot of details (thanks for that!), but what is the actual problem? That secondaries cannot be taken offline? Or that they don't came back online? And did that work before the commit you mentioned?

Mon, Sep 26, 12:09 PM · Trusted Firmware A, TF-A Bug
Andre-ARM added a comment to T1003: TF-A: RPi4 fails to boot secondary core at second time by PSCI cpu_on.

So that's a lot of details (thanks for that!), but what is the actual problem? That secondaries cannot be taken offline? Or that they don't came back online? And did that work before the commit you mentioned?

Mon, Sep 26, 9:55 AM · Trusted Firmware A, TF-A Bug
Luoject updated the task description for T1003: TF-A: RPi4 fails to boot secondary core at second time by PSCI cpu_on.
Mon, Sep 26, 7:42 AM · Trusted Firmware A, TF-A Bug

Sat, Sep 24

joannafarley-arm updated subscribers of T1003: TF-A: RPi4 fails to boot secondary core at second time by PSCI cpu_on.

Pinging @Andre-ARM RPi4 platform code owner for comment.

Sat, Sep 24, 3:23 PM · Trusted Firmware A, TF-A Bug
Luoject added a project to T1003: TF-A: RPi4 fails to boot secondary core at second time by PSCI cpu_on: Trusted Firmware A.
Sat, Sep 24, 11:02 AM · Trusted Firmware A, TF-A Bug
Luoject created T1003: TF-A: RPi4 fails to boot secondary core at second time by PSCI cpu_on.
Sat, Sep 24, 11:01 AM · Trusted Firmware A, TF-A Bug

Thu, Sep 22

zandrey added a comment to T1000: imx8m does not start after EHF with S-EL2 SPMC change.

Hello Olivier,

Thu, Sep 22, 1:05 PM · Trusted Firmware A, TF-A Bug
odeprez added a comment to T1000: imx8m does not start after EHF with S-EL2 SPMC change.

Thanks for your reply. Looks like there is a fix under works:

Thu, Sep 22, 11:22 AM · Trusted Firmware A, TF-A Bug

Sat, Sep 17

zandrey added a comment to T1000: imx8m does not start after EHF with S-EL2 SPMC change.

Hello Olivier,

Sat, Sep 17, 7:34 PM · Trusted Firmware A, TF-A Bug

Tue, Sep 13

odeprez added a comment to T1000: imx8m does not start after EHF with S-EL2 SPMC change.

Hi,
From the logs I understand BL31 is started by U-Boot SPL rather than TF-A's BL1/BL2, correct?
Would it be possible to gather more verbose logs (build with DEBUG=1 LOG_LEVEL=50) ?
Can you share the TF-A command line used to build this platform?
In particular what's the state of EL3_EXCEPTION_HANDLING, SPD, SPMD_SPM_AT_SEL2 toggles?
Thanks, Olivier.

Tue, Sep 13, 7:54 AM · Trusted Firmware A, TF-A Bug

Sun, Sep 11

joannafarley-arm updated subscribers of T1000: imx8m does not start after EHF with S-EL2 SPMC change.

Ping @raghuncstate for comment https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/commit/?id=7c2fe62f1347bb94d82e9fdd3bc5eaebedaf0bc7

Sun, Sep 11, 10:20 AM · Trusted Firmware A, TF-A Bug

Sat, Sep 10

zandrey added projects to T1000: imx8m does not start after EHF with S-EL2 SPMC change: TF-A Bug, Trusted Firmware A.
Sat, Sep 10, 8:21 PM · Trusted Firmware A, TF-A Bug

Aug 29 2022

hramrach renamed T999: TF-A does not build with GCC 7 for some platforms from TF-A doe not build with GCC 7 for some platforms to TF-A does not build with GCC 7 for some platforms.
Aug 29 2022, 12:46 PM · TF-A Bug
hramrach added a comment to T999: TF-A does not build with GCC 7 for some platforms.

Aug 29 2022, 12:45 PM · TF-A Bug
hramrach created T999: TF-A does not build with GCC 7 for some platforms.
Aug 29 2022, 12:44 PM · TF-A Bug

Jul 29 2022

AntonioSanta triaged T994: cannot read beyond 4Gbyte space from eMMC, NXP's sd_mmc driver as Normal priority.
Jul 29 2022, 2:09 PM · TF-A Bug

May 20 2022

bipinravi-arm added a comment to T991: Compiling atf for iMX8 using gcc-12..1 fails.

TF-A works on a 6 month release cadence and we typically update the gcc toolchain to the latest released version along with the TF-A release. gcc versions we use are downloaded from https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads.
Currently we don't update the toolchain to any versions newer than the one released here. We used the version 10.3-2021.07 with TF-A v2.6 release and will be updating to version 11.2-2022.02 with our upcoming v2.7 release which is planned for the end of May, 2022.

May 20 2022, 10:11 PM · Trusted Firmware A, TF-A Bug
madhukar-Arm added a comment to T991: Compiling atf for iMX8 using gcc-12..1 fails.

A similar issue was reported in the ticket https://developer.trustedfirmware.org/T984
Can you confirm if this issue is due to a bug in the toolchain itself?

May 20 2022, 4:33 PM · Trusted Firmware A, TF-A Bug

May 11 2022

heitbaum added a comment to T991: Compiling atf for iMX8 using gcc-12..1 fails.

Reported bug in gcc 12.1.0

May 11 2022, 11:54 AM · Trusted Firmware A, TF-A Bug
Yann-lms added a comment to T984: GCC12 build problem - PLAT=a80x0_mcbin.

The issue is related to this GCC ticket:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578
Which is corrected in the official GCC 12.1 version.

May 11 2022, 8:52 AM · TF-A Bug, Trusted Firmware A

May 7 2022

heitbaum added projects to T984: GCC12 build problem - PLAT=a80x0_mcbin: Trusted Firmware A, TF-A Bug.
May 7 2022, 1:28 PM · TF-A Bug, Trusted Firmware A
heitbaum added a project to T991: Compiling atf for iMX8 using gcc-12..1 fails: Trusted Firmware A.
May 7 2022, 1:27 PM · Trusted Firmware A, TF-A Bug
heitbaum created T991: Compiling atf for iMX8 using gcc-12..1 fails.
May 7 2022, 1:22 PM · Trusted Firmware A, TF-A Bug

Mar 31 2022

Yann-lms closed T661: BL32/SP_min cannot use arg3 from BL2 in AARCH32 as Resolved.
Mar 31 2022, 3:58 PM · Trusted Firmware A, TF-A Bug

Feb 14 2022

SamuelMila added a comment to T762: RK3399_BAUDRATE default value.
Feb 14 2022, 6:58 PM · Trusted Firmware A, TF-A Bug

Jan 22 2022

SamuelMila added a comment to T790: Very hard to use a openssl not in /usr.
Jan 22 2022, 10:37 PM · TF-A Bug

Sep 20 2021

gomonovych closed T965: SDEI dispatch from Fast SMC call provoke context corruption as Resolved.
Sep 20 2021, 1:16 PM · TF-A Bug

Sep 17 2021

gomonovych renamed T965: SDEI dispatch from Fast SMC call provoke context corruption from SDEI dispatcher called from EL3 type interrupt handler provoke Data Abort (SEGV) exception if that interrupt preempt SMC call to SDEI dispatch from Fast SMC call provoke context corruption.
Sep 17 2021, 10:47 AM · TF-A Bug
gomonovych updated the task description for T965: SDEI dispatch from Fast SMC call provoke context corruption.
Sep 17 2021, 10:41 AM · TF-A Bug
gomonovych updated the task description for T965: SDEI dispatch from Fast SMC call provoke context corruption.
Sep 17 2021, 10:39 AM · TF-A Bug

Sep 16 2021

gomonovych triaged T965: SDEI dispatch from Fast SMC call provoke context corruption as Low priority.
Sep 16 2021, 10:27 PM · TF-A Bug

Aug 26 2021

schspa added a comment to T962: Crash when build with LOG_LEVEL >= LOG_LEVEL_VERBOSE.

fix change need to review at:
11218: fix(xlat): fix crash when enable verbose log on some platform.

Aug 26 2021, 8:04 AM · TF-A Bug
schspa created T962: Crash when build with LOG_LEVEL >= LOG_LEVEL_VERBOSE.
Aug 26 2021, 7:13 AM · TF-A Bug

May 11 2021

yuezhiran closed T868: TF-A Bug as Resolved.

The problem has been solved.

May 11 2021, 1:40 PM · TF-A Bug, Trusted Firmware A

Mar 30 2021

nathan-menhorn created T912: OP-TEE OS 3.11.0 Hangs at opteed_enter_sp on Cold Boot.
Mar 30 2021, 4:11 PM · TF-A Bug, Trusted Firmware A

Dec 2 2020

madhukar-Arm added a comment to T868: TF-A Bug.

Hi,
A developer submitted a patch which closely relates to this issue. Please give your feedback here: https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/7314

Dec 2 2020, 6:48 PM · TF-A Bug, Trusted Firmware A

Nov 30 2020

madhukar-Arm added a comment to T868: TF-A Bug.

Hi,
Please use personal email and git configs/identity to push the patch to trustedfirmware.org. Few developers from the tf-a community have done this. Here is a link to contribution guidelines:

Nov 30 2020, 10:28 PM · TF-A Bug, Trusted Firmware A

Nov 28 2020

nickfrasher794 added a comment to T868: TF-A Bug.
Nov 28 2020, 12:37 PM · TF-A Bug, Trusted Firmware A
yuezhiran added a comment to T868: TF-A Bug.

Thanks for your reply. It is difficult to submit code to community or Gerrit using company's account and system. So, I wonder whether it's permitted to upload by providing modifications or “git send-email” with patches.

Nov 28 2020, 4:17 AM · TF-A Bug, Trusted Firmware A

Nov 19 2020

madhukar-Arm added a comment to T868: TF-A Bug.

Hi,
Yeah, looks like such a large system with numerous clusters will run into an issue with the current limitation of "lock_index" being "unsigned char". Please go ahead and submit a patch for review:

Nov 19 2020, 6:23 PM · TF-A Bug, Trusted Firmware A
yuezhiran added a comment to T868: TF-A Bug.

Yes, The power domain topology of the system can be described as 8 sockets, each socket with 10 clusters and each cluster with 8 cores. We just consider a system like this might face the constraint mentioned above, and we must modify the declaration of lock_index to solve this problem. Feature, more and more interconnected system, with numerous cpus, might face the same problem.

Nov 19 2020, 12:49 PM · TF-A Bug, Trusted Firmware A

Nov 18 2020

madhukar-Arm updated subscribers of T868: TF-A Bug.
Nov 18 2020, 5:54 PM · TF-A Bug, Trusted Firmware A
madhukar-Arm added a comment to T868: TF-A Bug.

Hi,
The struct "non_cpu_pwr_domain_node" represents a non-leaf power domain in an SoC such as a logical cluster. As you mentioned, the lock_index declaration with "unsigned char" limits such non-cpu power domains to 64. I believe it doesn't restrict the number of CPUs in a system to be <= 64. Do you currently face an issue with PSCI implementation due to the above constraint? Can you advise what is the power domain topology of your system? I think the lock_index can be expanded using "unsigned int" if needed.

Nov 18 2020, 5:53 PM · TF-A Bug, Trusted Firmware A
yuezhiran created T868: TF-A Bug.
Nov 18 2020, 3:06 AM · TF-A Bug, Trusted Firmware A

Oct 9 2020

bijudas created T842: Bl31 fails to build on Renesas RCar platform with aarch64-linux-gcc-7 toolchain.
Oct 9 2020, 12:20 PM · TF-A Bug

Jul 30 2020

sandrine-bailleux-arm updated subscribers of T790: Very hard to use a openssl not in /usr.

@ManishVB-Arm has posted a patch to address your issue, see https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/5119
Would you mind taking a look and letting us know whether it fixes the issue for you?

Jul 30 2020, 1:37 PM · TF-A Bug

Jul 24 2020

rossburton created T790: Very hard to use a openssl not in /usr.
Jul 24 2020, 4:46 PM · TF-A Bug