<feed xmlns='http://www.w3.org/2005/Atom'>
<title>starfive-tech/opensbi.git/lib/utils, branch StarFive_JH7100_generic</title>
<subtitle>StarFive Tech OpenSBI for VisionFive (JH7110) boards (mirror)</subtitle>
<id>https://git.radix-linux.su/starfive-tech/opensbi.git/atom?h=StarFive_JH7100_generic</id>
<link rel='self' href='https://git.radix-linux.su/starfive-tech/opensbi.git/atom?h=StarFive_JH7100_generic'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/'/>
<updated>2021-06-11T13:50:16+00:00</updated>
<entry>
<title>lib: utils: missing initialization in thead_reset_init</title>
<updated>2021-06-11T13:50:16+00:00</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2021-06-08T20:05:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=360ab88569201f8d282cf98546b86b8576b6f2ad'/>
<id>urn:sha1:360ab88569201f8d282cf98546b86b8576b6f2ad</id>
<content type='text'>
If property csr-copy does not exist, fdt_getprop() will return NULL and cnt
will have a random value from the stack.

Call clone_csrs() only if cnt is initialized to a non-zero value.

Fixes: 49e422c5ad7a ("lib: utils: reset: Add T-HEAD sample platform reset driver")
Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: utils: consider ':' in stdout-path</title>
<updated>2021-06-02T11:36:17+00:00</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2021-05-28T17:06:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=66c4fca532288c750681f33339016772b0ffbf2a'/>
<id>urn:sha1:66c4fca532288c750681f33339016772b0ffbf2a</id>
<content type='text'>
The value of the /chosen/stdout-path devicetree property is used to
determine the UART used by openSBI. According to the devicetree
specification the value may contain a hyphen, e.g.

	chosen {
                stdout-path = "/serial@f00:115200";
        };

If the character ':' is present, it terminates the path of the device.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Reviewed-by: Atish Patra &lt;atish.patra@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: utils: Try other FDT drivers when we see SBI_ENODEV</title>
<updated>2021-05-24T10:19:21+00:00</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2021-05-20T15:46:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=54d7def6c254058f9458a0e26205b3c93a48bb42'/>
<id>urn:sha1:54d7def6c254058f9458a0e26205b3c93a48bb42</id>
<content type='text'>
We should try other FDT drivers when we see SBI_ENODEV returned
by cold_init() of FDT driver.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Atish Patra &lt;atish.patra@wdc.com&gt;
Reviewed-by: Xiang W &lt;wxjstz@126.com&gt;
</content>
</entry>
<entry>
<title>lib: utils/fdt: Replace strcmp with strncmp</title>
<updated>2021-05-19T12:05:38+00:00</updated>
<author>
<name>Daniel Schaefer</name>
<email>daniel.schaefer@hpe.com</email>
</author>
<published>2021-05-19T07:54:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=fe92347b9f91c147b314065cc3c2c2b196c55b34'/>
<id>urn:sha1:fe92347b9f91c147b314065cc3c2c2b196c55b34</id>
<content type='text'>
Use strncmp() instead of strcmp() in __fixup_find_domain_offset()
so that it compiles fine when linking with external firmware (such
as EDK2).

Signed-off-by: Daniel Schaefer &lt;daniel.schaefer@hpe.com&gt;
Reviewed-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Abner Chang &lt;abner.chang@hpe.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: utils/fdt: Don't use sbi_string functions</title>
<updated>2021-05-19T12:04:06+00:00</updated>
<author>
<name>Daniel Schaefer</name>
<email>daniel.schaefer@hpe.com</email>
</author>
<published>2021-05-19T07:54:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=ee7c2b27ea8d875db8d7d39116432d9958267415'/>
<id>urn:sha1:ee7c2b27ea8d875db8d7d39116432d9958267415</id>
<content type='text'>
When SBI is built by external firmware, we need to use their functions,
defined in libfdt_env.h.

Just like 2cfd2fc9048806353298a1b967abf985901e36e8

Signed-off-by: Daniel Schaefer &lt;daniel.schaefer@hpe.com&gt;
Reviewed-by: Abner Chang &lt;abner.chang@hpe.com&gt;
Reviewed-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: utils: Add strncpy macro to libfdt_env.h</title>
<updated>2021-05-19T12:03:33+00:00</updated>
<author>
<name>Daniel Schaefer</name>
<email>daniel.schaefer@hpe.com</email>
</author>
<published>2021-05-19T07:54:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=c9ef2bc7e4fd805325d4466ea7d42cc36980862d'/>
<id>urn:sha1:c9ef2bc7e4fd805325d4466ea7d42cc36980862d</id>
<content type='text'>
we want to use sbi_strncpy as strncpy in the OpenSBI implementation for
libfdt.

Just like 2845d2d2cf4fb74a89452ba223995aa4a118c07e

Signed-off-by: Daniel Schaefer &lt;daniel.schaefer@hpe.com&gt;
Reviewed-by: Abner Chang &lt;abner.chang@hpe.com&gt;
Reviewed-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: utils/serial: Support Synopsys DesignWare APB UART</title>
<updated>2021-05-19T07:33:19+00:00</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2021-05-14T01:16:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=e822b7504df0583a6a227d51cb7da8ea9fc79c0a'/>
<id>urn:sha1:e822b7504df0583a6a227d51cb7da8ea9fc79c0a</id>
<content type='text'>
Synopsys DesignWare APB UART is seen on the StarFive JH7100 SoC.
Its programming interface is compatible with the existing 8250
UART driver. Simply add its compatible string to the driver makes
it work with the StarFive JH7100 SoC on a BeagleV board.

With this patch, the generic platform firmware can be used out of
the box on the BeagleV board.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: utils/serial: Add support for Gaisler APBUART</title>
<updated>2021-05-06T08:51:07+00:00</updated>
<author>
<name>Daniel Cederman</name>
<email>cederman@gaisler.com</email>
</author>
<published>2021-04-30T06:35:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=117fb6dcb147913034fe82d0ed038fa7a05f1a1d'/>
<id>urn:sha1:117fb6dcb147913034fe82d0ed038fa7a05f1a1d</id>
<content type='text'>
This patch adds support for the UART used by the NOEL-V processor.

Cobham Gaisler's NOEL-V RISC-V processor IP is available under GPL
and commercial license and is described in more detail at
https://www.gaisler.com/noelv.

Signed-off-by: Daniel Cederman &lt;cederman@gaisler.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>lib: sbi: Simplify system reset platform operations</title>
<updated>2021-04-28T11:55:00+00:00</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2021-04-22T06:23:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=043d088e3964ec64b091f739e2282f53f7d264fb'/>
<id>urn:sha1:043d088e3964ec64b091f739e2282f53f7d264fb</id>
<content type='text'>
Instead of having system_reset_check() and system_reset() callbacks
in platform operations, it will be much simpler for reset driver to
directly register these operations as a device to the sbi_system
implementation.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: sbi: Simplify ipi platform operations</title>
<updated>2021-04-28T11:33:31+00:00</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2021-04-22T04:57:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=dc39c7b630a607b96c25f8ea50f0bb1af619928a'/>
<id>urn:sha1:dc39c7b630a607b96c25f8ea50f0bb1af619928a</id>
<content type='text'>
Instead of having ipi_send() and ipi_clear() callbacks in
platform operations, it will be much simpler for ipi driver
to directly register these operations as a device to sbi_ipi
implementation.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
</content>
</entry>
</feed>
