Article 6CG6S (Customised) Kernel oopsing and panicking, Aim is to host Ubuntu 22.04 on Digilent Nexy Videos FPGA with RISCV SoC using Litex toolchain

(Customised) Kernel oopsing and panicking, Aim is to host Ubuntu 22.04 on Digilent Nexy Videos FPGA with RISCV SoC using Litex toolchain

by
beanthenewbieengineer
from LinuxQuestions.org on (#6CG6S)
Hello!

For a bit of context, my aim is to host Ubuntu on a Rocket RISCV powered SoC using the Litex toolchain https://github.com/enjoy-digital/litex. I am using OpenSBI as my bootloader https://github.com/riscv-software-src/opensbi. The kernel which I am using is Litex's fork of the kernel https://github.com/litex-hub/linux on the litex-rebase branch. This fork has driver support for the custom peripherals and components which the Litex SoCs uses.

I am using an Ubuntu cloud image https://cloud-images.ubuntu.com/jamm...mg-riscv64.img and have modified fstab (loading dependencies into the FPGA using sdcard, one partition containing bootloader, kernel image, initrd, another containing root filesystem).

I have built a kernel image and an initrd which I side-load into the SoCs memory from SD Card, which the bootloader invokes. Please read https://www.contrib.andrew.cmu.edu/~...ng_fedora.html to see the guide which I used for configuring Ubuntu (Yes I know it is for Fedora but both use systemd as init process, maybe this is nativity)

The kernel panic which I encounter is a bit beyond me, though I did research some of the key errors I would like to ask for some support.

Please find attached bellow the console log, SoC device tree file, as well as kernel configuration file which I am using
https://github.com/enjoy-digital/lit...log_ubuntu.txt

https://github.com/enjoy-digital/lit...dts_ubuntu.txt

https://github.com/enjoy-digital/lit...552/defcon.txt

PS: Iim new to LQ so please be patient!

iThanks
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments