<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opensbi.git/docs, branch v1.7</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/opensbi.git/atom/docs?h=v1.7</id>
<link rel='self' href='http://cgit.235523.xyz/opensbi.git/atom/docs?h=v1.7'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/'/>
<updated>2025-04-14T11:55:54Z</updated>
<entry>
<title>docs: pmu_support: fix example typos</title>
<updated>2025-04-14T11:55:54Z</updated>
<author>
<name>Leo Yu-Chi Liang</name>
<email>ycliang@andestech.com</email>
</author>
<published>2025-03-24T04:39:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=5ab908d6227e6021678cca57d7040d9401a3615e'/>
<id>urn:sha1:5ab908d6227e6021678cca57d7040d9401a3615e</id>
<content type='text'>
The (event ID &amp; "second column mask") should equal
the "first column match value". Modify the example
to fit the description.

Signed-off-by: Leo Yu-Chi Liang &lt;ycliang@andestech.com&gt;
Reviewed-by: Samuel Holland &lt;samuel.holland@sifive.com&gt;
Link: https://lore.kernel.org/r/20250324043943.2513070-1-ycliang@andestech.com
Signed-off-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: Emit lr and sc instructions based on -march flags</title>
<updated>2025-03-28T13:22:05Z</updated>
<author>
<name>Chao-ying Fu</name>
<email>icebergfu@gmail.com</email>
</author>
<published>2025-02-26T01:47:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=995f226f3f335864d2fca6254af32fa7ab0162e6'/>
<id>urn:sha1:995f226f3f335864d2fca6254af32fa7ab0162e6</id>
<content type='text'>
When -march=rv64im_zalrsc_zicsr is used, provide atomic operations
and locks using lr and sc instructions only.

Signed-off-by: Chao-ying Fu &lt;cfu@mips.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
Link: https://lore.kernel.org/r/20250226014727.19710-1-cfu@mips.com
Signed-off-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>platform: introduce DT-based configurable heap size</title>
<updated>2024-11-11T12:18:45Z</updated>
<author>
<name>Inochi Amaoto</name>
<email>inochiama@gmail.com</email>
</author>
<published>2024-11-11T02:27:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=5d4e3fb2ee03b9894d9cb03ddac0cda83d7ccc71'/>
<id>urn:sha1:5d4e3fb2ee03b9894d9cb03ddac0cda83d7ccc71</id>
<content type='text'>
The default heap size will work for most platforms, but for some
special platforms, the heap is too small to hold all the information
or is too big so that it take too much ram. Introduce configurable
heap should solve this problem and make all generic platforms happy.

Add DT-based heap-size for the generic platform.

Signed-off-by: Inochi Amaoto &lt;inochiama@gmail.com&gt;
Reviewed-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>docs: add example of building the Linux kernel</title>
<updated>2024-11-09T09:00:41Z</updated>
<author>
<name>Tim Hutt</name>
<email>tdhutt@gmail.com</email>
</author>
<published>2024-10-08T09:49:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=701948bdec90e2908517e260d06e0e5e5d0f4419'/>
<id>urn:sha1:701948bdec90e2908517e260d06e0e5e5d0f4419</id>
<content type='text'>
Slightly expand the QEMU docs to explain how to build the flat Linux kernel image.

Signed-off-by: Tim Hutt &lt;tdhutt@gmail.com&gt;
Reviewed-by: Samuel Holland &lt;samuel.holland@sifive.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>docs: Remove hartindex_to_context_table from domain_support.md</title>
<updated>2024-10-25T17:30:15Z</updated>
<author>
<name>Anup Patel</name>
<email>apatel@ventanamicro.com</email>
</author>
<published>2024-09-23T09:02:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=ebbd2761464e5e59b67a1bd8022c223b80f7169e'/>
<id>urn:sha1:ebbd2761464e5e59b67a1bd8022c223b80f7169e</id>
<content type='text'>
The hartindex_to_context_table field is no longer part of sbi_domain
so remove related documentation from domain_support.md.

Signed-off-by: Anup Patel &lt;apatel@ventanamicro.com&gt;
</content>
</entry>
<entry>
<title>docs: Remove github PR as an option</title>
<updated>2024-09-23T12:25:30Z</updated>
<author>
<name>Atish Patra</name>
<email>atishp@rivosinc.com</email>
</author>
<published>2024-08-30T01:03:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=00093a20004baf6826d843ac3ff6e8e7c5d06b13'/>
<id>urn:sha1:00093a20004baf6826d843ac3ff6e8e7c5d06b13</id>
<content type='text'>
OpenSBI development workflow is mailing list based from the
beginning. Initially, github PRs were added as an option but it turned
out that it is not feasible to support both github PR and mailing list
based workflows. Hence, all the PRs has been redirected to use the
mailing list from a long time. In fact, it is source of confusion to
have both options.

Update the documentation to reflect the reality.

Signed-off-by: Atish Patra &lt;atishp@rivosinc.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: utils: fdt_domain: Use consistent device-tree address when next-arg1 is missing</title>
<updated>2024-08-23T08:47:29Z</updated>
<author>
<name>Yu Chien Peter Lin</name>
<email>peterlin@andestech.com</email>
</author>
<published>2024-07-24T15:00:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=56183ca609aa72a075d96d23eebe3df7fbaf53cd'/>
<id>urn:sha1:56183ca609aa72a075d96d23eebe3df7fbaf53cd</id>
<content type='text'>
The diagram shown below illustrates the boot-flow involving OP-TEE OS
initialization.

    (1)-----------+
     | U-Boot SPL |
     +------------+
         |
         v
    (2)-------------------------------------------------------------+
     | OpenSBI (fw_dynamic)                                         |
     |                (4)------------------------+                  |
     |                 | optee dispatcher driver |                  |
     +-----------------+-------^---------|-------+------------------+
M-mode   |                     |         |
---------+--[trusted domain]---+----.----+--[untrusted domain]-------
S-mode   |  (coldboot domain)  |    |    |
         v                     |    |    v
    (3)---------------------------+ |(5)----------------------------+
     | OP-TEE OS                  | | | U-Boot                      |
     +----------------------------+ | +-----------------------------+
                                    |    |
                                    |    v
                                    |(6)----------------------------+
                                    | | Linux                       |
                                    | +-----------------------------+

As OP-TEE OS has device-tree node fixups that need to be passed
through to the next boot stages, e.g. the reserved memory node:

  reserved-memory {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;
    ranges;
    optee_core@f1000000 {
      no-map;
      reg = &lt;0x0 0xf1000000   // OP-TEE OS base address
             0x0 0x01000000&gt;;
    };
    &lt;...&gt;
  };

Instead of using 0x0 as the default value, allow identical next-arg1
to be used by non-coldboot domain (i.e., untrusted domain) when the
property is not provided.

Also, update the description of next-arg1 property in the document.

Signed-off-by: Yu Chien Peter Lin &lt;peterlin@andestech.com&gt;
Reviewed-by: Alvin Chang &lt;alvinga@andestech.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>docs: writing tests: update cleaning instructions</title>
<updated>2024-07-04T06:41:52Z</updated>
<author>
<name>Ivan Orlov</name>
<email>ivan.orlov0322@gmail.com</email>
</author>
<published>2024-07-01T14:11:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=0a667542950ac108e609c2bdfed4c0df87363717'/>
<id>urn:sha1:0a667542950ac108e609c2bdfed4c0df87363717</id>
<content type='text'>
After the changes introduced by the previous patches are applied, there
is no need of the manual removal of the `build/` directory every time
new test is added. Running `make clean` should be enough to regenerate
the carray-related files.

Update the documentation correspondingly.

Signed-off-by: Ivan Orlov &lt;ivan.orlov0322@gmail.com&gt;
Reviewed-by: Andrew Jones &lt;ajones@ventanamicro.com&gt;
Signed-off-by: Ben Dooks &lt;ben.dooks@codethink.co.uk&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>docs: Fix wrong filename</title>
<updated>2024-06-28T03:04:15Z</updated>
<author>
<name>Jacob Lin</name>
<email>lovetaeyeon507@gmail.com</email>
</author>
<published>2024-06-27T03:21:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=0e45b634713d8a67d8a905e8970e93682c1db64f'/>
<id>urn:sha1:0e45b634713d8a67d8a905e8970e93682c1db64f</id>
<content type='text'>
Correct the compiled FW_PAYLOAD firmware ELF filename.

Signed-off-by: Jacob Lin &lt;lovetaeyeon507@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>firmware: Bring back FW_TEXT_START as an optional parameter</title>
<updated>2024-05-23T05:20:23Z</updated>
<author>
<name>Anup Patel</name>
<email>apatel@ventanamicro.com</email>
</author>
<published>2024-05-15T04:25:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=96f0a2e3ea6dc8c337ad1b927d6bda8f5ac151be'/>
<id>urn:sha1:96f0a2e3ea6dc8c337ad1b927d6bda8f5ac151be</id>
<content type='text'>
Bring back FW_TEXT_START as an optional parameter to allow users
explicitly specify compile time address for loading debug symbols.
When not specified, the FW_TEXT_START is assumed to be 0.

Fixes: d4d2582eef7a ("firmware: remove FW_TEXT_START")
Signed-off-by: Anup Patel &lt;apatel@ventanamicro.com&gt;
Tested-by: Clément Léger &lt;cleger@rivosinc.com&gt;
</content>
</entry>
</feed>
