Re: [PATCH v2] docs/user: add docs for riscv/kendrytek210 BSP variant

2023-04-01 Thread Alan Cudmore
Update on K210/ticker on Renode: If I define CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR in the RISC-V BSP, ticker works on the unmodified .resc file. Alan On Sat, Apr 1, 2023 at 8:17 PM Alan Cudmore wrote: > Hi Hesham, > I found a difference between the .resc file I use to run single tests and > the

Re: [PATCH v2] docs/user: add docs for riscv/kendrytek210 BSP variant

2023-04-01 Thread Alan Cudmore
Hi Hesham, I found a difference between the .resc file I use to run single tests and the .resc file that the renode-test uses. The resc file where ticker.exe fails has this extra statement: $ex='machine SetSerialExecution True' If I comment that out, ticker runs on Renode. I couldn't find that in

Re: [PATCH v2] docs/user: add docs for riscv/kendrytek210 BSP variant

2023-04-01 Thread Alan Cudmore
Interesting - I get the same error when I run ticker on renode now. I just tried it on a board and it works. It also still passes the renode-test that I run, which includes ticker ticker along with a dozen other tests. I'll look into why this does not work right now. Thanks, Alan On Sat, Apr 1,

Re: [PATCH v2] docs/user: add docs for riscv/kendrytek210 BSP variant

2023-04-01 Thread Hesham Almatary
Thanks Alan! It Looks good to me. I'd appreciate your help with running on the simulator. I followed your documentation in this patch, but ticker seems to fatal error as follows: "*** FATAL *** fatal source: 6 (RTEMS_FATAL_SOURCE_BSP) CPU: 0 fatal code: 3342 (0x0d0e) RTEMS version:

Re: [PATCH v2] docs/user: add docs for riscv/kendrytek210 BSP variant

2023-04-01 Thread Alan Cudmore
Hi Hesham, I applied your suggestions and sent a v3 patch. Thanks for the review, Alan On Sat, Apr 1, 2023 at 1:43 PM Hesham Almatary wrote: > On Fri, 31 Mar 2023 at 17:15, Alan Cudmore wrote: > > > > This patch adds the documentation for building and running RTEMS on the > Kendryte K210 > >

[PATCH v3] docs/user: add docs for riscv/kendrytek210 BSP variant

2023-04-01 Thread Alan Cudmore
This patch adds the documentation for building and running RTEMS on the Kendryte K210 RISC-V SoC. The generic riscv introducion was re-arranged to list the multilib variants then the specific hardware targets. In addition a couple of errors were fixed for the generic QEMU commands. V2

Re: [PATCH v2] docs/user: add docs for riscv/kendrytek210 BSP variant

2023-04-01 Thread Hesham Almatary
On Fri, 31 Mar 2023 at 17:15, Alan Cudmore wrote: > > This patch adds the documentation for building and running RTEMS on the > Kendryte K210 > RISC-V SoC. The generic riscv introducion was re-arranged to list the > multilib variants > then the specific hardware targets. In addition a couple of