bsp/cvitek: print arch info. during boot-up (#9919)

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 <unicorn_wang@outlook.com>
This commit is contained in:
Chen Wang 2025-01-16 22:33:55 +08:00 committed by GitHub
parent d3841c3109
commit 2b82ab38a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 7 additions and 11 deletions

View File

@ -284,7 +284,7 @@ lwIP-2.1.2 initialized!
found part[0], begin: 1048576, size: 128.0MB
found part[1], begin: 135266304, size: 28.707GB
[I/app.filesystem] device 'sd1' is mounted to '/' as FAT
Hello RT-Smart!
Hello RISC-V/C906B !
msh />[E/sal.skt] not find network interface device by protocol family(1).
[E/sal.skt] SAL socket protocol family input failed, return error -3.
/ # ls
@ -310,7 +310,7 @@ lwIP-2.1.2 initialized!
found part[0], begin: 1048576, size: 128.0MB
found part[1], begin: 135266304, size: 28.707GB
[I/app.filesystem] device 'sd1' is mounted to '/' as EXT
Hello RT-Smart!
Hello RISC-V/C906B !
msh />[E/sal.skt] not find network interface device by protocol family(1).
[E/sal.skt] SAL socket protocol family input failed, return error -3.
/ # ls

View File

@ -12,7 +12,7 @@
int main(void)
{
rt_kprintf("Hello, RISC-V!\n");
rt_kprintf("Hello, RISC-V/C906L !\n");
return 0;
}

View File

@ -142,7 +142,7 @@ Starting kernel ...
/ | \ 5.2.0 build Dec 25 2024 14:16:49
2006 - 2024 Copyright by RT-Thread team
[I/rtdm.mnt] File system initialization done
hello rt-thread!
Hello AARCH64 !
msh />
```
@ -184,7 +184,7 @@ Starting kernel ...
2006 - 2024 Copyright by RT-Thread team
[I/drivers.serial] Using /dev/ttyS0 as default console
[I/rtdm.mnt] File system initialization done
hello rt-thread!
Hello AARCH64 !
msh />
```

View File

@ -12,7 +12,7 @@
int main(void)
{
rt_kprintf("hello rt-thread!\n");
rt_kprintf("Hello AARCH64 !\n");
return 0;
}

View File

@ -22,11 +22,7 @@
int main(void)
{
#ifdef RT_USING_SMART
rt_kprintf("Hello RT-Smart!\n");
#else
rt_kprintf("Hello RISC-V!\n");
#endif
rt_kprintf("Hello RISC-V/C906B !\n");
/* LED pin: C24 */
rt_uint16_t led = rt_pin_get(LED_PIN);