Re: RTEMS for RED-V board
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://opengraph.githubassets.com/959a54098401edaa6063e8ed7512c0439b190810783410b3eb2544c8b025e490/pragnesh26992/rtems]<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 on behalf of Pierre FICHEUX Sent: Friday, May 14, 2021 9:03 AM To: rtems-us...@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.fich...@smile.fr<mailto:pierre.fich...@smile.fr> http://www.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 ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users
Getting frdme310arty up and running Arty A7
Hi, I'm working to get the frdme310arty BSP up and running in our hardware test lab and I'm having some difficulty getting the bit file downloaded on the Arty. I tried to download the bit file per Pragnesh's instructions, however it looks like the bit file downloads, and LD2 shines bright white, but the default Avnet program still runs on the board after a power cycle. I saw no error reported during the download. I'm using Vivado Lab Edition on Windows and the bit file from the Pragnesh's git repo. Any ideas what I'm doing wrong? Do I need to configure the flash device and upload the mcs file as well? Thanks, Lou <>___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users
RE: samples/hello no output on BBB
Hello all, To make sure something isn’t horribly broken in RTEMS with regards to the BBB, I ran the RTEMS test suite on the BBB and it seems to work as expected. Out of 597 tests 572 tests passed including hello.exe. This is the latest RTEMS 5 build tree. I don’t have any experience with rtems-boot-image unfortunately so I’m not much help there. I used objcopy and mkimage to create an image loadable on U-boot via tftp. For what it’s worth this is the configure line I used: $ ../rtems/configure --target=arm-rtems5 --enable-rtemsbsp=beagleboneblack --prefix=/home/labtester/test/ATF/bsp-install/ --enable-networking --enable-posix --disable-smp --disable-multiprocessing --enable-tests --enable-cxx --enable-maintainer-mode Lou From: users On Behalf Of Nils Hölscher Sent: Friday, June 21, 2019 4:03 AM To: users@rtems.org; chr...@rtems.org Subject: samples/hello no output on BBB Hi, I make bootable SD-image for the BBB with Chris tool: $ rtems-boot-image -o sd-card.img -b u-boot-beaglebone -s 32m -k hello.exe u-boot/MLO u-boot/u-boot.img When I boot with serial connected I get the following output: " Booting kernel from Legacy Image at 8200 ... Image Name: RTEMS Created: 2019-06-17 8:03:14 UTC Image Type: ARM Linux Kernel Image (gzip compressed) Data Size:48801 Bytes = 47.7 KiB Load Address: 8000 Entry Point: 8000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Starting kernel ... " But the Hello world prints are missing. The board just restarts after a few minutes. Can anyone help me, please? I attached my config log from samples. Best, Nils ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users