<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/atf/plat/qemu, branch master</title>
<subtitle>Broadcom-s Trusted Firmware A</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/atf/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/atf/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/'/>
<updated>2019-10-01T15:24:06Z</updated>
<entry>
<title>qemu/qemu_sbsa: Adding memory mapping for both FLASH0/FLASH1</title>
<updated>2019-10-01T15:24:06Z</updated>
<author>
<name>Radoslaw Biernacki</name>
</author>
<published>2018-06-07T18:14:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=fa405e3b82ae9ed764e6f37745e612c86a8be183'/>
<id>urn:sha1:fa405e3b82ae9ed764e6f37745e612c86a8be183</id>
<content type='text'>
This patch adds mapping for secure FLASH0 for qemu/virt and
qemu/qemu_sbsa platforms. This change is targeted for sbsa but since both
platforms share common code, changes in common defines was necessary.

For qemu_sbsa, this patch adds necessary mapping in order to boot without
semi-hosting from secure FLASH0. EFI need to stay in FLASH1 (share it with
variables) since it need to "run in place" in non secure domain. Changes
for this are under RFC at edk2-platforms mailing list:
https://patches.linaro.org/patch/171327/
(edk2-platforms/Platform/Qemu/SbsaQemu/SbsaQemu.dsc).

In docs qemu/virt is described as using semi-hosting, therefore this change
should be orthogonal to existing assumptions while giving possibility to
store both bl1 and fip in FLASH0 at some point (additional changes required
for that).

Signed-off-by: Radoslaw Biernacki &lt;radoslaw.biernacki@linaro.org&gt;
Change-Id: I782bc3637c91c01eaee680b3c5c408e24b4b6e28
</content>
</entry>
<entry>
<title>qemu/qemu_sbsa: Adding Qemu SBSA platform</title>
<updated>2019-10-01T15:23:56Z</updated>
<author>
<name>Radoslaw Biernacki</name>
</author>
<published>2018-05-17T20:52:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=558a6f444d54f419e90ead976bf28cf25797f4e4'/>
<id>urn:sha1:558a6f444d54f419e90ead976bf28cf25797f4e4</id>
<content type='text'>
This patch introduces Qemu SBSA platform.
Both platform specific files where copied from qemu/qemu with changes for
DRAM base above 32bit and removal of ARMv7 conditional defines/code.
Documentation is aligned to rest of SBSA patches along the series and
planed changes in edk2-platform repo.

Fixes ARM-software/tf-issues#602

Signed-off-by: Radoslaw Biernacki &lt;radoslaw.biernacki@linaro.org&gt;
Change-Id: I8ebc34eedb2268365e479ef05654b2df1b99128c
</content>
</entry>
<entry>
<title>qemu: Simplify the image size calculation</title>
<updated>2019-09-18T13:58:13Z</updated>
<author>
<name>Radoslaw Biernacki</name>
</author>
<published>2018-05-17T20:19:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=9a006ad10509cf158089470ef713f7edde073eaf'/>
<id>urn:sha1:9a006ad10509cf158089470ef713f7edde073eaf</id>
<content type='text'>
Patch introduce the macro NS_IMAGE_MAX_SIZE to simplify the image size
calculation. Use of additional parenthesis removes the possibility of
improper calculations due nested macro expansion for subtraction.
In case of platforms with DRAM window over 32bits, patch also removes
potential problems with type casting, as meminfo.image_size is uint32_t
but macro calculations were done in 64bit space.

Signed-off-by: Radoslaw Biernacki &lt;radoslaw.biernacki@linaro.org&gt;
Change-Id: I2d05a2d9dd6000dba6114df53262995cf85af018
</content>
</entry>
<entry>
<title>qemu: introducing sub-platforms to qemu platform</title>
<updated>2019-09-18T13:57:17Z</updated>
<author>
<name>Radoslaw Biernacki</name>
</author>
<published>2018-05-17T20:19:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=301d27d998892c054dec925264f81b11dcd64822'/>
<id>urn:sha1:301d27d998892c054dec925264f81b11dcd64822</id>
<content type='text'>
This commit change the plat/qemu directory structure into:

`-- plat
    `-- qemu
        |-- common    (files shared with all qemu subplatforms)
        |-- qemu      (original qemu platform)
        |-- qemu_sbsa (new sqemu_sbsa platform)
        |-- subplat1
        `-- subplat2

This opens the possibility of adding new qemu sub-platforms which reuse
existing common platform code. The first platform which will leverage new
structure will be SBSA platform.

Signed-off-by: Radoslaw Biernacki &lt;radoslaw.biernacki@linaro.org&gt;
Signed-off-by: Sandrine Bailleux &lt;sandrine.bailleux@arm.com&gt;
Change-Id: Id0d8133e1fffc1b574b69aa2770ebc02bb837a9b
</content>
</entry>
<entry>
<title>qemu: Move and generalise FDT PSCI fixup</title>
<updated>2019-09-13T15:54:21Z</updated>
<author>
<name>Andre Przywara</name>
</author>
<published>2019-07-10T16:27:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=f240728b76c05ac507189a37375b120379eda650'/>
<id>urn:sha1:f240728b76c05ac507189a37375b120379eda650</id>
<content type='text'>
The QEMU platform port scans its device tree to advertise PSCI as the
CPU enable method. It does this by scanning *every* node in the DT and
check whether its compatible string starts with "arm,cortex-a". Then it
sets the enable-method to PSCI, if it doesn't already have one.

Other platforms might want to use this functionality as well, so let's
move it out of the QEMU platform directory and make it more robust by
fixing some shortcomings:
- A compatible string starting with a certain prefix is not a good way
to find the CPU nodes. For instance a "arm,cortex-a72-pmu" node will
match as well and is in turn favoured with an enable-method.
- If the DT already has an enable-method, we won't change this to PSCI.

Those two issues will for instance fail on the Raspberry Pi 4 DT.
To fix those problems, we adjust the scanning method:
The DT spec says that all CPU nodes are subnodes of the mandatory
/cpus node, which is a subnode of the root node. Also each CPU node has
to have a device_type = "cpu" property. So we find the /cpus node, then
scan for a subnode with the proper device_type, forcing the
enable-method to "psci".
We have to restart this search after a property has been patched, as the
node offsets might have changed meanwhile.

This allows this routine to be reused for the Raspberry Pi 4 later.

Change-Id: I00cae16cc923d9f8bb96a9b2a2933b9a79b06139
Signed-off-by: Andre Przywara &lt;andre.przywara@arm.com&gt;
</content>
</entry>
<entry>
<title>Merge changes from topic "qemu_sbsa" into integration</title>
<updated>2019-08-06T14:54:35Z</updated>
<author>
<name>Sandrine Bailleux</name>
</author>
<published>2019-08-06T14:54:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=7aed52cdb45845045f51fcaa7b73c5dcea67725d'/>
<id>urn:sha1:7aed52cdb45845045f51fcaa7b73c5dcea67725d</id>
<content type='text'>
* changes:
  plat/qemu: add gicv3 support for qemu
  plat/qemu: move gicv2 codes to separate file
</content>
</entry>
<entry>
<title>Switch AARCH32/AARCH64 to __aarch64__</title>
<updated>2019-08-01T20:45:03Z</updated>
<author>
<name>Julius Werner</name>
</author>
<published>2019-07-09T21:02:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=402b3cf8766fe2cb4ae462f7ee7761d08a1ba56c'/>
<id>urn:sha1:402b3cf8766fe2cb4ae462f7ee7761d08a1ba56c</id>
<content type='text'>
NOTE: AARCH32/AARCH64 macros are now deprecated in favor of __aarch64__.

All common C compilers pre-define the same macros to signal which
architecture the code is being compiled for: __arm__ for AArch32 (or
earlier versions) and __aarch64__ for AArch64. There's no need for TF-A
to define its own custom macros for this. In order to unify code with
the export headers (which use __aarch64__ to avoid another dependency),
let's deprecate the AARCH32 and AARCH64 macros and switch the code base
over to the pre-defined standard macro. (Since it is somewhat
unintuitive that __arm__ only means AArch32, let's standardize on only
using __aarch64__.)

Change-Id: Ic77de4b052297d77f38fc95f95f65a8ee70cf200
Signed-off-by: Julius Werner &lt;jwerner@chromium.org&gt;
</content>
</entry>
<entry>
<title>plat/qemu: add gicv3 support for qemu</title>
<updated>2019-07-26T16:53:18Z</updated>
<author>
<name>Hongbo Zhang</name>
</author>
<published>2018-04-19T06:42:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=d27c880a369aa84f9b6fcf11d6024fc2f4ffc602'/>
<id>urn:sha1:d27c880a369aa84f9b6fcf11d6024fc2f4ffc602</id>
<content type='text'>
This patch adds gicv3 support for qemu, in order not to break any legacy
use case, gicv2 is still set by default, gicv3 can be selected by
compiling parameter QEMU_USE_GIC_DRIVER=QEMU_GICV3.

Signed-off-by: Hongbo Zhang &lt;hongbo.zhang@linaro.org&gt;
Reviewed-by: Radoslaw Biernacki &lt;radoslaw.biernacki@linaro.org&gt;
Tested-by: Radoslaw Biernacki &lt;radoslaw.biernacki@linaro.org&gt;
Change-Id: Ic63f38abf16ed3c36aa60e80d50103cf05cf797b
</content>
</entry>
<entry>
<title>plat/qemu: move gicv2 codes to separate file</title>
<updated>2019-07-26T16:53:18Z</updated>
<author>
<name>Hongbo Zhang</name>
</author>
<published>2018-04-19T05:06:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=17953ff25396709f28b55c72a228aad37d8c0650'/>
<id>urn:sha1:17953ff25396709f28b55c72a228aad37d8c0650</id>
<content type='text'>
This file moves gicv2 codes to a new separate files, target is to add
gicv3 support later.

Signed-off-by: Hongbo Zhang &lt;hongbo.zhang@linaro.org&gt;
Reviewed-by: Radoslaw Biernacki &lt;radoslaw.biernacki@linaro.org&gt;
Tested-by: Radoslaw Biernacki &lt;radoslaw.biernacki@linaro.org&gt;
Change-Id: I30eb1fda5ea5c2b35d79360c52f46601cbca1bcc
</content>
</entry>
<entry>
<title>qemu: use new console interface in aarch32</title>
<updated>2019-06-28T09:52:48Z</updated>
<author>
<name>Ambroise Vincent</name>
</author>
<published>2019-05-28T13:35:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=e6ffc254a9da9ca4623f94903e92e363d30f3d63'/>
<id>urn:sha1:e6ffc254a9da9ca4623f94903e92e363d30f3d63</id>
<content type='text'>
Change-Id: Iab788e3e7cb2f83144255c4eb830712fd5cb6240
Signed-off-by: Ambroise Vincent &lt;ambroise.vincent@arm.com&gt;
</content>
</entry>
</feed>
