Page MenuHomePhabricator

Luoject (Luoject)
User

Projects

User does not belong to any projects.

User Details

User Since
Sep 24 2022, 9:48 AM (112 w, 5 d)

Recent Activity

Sep 27 2022

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

Sep 27 2022, 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 ;-)

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

Sep 26 2022

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?

Sep 26 2022, 12:09 PM · 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.
Sep 26 2022, 7:42 AM · Trusted Firmware A, TF-A Bug

Sep 24 2022

Luoject added a project to T1003: TF-A: RPi4 fails to boot secondary core at second time by PSCI cpu_on: Trusted Firmware A.
Sep 24 2022, 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.
Sep 24 2022, 11:01 AM · Trusted Firmware A, TF-A Bug