<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/bsp/cvitek/README.md, branch copilot/create-dfs2-documentation</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/bsp/cvitek/README.md?h=copilot%2Fcreate-dfs2-documentation</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/bsp/cvitek/README.md?h=copilot%2Fcreate-dfs2-documentation'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2025-04-22T01:48:53Z</updated>
<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>bsp: cvitek: add howto configure pinmux in README (#10142)</title>
<updated>2025-03-24T07:47:57Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-03-24T07:47:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=b58324069059832898c7812d14b48599f7479de1'/>
<id>urn:sha1:b58324069059832898c7812d14b48599f7479de1</id>
<content type='text'>
Add description on how to configure pinmux in menuconfig for
cvitek products.

Add myself to maintainer list in README.md.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;</content>
</entry>
<entry>
<title>bsp: cvitek: fix build error for aarch64</title>
<updated>2025-02-04T02:54:57Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-02-03T12:03:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=a77a86d6b2f59491e43c1954fed38631f3f7231b'/>
<id>urn:sha1:a77a86d6b2f59491e43c1954fed38631f3f7231b</id>
<content type='text'>
This patch fixed the error "bash: mksdimg.sh: No such file
or directory" when building cv18xx_aarch64.

The issue is introduced by commit "bsp: cvitek: removed
useless files after using rttpkgtool".

In addition, in order to unify the logic with riscv as much
as possible, the name of the "milkv-duo256m" directory under
cv18xx_aarch64 is uniformly changed to "duo256m".

This patch also improve the README, adding instructions to
install xz-utils.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
<entry>
<title>Update README.md (#9959)</title>
<updated>2025-01-30T12:15:18Z</updated>
<author>
<name>qilian</name>
<email>87816729+ziyu04@users.noreply.github.com</email>
</author>
<published>2025-01-30T12:15:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=ffe25c58b91e12a9a75ed4e47e611ce1427237e4'/>
<id>urn:sha1:ffe25c58b91e12a9a75ed4e47e611ce1427237e4</id>
<content type='text'>
Fixed the issue where the absence of the u-boot-tools package caused rttpkgtools to fail to compile normally.</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: doc update</title>
<updated>2024-12-26T03:01:08Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2024-12-25T07:25:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e221cd59f4c83c235c51be7d688a5be3f52e74eb'/>
<id>urn:sha1:e221cd59f4c83c235c51be7d688a5be3f52e74eb</id>
<content type='text'>
Updated README for cvitek.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
<entry>
<title>bsp: cvitek: update README for ext4 rootfs (#9785)</title>
<updated>2024-12-18T01:28:36Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2024-12-18T01:28:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=20d116ed4e9ebb10d404fc815323949c608fd0cf'/>
<id>urn:sha1:20d116ed4e9ebb10d404fc815323949c608fd0cf</id>
<content type='text'>
Now lwext4 package has supported ext4. Add description in README
to introduce how to create rootfs of type ext4.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;</content>
</entry>
<entry>
<title>update cvitek/README.md</title>
<updated>2024-12-04T02:37:33Z</updated>
<author>
<name>flyingcys</name>
<email>flyingcys</email>
</author>
<published>2024-11-30T03:12:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=60d7198da0d9606ddc2e3e873cf7b6d9f0c06a2a'/>
<id>urn:sha1:60d7198da0d9606ddc2e3e873cf7b6d9f0c06a2a</id>
<content type='text'>
Signed-off-by: flyingcys &lt;flyingcys@163.com&gt;
</content>
</entry>
<entry>
<title>bsp: cvitek: add introduction about rt-smart booting with rootfs</title>
<updated>2024-11-27T02:45:00Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2024-11-26T06:48:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=0c910e755d4e6c88c7f7c96f73e6a58f5f795799'/>
<id>urn:sha1:0c910e755d4e6c88c7f7c96f73e6a58f5f795799</id>
<content type='text'>
README.md: add introduction about how to make rootfs(fat) and
booting kernel with it.

Plus some cleanup for this documentation.

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