Re: Fedora without compressed instruction support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 5, 2019 at 12:30 PM Billa Surendra
<billa.iitmadras@xxxxxxxxx> wrote:
>
> Dear David Abdurachmanov,
>
> I have seen your presentation about fedora bootstrap on RV64, it was very nice presentation actually. I am planning to boot a RISC-V Fedora on QEMU Emulator, but I want to do some changes in fedora distro. Fedora distro without compressed instruction support require for me, for this I have written some steps where I can do changes. This steps completely I have taken from your presentation. Please correct my steps whether I am going in correct way or not ? I am new to fedora as well as bootstrap process.

Hi,

Did you have time to look into my previous email? It outlines the
ideas/step how to do it.

>
> Steps:
>
> 1. Installing QEMU (In x86 fedora host PC)
> 2. Installing GNU cross compiler tool chain (In this step I have installed tool chain https://github.com/riscv/riscv-gnu-toolchain (RV64IMAFD support) in fedora 86 host PC).
> 3. Install Berkly bootloader (In this step I have installed bootloader https://github.com/riscv/riscv-pk in fedora x86 host pc).
> 4. Linux kernel + basic rootfs (In this step taken Linux kernal from https://www.kernel.org/ and cross compiled with above tool chain, created basic rootfs).

You don't need to do this:
- Don't use https://github.com/riscv/riscv-gnu-toolchain This is old
and all development moved to a proper upstream location.
- BBL was replaced by OpenSBI. I would highly advice to avoid BBL.
Fedora/RISCV use OpenSBI and BBL is deprecated.
- Fedora/RISCV supports RV64GC, but you can run (should be able) RV64G
binaries. The latest time I checked glibc will missing DSO (RV64GC and
RV64G). That does not affect the ABI.

Simply put you need to take Fedora/RISCV disk image and recompile
toolchain to target RV64G. Then start rebuilding all the packages.
Finally you assemble a new disk image using your built packages.

>
>
> From Here I am not understanding the steps
>
> 5. Cross compile  and Install "RPM" packages and dependencies (where I can get RPMs and dependencies list, after cross compiling RPMs whare I have to install ?).
> 6. Install pre build RPMS (no idea about this step).
> 7. Rebuild RPMS from SRPMs natively (no idea about this step).
> 8. Install the new RPMS (no idea about this step).
> 9. Build stage4 image (no idea about this step).
>
> Please correct my steps and give the solutions for step (5-9).
>
> Thanks
>
> Billa
>
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux