nios2 and openrisc in barebox

Jules Maselbas jmaselbas at
Thu Feb 25 08:02:40 EST 2021

On Thu, Feb 25, 2021 at 09:45:00PM +0900, Stafford Horne wrote:
> Hello,
> I am the maintainer of most OpenRISC things right now.  I would be happy to
> help, but I don't really use barebox right now.  Most of my deployments I use
> with litex FPGA SoC's that has its own bootloader.
> That said, we have a setjmp/longjmp implementation in our glibc port which I
> have been testing for upstreaming lately.
> I had a look at the barebox docs and openrisc port, it seems like there is
> support for our standard platform, or1ksim, which is the same as my de0-nano
> fpga board/soc and qemu.  I should be able to make use of this.
> Is there a branch where you are doing the green thread work?  I could add and
> test the OpenRISC implementation.

I've done this yesterday, I've push a branch[1] that has the green
thread paches applied (except patches on usb mass storage gadget). 

To test greenthread your can run the `poller -c` command in barebox's
prompt. To do you you'll need to enable CONFIG_POLLER_YIELD and define


More information about the barebox mailing list