Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arch/risc-v: Sample Pull Request for RISC-V #88

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

lupyuen
Copy link

@lupyuen lupyuen commented Feb 5, 2025

Summary

This is a Sample Pull Request for RISC-V Architecture. We'll test this with our new PR Test Bot for Apache NuttX RTOS.

Impact

This Pull Request shall be tested on Real Hardware: Oz64 SG2000 RISC-V SBC.

Testing

Normally this section will include the Test Log. But we'll test it again with our new Test Bot.

@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 5, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 5, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 5, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 5, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 5, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 5, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 5, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 5, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 5, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 5, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 5, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 5, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 5, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 5, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 5, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 5, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 5, 2025
@github-actions github-actions bot added Size: S and removed Size: XS labels Feb 6, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 6, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 6, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 6, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 6, 2025
@lupyuen lupyuen changed the title Testing our bot arch/risc-v: Sample Pull Request for RISC-V Feb 13, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 13, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 13, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 13, 2025
@lupyuen2 lupyuen2 deleted a comment from nuttxpr Feb 13, 2025
@lupyuen
Copy link
Author

lupyuen commented Feb 13, 2025

@nuttxpr test oz64:nsh

@nuttxpr
Copy link

nuttxpr commented Feb 13, 2025

[Experimental Bot, please feedback here]

Build and Test Successful (milkv_duos:nsh)
https://gitlab.com/lupyuen/nuttx-build-log/-/snippets/4806032

$ git clone https://github.com/lupyuen2/wip-nuttx nuttx --branch test-bot
$ git clone https://github.com/apache/nuttx-apps apps --branch master
$ pushd nuttx
$ git reset --hard HEAD
HEAD is now at 7b440957bd Testing our bot
$ popd
$ pushd apps
$ git reset --hard HEAD
HEAD is now at 7f424c3e8 nshlib/builtin: check background task before restore the signal
$ popd
NuttX Source: https://github.com/apache/nuttx/tree/7b440957bde7e2d7723f61d1ad0a16f51770fc69
NuttX Apps: https://github.com/apache/nuttx-apps/tree/7f424c3e8ddaa0a6a828175b8e4205c1cc0a2a8a
$ cd nuttx
$ tools/configure.sh milkv_duos:nsh
$ make -j
$ make -j export
$ pushd ../apps
$ ./tools/mkimport.sh -z -x ../nuttx/nuttx-export-12.4.0.tar.gz
$ make -j import
$ popd
$ genromfs -f initrd -d ../apps/bin -V NuttXBootVol
$ head -c 65536 /dev/zero
$ cat nuttx.bin /tmp/nuttx.pad initrd
$ scp Image tftpserver:/tftpboot/Image-sg2000
$ ssh tftpserver ls -l /tftpboot/Image-sg2000
$ cd /home/luppy/nuttx-build-farm
$ ssh tftpserver
OpenSBI v0.9
nsh> uname -a
NuttX 12.4.0 7b440957bd Feb 13 2025 08:44:46 risc-v milkv_duos
nsh> ostest
arena       81000    81000
ordblks         2        3
mxordblk    7cff8    78ff8
uordblks     2660     4570
fordblks    7e9a0    7ca90
user_main: Exiting
ostest_main: Exiting with status 0
nsh> Now running https://github.com/lupyuen/nuttx-build-farm/blob/main/oz64-power.sh off
----- Power off Oz64
[]

@nuttxpr
Copy link

nuttxpr commented Feb 13, 2025

[Experimental Bot, please feedback here]

Build and Test Successful (milkv_duos:nsh)
https://gitlab.com/lupyuen/nuttx-build-log/-/snippets/4806034

$ git clone https://github.com/lupyuen2/wip-nuttx nuttx --branch test-bot
$ git clone https://github.com/apache/nuttx-apps apps --branch master
$ pushd nuttx
$ git reset --hard HEAD
HEAD is now at 7b440957bd Testing our bot
$ popd
$ pushd apps
$ git reset --hard HEAD
HEAD is now at 7f424c3e8 nshlib/builtin: check background task before restore the signal
$ popd
NuttX Source: https://github.com/apache/nuttx/tree/7b440957bde7e2d7723f61d1ad0a16f51770fc69
NuttX Apps: https://github.com/apache/nuttx-apps/tree/7f424c3e8ddaa0a6a828175b8e4205c1cc0a2a8a
$ cd nuttx
$ tools/configure.sh milkv_duos:nsh
$ make -j
$ make -j export
$ pushd ../apps
$ ./tools/mkimport.sh -z -x ../nuttx/nuttx-export-12.4.0.tar.gz
$ make -j import
$ popd
$ genromfs -f initrd -d ../apps/bin -V NuttXBootVol
$ head -c 65536 /dev/zero
$ cat nuttx.bin /tmp/nuttx.pad initrd
$ scp Image tftpserver:/tftpboot/Image-sg2000
$ ssh tftpserver ls -l /tftpboot/Image-sg2000
$ cd /home/luppy/nuttx-build-farm
$ ssh tftpserver
OpenSBI v0.9
nsh> uname -a
NuttX 12.4.0 7b440957bd Feb 13 2025 08:50:36 risc-v milkv_duos
nsh> ostest
arena       81000    81000
ordblks         2        3
mxordblk    7cff8    78ff8
uordblks     2660     4570
fordblks    7e9a0    7ca90
user_main: Exiting
ostest_main: Exiting with status 0
nsh> Now running https://github.com/lupyuen/nuttx-build-farm/blob/main/oz64-power.sh off
----- Power off Oz64
[]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants