RTEMS for RED-V board

Pierre FICHEUX pierre.ficheux at smile.fr
Fri May 14 16:53:46 UTC 2021


Hi Lou,

Thx for your answer, I know that link. AFAIK Zephyr or FreedomStudio use a
different approach as a header file is generated from the .dts and then
used to create the binary (.bin then .hex). It looks like the binary is
"standalone" with no use of a bootloader (RED-V includes a Segger firmware
to flash the
board)...but I'm far from a RISC-V/SiFive expert :-)

https://docs.zephyrproject.org/latest/guides/dts/intro.html#input-and-output-files

regards


Le ven. 14 mai 2021 à 17:51, Lou Woods <Lou.Woods at oarcorp.com> a écrit :

> Hello Pierre,
>
> I used this repo and procedure (
> https://github.com/pragnesh26992/rtems/blob/master/README-frdme310arty.md )
> a couple years ago to build RTEMS for the Arty and things may have
> changed.  I don't know much about the RED-V board, but it might be worth
> investigating the need for a bootloader.hex file for the board.  I think,
> at least on the Arty, RTEMS relies on the bootloader and dtb to be set up
> the environment before taking over.  I don't know if the bootloader
> Pragnesh provided is compatible with your board or not, but it is probably
> worth looking into.
> <https://github.com/pragnesh26992/rtems/blob/master/README-frdme310arty.md>
> pragnesh26992/rtems
> <https://github.com/pragnesh26992/rtems/blob/master/README-frdme310arty.md>
> RTEMS for RISC-V SoC. Contribute to pragnesh26992/rtems development by
> creating an account on GitHub.
> github.com
> Best regards,
> Lou Woods
>
>
> ------------------------------
> *From:* users <users-bounces at rtems.org> on behalf of Pierre FICHEUX <
> pierre.ficheux at smile.fr>
> *Sent:* Friday, May 14, 2021 9:03 AM
> *To:* rtems-users at rtems.org <users at rtems.org>
> *Subject:* RTEMS for RED-V board
>
> Hi,
>
> I've just bought a RED-V board (https://www.sparkfun.com/products/15594)
> based on a SiFive FE310 SoC.  I've successfully tested a bare-metal (with
> FreedomStudio) and a Zephyr program on it. When connecting the board to USB
> a folder appears and you just have to copy a .hex file to flash the board
> :-)
>
> I've tried RTEMS (5.1) with frdme310arty BSP (contributed by Pragnesh
> Patel from SiFive) but it looks like the hex file is not recognized. I've
> created the hex file with "riscv-rtems5-objcopy -O ihex helloworld.exe
> helloworld.hex".
>
> I know the boards are different as both are supported by FreedomStudio and
> there are some differences in the dts files (freedom-e310-arty
> vs sifive-hifive1-revb BSP).
>
> Any idea ?
>
> thx by advance
>
> --
>
> Pierre FICHEUX -/- CTO Smile ECS, France -\- pierre.ficheux at smile.fr
>                              http://www.smile.fr
>                              https://smile.eu/fr/offres/embarque-iot
> I would love to change the world, but they won't give me the source code
>
>

-- 

Pierre FICHEUX -/- CTO Smile ECS, France -\- pierre.ficheux at smile.fr
                             http://www.smile.fr
                             https://smile.eu/fr/offres/embarque-iot
I would love to change the world, but they won't give me the source code
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20210514/10d0bbaf/attachment-0001.html>


More information about the users mailing list