Linux OpenRISC platform development
 help / color / mirror / Atom feed
From: Stafford Horne <shorne@gmail.com>
To: Sahil Siddiq <icegambit91@gmail.com>
Cc: Linux OpenRISC <linux-openrisc@vger.kernel.org>
Subject: Re: Contributing to OpenRISC Linux
Date: Mon, 13 Jan 2025 06:31:50 +0000	[thread overview]
Message-ID: <Z4SzVtTIuVN7gsX8@antec> (raw)
In-Reply-To: <d7c3ecb8-1838-4271-be90-fa7b344356fe@gmail.com>

On Mon, Jan 13, 2025 at 11:42:08AM +0530, Sahil Siddiq wrote:
> Hi,
> 
> Thank you for your reply.
> 
> On 1/12/25 12:58 PM, Stafford Horne wrote:
> > Hi Sunil,
> > 
> > +CC List
> > 
> > yes, the cacheinfo task is still open.  There are many things that are still not
> > implemented in OpenRISC, you can always just look under the kernel
> > Documentation/features.
> > 
> > For example:
> > 
> >      < shorne@antec ~/work/linux > grep -r -e openrisc.*TODO Documentation/features | column -t
> >      Documentation/features/vm/huge-vmap/arch-support.txt:                |  openrisc:  |  TODO  |
> >      Documentation/features/vm/ELF-ASLR/arch-support.txt:                 |  openrisc:  |  TODO  |
> >      Documentation/features/vm/ioremap_prot/arch-support.txt:             |  openrisc:  |  TODO  |
> >      Documentation/features/vm/pte_special/arch-support.txt:              |  openrisc:  |  TODO  |
> >      Documentation/features/perf/kprobes-event/arch-support.txt:          |  openrisc:  |  TODO  |
> >      ...
> 
> Got it. I did find this list in the online documentation [1] but I couldn't find
> the cacheinfo task listed there.

Right, not all features have config flags that are documented.

Cacheinfo is implemented by overriding some weak symbols.

> > How far have you come with OpenRISC so far?  If you haven't already I suggest
> > working through:
> > 
> >   - Get a simulator, I use QEMU for most development as it's faster and supports
> >     more memory than most FPGA.  Final verification can be done on an FPGA.
> >   - Get a working compiler toolchain.
> >   - Compile and boot the openrisc kernel.
> >   - Build a userspace environment, either buildroot, toybox or busybox.
> > 
> > I have some tools to help with this in or1k-utils [1], also there are prebuilt
> > environments and docs in the linux kernel [2] and qemu [3].
> 
> I don't have an environment set up yet. I'll start with the steps above. I'll use
> QEMU for development. I don't have an FPGA with me currently.
> 
> > At the momoment, I am also thinking of what to work on next for OpenRISC, there is:
> > 
> >    - kexec
> >    - jump_label
> >    - kprobes
> >    - perf_events
> >    - ftrace
> 
> Is the virtio task [2] also still a part of the roadmap? I can't find that either
> in the TODO list.

The virtio task is still possible but will be more advanced and may need some
architecture changes to support hypervisors.

-Stafford

> > [1] https://github.com/stffrdhrn/or1k-utils
> > [2] https://docs.kernel.org/arch/openrisc/openrisc_port.html
> > [3] https://wiki.qemu.org/Documentation/Platforms/OpenRISC.
> > [...]
> 
> Thanks,
> Sahil
> 
> [1] https://docs.kernel.org/arch/openrisc/features.html
> [2] https://fossi-foundation.org/gsoc/gsoc24-ideas#openrisc-linux-feature-development
> 

  reply	other threads:[~2025-01-13  6:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2613c1c6-2a2f-4ceb-8adb-f819961ec61f@gmail.com>
2025-01-12  7:28 ` Contributing to OpenRISC Linux Stafford Horne
2025-01-13  6:12   ` Sahil Siddiq
2025-01-13  6:31     ` Stafford Horne [this message]
2025-01-22 18:55       ` Sahil Siddiq
2025-01-25  7:30         ` Stafford Horne
2025-01-25 10:53           ` Stafford Horne
2025-01-26 19:54           ` Sahil Siddiq
2025-02-12 15:29             ` Queries regarding OpenRISC CPU cache Sahil Siddiq
2025-02-18 19:38               ` Sahil Siddiq
2025-02-20  6:12                 ` Stafford Horne
2025-02-22 11:35                   ` Sahil Siddiq

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z4SzVtTIuVN7gsX8@antec \
    --to=shorne@gmail.com \
    --cc=icegambit91@gmail.com \
    --cc=linux-openrisc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox