<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/bsp/cvitek/cv18xx_risc-v, 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/cv18xx_risc-v?h=copilot%2Fremove-vbus-code-implementation</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/bsp/cvitek/cv18xx_risc-v?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>bsp/cvitek: Increase the value of RT_NAME_MAX</title>
<updated>2025-09-25T05:03:00Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-09-25T02:27:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=ef354df2e34bd1d3f0654a8cf433127bef9b94dd'/>
<id>urn:sha1:ef354df2e34bd1d3f0654a8cf433127bef9b94dd</id>
<content type='text'>
Otherwise report runtime error:
[E/kernel.obj] Object name sys workq exceeds RT_NAME_MAX=8, consider increasing RT_NAME_MAX.
(obj_name_len &lt;= RT_NAME_MAX - 1) assertion failed at function:rt_object_allocate, line number:520

Increase the value of RT_NAME_MAX to 16 for c906B.
The value of RT_NAME_MAX for BSP of C906L and ARM core already meet
the requirement of more than 8.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</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: riscv: use marco for linker script</title>
<updated>2025-04-22T01:48:53Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-04-18T04:02:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e7d870bb7112fa7feee5927debee9ef2cdd2026b'/>
<id>urn:sha1:e7d870bb7112fa7feee5927debee9ef2cdd2026b</id>
<content type='text'>
Regarding link script, some memory offsets and sizes are different
between the standard version and the smart version (such as
"__STACKSIZE__", kernel start address, kernel memory size, etc.).
Original solution is replacing link scripts and use INCLUDE,
which is relatively complicated.

This improvement uses macros to replace constants in the link
script. The preprocessing mechanism provided by gcc is used
to dynamically replace constant values during the build process.

In addition, the kernel load address (the corresponding
KERNEL_VADDR_START for smart) was originally configured as
0xFFFFFFC000200000, which is default value of riscv with
kernelmap enabled (0xffffffc000000000) plus offset to skip over
bootloader (0x200000). This caused a trouble: due to
default bsp configuration is for smart, if we switched to the
standard version and build, and then switched back to the smart
version, the value of KERNEL_VADDR_START will be default back to
0xffffffc000000000, which is different from the original configuration
value, resulting in the need to manually reconfigure it, which
is easy to forget and cause problems.

The current solution is to use the default value
0xffffffc000000000 in the configuration. Add offset to the code
and link script when using it.

This patch update the default .config and rtconfig.h for cv18xx_riscv.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
<entry>
<title>修复 MMCSD 宏拼写错误+内核开启LOG_D编译问题</title>
<updated>2025-03-12T08:02:43Z</updated>
<author>
<name>yixinghua121</name>
<email>111113527+yixinghua121@users.noreply.github.com</email>
</author>
<published>2025-03-12T08:02:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=983f02151af42c5ef8ac5718bda0cf39795652a9'/>
<id>urn:sha1:983f02151af42c5ef8ac5718bda0cf39795652a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bsp: cvitek: removed useless files after using rttpkgtool</title>
<updated>2025-01-26T02:55:44Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-01-17T09:26:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=c3e5152c13086643ae42bdf588ca95e38c63108d'/>
<id>urn:sha1:c3e5152c13086643ae42bdf588ca95e38c63108d</id>
<content type='text'>
Based on the patch "bsp: cvitek: use rttpkgtool
to replace cvitek_bootloader", continue cleanup useless files.

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>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: remove support for spinor/spinand</title>
<updated>2025-01-08T22:54:14Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-01-08T02:59:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=2322f0154ecc0736e75750af74d403ca76b17576'/>
<id>urn:sha1:2322f0154ecc0736e75750af74d403ca76b17576</id>
<content type='text'>
Confirmed with milkv, only the sd card version is sold
by default for duo in the market. The spi pins are
provided through stamp holes, so that users can solder
the corresponding components on their baseboard during
secondary development.

In order to simplify maintenance work, the mainline
will only support the sd-card version and no longer
support spinor/spinand.

Updated config files the same in this patch.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
<entry>
<title>bsp: cvitek: 906b: romfs -&gt; diskfs</title>
<updated>2024-11-27T02:45:00Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2024-11-26T01:23:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=1052f99537c31c38dc1aad39cec3d8fd38a06a2c'/>
<id>urn:sha1:1052f99537c31c38dc1aad39cec3d8fd38a06a2c</id>
<content type='text'>
ROMFS is Read-Only Memory Filesystem. But ext4/fat are not read-only.

So renamed:
- mnt_romfs.c -&gt; mnt_diskfs.c
- BSP_ROOTFS_TYPE_ROMFS -&gt; BSP_ROOTFS_TYPE_DISKFS

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
</feed>
