RISC-V Mentorship Program #6371
Replies: 53 comments 163 replies
-
Hello, welcome to this mentorship program for rt-smart on riscv64, with QEMU/riscv64 or Allwinner D1s riscv64 chip. For this very first week, we'd like to leave you some time for checking and learning about RT-Thread and RT-Smart Projects.
There is a basic BSP for qemu-virt64-riscv. You can use musl toolchain for riscv64 and follow the traditional way to build RT-Thread Smart: Welcome to explore the world of rt-smart and write your |
Beta Was this translation helpful? Give feedback.
-
Hello @BernardXiong Thanks for the information. I couldn't download the musl Toolchain. Could you please double check on your side? Cheers ! |
Beta Was this translation helpful? Give feedback.
-
@Cathy-lulu Could you help me to put the musl toolchains to somewhere? |
Beta Was this translation helpful? Give feedback.
-
Hello, Sorry to get back late. I am having trouble in setting the toolchain as musl and building the QEMU BSP. I had a look at the articles available it says about the rt-env tool for setting environment variable. ( Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am also having the same issue. I can't find the menu to configure the
toolchain in rt-env tool and I can't also import the bsp to configure the
new toolchain at the project properties . There is no smart-env.bat too.
…On Sat, Sep 10, 2022 at 2:55 PM HimaM-coder ***@***.***> wrote:
Hello,
Sorry to get back late. I am having trouble in setting the toolchain as
musl and building the QEMU BSP. I had a look at the articles available it
says about the rt-env tool for setting environment variable. (
https://rt-thread.medium.com/get-started-with-rt-thread-smart-opensource-microkernel-operating-system-37e30c9c4ac3
). But I cannot find the right bat file for environment variable when I
checkout from rt-smart branch. Am I missing something? Are we supposed to
build this via commandline or using RT-Thread Studio or VS code or
something? I assume traditional way means command line. Any guidance is
much appreciated.
Thanks,
Hima
—
Reply to this email directly, view it on GitHub
<#6371 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXPO5Q523H6FJFIZDLNCF7DV5T7VVANCNFSM6AAAAAAQEVYP3Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello all, The studio is only available for windows, correct? I installed it here using a VM, but it'd be much better to compile directly in my linux host. Do we have a guide like this (windows) for Linux too? |
Beta Was this translation helpful? Give feedback.
-
Hi all, If you use Windows, please edit file:
And please run |
Beta Was this translation helpful? Give feedback.
-
Hi @BernardXiong, The bsp folder build alone works now but I cannot complete it because user apps step is not complete;user apps is not yet working. I am getting error as follows : D:........\rtthread-smart\userapps
Please check Toolchains PATH setting. scons: *** [build\hello\main.o] Error 2 I see that the Linux script for setting environment variable has a line "cp userapps/configs/def_config_riscv64 userapps/.config", are we missing similar ones in Windows by any chance? Seems like some configuration is not setting properly for the userapps folder. Thanks, |
Beta Was this translation helpful? Give feedback.
-
Can you please share the steps followed by you, if this is working.
Thanks,
Hima
…On Tue, Sep 20, 2022 at 8:15 AM X ***@***.***> wrote:
Hi @BernardXiong <https://github.com/BernardXiong>
I think I fixed the issue. Let me know if it is not expected
[image: image]
<https://user-images.githubusercontent.com/95320114/191181004-c60aa3dc-6863-4b81-9c82-b49c76943fe2.png>
—
Reply to this email directly, view it on GitHub
<#6371 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A257PT7VJ7BTXNIPW42UNE3V7FI6JANCNFSM6AAAAAAQEVYP3Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@HimaM-coder I debugged it further and it didn't work. It didn't compile all the required packages. Sorry for the false alarm :) Does anyone make it work on Linux ? |
Beta Was this translation helpful? Give feedback.
-
im able to compile in wsl2 (windows for subsystem linux) just modify .config from Bernard Xiongs commit. but windows still having problem with zlib1.dll CC apps/webclient/packages/webclient-v2.1.2/src/webclient.o |
Beta Was this translation helpful? Give feedback.
-
for windows put zlib1.dll in this location scons: Reading SConscript files ... |
Beta Was this translation helpful? Give feedback.
-
@Cathy-lulu do you know where to get the emulator for windows? |
Beta Was this translation helpful? Give feedback.
-
Hi All, |
Beta Was this translation helpful? Give feedback.
-
Hi all,
so to run through the docs I'd need: Which adds a lot of complexity overall. For Linux native users: we could download and import the tools directly. Can we created a dedicated thread for the Linux users to discuss how to run the tools natively? |
Beta Was this translation helpful? Give feedback.
-
Hi All, But I am not able to connect via com port. I made a quick test with stm32 board and I can see the com port at device manager. Any suggestion? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@Rbb666 yes. Same. I'm also stuck. Can you tell us the 5V and 3V3 pins. |
Beta Was this translation helpful? Give feedback.
-
Yes. I tried both options infact.
Thanks,
Hima
…On Fri, Jan 13, 2023, 03:06 Rbb666 ***@***.***> wrote:
Are your TX and RX inserted reversely?
—
Reply to this email directly, view it on GitHub
<#6371 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A257PT2I2BC7EITHGJMM2GDWSC2CTANCNFSM6AAAAAAQEVYP3Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Was anyone able to run it properly? Can you share the steps, especially the hardware connections. |
Beta Was this translation helpful? Give feedback.
-
Hello, Just checking if anyone is able to boot the board? @Cathy-lulu Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hello,
The allwinner board which was shipped to me. I am not able to boot. It's
either not booting or I am not able to access the UART message. Attaching a
picture. Is anyone able to get the UART console messages?
Thanks
…On Thu, Jan 26, 2023, 10:06 Bernard Xiong ***@***.***> wrote:
which board?
—
Reply to this email directly, view it on GitHub
<#6371 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A257PT4BHKTZJH44I36X773WUI5BFANCNFSM6AAAAAAQEVYP3Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@Rbb666 So I was trying to follow the steps. For me the sd.bin is not getting generated automatically. Is that expected behavior? " hima@himapc:~/rtsmart/rtthread-smart/kernel/bsp/allwinner/d1$ scons scons: Reading SConscript files ... hima@himapc:~/rtsmart/rtthread-smart/kernel/bsp/allwinner/d1$ hima@himapc:~/rtsmart/rtthread-smart/kernel/bsp/allwinner/d1$ ls applications build generateimg.sh link.lds packages README.md rtconfig.py rtthread.elf SConscript Note:I do not clearly remember the exact steps I did last month while flashing to SD Card. I think I used the bsp/allwinner/f133 folder instead of d1s folder. I was able to generate sd.bin in f133 folder. |
Beta Was this translation helpful? Give feedback.
-
@Cathy-lulu Attaching a short document with the steps for booting MangoPi board, which I had followed. |
Beta Was this translation helpful? Give feedback.
-
Hi All, Attached the tutorial about setting up rtsmart on dev board. |
Beta Was this translation helpful? Give feedback.
-
@HimaM-coder @byte-me-stan @stanleylwinn @matheas95 What a Journey! We're now moving to the LVGL Porting Work. By the following weeks, we'll need mentees to port LVGL on the program and across to verify the serial port driver and the file system function, further checking the LCD and the WIFI availability. More details click Here. |
Beta Was this translation helpful? Give feedback.
-
Hello @Rbb666 , Can you give some more assistance with building the lvgl app? I could not build it straight forward by using "scons " command from userapps/media/lvgl directory scons: *** No SConstruct file found. |
Beta Was this translation helpful? Give feedback.
-
Hello @Rbb666 , Thank you. Now I am getting the "update screen" message. [22:18:54:036] <0x1b>[32;22m[I/FAL] ==================== FAL partition table ====================<0x1b>[0m␍␊ Is this the right behaviour? I do not have an LCD connected yet. Can you help me in telling me the hardware connection required to connect the LCD module shipped to us, to the MangoPi Board? Thanks, |
Beta Was this translation helpful? Give feedback.
-
This is the LCD module with me. |
Beta Was this translation helpful? Give feedback.
-
Here goes the final document Thanks, |
Beta Was this translation helpful? Give feedback.
-
WELCOME YOU ALL FOR JOINING RT-SMART OPEN SOURCE MICRO-KERNEL OPERATING SYSTEM RUNNING ON THE RISCV64 PLATFORM MENTORSHIP PROGRAM. THIS IS AN EXCITING OPPORTUNITY FOR US TO FORM A MENTORSHIP RELATIONSHIP THAT WILL PROVIDE A POSITIVE PROFESSIONAL AND EDUCATIONAL SUPPORT SYSTEM FOR YOU.
WISH YOU ALL HAVE A GREAT JOURNEY WITH US.
Beta Was this translation helpful? Give feedback.
All reactions