<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/bsp/cvitek/c906_little, branch copilot/remove-vbus-code-implementation</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/bsp/cvitek/c906_little?h=copilot%2Fremove-vbus-code-implementation</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/bsp/cvitek/c906_little?h=copilot%2Fremove-vbus-code-implementation'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2025-10-23T14:06:51Z</updated>
<entry>
<title>[format][version]: synchronize bsp version configuration</title>
<updated>2025-10-23T14:06:51Z</updated>
<author>
<name>kurisaw</name>
<email>2053731441@qq.com</email>
</author>
<published>2025-10-23T02:42:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e2aed47b6c0ef75ead36cae04c4e9afd9d8049aa'/>
<id>urn:sha1:e2aed47b6c0ef75ead36cae04c4e9afd9d8049aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>format: update all series of BSP configuration items (#10406)</title>
<updated>2025-06-17T07:42:49Z</updated>
<author>
<name>沐攸</name>
<email>17773439684@163.com</email>
</author>
<published>2025-06-17T07:42:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=5f9f5222854f394efee2ed0e99484ca4da1ea591'/>
<id>urn:sha1:5f9f5222854f394efee2ed0e99484ca4da1ea591</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bsp: cvitek: c906_littel: fixed build warnings for board.c</title>
<updated>2025-01-30T01:28:38Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-01-27T02:43:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3383352cdc96238b9e967a8ded7189a563359ba6'/>
<id>urn:sha1:3383352cdc96238b9e967a8ded7189a563359ba6</id>
<content type='text'>
When building bsp/cvitek/c906_little, compiler warns:

```
board/board.c: In function 'rt_hw_board_init':
board/board.c:26:5: warning: implicit declaration of
function 'rt_hw_tick_init'; did you mean 'rt_hw_stack_init'?
[-Wimplicit-function-declaration]
   26 |     rt_hw_tick_init();
      |     ^~~~~~~~~~~~~~~
      |     rt_hw_stack_init
board/board.c:29:5: warning: implicit declaration of
function 'rt_hw_uart_init'; did you mean 'rt_hw_board_init'?
[-Wimplicit-function-declaration]
   29 |     rt_hw_uart_init();
      |     ^~~~~~~~~~~~~~~
      |     rt_hw_board_init
```

To remove these build warnings, include header files
which declare these functions.

Plus, remove the decalartion of `tick_isr()`, this
function does not exist.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
<entry>
<title>bsp: cvitek: use rttpkgtool to replace cvitek_bootloader</title>
<updated>2025-01-26T02:55:44Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-01-16T07:45:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=7e0acaa2541f8351744185da1dd8f1ede2067f23'/>
<id>urn:sha1:7e0acaa2541f8351744185da1dd8f1ede2067f23</id>
<content type='text'>
Originally, for riscv big and little cores under bsp/cvitek,
after generating rtthread.bin, the cvitek_bootloader tool
would be used to package it and generate fip.bin and boot.sd
files that can be burned into sdcard. However, the
cvitek_bootloader tool repository is relatively large, and
it compiles and generates firmware such as fsbl, opensbi and
uboot from the source code level. And when using it, it
needs to be downloaded to the bsp/cvitek directory, which
will introduce pollution to source files in the RTT repository
under the original working path.

The new solution uses rttpkgtool, which is similar to
cvitek_bootloader, but it uses prebuilt firmware, so it is
very small and does not introduce pollution to the source file.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
<entry>
<title>Revert "[action] add cvitek/c906_little ci" (#9945)</title>
<updated>2025-01-23T02:37:56Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-01-23T02:37:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=7432b0a01965c6623162a1858a45680d191b8958'/>
<id>urn:sha1:7432b0a01965c6623162a1858a45680d191b8958</id>
<content type='text'>
Revert "[action] add cvitek/c906_little ci (#9901)"

This reverts commit 969e0e01ef603d3929a186e8bd03f3657ec8227c.</content>
</entry>
<entry>
<title>[action] add cvitek/c906_little ci (#9901)</title>
<updated>2025-01-23T01:35:06Z</updated>
<author>
<name>Supper Thomas</name>
<email>78900636@qq.com</email>
</author>
<published>2025-01-23T01:35:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=969e0e01ef603d3929a186e8bd03f3657ec8227c'/>
<id>urn:sha1:969e0e01ef603d3929a186e8bd03f3657ec8227c</id>
<content type='text'>
* [action] add cvitek/c906_little ci

* Update bsp_buildings.yml

* Update rtconfig.py</content>
</entry>
<entry>
<title>[bsp][cvitek] fix c906_little build warning in cache.c</title>
<updated>2025-01-20T06:26:50Z</updated>
<author>
<name>imcu</name>
<email>ign7798540@gmail.com</email>
</author>
<published>2025-01-16T03:01:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=680333fc18b41d24c3da9ae736af9471aa03ff04'/>
<id>urn:sha1:680333fc18b41d24c3da9ae736af9471aa03ff04</id>
<content type='text'>
build warning: passing argument 1 of 'inv_icache_range' makes integer
from pointer without a cast [-Wint-conversion]

Analyze: The passed parameter type is void*, which is a pointer type,
but the required type is uintptr_t, which is an integer type. Therefore,
there will be a 'makes integer from pointer without a cast' warning.

Solution: casting the void* pointer to uintptr_t, ensure that the
function receives the correct type.

Signed-off-by: zdtyuiop4444 &lt;ign7798540@gmail.com&gt;
</content>
</entry>
<entry>
<title>bsp/cvitek: print arch info. during boot-up (#9919)</title>
<updated>2025-01-16T14:33:55Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-01-16T14:33:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=2b82ab38a20728c8767f80bd10cc2b90da94ccd5'/>
<id>urn:sha1:2b82ab38a20728c8767f80bd10cc2b90da94ccd5</id>
<content type='text'>
Duo's CPU combination is more complicated:

| BSP           | B/L core| ISA             | UART  |
| ------------- | ------- |---------------- |-------|
| cv18xx_risc-v | Big     | RISC-V C906     | UART0 |
| c906-little   | Littel  | RISC-V C906     | UART1 |
| cv18xx_aarch64| Big     | ARM Cortex A53  | UART0 |

Printing ISA and big and small core information
during the boot process helps developers/testers
determine the CPU and serial port corresponding to
the current console.

In addition, the RTT logo printing has already
distinguished whether it is smart, so the bsp
printing no longer distinguishes.

Updated README to sync with this change.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;</content>
</entry>
<entry>
<title>[bsp][cvitek] add cache opration functions for cache coherence</title>
<updated>2025-01-16T01:05:52Z</updated>
<author>
<name>imcu</name>
<email>ign7798540@gmail.com</email>
</author>
<published>2024-11-26T06:54:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=6cbb2c3ee59c8f46528df89225cf3aa235d46884'/>
<id>urn:sha1:6cbb2c3ee59c8f46528df89225cf3aa235d46884</id>
<content type='text'>
By default, the small core enables D-Cache without ensuring cache
coherence. Therefore, when using shared memory, inconsistencies can
occur in the data read by the small core and the big core.

Solution: Migrate cache-related functions from the official
duo-buildroot-sdk library to implement cache-related operations in
rthw.h. This allows you to either disable D-Cache or call the
flush_dcache_range function before reading and after writing for
synchronization.

It is recommended to use the flush_dcache_range function, as disabling
D-Cache can have a significant performance impact.

Signed-off-by: zdtyuiop4444 &lt;ign7798540@gmail.com&gt;
</content>
</entry>
<entry>
<title>bsp: cvitek: fix bug in setting PLIC_PRIORITY[n]</title>
<updated>2025-01-16T01:03:26Z</updated>
<author>
<name>kenneth.liu</name>
<email>kenneth.liu@sophgo.com</email>
</author>
<published>2025-01-03T12:47:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=95064ed44900815a9ef823bfbeb29768d9acb46a'/>
<id>urn:sha1:95064ed44900815a9ef823bfbeb29768d9acb46a</id>
<content type='text'>
description: In the bsp/cvitek/c906_little/board/interrupt.c, There is an issue with
setting the PLIC_PRIORITY[n].

analysis: PLIC_PRIORITY[n] each register corresponds to the priority of
a hardware interrupt number.

Solution: Each register is 4 bytes.
Multiply the total number of IRQs by 4 instead of dividing by 4.

Signed-off-by: Liu Gui &lt;kenneth.liu@sophgo.com&gt;
</content>
</entry>
</feed>
