On Thu, Dec 19, 2019 at 12:13 AM atish patra <
atis...@gmail.com> wrote:
> On Wed, Dec 18, 2019 at 10:25 PM Billa Surendra <
billa.i...@gmail.com> wrote:
>> Excellent presentation for beginners, Who want to make Embedded Linux for RISC-V architecture. I want Help from you for making fedora distro from scratch for RV64IMAFD. Please help me how to start building fedora for RISC-V. Any king of help is appreciable
>
> You don't need to build a fedora distro from scratch. You just need download the prebuilt fedora rootfs image and use it in Qemu as you would have used
> a rootfs generated by buildroot.
Presumably this is a part without the C extension like some (most?)
versions of Shakti. So the prebuilt rootfs isn't going to work.
Building a distro like fedora from scratch is complicated. The
general description of how it was done is here
https://lwn.net/Articles/749443/
That will probably take a few months to set up, and will require a lot
of expertise on how linux works. And then a few more months for the
package rebuilds. Rather than rebuild from scratch, it might be
easier to start with a rv64gc system, and start rebuilding packages
for rv64g. Once you have enough of the core system recompiled, you
can boot on a rv64g system and continue rebuilding packages there.
This is probably only a few months for the package rebuilds. This
still requires some expertise on how linux works, but not as much as
the build from scratch approach.
Jim